summaryrefslogtreecommitdiff
path: root/glib/glibmm/main.h
Commit message (Collapse)AuthorAgeFilesLines
* Signal*: Better description of the connect*() methods.Kjell Ahlstedt2012-03-021-14/+35
| | | | | | * glib/glibmm/main.h: Mention that returning false from a bool-returning handler disconnects the handler. Other minor changes of the descriptions. Bug #669906.
* Add Glib::Threads::* in threads.h, deprecating everything in thread.hMurray Cumming2011-11-231-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | * glib/src/filelist.am: * glib/src/thread.[hg|ccg]: Deprecate the whole file, adding deprecation doxygen comments to all API. * glib/src/threads.[hg|ccg]: A new Threads namespace containing equivalents for everything in thread.h, implemented using only non-deprecated glib API. This was necessary because we had to break the ABI to do this. * glib/glibmm.h: Include threads.h * glib/glibmm/main.[h|cc]: Added a wait() method overload that takes the new types, deprecating the existing wait() method. * examples/network/resolver.cc: * examples/network/socket-client.cc: * examples/network/socket-server.cc: * examples/thread/dispatcher.cc: * examples/thread/dispatcher2.cc: * examples/thread/thread.cc: * examples/thread/threadpool.cc: * glib/glibmm/dispatcher.cc: * glib/glibmm/exceptionhandler.cc: * glib/glibmm/threadpool.[h|cc]: Use the new Glib::Threads::* types instead of thread.h.
* Move IOCondition from main.h to iochannel.h and autogenerate it.Murray Cumming2011-10-261-53/+1
| | | | | | | | | | | * glib/src/iochannel.hg: Use _WRAP_ENUM() for IOCondition instead of hand-coding it in * glib/glibmm/main.h: though this requires some manual editing of * glib/src/glib_enums.defs: due to the weird defines that GioChannel uses for its values. See the comment. * glib/glibmm/streamiochannel.cc: Adjust the includes. This avoids the need to include glib.h from main.h.
* Added a TODOMurray Cumming2010-11-041-0/+2
|
* Fix the build with glib from git master.Murray Cumming2010-11-031-33/+30
| | | | | * glib/glibmm/main.[h|cc]: get_time(): Now returns a gint64 instead of a GTimeSpec output parameter.
* Fix the build with --enable-warnings=fatalMurray Cumming2010-11-011-1/+22
| | | | | | * glib/glibmm/main.[h|cc]: get_current_time(): undef G_DISABLE_DEPRECATED so this can build. Deprecate it to match the C API. Add get_time() which replaces it. However, we should replace our use of it, which seems difficult.
* 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}.
* Get rid of all uses of GLIBMM_USING_STD()Daniel Elstner2009-08-161-12/+3
| | | | | | | | | | * glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD(). We definitely do not need this anymore, and probably never did. We never covered all symbols from namespace std anyway and never got any complaint about it. Also, be careful to always include the glibmmconfig.h header when it is needed. * glib/glibmm/*.{cc,h}: ditto. * glib/glibmmconfig.h.in: Clean up and re-indent.
* 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
* Add convenience functions for one-shot timer/idle handlersJonathon Jongsma2008-12-121-0/+37
| | | | | | | | * glib/glibmm/main.h: * glib/glibmm/main.cc: Added SignalIdle::connect_once, SignalTimeout::connect_once, and SignalTimeout::connect_seconds_once. svn path=/trunk/; revision=750
* Clean up glib includes (Bug #563987)Jonathon Jongsma2008-12-101-2/+1
| | | | svn path=/trunk/; revision=749
* Moved the Priorities enum into Though all the giomm stuff seems to alreadyMurray Cumming2008-02-071-35/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-07 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/Makefile.am: * glib/glibmm/main.h: Moved the Priorities enum into * glib/glibmm/priorities.h: Though all the giomm stuff seems to already include main.h anyway. It probably shouldn't, and then we can include priorities.h only. * gio/src/bufferedinputstream.hg: * gio/src/file.hg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/gio_methods.defs: * gio/src/inputstream.hg: * gio/src/outputstream.hg: Use Glib::PRIORITY_DEFAULT instead of G_PRIORITY_DEFAULT. * glib/src/iochannel.ccg: Add some ifdefs to avoid unused parameter warnings when exceptions are disabled, because our current trick for that is now causing another warning instead. svn path=/trunk/; revision=589
* Added SignalTimeout::connect_seconds() as an equivalent forMurray Cumming2007-06-221-1/+45
| | | | | | | | | | | | | | | | | | | 2007-06-22 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/main.cc: * glib/glibmm/main.h: Added SignalTimeout::connect_seconds() as an equivalent for g_timeout_add_seconds() and took the improved documentation from glib. * glib/glibmm/miscutils.cc: * glib/glibmm/miscutils.h: Added get_user_special_dir(), though we should maybe wrap the enum. Reimplemented many of the functions with the convert_return_gchar_ptr_to_stdstring() and convert_const_gchar_ptr_to_stdstring() functions to simplify them and make them handle NULLs properly. svn path=/trunk/; revision=420
* Added MainContext::signal_child_watch() Added child_watch/ exampleYair Hershkovitz2005-03-141-4/+45
| | | | | | | | 2005-03-13 Yair Hershkovitz <yairhr@gmail.com> * glib/glibmm/main.h, glib/glibmm/main.cc: Added MainContext::signal_child_watch() * examples/: Added child_watch/ example
* Deal with some doxygen warnings about undocumented parameters. AddedMurray Cumming2004-12-181-3/+3
| | | | | | | | | | 2004-12-19 Murray Cumming <murrayc@murrayc.com> * glib/src/date.hg, glib/glibmm/main.h, glib/glibmm/signalproxy_connectionnode.h: Deal with some doxygen warnings about undocumented parameters. * glib/glibmm/ustring.h: Added documentation for the size() and bytes() methods.
* Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends forMurray Cumming2004-03-021-0/+3
| | | | | | | | | | | | 2004-03-03 Murray Cumming <murrayc@murrayc.com> * Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends for internationalization. See the comments in the header - you must include things in the right order. * glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for g_spawn_close_id(). * glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for g_main_depth().
* documentation fixes and corrections in the comments reflecting the shiftMartin Schulze2004-02-131-8/+8
| | | | | | | | | 2004-02-13 Martin Schulze <teebaum@cvs.gnome.org> * documentation fixes and corrections in the comments reflecting the shift to libsigc++ 2. * make all source files in example thread use libsigc++ 2 instead of libsigc++ 1.2.
* glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 forMurray Cumming2004-02-101-12/+12
| | | | | | | 2004-02-10 Murray Cumming <murrayc@usa.net> * glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 for more details. We must update CHANGES later.
* increased vesionMurray Cumming2004-02-041-3/+6
|
* Added clamp_min() and clamp_max() to wrap the case where g_date_clamp()Murray Cumming2004-01-221-4/+146
| | | | | | | 2004-01-22 Murray Cumming <murrayc@usa.net> * glib/date.[hg|ccg]: Added clamp_min() and clamp_max() to wrap the case where g_date_clamp() takes null values.
* GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_Murray Cumming2003-01-221-1/+1
| | | | | | 2003-01-22 Murray Cumming <murrayc@usa.net> * GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
* Initial revisionMurray Cumming2003-01-071-0/+549