1. 29 May, 2017 1 commit
  2. 21 Oct, 2014 1 commit
    • Allison Karlitskaya's avatar
      Add g_input_stream_read_all_async() · 76b890d0
      Allison Karlitskaya authored
      Add an asynchronous version of _read_all().
      
      This API is not fully consistent with the normal expectations of a
      non-asynchronous version.  Consistency between the sync and async version is
      probably more important.
      
      The API will still bind correctly, but access to all functionality will
      not be available: specifically, in the case of an error, higher level
      languages will be unable to determine how many bytes were successfully
      read before the error.  Most users will probably not want to use this
      information anyway, so this is OK -- and if they do need the
      information, then they can just write the loop for themselves.
      
      Heavily based on a patch from Ignacio Casal Quinteiro.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=737451
      76b890d0
  3. 31 Jan, 2014 1 commit
  4. 13 Jan, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 24 May, 2012 1 commit
    • Dan Winship's avatar
      gio: add GBytes-based input/output stream methods · 800d6ff1
      Dan Winship authored
      Using a caller-supplied buffer for g_input_stream_read() doesn't
      translate well to the semantics of many other languages, and using a
      non-refcounted buffer for read_async() and write_async() makes it
      impossible to manage the memory correctly currently in
      garbage-collected languages.
      
      Fix both of these issues by adding a new set of methods that work with
      GBytes objects rather than plain buffers.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=671139
      800d6ff1
  7. 02 Sep, 2008 1 commit
  8. 01 Jul, 2008 1 commit
    • Cody Russell's avatar
      Moved all relevant typedefs into these files. · 3d93bf69
      Cody Russell authored
      2008-07-01  Cody Russell  <bratsche@gnome.org>
      
              * gio/gioenums.h:
              * gio/giotypes.h:
      	Moved all relevant typedefs into these	files.
      
              * gio/*.[ch]:
      	Updated wrt added files.
      
              Split types into separate file	for easier maintainership. (#538564)
      
      
      svn path=/trunk/; revision=7127
      3d93bf69
  9. 14 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Only allow including <gio/gio.h> from apps · ced29277
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * fam/Makefile.am:
              * gappinfo.h:
              * gasyncresult.h:
              * gbufferedinputstream.h:
              * gbufferedoutputstream.h:
              * gcancellable.h:
              * gcontenttype.h:
              * gdatainputstream.h:
              * gdataoutputstream.h:
              * gdesktopappinfo.h:
              * gdirectorymonitor.h:
              * gdrive.h:
              * gfile.h:
              * gfileattribute.h:
              * gfileenumerator.h:
              * gfileicon.h:
              * gfileinfo.h:
              * gfileinputstream.h:
              * gfilemonitor.h:
              * gfilenamecompleter.h:
              * gfileoutputstream.h:
              * gfilterinputstream.h:
              * gfilteroutputstream.h:
              * gicon.h:
              * ginputstream.h:
              * gio.h:
              * gioerror.h:
              * giomodule.h:
              * gioscheduler.h:
              * gloadableicon.h:
              * gmemoryinputstream.h:
              * gmemoryoutputstream.h:
              * gmount.h:
              * gmountoperation.h:
              * goutputstream.h:
              * gseekable.h:
              * gsimpleasyncresult.h:
              * gthemedicon.h:
              * gunixinputstream.h:
              * gunixmounts.h:
              * gunixoutputstream.h:
              * gvfs.h:
              * gvolume.h:
              * gvolumemonitor.h:
              * inotify/Makefile.am:
      	Only allow including <gio/gio.h> from apps
      
      
      svn path=/trunk/; revision=6117
      ced29277
  10. 12 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      s/parent/parent_instance/ in GObjects · ab7ff4c6
      Alexander Larsson authored
      2007-12-12  Alexander Larsson  <alexl@redhat.com>
      
              * gbufferedinputstream.h:
              * gbufferedoutputstream.h:
              * gdatainputstream.h:
              * gdataoutputstream.h:
              * gdirectorymonitor.h:
              * gfileenumerator.h:
              * gfileinputstream.h:
              * gfilemonitor.h:
              * gfileoutputstream.h:
              * gfilterinputstream.h:
              * gfilteroutputstream.h:
              * ginputstream.h:
              * glocalfileinputstream.h:
              * glocalfileoutputstream.h:
              * gmemoryinputstream.h:
              * gmemoryoutputstream.h:
              * gnativevolumemonitor.h:
              * goutputstream.h:
              * gunixinputstream.h:
              * gunixoutputstream.h:
              * gvfs.h:
              * gvolumemonitor.h:
      	s/parent/parent_instance/ in GObjects
      
      
      svn path=/trunk/; revision=6102
      ab7ff4c6
  11. 05 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Rename all struct members named: read, write, close, truncate, or mount to · 2c362b7f
      Alexander Larsson authored
      2007-12-05  Alexander Larsson  <alexl@redhat.com>
      
              * gbufferedinputstream.c:
              * gbufferedoutputstream.c:
              * gdrive.[ch]:
              * gfile.[ch]:
              * gfileenumerator.[ch]:
              * gfileinputstream.c:
              * gfileoutputstream.[ch]:
              * gfilterinputstream.c:
              * gfilteroutputstream.c:
              * ginputstream.[ch]:
              * glocalfile.c:
              * glocalfileenumerator.c:
              * glocalfileinputstream.c:
              * glocalfileoutputstream.c:
              * gmemoryinputstream.c:
              * gmemoryoutputstream.c:
              * goutputstream.[ch]:
              * gseekable.[ch]:
              * gunixdrive.c:
              * gunixinputstream.c:
              * gunixoutputstream.c:
      	Rename all struct members named:
      	read, write, close, truncate, or mount
      	to foo_fn, as these are reserved names
      	and could be defined as macros in libc.
      	(#501645)
      
      
      svn path=/trunk/; revision=6048
      2c362b7f
  12. 04 Dec, 2007 1 commit
    • Dan Winship's avatar
      Make this take a GError and return a gboolean, and do the "outstanding · 117de38f
      Dan Winship authored
      2007-11-30  Dan Winship  <danw@gnome.org>
      
      	* ginputstream.c (g_input_stream_set_pending): Make this take a
      	GError and return a gboolean, and do the "outstanding operation"
      	check (and the "stream is already closed" check) itself.
      	(g_input_stream_clear_pending): Formerly set_pending(FALSE).
      
      	* goutputstream.c (g_output_stream_set_pending)
      	(g_output_stream_clear_pending): Likewise
      
      	* gbufferedinputstream.c: 
      	* gfileinputstream.c: 
      	* gfileoutputstream.c: Update for that
      
      	* gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
      	Like g_simple_async_report_error_in_idle, but takes a GError
      	rather than building one.
      
      
      svn path=/trunk/; revision=6039
      117de38f
  13. 27 Nov, 2007 1 commit
  14. 26 Nov, 2007 1 commit
    • Alexander Larsson's avatar
      gio/ docs/reference/gio Merged gio-standalone into glib. · 37813437
      Alexander Larsson authored
      2007-11-26  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * configure.in:
              * gio-2.0-uninstalled.pc.in:
              * gio-2.0.pc.in: 
              * gio-unix-2.0-uninstalled.pc.in:
              * gio-unix-2.0.pc.in:
      	* gio/
      	* docs/reference/gio
      	Merged gio-standalone into glib.
      	
              * glib/glibintl.h:
              * glib/gutils.c:
      	Export glib_gettext so that gio can use it
      	Add P_ (using same domain for now)
      	Add I_ as g_intern_static_string
      
      
      svn path=/trunk/; revision=5941
      37813437