2.31.0: 2011-10-25 Murray Cumming Regenerated more defs. * gio/src/gio_enums.defs: Regenerated with enums.pl. * gio/src/gio_methods.defs: Regenerated with h2defs.py. * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenereated with h2defs.py * glib/src/glib_deprecated_functions.defs: Added this file. * glib/src/glib.defs: Mention the new file. 2011-10-25 Murray Cumming Do not use gthread-2.0. * configure.ac: Do not use gthread-2.0 at all, because it only contains empty functions so it is better to just not call them. Require the latest glib version, to avoid people using this version of glibmm with a version of glib that would need g_thread_init(). * glib/src/thread.ccg: thread_init(): Do not call g_thread_init() because it now does nothing and would require linking to gthread-2.0. 2011-10-25 Murray Cumming Fix the make check build by always linking to gthread-2.0. * configure.ac: Always use gthread-2.0 because there is now no advantage to not doing that, because threading is now always enabled in glib. Remove the separate GTHREAD* variables. * glib/glibmm/Makefile.am: * gio/giomm/Makefile.am: * tests/Makefile.am: * tools/Makefile.am: * examples/Makefile.am: Remove use of the GTHREAD* variables.. * examples/network/resolver.cc: Remove the non-threading option and code that uses it. 2011-10-25 Murray Cumming Regenerate enums defs. * glib/src/glib_enums.defs, gobject_enums.defs: Regenerated with enums.pl. * glib/src/glib_deprecated_enums.defs: Added this file. * glib/src/filelist.am: Mention the new file. * glib/src/glib.defs: Mention the new file and actually mention gobject_enums.defs. 2011-10-23 José Alburquerque Gio::DBus::Connection: Temporarily remove newly added call() methods. * gio/src/dbusconnection.{ccg,hg}: Remove the newly added call() methods with a UnixFDList parameter until the call_finish() method with a UnixFDList parameter is added also. * gio/src/credentials.hg: * gio/src/dbusmessage.ccg: * gio/src/dbusmessage.hg: Typos. 2011-10-21 Murray Cumming Thread: Use g_thread_new() instead of g_thread_create(). * glib/src/thread.[hg|ccg]: create(): Replace use of (deprecated) g_thread_create() with g_thread_new(), ignoring the joinable parameter. create(lots of parameters): Deprecate this, because the parameters are ignored by g_thread_create_full() now. 2011-10-21 Murray Cumming Deprecated thread_init(), Thread::joinable(), *_priotity(), etc. * glib/src/thread.[hg|ccg]: Deprecate thread_init(), thread_supported, Thread::joinable(), Thread::set_priority(), Thread::get_priority() and ThreadPriority. 2011-10-16 José Alburquerque gmmproc: Remove M4 warnings due to commas in return types. * tools/m4/convert_base.m4 (__HASH2): Appropriately quote the pushdef() arguments and the m4_ifelse() arguments due to some warnings generated because of the newly wrapped method in the ApplicationCommandLine class (get_platform_data()) which has a comma in the return type. The wrapping was successful even with the warning but the return type was still being split when passed to this macro. Document what the macro does. (_CONVERT): Typos. (_CONVERSION): (_INITIALIZATION): Document what parameters are allowed for these macros. 2011-10-13 José Alburquerque Gio::DBus::Connection: Correct UnixFDList class forward declaration. * gio/src/dbusconnection.hg: Place the class declaration in the Gio namespace and not in the Gio::DBus namespace which is incorrect to fix the build. There was a '-Werror' option in the CXXFLAGS variable of my ~/.jhbuildrc file which was causing deprecation warnings to break the build so I did not verify the previous to last commit, sorry. 2011-10-13 José Alburquerque Date: set_time(): Use g_date_set_time_t() instead of g_date_set_time(). * glib/src/date.ccg: The latter function is deprecated. This fixes the build with the master branch of glib with deprecations disabled though there's one small error related to the Threads discussion on the mailing list that will still have to be looked at. 2011-10-13 José Alburquerque DBusMethodInvocation: Add UnixFDList return_value() method overload. * gio/src/dbusmethodinvocation.hg: Add the method overload. * gio/src/dbusmessage.hg: Add an _IGNORE. 2011-10-13 Murray Cumming Do not include glib/gvarianttype.h. * glib/src/thread.hg: Include glib.h instead. The recent glib version has a pragma that complains about this. 2011-10-12 José Alburquerque Gio::DBus::Connection: Add UnixFDList call() method overloads. * gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable UnixFDList call() methods. The TODO's are for when gmmproc can possibly handle setting C++ parameters from C output parameters properly which may be possible with a few changes. 2011-10-12 José Alburquerque VariantContainerBase: Add create_maybe(). * glib/src/variant.{ccg,hg}: Add a create_maybe() method because it was discussed on the mailing list. Clearly the variant classes are not intended for general use. However, this method is added just so that the API is more complete. 2011-10-11 José Alburquerque DataInputStream: Add read_line_utf8() and read_line_finish_utf8(). * 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. 2011-10-11 José Alburquerque gmmproc: _WRAP_METHOD: Use {OUT} instead of {RET} for output params. * tools/pm/Output.pm: Use {OUT} instead of {RET} to signify that a parameter is an output parameter because it is probably more intuitive. * tools/m4/convert_base.m4 (_INITIALIZE): Don't quote the C return because otherwise the macros in it aren't expanded when the macro is used. This could be because of the recent M4 changes in the previous to the last commit. 2011-10-11 José Alburquerque ApplicationCommandLine: Add the get_platform_data() method. * gio/src/applicationcommandline.hg: 2011-10-10 José Alburquerque gmmproc: _WRAP_METHOD: Allow return types to have commas. * tools/pm/WrapParser.pm (string_split_commas): Modify so that when splitting by commas, '<' and '>' are taken into account by levels as is done with '(' and ')'. This so that if a return type in a _WRAP_METHOD has a comma (which is possible, e.g. with std::map<>) the return type is not split incorrectly. (read_file): Modified so that '<' and '>' are tokens by which to split. * tools/pm/Output.pm (output_wrap_meth): Add `' around the return type when calling the _METHOD() and _STATIC_METHOD() M4 macros so that commas don't split the return type into more than one argument. * tools/m4/method.m4: Do the same (for the return type) in _METHOD() and _STATIC_METHOD() when calling the _CONVERT() macro for the same reason as above. Bug #661401 2011-10-10 José Alburquerque SimpleAction: Wrap the signals and properties. * gio/src/simpleaction.hg: Wrap the signals using the no_default_handler option because there are no signal members exposed in the GSimpleActionClass struct (in fact, there is no GSimpleActionClass struct). Also wrap the properties. 2011-10-10 José Alburquerque Application, {,Simple}Action{,Group}: Update @newins{}'s. * gio/src/action.hg: * gio/src/application.hg: * gio/src/simpleaction.hg: * gio/src/simpleactiongroup.hg: * gio/src/applicationcommandline.hg: Add bug URL to a TODO. 2011-10-10 José Alburquerque ApplicationCommandLine: Update a TODO. * gio/src/applicationcommandline.hg: 2011-10-09 José Alburquerque Re-add Application and related class so they can be finished. * gio/giomm.h: * gio/src/action.ccg: * gio/src/action.hg: * gio/src/actiongroup.ccg: * gio/src/actiongroup.hg: * gio/src/application.ccg: * gio/src/application.hg: * gio/src/applicationcommandline.ccg: * gio/src/applicationcommandline.hg: * gio/src/filelist.am: * gio/src/simpleaction.ccg: * gio/src/simpleaction.hg: * gio/src/simpleactiongroup.ccg: * gio/src/simpleactiongroup.hg: 2011-09-27 Krzesimir Nowak Fix h2def.py not parsing function starting with G_GNUC_* macros. * tools/defs_gen/h2def.py: Strip some G_GNUC_* macros that are known to be placed before return type of function prototype. Fixes bug #660225.