1. 09 Sep, 2019 1 commit
  2. 17 Jul, 2019 1 commit
    • Philip Withnall's avatar
      lib: Add metered data scheduling to the core · a41e2863
      Philip Withnall authored
      
      
      This adds some utility functions for accessing a metered data scheduler,
      exposed in the public API if GS_ENABLE_EXPERIMENTAL_MOGWAI is defined
      before the library headers are included.
      
      Using this unstable API from out of tree plugins is not supported.
      
      Support will be added to some of the in-tree plugins in following
      commits, allowing them to schedule their large downloads using the
      system scheduler, in accordance with the user’s metered data policy.
      
      This adds an optional dependency on libmogwai-schedule-client.
      
      It will be the responsibility of individual plugins to ensure that large
      downloads (roughly, >100KB) are scheduled using the scheduler. Smaller
      downloads don’t have to be, as they consume negligible bandwidth.
      
      For now, remove use of the download-updates setting, as the policy it
      enforced is implemented more flexibly in the download scheduler daemon.
      Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
      a41e2863
  3. 16 Jul, 2019 1 commit
  4. 28 Jun, 2019 1 commit
  5. 17 Jun, 2019 1 commit
  6. 24 May, 2019 1 commit
  7. 01 May, 2019 1 commit
  8. 30 Apr, 2019 1 commit
  9. 15 Apr, 2019 1 commit
  10. 08 Apr, 2019 1 commit
  11. 12 Mar, 2019 1 commit
  12. 11 Mar, 2019 1 commit
  13. 05 Mar, 2019 2 commits
  14. 04 Mar, 2019 2 commits
  15. 24 Feb, 2019 2 commits
  16. 23 Feb, 2019 1 commit
  17. 23 Jan, 2019 1 commit
  18. 17 Jan, 2019 1 commit
  19. 16 Jan, 2019 1 commit
  20. 13 Dec, 2018 2 commits
  21. 30 Nov, 2018 1 commit
  22. 23 Oct, 2018 1 commit
  23. 19 Oct, 2018 3 commits
    • Richard Hughes's avatar
      Use the new xb_builder_fixup_set_max_depth() for a pretty dramatic speedup · e918c277
      Richard Hughes authored
      If we're fixing <component> then limit the traverse depth to 2 and save a huge
      number of strcmp's when compiling a new binary blob.
      e918c277
    • Richard Hughes's avatar
      trivial: Allow using libxmlb as a subproject · 3b369aa7
      Richard Hughes authored
      This might make it easier for people trying out gnome-software.
      3b369aa7
    • Richard Hughes's avatar
      Use libxmlb to parse AppStream XML · d3648252
      Richard Hughes authored
      The libxmlb library is much faster to load and query as it does not require
      the client to parse all the XML metadata at startup. It's a zero-copy mmap
      design that is more modern and less clunky. In case of memory pressure on low
      RAM machines, the compressed XML is evicted from memory and automatically
      reloaded when required.
      
      For a single operation, startup time has decreased by 40%, and RSS usage is
      down by a massive 78%. The GUI process has similar wins, with a reduction in
      startup time by 13% and RSS usage is down by 45%. This now means the idle
      process uses less than 50Mb with all plugins enabled.
      d3648252
  24. 17 Oct, 2018 1 commit
    • Kalev Lember's avatar
      feature/popular/summary tile: Rework idle source removal · 60d940d8
      Kalev Lember authored
      When setting up an idle source, save the returned id so that we can
      remove the idle source in destroy() and when changing the GsApp that the
      tile shows.
      
      This fixes tile->app NULL critical warnings when quickly switching
      between categories and a resource leak when the idle fires after
      destroy().
      
      Also, this bumps the glib dep to 2.56.0 for g_clear_handle_id.
      60d940d8
  25. 15 Oct, 2018 1 commit
  26. 09 Oct, 2018 1 commit
  27. 02 Oct, 2018 1 commit
  28. 25 Sep, 2018 1 commit
    • Kalev Lember's avatar
      build: Define _GNU_SOURCE globally · a5f7b4e4
      Kalev Lember authored
      This avoids having to set it in each source file individually. In
      particular, I'd like to avoid changing lib/gs-ioprio.c that's imported
      from tracker.
      
      Fixes the following compiler warning:
      
      ../lib/gs-ioprio.c: In function ‘ioprio_set’:
      ../lib/gs-ioprio.c:107:9: warning: implicit declaration of function ‘syscall’; did you mean ‘strcoll’? [-Wimplicit-function-declaration]
      a5f7b4e4
  29. 24 Sep, 2018 1 commit
  30. 21 Sep, 2018 1 commit
  31. 20 Sep, 2018 1 commit
  32. 17 Sep, 2018 1 commit
  33. 09 Aug, 2018 2 commits