1. 05 Jul, 2020 5 commits
  2. 03 Jul, 2020 3 commits
  3. 02 Jul, 2020 1 commit
  4. 01 Jul, 2020 3 commits
  5. 30 Jun, 2020 11 commits
  6. 28 Jun, 2020 1 commit
  7. 25 Jun, 2020 1 commit
  8. 22 Jun, 2020 1 commit
  9. 21 Jun, 2020 1 commit
  10. 18 Jun, 2020 2 commits
  11. 17 Jun, 2020 6 commits
  12. 15 Jun, 2020 2 commits
    • Philip Withnall's avatar
      gs-app-row: Coalesce refresh operations where possible · 4a12e805
      Philip Withnall authored
      Instead of rebuilding the entire widget state every time something
      changes, schedule a refresh to happen in an idle callback. This allows
      refreshes to be coalesced, which reduces the number of refreshes
      happening overall. Previously, for example, `gs_app_row_refresh()` was
      being called 3 times as part of constructing and setting up a new
      `GsAppRow` in `GsInstalledPage`.
      This speeds up populating the `GsInstalledPage`.
      `gs_app_row_refresh()` has been removed as a public symbol for
      `GsAppRow` since refreshes should be managed internally to the widget.
      It was unused elsewhere.
      This, in conjunction with the previous commit, decreases the time for
      `gs_installed_page_get_installed_cb()` from 500ms to 300ms (for 114
      apps), and spreads out the cost of setting up the widgets for each app
      row over one or more subsequent main context iterations, which reduces
      freezing of the UI.
      Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    • Philip Withnall's avatar
      gs-app-row: Add some properties so they can be set at construction time · a289576a
      Philip Withnall authored
      This should speed up the process of setting up a `GsAppRow`, since it
      will (in a following commit) allow the ‘refresh’ calls at construction
      time to be coalesced.
      Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
  13. 12 Jun, 2020 3 commits
    • Matthew Leeds's avatar
      flatpak: Add app to be uninstalled to txn cache · ae8f7e34
      Matthew Leeds authored
      This mirrors what we do for install operations, and ensures that the
      GsApp object used by the GsFlatpakTransaction will be the same one which
      was passed to gs_plugin_app_remove(), which prevents this warning:
      Gs-WARNING **: 21:05:06.803: application
      user/flatpak/chiron1-origin/desktop/org.test.Chiron/master left in
      removing helper
    • Matthew Leeds's avatar
      flatpak: Fix icons for installed bundles · f58c6dbb
      Matthew Leeds authored
      Currently apps installed from .flatpak bundles do not display their
      icons properly (and display gears instead). Fix this by ensuring the
      icon prefix is set in the appstream data so as_icon_load() can find the
    • Matthew Leeds's avatar
      flatpak: Add a test for installing a bundle · c42bad07
      Matthew Leeds authored
      Add a unit test for installing a flatpak bundle, re-using much of the
      code for the flatpakref install test.