summaryrefslogtreecommitdiff
path: root/gio/gdatainputstream.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* various: add GLIB_AVAILABLE_IN_ALL everywhere elseRyan Lortie2013-01-131-0/+22
| | | | | | | | | | | 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
* Move single-include guards inside include guardsMatthias Clasen2012-12-271-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
* Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30Colin Walters2012-05-261-0/+2
| | | | | | | | | | | | I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816
* GDataInputStream: Add _utf8() variants of _read_lineColin Walters2011-06-161-0/+8
| | | | | | | | | These will validate the resulting line, and throw a conversion error. In practice these will likely be used by bindings, but it's good for even C apps too that don't want to explode if that text file they're reading into Pango actually has invalid UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=652758
* Add g_data_input_stream_read_upto{,async,finish}Ryan Lortie2010-09-131-24/+42
| | | | | | | | | | | | | | | | | | These functions are meant to replace the read_until() flavour, with the following improvements: - consistency between the synchronous and asynchronous versions as to if the separator character is read (it never is). - support for using a nul byte as a separator character by way of addition of a length parameter which allows stop_chars to be treated as a byte array rather than a nul-terminated string. The read_until() functions are not yet formally deprecated, but a note has been added to the documentation warning not to use them as they will be in the future. This is bug #584284.
* gio/ docs fixupRyan Lortie2010-07-121-1/+0
|
* Bug 568575 – _async functions for GDataInputStreamRyan Lortie2009-01-281-38/+57
| | | | | | | | | | | | | | | | 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
* big header formatting cleanup: indentation, vtable formatting, consistentMichael Natterer2008-09-021-5/+6
| | | | | | | | | | | | 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
* Moved all relevant typedefs into these files.Cody Russell2008-07-011-34/+0
| | | | | | | | | | | | | | | | 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
* Only allow including <gio/gio.h> from appsAlexander Larsson2007-12-141-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
* s/parent/parent_instance/ in GObjectsAlexander Larsson2007-12-121-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
* Fix up a bunch of details in the docs.Alexander Larsson2007-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-12 Alexander Larsson <alexl@redhat.com> * gappinfo.[ch]: * gasyncresult.c: * gbufferedinputstream.c: * gbufferedoutputstream.c: * gcancellable.c: * gcontenttype.c: * gdatainputstream.[ch]: * gdesktopappinfo.c: * gdirectorymonitor.c: * gfile.[ch]: * gfileattribute.[ch]: * gfileicon.[ch]: * gfileinfo.h: * gfileinputstream.h: * gfilemonitor.[ch]: * gfileoutputstream.[ch]: * gfilterinputstream.h: * gfilteroutputstream.h: * gicon.h: * gioscheduler.c: * gloadableicon.[ch]: * gmemoryinputstream.c: * gmountoperation.c: * gthemedicon.c: Fix up a bunch of details in the docs. * glocalfileinfo.c: CR/LF -> LF fixups svn path=/trunk/; revision=6100
* Clean up some docsMatthias Clasen2007-11-281-1/+1
| | | | svn path=/trunk/; revision=5966
* Bumps documentation to 93% symbol coverage, touching most Andrew Walton2007-11-271-1/+27
| | | | | | | | 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
* New functions for efficient access to buffer and simple single byte reads.Juerg Billeter2007-11-271-1/+1
| | | | | | | | | | | | | | | | | | 2007-11-27 Juerg Billeter <j@bitron.ch> * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer), (g_buffered_input_stream_read_byte): * gbufferedinputstream.h: New functions for efficient access to buffer and simple single byte reads. * gdatainputstream.c: (scan_for_newline), (scan_for_chars), (g_data_input_stream_read_until): * gdatainputstream.h: Use peek_buffer to avoid memcpy in scan_for_newline, implement read_until with multiple stop chars. svn path=/trunk/; revision=5952
* gio/ docs/reference/gio Merged gio-standalone into glib.Alexander Larsson2007-11-261-0/+117
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