1. 05 Mar, 2012 1 commit
  2. 14 Nov, 2011 1 commit
    • Dan Winship's avatar
      GUnixInput/OutputStream: fix blocking methods to always block · 74dad004
      Dan Winship authored
      Previously, if you created a GUnixInputStream or GUnixOutputStream
      from a non-blocking file descriptor, it might sometimes return
      G_IO_ERROR_WOULD_BLOCK from g_input_stream_read/g_output_stream_write,
      which is wrong. Fix that. (Use the GPollableInput/OutputStream methods
      if you want non-blocking I/O.)
      
      Also, add a test for this to gio/tests/unix-streams.
      
      Also, fix the GError messages to say "Error reading from file
      descriptor", etc instead of "Error reading from unix" (which was
      presumably from a bad search and replace job).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=626866
      74dad004
  3. 13 Nov, 2011 2 commits
  4. 09 Nov, 2011 1 commit
  5. 26 Nov, 2010 2 commits
  6. 03 Nov, 2010 1 commit
  7. 24 Sep, 2010 1 commit
  8. 11 Jul, 2010 1 commit
  9. 07 Jul, 2010 1 commit
  10. 09 May, 2010 1 commit
  11. 18 Sep, 2009 1 commit
  12. 19 Aug, 2009 2 commits
  13. 01 Jul, 2009 1 commit
  14. 22 Apr, 2009 1 commit
  15. 31 Dec, 2008 1 commit
  16. 08 Dec, 2008 1 commit
  17. 26 Sep, 2008 1 commit
    • 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
  18. 22 Jun, 2008 1 commit
  19. 16 Jun, 2008 1 commit
  20. 06 Feb, 2008 2 commits
    • Murray Cumming's avatar
      Fixed some minor typos in documentation. · 0d7b605f
      Murray Cumming authored
      2008-02-06  Murray Cumming  <murrayc@murrayc.com>
      
      * glib/gconvert.c:
      * glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
      
      svn path=/trunk/; revision=6467
      0d7b605f
    • Christian Persch's avatar
      Save errno before calling other funcs that potentially alter it. Bug · 37ac644b
      Christian Persch authored
      	* gio/gdesktopappinfo.c: (ensure_dir):
      	* gio/glocalfile.c: (g_local_file_query_filesystem_info),
      	(g_local_file_read), (g_local_file_delete), (g_local_file_trash),
      	(g_local_file_move):
      	* gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
      	(_g_local_file_info_get_from_fd), (set_unix_mode),
      	(set_unix_uid_gid), (set_symlink), (set_mtime_atime):
      	* gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
      	(g_local_file_input_stream_skip),
      	(g_local_file_input_stream_close),
      	(g_local_file_input_stream_seek):
      	* gio/glocalfileoutputstream.c:
      	(g_local_file_output_stream_write),
      	(g_local_file_output_stream_close),
      	(g_local_file_output_stream_seek),
      	(g_local_file_output_stream_truncate), (copy_file_data),
      	(handle_overwrite_open):
      	* gio/gunixinputstream.c: (g_unix_input_stream_read),
      	(g_unix_input_stream_close), (read_async_cb), (close_async_cb):
      	* gio/gunixoutputstream.c: (g_unix_output_stream_write),
      	(g_unix_output_stream_close), (write_async_cb), (close_async_cb):
      	Save
      	errno before calling other funcs that potentially alter it. Bug
      	#514766.
      
      svn path=/trunk/; revision=6466
      37ac644b
  21. 18 Dec, 2007 1 commit
  22. 10 Dec, 2007 1 commit
    • 15:08:59  Tim Janik's avatar
      http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html · cc3de68e
      15:08:59 Tim Janik authored
      2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
      
              * let g_warn_if_fail replace g_assert as discussed here:
                http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
      
              * fix bug #502498: Test framework assertion failures should follow
              gcc error format.
      
              * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
              unused now. removed g_assert*() definitions whcih are provided by 
              gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()  
              which are recommended as g_assert/g_assert_not_reached replacements
              for non-test programs.
              added g_warn_message() to implement g_warn_*() macros.
              use emacs-next-error friendly formatting for file:line: for warnings.
      
              * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
              implement g_assert_not_reached() with g_assertion_message() and
              g_assert() in terms of g_assertion_message_expr() so we'll be able to
              provide assertion messages in test logs.
      
              * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
              or g_return_if_fail() where suitable.
      
              * gio/: changed g_assert to g_warn_if_fail.
      
      
      
      svn path=/trunk/; revision=6086
      cc3de68e
  23. 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
  24. 01 Dec, 2007 1 commit
  25. 30 Nov, 2007 1 commit
  26. 29 Nov, 2007 1 commit
    • Andrew Walton's avatar
      Fixes unknown meaning in GAppLaunchContext docs. Clarify asynchronous ops. · 0c867d34
      Andrew Walton authored
      	* gappinfo.c:
      	  Fixes unknown meaning in GAppLaunchContext docs.
      	* gfile.c:
      	  Clarify asynchronous ops.
      	* gfileattribute.c:
      	  Fix entity tag docs.
      	* gicon.c:
      	* gthemedicon.c:
      	  Provides missing gtk-doc section, fixes API docs slighly.
      	* gsimpleasyncresult.c:
      	  Fill in missing info in docs.
      	* gunixinputstream.c:
      	* gunixoutputstream.c:
      	  Be more expressive in short description.
      	* gunixvolume.c:
      	  Remove gtk-doc stubs for non-public API.
      
      
      svn path=/trunk/; revision=5994
      0c867d34
  27. 28 Nov, 2007 2 commits
    • Alexander Larsson's avatar
      Added. Added. Added. Added. · 7f328023
      Alexander Larsson authored
      2007-11-28  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * abicheck.sh: Added.
              * makegioalias.pl: Added.
              * pltcheck.sh: Added.
              * gio.symbols: Added.
      	* *.c:
              * inotify/*.c
      	Initial work on adding symbol handling.
      
      	* gvfs.h:
      	Correct ifdef guard name
      
              * fam/Makefile.am:
              * inotify/Makefile.am:
              * xdgmime/Makefile.am:
      	Include toplevel Makefile.decl
      
      
      svn path=/trunk/; revision=5972
      7f328023
    • Matthias Clasen's avatar
      Another round of trivial doc fixes · 61582bd9
      Matthias Clasen authored
      svn path=/trunk/; revision=5970
      61582bd9
  28. 27 Nov, 2007 2 commits
    • Alexander Larsson's avatar
      Removed. Removed. Added. Added. Renamed GSocket*Stream to GUnix*Stream and · 77657981
      Alexander Larsson authored
      2007-11-27  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * gsocketinputstream.[ch]: Removed.
              * gsocketoutputstream.[ch]: Removed.
              * gunixinputstream.[ch]: Added.
              * gunixoutputstream.[ch]: Added.
      	Renamed GSocket*Stream to GUnix*Stream and made
      	it unix-only, since its not really only for sockets
      	and it only works on unix (but is highly useful there).
      
      
      
      svn path=/trunk/; revision=5956
      77657981
    • Andrew Walton's avatar
      Bumps documentation to 93% symbol coverage, touching most · 5247f12f
      Andrew Walton authored
      	of the public files. Fixes broken function documentation prototypes. 
      	Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
      	gtk-doc headers in private files.
      
      svn path=/trunk/; revision=5953
      5247f12f
  29. 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