1. 06 Jul, 2020 3 commits
    • Richard Hughes's avatar
      fwupd: Add support for the update action · cf565603
      Richard Hughes authored
      Some future dock hardware needs the user to manually restart it after the update
      has completed. This patch adds the update-action functionality and shows a
      dialog box just like the existing detach-action one.
    • Richard Hughes's avatar
      Do not use GsApp screenshot for transient screenshots · bea12331
      Richard Hughes authored
      We currently support showing the user a screenshot which provides a more
      friendly way to put a device into bootloader mode. Devices that support this
      currently add a screenshot to the GsApp and then it gets shown before the update
      is applied.
      This isn't really suitable as when the update has been installed we then show
      the screenshot prominently in the details page, which is really confusing.
      It's a transient screenshot that's only requried for GsAppFlags _USER_ACTION so
      give the property it deserves.
    • Richard Hughes's avatar
      fwupd: Send our implemented feature set · 7235af26
      Richard Hughes authored
      At the moment we just blindly assume the capabilities of the front-end client
      when installing firmware. We can somewhat work around this limitation by
      requiring a new enough fwupd daemon version, but the GUI client software may be
      much older than the fwupd version or just incomplete.
      Clients that do not register features are assumed to be dumb and won't be
      offered firmware that has a hard requirement on showing text or screenshots.
  2. 05 Jul, 2020 1 commit
  3. 03 Jul, 2020 3 commits
  4. 02 Jul, 2020 1 commit
  5. 01 Jul, 2020 3 commits
  6. 30 Jun, 2020 11 commits
  7. 28 Jun, 2020 1 commit
  8. 25 Jun, 2020 1 commit
  9. 22 Jun, 2020 1 commit
  10. 21 Jun, 2020 1 commit
  11. 18 Jun, 2020 2 commits
  12. 17 Jun, 2020 6 commits
  13. 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>
  14. 12 Jun, 2020 4 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.
    • Matthew Leeds's avatar
      flatpak: Don't use local checkout for flatpak cmd · b682a7fb
      Matthew Leeds authored
      Using a local checkout of flatpak at a hard-coded path for the 'flatpak'
      command is of course bad for portability, but also bad because the
      flatpak plugin might link against a different libflatpak (e.g. the
      installed one).