1. 10 Jul, 2012 3 commits
  2. 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
  3. 27 Apr, 2012 1 commit
  4. 17 Apr, 2012 1 commit
    • Dan Winship's avatar
      gio: use GPollable* to implement fallback read_async/write_async · 00ee06e6
      Dan Winship authored
      If a GInputStream does not provide a read_async() implementation, but
      does implement GPollableInputStream, then instead of doing
      read-synchronously-in-a-thread, just use
      g_pollable_input_stream_read_nonblocking() and
      g_pollable_input_stream_create_source() to implement an async read in
      the same thread. Similarly for GOutputStream.
      
      Remove a bunch of existing read_async()/write_async() implementations
      that are basically equivalent to the new fallback method.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=673997
      00ee06e6
  5. 04 Apr, 2012 1 commit
  6. 02 Apr, 2012 1 commit
  7. 29 Aug, 2011 1 commit
    • Matthias Clasen's avatar
      Spelling fixes · 1b28408b
      Matthias Clasen authored
      Spelling fixes in comments and docs, provided by
      Kjartan Maraas in bug 657336.
      1b28408b
  8. 17 Dec, 2010 1 commit
  9. 03 Nov, 2010 2 commits
  10. 16 Aug, 2010 1 commit
  11. 13 Aug, 2010 1 commit
  12. 07 Jul, 2010 1 commit
  13. 18 Sep, 2009 1 commit
  14. 19 Aug, 2009 1 commit
    • Benjamin Otte's avatar
      Add g_cancellable_release_fd() · 63426886
      Benjamin Otte authored
      This patch only adds the function. The function is a NOP.
      See the API documentation for a rationale.
      
      Part of: Bug 591388 - number of GCancellables available is too limited
      63426886
  15. 20 May, 2009 1 commit
  16. 13 May, 2009 1 commit
  17. 03 May, 2009 1 commit
  18. 13 Aug, 2008 1 commit
  19. 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
  20. 22 Jun, 2008 1 commit
  21. 16 Jun, 2008 2 commits
  22. 04 Mar, 2008 1 commit
    • Murray Cumming's avatar
      Tiny documentation corrections. · d9c036f0
      Murray Cumming authored
      2008-03-04  Murray Cumming  <murrayc@murrayc.com>
      
      * ginputstream.c:
      * goutputstream.c: Tiny documentation corrections.
      
      svn path=/trunk/; revision=6620
      d9c036f0
  23. 25 Feb, 2008 2 commits
    • Wouter Bolsterlee's avatar
      Fixup translator comments (#518578). · 8b294f1f
      Wouter Bolsterlee authored
      2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
      
      	* gfile.c (g_file_find_enclosing_mount):
      	* ginputstream.c (g_input_stream_set_pending):
      	* glocalfile.c (g_local_file_find_enclosing_mount):
      	* gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
      	* goutputstream.c (g_output_stream_set_pending):
      
      	Fixup translator comments (#518578).
      
      svn path=/trunk/; revision=6591
      8b294f1f
    • Alexander Larsson's avatar
      Add translator comments (#518578) · 9edb4645
      Alexander Larsson authored
      2008-02-25  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.c:
              * ginputstream.c:
              * glocalfile.c:
              * gmount.c:
              * goutputstream.c:
      	Add translator comments (#518578)
      
      
      svn path=/trunk/; revision=6589
      9edb4645
  24. 21 Feb, 2008 1 commit
  25. 10 Feb, 2008 1 commit
    • Matthias Clasen's avatar
      /bin/ksh can't handle a for-loop with no arguments, so add a "." for when · da0e7e81
      Matthias Clasen authored
      2008-02-09  Matthias Clasen <mclasen@redhat.com>
      
              * Makefile.decl: /bin/ksh can't handle a for-loop with no
              arguments, so add a "." for when $(SUBDIRS) is empty.
      
              * glib/tests/option-context.c:
              * glib/tests/testing.c:
              * gthread/gthread-posix.c:
              * tets/testingbase64.c:
              * glib/gtester.c:
              * glib/gsequence.c: Portability fixes.  (#515154)
      
      
      
      svn path=/trunk/; revision=6487
      da0e7e81
  26. 27 Jan, 2008 1 commit
  27. 25 Jan, 2008 1 commit
  28. 21 Jan, 2008 1 commit
  29. 16 Jan, 2008 1 commit
    • Murray Cumming's avatar
      Corrected some typos in the documentation: occured -> occurred. its -> · f0749cc8
      Murray Cumming authored
      2008-01-16  Murray Cumming  <murrayc@murrayc.com>
      
      * gappinfo.c:
      * gdatainputstream.c:
      * gfile.c:
      * gfileoutputstream.c:
      * ginputstream.c:
      * gmount.c:
      * goutputstream.c:
      * gseekable.c:
      * gunixmounts.c: Corrected some typos in the documentation:
      occured -> occurred.
      its -> it's (where appropriate).
      
      svn path=/trunk/; revision=6322
      f0749cc8
  30. 18 Dec, 2007 1 commit
  31. 13 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      g_push/pop_current_cancellable -> g_cancellable_push/pop_current · 2ae689e3
      Alexander Larsson authored
      2007-12-13  Alexander Larsson  <alexl@redhat.com>
      
              * gcancellable.[ch]:
              * gio.symbols:
              * gbufferedinputstream.c:
              * gfileenumerator.c:
              * gfileinputstream.c:
              * gfileoutputstream.c:
              * ginputstream.c:
              * gioscheduler.c:
              * goutputstream.c:
      	g_push/pop_current_cancellable ->
      	g_cancellable_push/pop_current
      
      
      svn path=/trunk/; revision=6115
      2ae689e3
  32. 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
  33. 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
  34. 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
  35. 01 Dec, 2007 1 commit