1. 08 Jul, 2016 3 commits
  2. 06 Jul, 2016 1 commit
  3. 01 Jul, 2016 1 commit
    • Matthias Clasen's avatar
      Add a new gio commandline tool · 9edba4e4
      Matthias Clasen authored
      This command collects the various commandline utilities that
      are currently shipped in gvfs, and unifies them under a single,
      command-style binary.
      The tools just use GIO APIs, so it makes sense for them to live here.
  4. 29 Jun, 2016 4 commits
  5. 28 Jun, 2016 3 commits
  6. 25 Jun, 2016 1 commit
  7. 24 Jun, 2016 1 commit
    • Cosimo Cecchi's avatar
      vfs: add g_vfs_register_uri_scheme() · 375b4ca6
      Cosimo Cecchi authored
      Add a new API to allow clients to register a custom GFile implementation
      handling a particular URI scheme.
      This can be useful for tests, but also for cases where a different URI
      scheme is desired to be used with another custom GFile backend.
      As an additional cleanup, we can use this to register the "resource" URI
      scheme too.
      Based on a patch by Jasper St. Pierre <jstpierre@mecheye.net>.
  8. 23 Jun, 2016 1 commit
    • Allison Karlitskaya's avatar
      tests: fix uint64 argument to g_object_set() call · 9bb2499c
      Allison Karlitskaya authored
      5cea1c86 introduced accessors for 64bit
      ints to gsettings, at which point the testcases were expanded.
      Unfortunately, the expanded tests contained a bug: integer constants
      passed to g_object_set() for a 64-bit property need an up-cast.  Add
      that now.
      Problem found by Iain Lane.
  9. 22 Jun, 2016 1 commit
  10. 16 Jun, 2016 2 commits
  11. 15 Jun, 2016 5 commits
  12. 07 Jun, 2016 1 commit
  13. 04 Jun, 2016 3 commits
  14. 03 Jun, 2016 1 commit
  15. 02 Jun, 2016 2 commits
  16. 20 May, 2016 2 commits
  17. 14 May, 2016 1 commit
  18. 05 May, 2016 1 commit
    • Matthias Clasen's avatar
      gdbus-codegen: Only generate autocleanup when instructed to · 98f86bee
      Matthias Clasen authored
      This adds a new --c-generate-autocleanup option to gdbus-codegen
      which can be used to instruct gdbus-codegen about what autocleanup
      definitions to emit.
      Doing this unconditionally was found to interfere with existing
      code out in the wild.
      The new option takes an argument that can be
      none, objects or all; to indicate whether to generate no
      autocleanup functions, only do it for object types, or do it
      for interface types as well. The default is 'objects', which
      matches the unconditional behavior of gdbus-codegen on the 2.48
  19. 04 May, 2016 4 commits
  20. 03 May, 2016 1 commit
    • Simon McVittie's avatar
      codegen: make g_autoptr for the GInterface conditional · 1c6cd5f0
      Simon McVittie authored
      Some GNOME projects unconditionally work around the generated code's
      lack of g_autoptr support by defining the autoptr cleanup function
      themselves, which is not forward-compatible; as a result, commit
      cbbcaa4d broke them. Do not define the cleanup function unless the
      including app "opts in" to newer APIs via GLIB_VERSION_MAX_ALLOWED.
      Projects requiring compatibility with GLib < 2.49 can get a
      forward-compatible g_autoptr for a generated GInterface type found in
      a library, for example ExampleAnimal in the GIO tests, by declaring
      and using a typedef with a distinct name outside the library's
          typedef AutoExampleAnimal ExampleAnimal;
          G_DEFINE_AUTOPTR_CLEANUP_FUNC (AutoExampleAnimal, g_object_unref)
          g_autoptr (AutoExampleAnimal) animal = NULL;
          /* returns ExampleAnimal * */
          animal = example_animal_proxy_new_sync (...);
          /* takes ExampleAnimal * first argument */
          example_animal_call_poke_sync (animal, ...);
      Signed-off-by: Simon McVittie's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
      Bug: https://bugzilla.gnome.org/show_bug.cgi?id=763379Reviewed-by: Colin Walters's avatarColin Walters <walters@verbum.org>
      Reviewed-by: 's avatarEmmanuele Bassi <ebassi@gnome.org>
  21. 02 May, 2016 1 commit