1. 03 Jan, 2021 2 commits
  2. 02 Jan, 2021 3 commits
  3. 31 Dec, 2020 1 commit
  4. 28 Dec, 2020 3 commits
    • Kai Uwe Broulik's avatar
      Port TabsRunner to DBus runner · aee0f2e8
      Kai Uwe Broulik authored
      Removes quite some boilerplate code. The extension side is unchanged
      and overall it functions the same albeit likely somewhat quicker as
      the amount of DBus traffic is reduced by cutting the intermediary and
      only sending the found tabs around.
    • Kai Uwe Broulik's avatar
      Add browser history runner · 6599a4ef
      Kai Uwe Broulik authored
      Being a DBus runner inside p-b-i has the obvious disadvantage of only working
      when the browser is running but I have it open all the time anyway.
      It is added as an optional permission as to not cause prompts after upgrading
      the extension. Instead, it asks the user to grant the permission either on settings
      screen or in KRunner results.
      Results are primarily scored by whether the title contains (starts with rated higher),
      host contains (+ starts with), path contains (+ starts with) in the same way as is
      done in tabs runner, except that the base score is slightly lower. Additionally, the
      number of visits to the pages (visited by opening the page, and visited by explicitly
      typing into the address bar, the latter of which is scored higher) is taken into account
      relative to the result set for added accuracy.
    • Kai Uwe Broulik's avatar
      Introduce AbstractKRunnerPlugin for wrapping DBusRunner · b34a8847
      Kai Uwe Broulik authored
      It serves as a base classe for the upcoming history runner
      as well as will see tabsrunner ported to use it
  5. 25 Dec, 2020 1 commit
  6. 12 Dec, 2020 1 commit
  7. 09 Dec, 2020 1 commit
  8. 08 Dec, 2020 1 commit
  9. 04 Dec, 2020 1 commit
  10. 02 Dec, 2020 1 commit
    • Kai Uwe Broulik's avatar
      [Tabs Runner] Rework handling of favicons · 3ebdd431
      Kai Uwe Broulik authored
      It seems on Chrome more often than not when having dozens of pages open, the approach
      of using a timeout of 100ms for fetching from cache doesn't cut it and requests are
      queued up and time out.
      This patch improves the situation by:
      * reducing the number of requests being made in the first place by collecting a set of
        favicons first, since when having multiple tabs of the same website open (e.g. multiple
        news articles one wants to read), there's no point in requesting the same favicon
        multiple times in a row
      * caching the fetched favicon data so that subsequent queries, e.g. while you type,
        benefit from the favicon look up of the first query. The cache is evicted after a minute
        to not pile up an unlimited amount of data URLs
      * using Promises and Array algorithms for better structure
  11. 29 Nov, 2020 1 commit
  12. 23 Nov, 2020 1 commit
  13. 14 Nov, 2020 1 commit
  14. 09 Nov, 2020 1 commit
  15. 08 Nov, 2020 1 commit
  16. 07 Nov, 2020 1 commit
  17. 05 Nov, 2020 1 commit
  18. 23 Oct, 2020 1 commit
  19. 17 Oct, 2020 1 commit
  20. 10 Oct, 2020 1 commit
  21. 09 Oct, 2020 1 commit
  22. 05 Oct, 2020 1 commit
  23. 01 Oct, 2020 1 commit
  24. 23 Sep, 2020 1 commit
  25. 21 Sep, 2020 1 commit
  26. 20 Sep, 2020 1 commit
  27. 17 Sep, 2020 3 commits
  28. 16 Sep, 2020 1 commit
  29. 09 Sep, 2020 1 commit
    • Kai Uwe Broulik's avatar
      [Tabs Runner] Add tab URL as mime data for tabs · cbdbbcd3
      Kai Uwe Broulik authored
      The Firefox tab dragging mime data is in an internal format and Chrome doesn't even
      do proper drags, so let's forget about being able to re-arrange tabs this way.
      Instead, just set the tab URL so you at least get some drag and drop benefit.
  30. 08 Sep, 2020 1 commit
  31. 30 Aug, 2020 1 commit
  32. 28 Aug, 2020 1 commit
  33. 24 Aug, 2020 1 commit
    • Kai Uwe Broulik's avatar
      Split "page" context menu from links · d9fc5916
      Kai Uwe Broulik authored
      As far as Firefox is concerned, a context menu entry on the page itself has no
      "target" and so any `targetUrlPatterns` will cause the menu entry not to show.
      This patch splits the "page" context from anything with a link or source, so that
      we can set `targetUrlPatterns` for those, and `documentUrlPatterns` for the "page"
      menu. This has the added benefit of not allowing to share internal browser pages,
      such as "New Tab", while still allowing to send http(s) links on those pages.
      While at it, also support the "tab" context in Firefox which adds an entry to the
      tab button on the tab bar.