1. 25 Mar, 2024 1 commit
  2. 14 Jan, 2023 1 commit
    • Robert Sprowson's avatar
      Fix for zombie task preventing desktop exit after shutdown · 5ea3f800
      Robert Sprowson authored
      When the last task closes down have the clipboard manager task go dormant rather
      than pending. Otherwise, we get stuck in a race condition wanting to start back
      up again when the Task Manager's shutdown dialogue quits (Ctrl-Shift-F12 then
      Ctrl-Shift-F12).
      
      Wimp01.s:
      Define symbolic names for the special values if clipboard_taskhandle for states
      pending/run now/dormant.
      Wimp02.s:
      When the final task closes down, *now* it is safe to go to the pending state.
      Wimp07.s:
      Tidy up runthetask, and use Wimp version of 200 for the temporary task initialised
      rather than pass an undefined R3 to Wimp_Initialise. Share a common OS_CLI tail.
      CBTask.s:
      When asked to quit via user message 0, set the state to dormant.
      
      Version 5.85. Tagged as 'Wimp-5_85'
      5ea3f800
  3. 17 Oct, 2020 1 commit
    • Andy Vawer's avatar
      Fixes for dropping text into writable icons · 30c0dbf5
      Andy Vawer authored
      * If dragging text from a writable icon and the source text or selection disappears during the drag, an ofla error occurs. Change to abort quietly (ie no text copied as nothing to copy) and remove the ghost caret from view.
      * Remove ghost caret on invalid dropped drags
      * Either use correct insert point from ghost caret when receiving a drag, or use current mouse coords for the destination if no ghost caret present.
      * Change datasave handling to check ghost caret presence for the destination rather than trying to check the enhanced datasave state.
      * Use window X coord for drop rather than screen Xcoord to ensure correct insert point.
      
      Fixes dragging multiline text areas from Draw leaving a ghost caret when it failed, and dragging a basic text object from Draw now inserts at the correct place.
      
      Version 5.80. Tagged as 'Wimp-5_80'
      30c0dbf5
  4. 26 Aug, 2020 1 commit
  5. 23 May, 2020 1 commit
  6. 11 Apr, 2020 1 commit
    • Andy Vawer's avatar
      Allow text to be dragged from writable icons to icon bar icons · 791a168f
      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
  7. 30 Jan, 2020 1 commit
    • Andy Vawer's avatar
      Fix issue where dragging text from icon caused a crash in foreground task · 1475387a
      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
  8. 04 Jan, 2020 1 commit
    • ROOL's avatar
      Fix for abort on pasting into writeable menus · 14056f15
      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
  9. 18 Dec, 2019 1 commit
    • ROOL's avatar
      Clipboard caret/task fixes · 9cc627ac
      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
  10. 14 Dec, 2019 1 commit
    • ROOL's avatar
      Add copy & paste and drag & drop operations to the Wimp · 0fb14a00
      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