1. 30 Jul, 2018 2 commits
  2. 25 Jul, 2018 1 commit
  3. 21 Jul, 2018 3 commits
    • Matthias Clasen's avatar
      Add a gnet utility · 1db3b6de
      Matthias Clasen authored
      This is currently just a wrapper around GNetworkMonitor.
      1db3b6de
    • Matthias Clasen's avatar
      Stop generating code for NetworkMonitor · 7217fe56
      Matthias Clasen authored
      The portal implementation no longer uses generated
      code for org.freedesktop.portal.NetworkMonitor.
      7217fe56
    • Matthias Clasen's avatar
      network monitor: Update portal implementation · 5ed808d7
      Matthias Clasen authored
      The network monitor portal interface is changing.
      Version 2 is no longer using properties, but getters
      instead (this lets the portal apply access control
      and avoid sending information to non-networked
      sandboxes).
      
      To support both version 1 and 2 of the interface,
      we stop using generated code and instead deal with
      the api differences in our own code, which is not
      too difficult.
      
      Support version 1 as well
      5ed808d7
  4. 20 Jul, 2018 1 commit
  5. 19 Jul, 2018 2 commits
    • Christoph Reiter's avatar
      meson: use the new 'python' module instead of the 'python3' one. Closes #1455 · 631c3534
      Christoph Reiter authored
      The new python module, added with 0.46, works with Python 2 and 3 and
      allows to pass a path for the interpreter to use, if the need arises.
      
      Previously the meson build set PYTHON, used in the shebang line of
      the scripts installed by glib, to the full path of the interpreter.
      The new meson module doesn't expose that atm, but we should set it to
      a executable name anyway, and not a full path.
      631c3534
    • Nirbheek Chauhan's avatar
      meson: Provide our Python tools for builds · 057f393b
      Nirbheek Chauhan authored
      Several of our tools are installed and are used by other projects to
      generate code. However, there is no 'install' when projects use glib
      as a subproject.
      
      We need some way for glib to 'provide' these tools so that when some
      project uses glib as a subproject, find_program('glib-mkenums') will
      transparently return the glib-mkenums we just built.
      
      Starting from Meson 0.46, this can be done with the
      `meson.override_find_program()` function.
      
      As a bonus, the Meson GNOME module will also use these
      'overriden'/'provided' programs instead of looking for them in PATH.
      057f393b
  6. 17 Jul, 2018 3 commits
  7. 16 Jul, 2018 1 commit
  8. 12 Jul, 2018 1 commit
    • Thomas H.P. Andersen's avatar
      python: avoid equality check for None · a8b416f9
      Thomas H.P. Andersen authored
      PEP8 says that:
      "Comparisons to singletons like None should always be done with is or
      is not, never the equality operators."
      
      glib uses a mix of "== None" and "is None". This patch changes all
      cases to the latter.
      a8b416f9
  9. 11 Jul, 2018 1 commit
  10. 10 Jul, 2018 1 commit
  11. 09 Jul, 2018 2 commits
  12. 07 Jul, 2018 1 commit
  13. 06 Jul, 2018 2 commits
  14. 05 Jul, 2018 7 commits
  15. 03 Jul, 2018 2 commits
  16. 29 Jun, 2018 4 commits
  17. 27 Jun, 2018 2 commits
  18. 26 Jun, 2018 1 commit
    • Philip Withnall's avatar
      gmain: Add names to various GSources constructed in GLib · 208a6e81
      Philip Withnall authored
      For the purposes of debugging, it is quite useful for every GSource to
      have a name set. Ensure that any GSource we construct inside GLib has a
      name set. For GSources which are then returned to the caller, this name
      can then be overridden with something even more useful by the caller.
      
      Since this data is only used for debugging, avoid doing any allocations
      for it; just use static strings.
      
      GNOME/glib#1175
      208a6e81
  19. 25 Jun, 2018 1 commit
  20. 22 Jun, 2018 1 commit
  21. 21 Jun, 2018 1 commit