summaryrefslogtreecommitdiff
path: root/gio/goutputstream.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-31Updated FSF's addressDaniel Mustieles1-3/+1
2013-11-26gio: add g_output_string_[v]printf()Michael Natterer1-0/+14
which are useful for porting FILE* based output code.
2013-01-13various: add GLIB_AVAILABLE_IN_ALL everywhere elseRyan Lortie1-0/+19
Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
2012-12-27Move single-include guards inside include guardsMatthias Clasen1-3/+3
gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
2012-05-24gio: add GBytes-based input/output stream methodsDan Winship1-0/+16
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
2010-12-17[gi] Add annotations for GFile, G[File]{Input|Output|IO}Stream.Pavel Holejsovsky1-1/+1
Also make parameter names in virtual function declarations consistent to silent g-ir-scanner.
2009-11-23Add g_output_stream_is_closingAlexander Larsson1-0/+1
Need this to check how we're flushing when closing a converter output stream.
2008-09-02big header formatting cleanup: indentation, vtable formatting, consistentMichael Natterer1-62/+62
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
2008-07-01Moved all relevant typedefs into these files.Cody Russell1-20/+1
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
2007-12-14Clean up all flags enums to not have _FLAGS in them Make the names of someAlexander Larsson1-6/+6
2007-12-14 Alexander Larsson <alexl@redhat.com> * gappinfo.h: * gfile.[ch]: * gfileattribute.[ch]: * gio.symbols: * glocalfile.c: * glocalfileoutputstream.c: * gmountoperation.[ch]: * goutputstream.[ch]: Clean up all flags enums to not have _FLAGS in them Make the names of some of the enums better. * glocalfileinfo.c: Fix warning svn path=/trunk/; revision=6119
2007-12-14Only allow including <gio/gio.h> from appsAlexander Larsson1-0/+4
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
2007-12-12s/parent/parent_instance/ in GObjectsAlexander Larsson1-1/+1
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
2007-12-09More documentation cleanup and filling in missing information, bringingA. Walton1-4/+4
2007-12-09 A. Walton <awalton@svn.gnome.org> * gdesktopappinfo.c: * gdrive.c: * gdrive.h: * gfile.c: * gfile.h: * gfileattribute.c: * gfileenumerator.c: * gioerror.c: * gioscheduler.c: * gioscheduler.h: * gloadableicon.c: * gmemoryinputstream.c: * gmemoryoutputstream.c: * goutputstream.h: * gsimpleasyncresult.c: More documentation cleanup and filling in missing information, bringing GIO to 99% symbol coverage. svn path=/trunk/; revision=6077
2007-12-05Rename all struct members named: read, write, close, truncate, or mount toAlexander Larsson1-16/+16
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
2007-12-04Make this take a GError and return a gboolean, and do the "outstandingDan Winship1-2/+3
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
2007-11-27 Bumps documentation to 93% symbol coverage, touching most Andrew Walton1-0/+18
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
2007-11-26gio/ docs/reference/gio Merged gio-standalone into glib.Alexander Larsson1-0/+202
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