2.31.22: 2012-03-26 Kjell Ahlstedt gmmproc: _WRAP_SIGNAL(): Mark deprecated signals in the _p.h and .cc files. * tools/pm/WrapParser.pm: output_wrap_signal(): Pass $deprecated to output_wrap_default_signal_handler_[h|cc](). * tools/pm/Output.pm: output_wrap_default_signal_handler_[h|cc](): Take a 'deprecated' bool parameter and pass it to _SIGNAL_P[H|CC](). * tools/m4/signal.m4: _SIGNAL_PROXY(): Add deprecation info to the .cc file. _SIGNAL_PH(), _SIGNAL_PCC(): Take a 'deprecated' bool parameter. 2012-03-26 Kjell Ahlstedt gmmproc: _WRAP_PROPERTY(): Fix mixed-up deprecation and documentation. * tools/pm/Output.pm: Add $deprecated in the first call to _PROPERTY_PROXY(). * tools/m4/property.m4: Correct comments in .cc files by swapping #endif's in _PROPERTY_PROXY(). 2012-03-25 Murray Cumming Gio: Move AppLaunchContext into its own header file. * gio/src/appinfo.[hg|ccg]: Move the AppLaunchContext class into: * gio/src/applaunchcontext.[hg|ccg]: This helps gmmproc, for instance when deriving from it for Gdk::AppLaunchContext. 2012-03-25 José Alburquerque Action, DBusObject: Ensure vfunc callbacks return valid memory. * gio/src/action.hg (get_name_vfunc_callback): * gio/src/dbusobject.hg (get_object_path_vfunc_callback): (get_interfaces_vfunc_callback): Ensure that the return values of the virtual functions of these callbacks are properly copied by correcting the appropriate conversions so that the callbacks don't return empty memory. 2012-03-23 Murray Cumming ActionGroup: list_actions_vfunc(): Do not return freed memory. * gio/src/actiongroup.hg: list_actions vfunc: Correct the conversion, doing a deep copy of the array of strings. 2012-03-23 Murray Cumming gmmproc: _WRAP_SIGNAL(): Allow signals to be deprecated. * tools/pm/WrapParser.pm: on_wrap_signal(): Parse an optional deprecated "the explanation" parameter. * tools/pm/Output.pm: output_wrap_signal_decl(): Take a deprecated bool and deprecated_docs, passing them to the m4 macro. * tools/m4/signal.m4: _SIGNAL_PROXY(): Take a deprecated bool parameter and use it to ifdef-out the signal declaration. However, we cannot put the ifdef around the default signal handler, because that would break ABI. 2012-03-22 Murray Cumming Gio: MenuItem: set_action_and_target(): Add one without the variant. * gio/src/menuitem.[hg|ccg]: set_action_and_target(): Rename to set_action() and add a set_action() with just the action name, because the GVariant* is optional. 2012-03-22 Murray Cumming Gio: SimpleAction: Add a parameter that takes no VariantType. * gio/src/simpleaction.[hg|ccg]: The GVariantType* is optional. 2012-03-22 Murray Cumming Gio: Menu, MenuItem: Add default parameter values. * gio/src/menu.hg: * gio/src/menuitem.hg: Let the detailed_description parameters be empty. 2012-03-22 Murray Cumming Gio: Add Menu and MenuItem. * tools/extra_defs_gen/generate_defs_gio.cc: Mention the new GTypes here, though they do not seem to have any properties or signals. * gio/src/filelist.am: * gio/src/menu.[hg|ccg]: * gio/src/menuitem.[hg|ccg]: Add these classes, as a way to create the Gio::MenuModel for Gtk::Application::set_app_menu() and set_menubar(). * tools/m4/convert_gio.m4: Add MenuItem conversion. * gio/giomm.h: Mention the new headers here. 2012-03-22 Kjell Ahlstedt Dispatcher examples: Use Glib::signal_idle().connect_once(). * examples/thread/dispatcher.cc: Use Glib::signal_idle().connect_once(). * examples/thread/dispatcher2.cc: Use Glib::signal_idle().connect_once(). Rename class Dispatcher to ThreadDispatcher. Bug #396963 2012-03-15 Murray Cumming Fix some warnings found by clang++. * glib/glibmm/class.cc: registered_derived_type(): Use (void*)0 instead of NULL to avoid a missing sentintel warning. 2012-03-16 José Alburquerque Gio::DBus::Object: Add the signals of the interface. * gio/src/dbusobject.hg: Add the signal_interface_[added|removed]() signals of the interface. * tools/extra_defs_gen/generate_defs_gio.cc: Add the GDBusObject GType to the signal and properties generation utility. * gio/src/gio_signals.defs: Regenerate the defs file to get the signals of the interface. * tools/m4/convert_gio.m4: Add a necessary conversion for wrapping the signals. * gio/src/dbusinterface.hg: Whitespace corrections. 2012-03-15 José Alburquerque DateTime: Correct the declaration of the TimeVal struct. * glib/src/datetime.hg: It was declared as a class but is in fact a struct. I also built the jhbuild c++ sources (as gtkmm was) using clang++ out of curiosity which discovered this. 2012-03-14 José Alburquerque Gio::DBus: Add the Interface and Object interfaces. * gio/src/dbusinterface.{ccg,hg}: * gio/src/dbusobject.{ccg,hg}: * gio/src/filelist.am: Add the new sources and include them in the list of files to be built. * gio/src/gio_vfuncs.defs: Add the virtual function definitions for the new interfaces. * tools/m4/convert_gio.m4: Add conversions for the new interfaces. 2012-03-12 Kjell Ahlstedt Glib::Threads::Private, Glib::Dispatcher: Delete Glib::DispatchNotifier. * glib/src/thread.hg: Add missing @deprecated. * glib/src/threads.hg: Add Private::replace(). Add documentation to Private. * glib/glibmm/dispatcher.cc: Use Private::replace() instead of set(). Bug #671587.