Commits (30)
-
Ben Avison authored486708d6
-
Jeffrey Lee authored6088f72b
-
Jeffrey Lee authored
Detail: s/Wimp10 - Update mastertoactive to force the palette/translation table to be sent through ColourTrans if either &RGB component ordering or alpha blending is in use for the current screen mode. Otherwise, for alpha modes, the alpha channel would typically be left at zero. Admin: Tested on Raspberry Pi 3 Version 5.62. Tagged as 'Wimp-5_62'
39485b7c -
Robert Sprowson authored
The pointer left/entered window logic calls int_get_pointer_info which can return a window (and/or icon) handle of -1 if the pointer is over no window, such as might occur if the window has been deleted. The check for a duff window handle (in R3) was unfortunately made *after* it'd been dereferenced. Move this check up beforehand. Fixes issue reported on Usenet https://groups.google.com/forum/#!topic/comp.sys.acorn.programmer/iR0_TNekiKg Version 5.63. Tagged as 'Wimp-5_63'
87ea8ac2 -
ROOL authored
Detail: Subreason 14 gives a means to read the validation string from a window/icon that is not in the current task. This is useful for determining whether clipboard operations should be allowed. Admin: Submission for Clipboard Support bounty. Version 5.64. Tagged as 'Wimp-5_64'
32f2e389 -
ROOL authored
Admin: Submission for Clipboard Support bounty. Version 5.64. Not tagged
1bccb7d6 -
Timothy E Baldwin authored
This solves difficulty in handling on other operating systems, including being an illegal filename in macOS. Fixes https://www.riscosopen.org/tracker/tickets/473 Version 5.64. Not tagged
cddecfe6 -
ROOL authored
Detail: 3 extra tokens in support of clipboard operations. Admin: Submission for Clipboard Support bounty.
5a8c8508 -
ROOL authored
Detail: The text in writable icons can now be manipulated using the familiar keyboard shortcuts, or using Drag and Drop in conjunction with any compliant applications. Further details are in Doc/DragAndDrop along with information on API extensions which are implemented. Admin: Submission for Clipboard Support bounty. Version 5.65. Tagged as 'Wimp-5_65'
0fb14a00 -
ROOL authored
Detail: In CnPCaret.s * Clear any invalid window handles currently stored in caret blocks on Wimp_SetCaretPosition entry * Clear R2 on exit if R0=-1,R2=TASK on entry to Wimp_SetCaretPosition * If window is not open or able to receive a focus, then return WimpFocus error rather than causing an alignment exception In CBTask.s A drag to writeable with invalid (eg.rejection due to validation string mismatch or overlong insert) caused ghost caret to be left behind and still deletes the source text. * Changed LDR R2,=cbtask_TASK to LDR r2,cbtask3_TASK * Ensure cbtask_insert_text_into_icon returns V set on error Drag and drop text from icon to non-d&d application, the last message was erroneously sent as DataSaveAck, not Dataload Admin: Submission for Clipboard Support bounty. Version 5.66. Tagged as 'Wimp-5_66'
9cc627ac -
Jeffrey Lee authored
Wimp_Extend 15 is equivalent to Wimp_SlotSize,-1,-1, with the exception that the sizes returned in R0-R2 are now measured in pages instead of bytes. This allows code to accurately read the amount of free memory on machines with >2GB of RAM, and provides some future-proofing should we ever wish to support tasks with >2GB of RAM (e.g. via a future super-jumbo wimpslot, or more likely via sparse/PMP wimpslots, where the physical size is larger than the logical size). Currently there's no need to provide a page-based call to set the slot size (~2GB is fine for the forseeable future), so this call only focuses on reading the sizes. Version 5.67. Tagged as 'Wimp-5_67'
4610877c -
ROOL authored
Detail: Summary of how non-CnP Wimp treats the window handle for Wimp_SetCaretPosition R0 = valid window handle or invalid window handle (mapped to -1) or any negative number or 0 (mapped to -1) With this change, the CnP Wimp does R0 = valid window handle or invalid window handle (throws error) or any negative number or 0 if pre RISC OS 5 (mapped to -1) or 0 for RISC OS 5 (mapped to -1) Noting the use of AcceptLoosePointer macro if built for a 26 bit target.
091831e4 -
ROOL authored
Detail: If R0=valid window handle, R1<0 (not an icon) and R4=-1 then R4 is internally set to 'invisible caret' to ensure that we get the full input focus event and visible cues. Ref: https://www.riscosopen.org/forum/forums/5/topics/14945?page=2#posts-97886 Admin: Submission for Clipboard Support bounty.
11d21750 -
ROOL authored
Detail: Menu windows don't store the task handle in their datablock, so an incorrect one was used as part of the data transfer sequence. Also, minor fix for Message_ClaimEntity when bit 2 was clear (bits 0,1 set). The response meant that, for example, Alt-click to rename, select text in writeable and press ^C - copied to clipboard, but writeable is removed. Admin: Submission for Clipboard Support bounty.
14056f15 -
ROOL authored
Detail: Don't trap menu clicks on icons when the window isn't fully on-screen. Ref https://www.riscosopen.org/forum/forums/4/topics/14961?page=1 Admin: Submission for Clipboard Support bounty. Version 5.68. Tagged as 'Wimp-5_68'
28d1efb9 -
Andy Vawer authored
On mouse click, check for icon type was incorrect, so trying to apply tests for 'P' validation string/ptr_write on inappropriate icons (eg. sprites), leading to invalid validation string accesses. Correct the test performed. Also add 3 further AcceptLoosePointer checks to validation string pointers. Version 5.69. Tagged as 'Wimp-5_69'
384a1ec5 -
Andy Vawer authored
Version 5.70. Tagged as 'Wimp-5_70'
0941dd09 -
Andy Vawer authored
When releasing claim, use of stale register meant that the foreground task wasn't correctly bouncing Message_Dragging when the pointer moved out of range. Also added a sanity check in get_selected_text so that if for some reason the selection window disappears mid action it will be caught and not cause a crash. Version 5.71. Tagged as 'Wimp-5_71'
1475387a -
Andy Vawer authored
Check destination window handle and add destination icon handle if sending message to window handle -2. Improve window handle validation (not assuming all -ve handles are invalid, should the RMA move to have top bit set). Version 5.72. Tagged as 'Wimp-5_72'
791a168f -
Jeffrey Lee authored
Extended scroll requests and regular scroll requests share the same reason code, but are different sizes. Update calcmessagesize to calculate the size of extended scroll messages correctly, so that the icon number won't get chopped off when the message is being passed to the target task. Version 5.73. Tagged as 'Wimp-5_73'
b752d15a -
Andy Vawer authored
Check there is actually a selection present in the window before cutting/deleting any text. Version 5.74. Tagged as 'Wimp-5_74'
4682ce8f -
Andy Vawer authored
Detail: Send correct DataSaveAck message in response. Version 5.75. Tagged as 'Wimp-5_75'
0c7e26f5 -
Andy Vawer authoredb65bbd21
-
Andy Vawer authored
Display caret/selection even if icon type is not 14 or 15. Version 5.76. Tagged as 'Wimp-5_76'
0e7a0844 -
Andy Vawer authored
When clicking in window to move caret to another icon, remove any selection from other icons in the window to prevent unwanted user deletion of text in the selected icon.
020e9c0d -
Andy Vawer authored
Force writeable icons to have a filled background on redraw, similar to behaviour in pre-clipboard Wimp. Prevents corrupted redraw in non-filled writeables. Version 5.77. Tagged as 'Wimp-5_77'
2acd405d -
Robert Sprowson authored
The name clashes with the recently added clear IRQ flag macro, CLI, but is only used in a debug case. Version 5.77. Not tagged
85171512 -
Robert Sprowson authored
When the preferred list of types is exhausted, Clipboard Manager should at least respond with the native type (per DnD spec 5.3.1). Since only text is supported, this translates to always replying. Version 5.78. Tagged as 'Wimp-5_78'
2c8fa7c2 -
Robert Sprowson authored
Since our text selection model follows the Style Guide and there's no means to configure it to the contrary, this subreason can just return fixed values to allow applications to query the state compared with running on a non-Cut-n-Paste Wimp.
56afccc6 -
Andy Vawer authored
Version 5.79. Tagged as 'Wimp-5_79'
5e0e65cc
Showing
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type