summaryrefslogtreecommitdiff
path: root/gio/src/datainputstream.hg
Commit message (Collapse)AuthorAgeFilesLines
* gio/src/*.hg: Mark classes and functions with GIOMM_APIChun-wei Fan2020-03-071-2/+2
| | | | | | This prepares the build to export symbols using compiler directives, in our bid to drop gendef.exe. We will also mark pre-declarations of usage of glibmm class items with GLIBMM_API as well.
* Gio: Add some API (AppInfo::launch_uris_async() etc.)Kjell Ahlstedt2019-03-151-0/+3
| | | | | | | | * gio/src/appinfo.hg: Add launch_uris_async() and launch_uris_async(). * gio/src/asyncresult.hg: _IGNORE g_async_result_legacy_propagate_error(). * gio/src/datainputstream.hg: _IGNORE deprecated methods. * gio/src/dbusconnection.hg: Add get/property_flags(). * tools/m4/convert_gio.m4: Add conversions for GDBusConnectionFlags.
* Gio::DataInputStream: Remove read_until*()Kjell Ahlstedt2018-02-151-78/+4
| | | | | g_data_input_stream_read_until(), _read_until_async() and _read_until_finish() have been deprecated.
* Gio::DataInputStream: Fix the documentation of read_line_utf8()Kjell Ahlstedt2017-09-241-19/+42
| | | | | | | Hand-code the documentation of read_line_utf8() and read_line_finish_utf8(). Use Glib::convert_return_gchar_ptr_to_stdstring() to set the output parameter. It handles the case when the char* is NULL. Minor fixes in the documentation of several other methods.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-4/+1
| | | | Bug 786824
* Mention nullptr instead of NULL in documentation and some comments.Murray Cumming2015-11-201-1/+1
|
* Documentation: Fix many warnings from Doxygen.Kjell Ahlstedt2013-01-271-7/+7
| | | | | | | | | | | | | | | * gio/src/gio_docs_override.xml: * glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the <description> entries. gmmproc adds a period at the end of the @return Doxygen command, and Doxygen warns for "@newin{n,m}.". * glib/glibmm/interface.h: * glib/glibmm/stringutils.h: * glib/glibmm/vectorutils.h: * gio/src/*.hg: * glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes: Add missing @param. Change names of parameters, to make them equal in function declaration and @param command. Change "@name" to "@a name". Change "<ulink url=" to "<a href=".
* Simplified lots of code by using the {?} _WRAP_METHOD() syntax.Murray Cumming2012-09-151-35/+7
| | | | | | | | | | | | | | | | | | | | | | * gio/src/application.[hg|ccg]: * gio/src/bufferedinputstream.[hg|ccg]: * gio/src/datainputstream.[hg|ccg]: * gio/src/dataoutputstream.[hg|ccg]: * gio/src/dbusconnection.[hg|ccg]: * gio/src/fileenumerator.[hg|ccg]: * gio/src/initable.[hg|ccg]: * gio/src/inputstream.[hg|ccg]: * gio/src/iostream.[hg|ccg]: * gio/src/outputstream.[hg|ccg]: * gio/src/resolver.[hg|ccg]: * gio/src/seekable.[hg|ccg]: * gio/src/socket.[hg|ccg]: * gio/src/socketaddressenumerator.[hg|ccg]: * gio/src/socketclient.[hg|ccg]: This relatively new gmmproc syntax lets us avoid the manual implementations and declarations just to have overloads without the Cancellable parameters. * gio/src/unixconnection.hg: This had no method overloads without Cancellable parameters but now it does.
* DataInputStream: Add read_line_utf8() and read_line_finish_utf8().José Alburquerque2011-10-111-0/+9
| | | | | | | | | * gio/src/datainputstream.hg: Add the two methods and their overloads using the new gmmproc parameter reordering, optional parameter signaling and output parameter signaling functionality. It's not difficult to write the _INITIALIZATION and _WRAP_METHOD macros but they may not be readily understandable. I think they are, but I could be wrong.
* 2.30.02.30.0Murray Cumming2011-09-271-3/+3
|
* Dealt with several TODOs.Murray Cumming2011-02-151-2/+2
| | | | | * gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation, and changing some new methods to use std::vector.
* Gio: Added some methods.Murray Cumming2010-11-101-11/+98
| | | | | | | | | | | | | | | | | | | * gio/src/gio_methods.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenerated with h2defs.py. * gio/src/application.hg: Added open(). Notice that I have used std::vector instead of ArrayHandle, because that is what we should use for all new API, after we decided that the intermediate types are too awkward for people to understand. * gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to use a std::vector here instead. * gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async() and read_upto_finish(). Updated the read_until*() documentation to discourage their use (apparently they will be properly deprecated eventually). * gio/src/settings.hg: Added range_check(). * gio/src/socketclient.[hg|ccg]: Addef connect_to_uri(), connect_to_uri_async() and connect_to_uri_finish().
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-52/+0
| | | | | | | | | * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
* Rename @since back to @newinDaniel Elstner2009-08-201-1/+1
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Rename the @since alias back to its old name @newin, but otherwise keep the parameters. Apparently there is a @since command predefined in Doxygen which I hadn't noticed. It does seem to get overridden silently, but it is better not to rely on this. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Output @newin instead of @since. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Replace all uses of @since with @newin.
* Implement parametric Doxygen alias @since{m,n}Daniel Elstner2009-08-181-1/+1
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias @since{major,minor} to replace the old @newin?p?* aliases which had to be defined manually for every version number used. (PREDEFINED): Predefine G_GNUC_NORETURN, G_GNUC_NULL_TERMINATED and G_GNUC_PURE to the empty expansion. Remove GTKMM_* macros. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Change "Since:" substitution to output the new generic @since alias. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Change all uses of @newin?p?* to @since{major,minor}.
* Regenerated.Murray Cumming2009-02-061-9/+80
| | | | | | | | | | | | | | | | | 2009-02-06 Murray Cumming <murrayc@murrayc.com> * gio/src/gio_methods.defs: Regenerated. * gio/src/filterinputstream.hg: Added get/set_close_base_stream(). * gio/src/filteroutputstream.hg: Added get/set_close_base_stream(). * gio/src/unixinputstream.hg: Added get_fd() and get/set_close_fd(). * gio/src/unixoutputstream.hg: Added get_fd() and get/set_close_fd(). * gio/src/datainputstream.[hg|ccg]: Added read_until_async(), read_until_finish(), read_line_async() and read_line_finish(). Added documentation for read_until() and read_line(). svn path=/trunk/; revision=784
* Added unix types. Regenerated. Added buffer_size property. AddedMurray Cumming2009-02-061-0/+2
| | | | | | | | | | | | | | | | | | | 2009-02-06 Murray Cumming <murrayc@murrayc.com> * tools/extra_defs_gen/generate_defs_gio.cc: Added unix types. * gio/src/gio_signals.defs: Regenerated. * gio/src/bufferedinputstream.hg: Added buffer_size property. * gio/src/bufferedoutputstream.hg: Added buffer_size and auto_grow properties. * gio/src/datainputstream.hg: Added byte_order and newline_type properties. * gio/src/dataoutputstream.hg: Added byte_order property. * gio/src/filterinputstream.hg: Added close_base_ stream property. * gio/src/filteroutputstream.hg: * gio/src/unixinputstream.hg: Added fd and close_fd properties. * gio/src/unixoutputstream.hg: Added fd and close_fd properties. svn path=/trunk/; revision=782
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* Put these in a Streams doxygen group. We should think of some more groups,Murray Cumming2008-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2008-03-03 Murray Cumming <murrayc@murrayc.com> * gio/src/bufferedinputstream.hg: * gio/src/bufferedoutputstream.hg: * gio/src/datainputstream.hg: * gio/src/dataoutputstream.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/filterinputstream.hg: * gio/src/filteroutputstream.hg: * gio/src/inputstream.hg: * gio/src/memoryinputstream.hg: * gio/src/mount.hg: * gio/src/outputstream.hg: * gio/src/seekable.hg: * gio/src/unixinputstream.hg: * gio/src/unixoutputstream.hg: Put these in a Streams doxygen group. We should think of some more groups, maybe by looking at the C documentation. svn path=/trunk/; revision=630
* equal(), get_relative_file(), contains_file(): Take const File parameters.Murray Cumming2008-02-201-1/+2
| | | | | | | | | | 2008-02-20 Murray Cumming <murrayc@murrayc.com> * tools/m4/convert_gio.m4: * gio/src/file.hg: equal(), get_relative_file(), contains_file(): Take const File parameters. svn path=/trunk/; revision=605
* Regenerated with h2defs.py.Marko Anastasov2008-02-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 2008-02-12 Marko Anastasov <marko.anastasov@gmail.com> * gio/src/gio_methods.defs: Regenerated with h2defs.py. * gio/src/unixinputstream.hg: * gio/src/unixoutputstream.hg: Made wrapped constructors protected. * gio/src/bufferedinputstream.hg: * gio/src/datainputstream.hg: * gio/src/dataoutputstream.hg: Ditto for Data*Streams, and marked some hand-wrapped functions to ignore. * gio/src/mountoperation.hg: Wrote a note about ask_question signal, still to be wrapped. * gio/src/volume.hg: Added should_automount(). * gio/giomm: Updated svn:ignore properties. svn path=/trunk/; revision=598
* change the read_line() and read_until() APIs so that they are actuallyJonathon Jongsma2008-02-071-8/+8
| | | | | | | | | | | * gio/src/datainputstream.ccg: * gio/src/datainputstream.hg: change the read_line() and read_until() APIs so that they are actually useable. These functions now return a boolean value to indicate that the end of the stream was reached and return the string data via reference argument. See bug #514097 for more information svn path=/trunk/; revision=587
* add DataOutputStream classJonathon Jongsma2008-02-031-3/+1
| | | | | | | | | | | | | * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/datainputstream.hg: * gio/src/dataoutputstream.hg: add DataOutputStream class * gio/src/dataoutputstream.ccg: * gio/src/enums.ccg: * gio/src/enums.hg: moved the DataStream enums to a common enums header since they're needed by both the input and output data streams. * gio/giomm.h: add new headers svn path=/trunk/; revision=568
* find_enclosing_mout(), append_to(): Reordered parameters and addedMurray Cumming2008-02-031-1/+8
| | | | | | | | | | | 2008-02-03 Murray Cumming <murrayc@murrayc.com> * gio/src/file.ccg: * gio/src/file.hg: find_enclosing_mout(), append_to(): Reordered parameters and added overload without cancellable. Removed superfluous monitor_file() overload. svn path=/trunk/; revision=565
* add new header files to the main include add FIXME note about not beingJonathon Jongsma2008-02-021-0/+4
| | | | | | | | | * gio/giomm.h: add new header files to the main include * gio/src/datainputstream.hg: add FIXME note about not being able to tell error conditions from empty strings on read_line() / read_until() svn path=/trunk/; revision=563
* add DataInputStream classJonathon Jongsma2008-02-021-0/+143
* gio/src/Makefile_list_of_hg.am_fragment: * gio/src/datainputstream.ccg: * gio/src/datainputstream.hg: * tools/m4/convert_gio.m4: add DataInputStream class svn path=/trunk/; revision=561