1. 23 May, 2020 1 commit
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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