2.27.94: 2011-02-21 Murray Cumming Fix the build with --enable-warnigns=fatal. * glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this compiler warning: "error: using ‘typename’ outside of template" 2011-02-02 Krzesimir Nowak Added bool specialization for Glib::ArrayHandle. * glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle. This is needed because std::vector is a specialization for which iterators does not return a reference to actual value it holds. * glib/glibmm/arrayhandle.cc: New file implementing destructor of bool ArrayHandle - the only method that is not inlined. * glib/glibmm/filelist.am: Added new source file to build. * tests/glibmm_bool_arrayhandle/main.cc: New file implementing test checking if bool ArrayHandle actually works. * tests/Makefile.am: Added new test to build. 2011-02-17 Kjell Ahlstedt OptionGroup: Fix build error, remove memory leak. * glib/src/optiongroup.ccg: Fix build error with --enable-warnings=fatal. Remove memory leak when the same OptionEntry is added twice. Bug #589197 (Hubert Figuiere) 2011-02-16 Murray Cumming Move the DBus classes into a Gio::DBus namespace. * gio/giomm.h: * gio/src/dbus*.[hg|ccg] * gio/src/error.hg: Rename all DBus* classes to remove the prefix, putting them in a Gio::DBus namespace. This required the use of the new _GMMPROC_EXTRA_NAMESPACE macro, to avoid generating a confused wrap_init.cc. Along the way, I removed unnecessary class predeclarations, instead including the relevant header, because that is more convenient for users of the API. * gio/src/dbuserror.[hg|ccg]: Renamed to dbuserrorutils.[hg|ccg] and renamed the Error namespace to ErrorUtils, to avoid a clash with the Gio::DBus::Error exception. * gio/src/filelist.am: * tools/m4/convert_gio.m4: Changed some conversions. * examples/dbus/busserver.cc: * examples/dbus/peer.cc: * examples/dbus/userbus.cc: Adapted. This is generally more organized. A prefix, instead of a namespace, looked generally wrong to C++ coders. 2011-02-16 Murray Cumming gmmproc: Allow some classes to be in a sub-namespace. * tools/m4/class_shared.m4: * tools/generate_wrap_init.pl.in: Add a _GMMPROC_EXTRA_NAMESPACE(thenamespace) macro, so that wrap_init.cc will have the correct pre-declarations of the wrap_new() and get_type() functions. I am suprised that we have no other way to do this already, but I cannot find one, and this hack works. 2011-02-15 Murray Cumming OptionGroup: Minor code style changes. * glib/src/optiongroup.[hg|ccg]: Use the explicit keyword and use a _ suffix for member variables. 2011-02-14 Kjell Ahlstedt OptionGroup: Add add_entry() that takes a slot with callback function. * glib/src/optiongroup.[hg|ccg]: Add add_entry() and add_entry_filename() that take a slot. Add protected option_arg_callback(). An exception thrown by on_pre_parse() or on_post_parse() is propagated to the error argument of g_callback_pre_parse() or post_parse_callback(). * glib/src/optionentry.hg: Add description of set_flags(). * examples/options/main.cc: Add more OptionEntries and callback functions for parsing command option values. Bug #589197 (Hubert Figuiere) 2011-02-15 Murray Cumming Dealt with several TODOs. * gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation, and changing some new methods to use std::vector. 2011-02-15 Murray Cumming Update the .defs for signals and properties. * tools/extra_defs_gen/generate_defs_gio.cc: Mention more GDbus types. * tools/extra_defs_gen/generate_defs_glib.cc: Mention some types, though none have properties or signals. * gio/src/gio_signals.defs: Regenerated, though there are no new properties or signals. 2011-02-15 Murray Cumming Regenerate the XML of the C documentation. * gio/src/gio_docs.xml: * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py. 2011-02-15 Murray Cumming Require glib 2.28.0. * configure.ac: Update the version check. 2011-02-08 Murray Cumming Fix the make check build with --enable-warnings=fatal. * examples/options/main.cc: Comment-out unused method parameters. 2011-02-06 Kjell Ahlstedt OptionGroup: An on_post_parse() override need not call the base class. * glib/src/optiongroup.[hg|ccg]: The C post_parse callback is a static protected member function, which performs all necessary post-parsing. OptionGroup::on_post_parse is a dummy function. * examples/options/main.cc: The on_pre_parse, on_post_parse, and on_error overrides don't call the base class functions. Bug 588988 (Hubert Figuiere) 2011-02-01 Kjell Ahlstedt gmmproc: Add optional arguments custom_vfunc[_callback] to _WRAP_VFUNC. * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Add handling of optional arguments custom_vfunc[_callback] in _WRAP_VFUNC. Bug 641165.