1. 10 Apr, 2020 1 commit
    • Kai Uwe Broulik's avatar
      [Purpose Plugin] Detect cancelling the prompt more reliably · 5a5369a0
      Kai Uwe Broulik authored
      aboutToHide is emitted before an action is triggered and activeAction() is the action currently hovered.
      This means we can't properly tell that the prompt got canceled, when hovering an action and then hitting
      Escape to close the menu.
      This patch sets a property in response to triggered and then does a delayed check for that in aboutToHide.
      
      See also QTBUG-56761
      
      Differential Revision: https://phabricator.kde.org/D28719
      5a5369a0
  2. 04 Jan, 2020 1 commit
  3. 09 Dec, 2019 1 commit
    • Kai Uwe Broulik's avatar
      [Purpose Plugin] Reset pending reply serial when aborting · 36460395
      Kai Uwe Broulik authored
      When the QMenu is closed or the Purpose job finishes, we make sure to send a reply out and reset the pending reply serial.
      However, when we determined on the host side that we cannot share the contents,
      we send a reply but don't reset the pending reply serial, having every subsequent purpose request
      fail until reloading the extension or restarting the browser.
      
      Differential Revision: https://phabricator.kde.org/D25803
      36460395
  4. 20 Nov, 2019 1 commit
  5. 16 Oct, 2019 2 commits
  6. 24 Sep, 2019 1 commit
  7. 18 Sep, 2019 1 commit
  8. 08 Sep, 2019 2 commits
  9. 03 Sep, 2019 1 commit
  10. 27 Aug, 2019 1 commit
  11. 23 Aug, 2019 1 commit
  12. 21 Aug, 2019 1 commit
  13. 14 Aug, 2019 1 commit
    • Kai Uwe Broulik's avatar
      Allow hiding option items depending on available extension and version in the host · 55d78db6
      Kai Uwe Broulik authored
      We already have somewhat of a versioning system available in the host and it stores and exposes information
      about what extension it supports and in what version.
      This makes this information available to the options page and allows hiding elements using the
      data-requires-extension="foo" and data-requires-extension-version-minimum="2" attributes.
      
      This is for better compatibility when adding new features to the host which is released independently of
      the extension. Since the settings are still read and the items still added to the DOM, saving settings will
      not touch/change the enabled state of unsupported extensions should you use the extension on multiple
      computers with different versions of the host.
      
      Differential Revision: https://phabricator.kde.org/D21113
      55d78db6
  14. 13 Aug, 2019 1 commit
    • Kai Uwe Broulik's avatar
      Allow sending a port message and receive a reply · 32a4fce2
      Kai Uwe Broulik authored
      Instead of manually matching a sent message to a port message, allow adding a serial which is then used to
      relate a reply back so you just get a neat Promise-based API.
      For compatibility, the existing method cannot be changed, as with new extension and older host I will never
      get a reply, and I cannot tell whether the caller actually asked for the promise or not and if they didn't
      we would leak the promise resolvers as we never got a reply.
      
      Differential Revision: https://phabricator.kde.org/D23099
      32a4fce2
  15. 12 Aug, 2019 1 commit
  16. 21 Jul, 2019 3 commits
  17. 05 Jul, 2019 2 commits
  18. 02 Jul, 2019 2 commits
  19. 23 Jun, 2019 1 commit
  20. 22 Jun, 2019 1 commit
  21. 17 Jun, 2019 1 commit
  22. 14 Jun, 2019 2 commits
  23. 13 Jun, 2019 1 commit
  24. 29 May, 2019 1 commit
  25. 13 May, 2019 1 commit
  26. 06 May, 2019 2 commits
  27. 25 Apr, 2019 2 commits
  28. 24 Apr, 2019 1 commit
  29. 22 Mar, 2019 2 commits
  30. 13 Mar, 2019 1 commit