1. 11 Feb, 2019 3 commits
  2. 19 May, 2017 1 commit
    • Richard Hughes's avatar
      Add GsPluginRequest to all the plugin loader methods · 7fed04f1
      Richard Hughes authored
      This allows us to add common parameters to each request without changing the
      API every time. It also allows all the different plugin loader actions to share
      one thread func, putting all the filter and post-resolve code in one place.
      
      Use this new functionality to add support for max-results and sort_func to
      every plugin loader method, which allows us to speed up loading the overview.
      7fed04f1
  3. 16 May, 2017 1 commit
  4. 22 Apr, 2017 2 commits
    • Richard Hughes's avatar
      Allow passing an optional sorting function when searching · 969b601e
      Richard Hughes authored
      Depending on what we are doing with the search results sometimes we want to
      prioritize certain types of applications.
      
      When we run the search provider we return up to 20 results to gnome-shell and
      then gnome-shell typically chooses only three to show. This means it's a bit
      more critical how we sort the returned list as we only have three tries to get
      it right.
      
      For the case of the search provider, make sure we show available desktop
      applications first and order them by how well they match the search term.
      
      If the caller doesn't specify a custom sorting function just use the old
      match_value sorting method if a truncation is required.
      969b601e
    • Richard Hughes's avatar
      Fix a critical warning in the shell search provider · 629cb4ff
      Richard Hughes authored
      Using the desktop ID (rather than the unique) ID as the cache key could
      potentially match different GsApp objects depending on the order they are
      returned from the plugin loader.
      
      Also, get the GsApp from the unique-id using the global cache rather than
      trying to recreate it using refine -- this may be the source of a different
      bug where two different GsApps had the same unique ID in the cache.
      629cb4ff
  5. 19 Apr, 2017 1 commit
  6. 07 Mar, 2017 1 commit
  7. 02 Feb, 2017 1 commit
    • Richard Hughes's avatar
      Add a vfunc to convert a URL to a GsApp · fcc81c35
      Richard Hughes authored
      At the moment applications are manually specifying the management plugin, which
      is really the wrong thing to do. Before we can say 'don't do that' we have to
      have a better way to handle this kind of app creation.
      fcc81c35
  8. 24 Nov, 2016 2 commits
  9. 07 Sep, 2016 1 commit
  10. 27 Jul, 2016 1 commit
  11. 10 Jun, 2016 2 commits
  12. 19 May, 2016 1 commit
    • Richard Hughes's avatar
      Use GsAppList in more places · 51c90f4e
      Richard Hughes authored
      This allows us to add a hashed index in the future for perfomance reasons, and
      to include a mutex to protect access from multiple threads. Also we can fix
      several memory leak issues during the porting.
      
      Plugins can trivially port using s/GList **/GsAppList */g
      51c90f4e
  13. 25 Apr, 2016 1 commit
  14. 27 Jan, 2016 1 commit
  15. 22 Dec, 2015 1 commit
  16. 29 Oct, 2015 1 commit
  17. 25 Mar, 2015 1 commit
  18. 18 Aug, 2014 1 commit
    • Kalev Lember's avatar
      overview: Avoid featuring same category twice · 3293244f
      Kalev Lember authored
      Don't show apps from the same category twice, first in the "Editor's
      Picks" section and then in the "Recommended <category>" section as well.
      It can look weird if we have a bunch of games in the "Recommended Games"
      section, and then "Editor's Picks" end up being all games too.
      3293244f
  19. 11 Aug, 2014 1 commit
  20. 17 Feb, 2014 1 commit
  21. 29 Jan, 2014 1 commit
  22. 28 Jan, 2014 1 commit
  23. 22 Jan, 2014 1 commit
  24. 21 Oct, 2013 1 commit
  25. 19 Oct, 2013 1 commit
  26. 10 Oct, 2013 1 commit
  27. 09 Oct, 2013 2 commits
  28. 12 Sep, 2013 1 commit
  29. 11 Sep, 2013 1 commit
  30. 02 Sep, 2013 1 commit
  31. 11 Mar, 2013 2 commits
  32. 07 Mar, 2013 2 commits