1. 27 Apr, 2017 1 commit
  2. 26 Apr, 2017 1 commit
  3. 23 Apr, 2017 1 commit
  4. 22 Apr, 2017 5 commits
    • Dušan Kazik's avatar
      Update Slovak translation · 7745df63
      Dušan Kazik authored
      (cherry picked from commit e8623c019b763406afbb44dd0f5123d15c90fb44)
      7745df63
    • 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
    • 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
    • Richard Hughes's avatar
      trivial: Fix launching gnome-software using D-Bus activation · d7c48f13
      Richard Hughes authored
      Three problems here:
      
      1. The desktop file wasn't using the global configuration object
      2. The global configuration only knew about BINDIR rather than bindir
      3. The global BINDIR was using quoting as it's designed for source files
      
      Just use a local configuration_data object with the one thing set with the
      right name.
      d7c48f13
  5. 21 Apr, 2017 5 commits
  6. 20 Apr, 2017 1 commit
  7. 19 Apr, 2017 6 commits
  8. 15 Apr, 2017 2 commits
    • Richard Hughes's avatar
      Use the new origin search match flag · d8862653
      Richard Hughes authored
      Abusing keywords didn't really work as the origin should be a much lower search
      match result, and also the origin is unlocalized and requires splitting.
      
      The new code requires appstream-glib from master to work properly.
      d8862653
    • Richard Hughes's avatar
      Add the complete flatpak source as a keyword · 545172a9
      Richard Hughes authored
      This is an incomplete fix as really the name needs splitting into tokens in the
      case of sources like gnome-apps-nightly.
      545172a9
  9. 14 Apr, 2017 2 commits
  10. 13 Apr, 2017 5 commits
  11. 12 Apr, 2017 2 commits
    • Joaquim Rocha's avatar
      Use the unique id of an AsApp when creating a GsApp in gs-appstream · f48927ec
      Joaquim Rocha authored
      Instead of using the simple id when creating a GsApp from an AsApp, we
      should use its unique id instead because it may have extra information
      that the simple id won't, e.g. the bundle kind, app kind, etc.
      
      This leads to a GsApp that is closer to the AsApp that it represents.
      f48927ec
    • Joaquim Rocha's avatar
      Prevent potential abuse of an app list in the plugin-loader · 8955657a
      Joaquim Rocha authored
      The list of apps that was looped over for calling the refine in each app
      was also being passed to the refine functions. This could lead to
      problems if the function affected the list (removed or added apps).
      
      This patch fixes that issue by using a copy of the list in the loop.
      8955657a
  12. 11 Apr, 2017 1 commit
  13. 10 Apr, 2017 4 commits
  14. 09 Apr, 2017 2 commits
  15. 07 Apr, 2017 2 commits