1. 20 Apr, 2009 1 commit
    • Alexander Larsson's avatar
      Add helpers for connecting/disconnecting to cancelled signal · 0001014c
      Alexander Larsson authored
      There are race conditions when connecting and disconnecting from the
      "cancelled" signal on GCancellable which you need to do when
      implementing cancellable operations. This adds helper functions that
      avoid these races and mentions these races in the docs. (#572844)
      0001014c
  2. 17 Feb, 2009 1 commit
  3. 28 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568575 – _async functions for GDataInputStream · 129e86cf
      Allison Karlitskaya authored
      2009-01-28  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568575 – _async functions for GDataInputStream
      
              * gdatainputstream.h:
              * gdatainputstream.c: add _async versions of read_line and read_until.
              * gio.symbols:
              * ../docs/reference/gio/gio-sections.txt: add new functions
              * tests/sleepy-stream.c: new test case for async read line
              * tests/Makefile.am: add new test
      
      
      svn path=/trunk/; revision=7835
      129e86cf
  4. 21 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568394 – dropping the last reference to a stream filter closes the · a9c978a3
      Allison Karlitskaya authored
      2009-01-20  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568394 – dropping the last reference to a stream filter closes the
              base stream
      
              * gfilterinputstream.h:
              * gfilterinputstream.c: add "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gfilteroutputstream.h:
              * gfilteroutputstream.c: add a "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
              before closing the base stream.  fix invalid source tag comparison in
              close_async (was comparing to flush_async).
              * ../docs/reference/gio/gio-sections.txt:
              * gio.symbols: add
              g_filter_{in,out}put_stream_{g,s}et_close_base_stream
              * tests/filter-streams.c: new test cases
              * tests/Makefile.am: add new test
              * tests/.gitignore: add new test
      
      
      svn path=/trunk/; revision=7825
      a9c978a3
  5. 05 Jan, 2009 1 commit
  6. 08 Dec, 2008 1 commit
  7. 01 Dec, 2008 1 commit
  8. 28 Nov, 2008 1 commit
  9. 21 Oct, 2008 1 commit
    • Alexander Larsson's avatar
      Bug 555740 - gicon serialization Based on patch from David Zeuthen · 4f0b18d2
      Alexander Larsson authored
      2008-10-21  Alexander Larsson  <alexl@redhat.com>
      
      	Bug 555740 - gicon serialization
      	Based on patch from David Zeuthen
      	
              * gicon.[ch]:
              * gio.symbols:
      	Add g_icon_to_string() and g_icon_new_for_string().
      	
              * gemblem.c:
              * gemblemedicon.c:
              * gfileicon.c:
              * gthemedicon.c:
      	Implement icon serialization for built-in icon types
      	
              * tests/Makefile.am:
              * tests/g-icon.c:
      	Added GIcon serialization test
      
      
      
      svn path=/trunk/; revision=7618
      4f0b18d2
  10. 15 Oct, 2008 1 commit
  11. 12 Oct, 2008 1 commit
  12. 26 Sep, 2008 2 commits
    • Matthias Clasen's avatar
      Bug 545350 – GAppInfo deletion Bug 545351 – Reset associations for · 764e187f
      Matthias Clasen authored
      2008-09-26  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 545350 – GAppInfo deletion
              Bug 545351 – Reset associations for content type
      
              * gio.symbols:
              * gappinfo.[hc]: New functions g_app_info_can_delete,
              g_app_info_delete and g_app_info_reset_type_associations.
      
              * gdesktopappinfo.c:
              * gwin32appinfo.c: Implementations of these.
      
              * tests/Makefile.am:
              * tests/desktop-app-info.c: Tests for GAppInfo functionality.
      
      
      svn path=/trunk/; revision=7554
      764e187f
    • Dan Winship's avatar
      Bug 505361 - gunixinputstream.c assumes poll() available · 7f4864e5
      Dan Winship authored
      	Bug 509446 - portable blocking gio cancellation
      
      	* gcancellable.c (g_cancellable_make_pollfd): New method to make a
      	GPollFD for a cancellable (which is slightly more complicated on
      	Windows than Unix).
      
      	* gunixinputstream.c (g_unix_input_stream_read):
      	* gunixoutputstream.c (g_unix_output_stream_write): Use
      	g_cancellable_make_pollfd() and g_poll() rather than using poll()
      	directly.
      
      	* tests/unix-streams.c: test of GUnixInputStream,
      	GUnixOutputStream, and GCancellable.
      
      svn path=/trunk/; revision=7553
      7f4864e5
  13. 04 Aug, 2008 1 commit
  14. 28 Jul, 2008 1 commit
    • Matthias Clasen's avatar
      Add a GIcon implementation that can add an emblem to another icon. · a2b61b1e
      Matthias Clasen authored
      2008-07-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gemblemedicon.[hc]: Add a GIcon implementation that can
              add an emblem to another icon.
      
              * gio.h:
              * Makefile.am:
              * gio.symbols: Glue
      
              * gloadableicon.c:
              * gfileicon.c: Small documenatation additions.
      
      
      svn path=/trunk/; revision=7263
      a2b61b1e
  15. 24 Jul, 2008 1 commit
  16. 18 Jul, 2008 1 commit
  17. 08 Jul, 2008 1 commit
  18. 07 Jul, 2008 1 commit
  19. 02 Jul, 2008 2 commits
  20. 16 Jun, 2008 1 commit
    • Ross Burton's avatar
      Bug 536252 – GFileEnumerator should allow access to the containing GFile · 3480685d
      Ross Burton authored
      2008-06-16  Ross Burton  <ross@burtonini.com>
      
      	Bug 536252 – GFileEnumerator should allow access to the containing
      	GFile
      	
      	* gio/gfileenumerator.c:
      	* gio/gfileenumerator.h:
      	* gio/gfile.h:
      	Add g_file_enumerator_get_container() and a container writeable
      	construct-only property.  Also shuffle around typedefs to make it
      	compile.
      	
      	* gio/glocalfileenumerator.c:
      	* gio/glocalfileenumerator.h:
      	* gio/glocalfile.c:
      	Instead of a string filename take a GFile in the constructor and
      	use it to set the container property.
      	
      	* gio/gio.symbols:
      	* docs/reference/gio/gio-sections.txt:
      	Update with new API.
      
      svn path=/trunk/; revision=7044
      3480685d
  21. 11 Jun, 2008 1 commit
    • Ross Burton's avatar
      Bug 511367 - add g_file_make_directory_with_parents. · 7653f500
      Ross Burton authored
      2008-06-11  Ross Burton  <ross@burtonini.com>
      
      	Bug 511367 - add g_file_make_directory_with_parents.
      	
      	* gio/gfile.c:
      	* gio/gfile.h:
      	* gio/gio.symbols: Add g_file_make_directory_with_parents.
      
      svn path=/trunk/; revision=7001
      7653f500
  22. 10 Jun, 2008 1 commit
  23. 26 May, 2008 1 commit
  24. 18 May, 2008 1 commit
  25. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent code from · d922bf63
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
      	code from being checked in that breaks the build of applications
      	which use G_DISABLE_SINGLE_INCLUDES.
      
      	* makegioalias.pl: make the alias file include "glib.h" instead of
      	"glibconfig.h".
      
      	* gio.symbols: whitespace change to force regeneration of the
      	alias file after above script change.
      
      	* gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
      
      	* gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
      
      	* gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
      
      	* glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
      
      
      svn path=/trunk/; revision=6879
      d922bf63
  26. 31 Mar, 2008 1 commit
  27. 14 Mar, 2008 1 commit
  28. 10 Mar, 2008 1 commit
  29. 25 Feb, 2008 1 commit
  30. 23 Feb, 2008 1 commit
  31. 21 Feb, 2008 2 commits
    • David Zeuthen's avatar
      Implement this function by moving bits from glocalfileinfo.c · bfda430e
      David Zeuthen authored
      2008-02-21  David Zeuthen  <davidz@redhat.com>
      
      	* glocalfileinfo.c: (_g_local_file_info_get):
      	* gcontenttype.c:
      	(g_content_type_get_icon): Implement this function by
      	moving bits from glocalfileinfo.c
      	(g_content_type_get_description): Unalias before getting
      	description (#517687)
      
      	* gfile.c: (g_file_class_init),
      	(g_file_query_filesystem_info_async),
      	(g_file_query_filesystem_info_finish),
      	(query_filesystem_info_data_free),
      	(query_filesystem_info_async_thread),
      	(g_file_real_query_filesystem_info_async),
      	(g_file_real_query_filesystem_info_finish):
      	* gfile.h: Implement async version of
      	g_file_query_filesystem_info()
      
      	* gfileinfo.h: Add new attributes for filesystem::use-preview
      
      	* gio.symbols: Update
      
      	* gthemedicon.c: (g_themed_icon_append_name):
      	* gthemedicon.h: Add new new convenience function.
      
      	* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
      	(get_mounts), (get_volumes), (get_connected_drives),
      	(get_volume_for_uuid), (get_mount_for_uuid),
      	(g_union_volume_monitor_init), (populate_union_monitor),
      	(g_volume_monitor_get), (_g_mount_get_for_mount_path),
      	(g_volume_monitor_adopt_orphan_mount):
      	* gvolumemonitor.c:
      	* gvolumemonitor.h: Use recursive locks so it's safe for volume
      	monitor implementations to call into the main volume monitor. Also
      	separate object initialization and volume monitor initialization
      	such that non-native volume monitors can properly adopt their
      	mounts away.
      
      
      svn path=/trunk/; revision=6550
      bfda430e
    • Alexander Larsson's avatar
      Add new g_file_has_prefix that does the same as g_file_contains_file. · 6dc9b7ee
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.[ch]:
              * gio.symbols:
      	Add new g_file_has_prefix that does the same as g_file_contains_file.
      	Deprecate g_file_contains_file and add a macro that converts
      	it to g_file_has_prefix.
      	The reason for this change is that the contains_file() name seems to
      	imply that this does more work than what it does, but its really only
      	a name match (from #517086)
      	
              * gdummyfile.c:
              * glocalfile.c:
              * tests/g-file.c:
      	Update to match the above change.
      
      
      svn path=/trunk/; revision=6546
      6dc9b7ee
  32. 11 Feb, 2008 1 commit
  33. 08 Feb, 2008 1 commit
  34. 01 Feb, 2008 1 commit
  35. 29 Jan, 2008 1 commit
  36. 28 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Add registration hooks for extension points. Register the gio extension · bff9eced
      Alexander Larsson authored
      2008-01-28  Alexander Larsson  <alexl@redhat.com>
      
              * giomodule.[ch]:
              * gio.symbols:
      	Add registration hooks for extension points.
      	Register the gio extension points.
      	
              * fam/gfamdirectorymonitor.c:
              * fam/gfamfilemonitor.c:
              * glocaldirectorymonitor.[ch]:
              * glocalfilemonitor.[ch]:
              * gnativevolumemonitor.h:
              * gunionvolumemonitor.c:
              * gunixvolumemonitor.c:
              * gvfs.[ch]:
              * gvolumemonitor.h:
              * inotify/ginotifydirectorymonitor.c:
              * inotify/ginotifyfilemonitor.c:
      	Use the extension points registration instead
      	of g_type_children().
      
      
      svn path=/trunk/; revision=6399
      bff9eced
  37. 24 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Add g_drive_get_identifier and g_drive_enumerate_identifiers · 753428dc
      Alexander Larsson authored
      2008-01-24  Alexander Larsson  <alexl@redhat.com>
      
              * gdrive.[ch]:
      	Add g_drive_get_identifier and
              g_drive_enumerate_identifiers
      
              * gvolume.[ch]:
              Add g_volume_get_identifier and
              g_volume_enumerate_identifiers
      	
              * gio.symbols:
      	Add symbols
      	
              * gunixvolume.c:
      	Implement identifiers for unix backend
      
      
      svn path=/trunk/; revision=6364
      753428dc