2013-08-05 Murray Cumming Add some comments and point to relevant bugs. 2013-08-02 loganek enums.pl: fixed multi-argument defines as enum values 2013-08-01 Kjell Ahlstedt Add interfaces to custom types before class_init. * glib/glibmm/class.[h|cc]: Add a clone_custom_type() overload that takes a vector of pointers to Interface_Class instances, so we can call their add_interface() functions on the GType just after registering it, but before instantiating the first GObject. custom_class_init_function(): Override properties of implemented interfaces that have not been overridden in a base class. * glib/glibmm/interface.cc: Interface::Interface(const Interface_Class& interface_class): If the GObject has not been instantiated yet, then add interface_class to the Class::custom_interface_classes vector. * glib/glibmm/objectbase.[h|cc]: Add extra_object_base_data and extra_object_base_data_mutex. * glib/glibmm/objectbase.cc: ~ObjectBase(): Erase 'this' from extra_object_base_data. * glib/glibmm/object.cc: Default constructor and Object::Object(const Glib::ConstructParams& construct_params): Pass the list of Interface_Class pointers to the new Class::clone_custom_type() method overload. Bug #697229. 2013-07-31 Murray Cumming MenuItem: Reimplement the constructors. * gio/src/menuitem.[hg|ccg]: Because GMenuItem (and GMenu) do not have any properties and have actual code in their *_new() C convenience functions. Bug #705199 (Pete Woods) 2013-07-31 Murray Cumming Gio: SimpleAction, ActionMap: Reorder some parameters Put the initial state at the end so we can have a default value where that would make sense. 2013-07-31 Murray Cumming Gio::MenuItem: Add set/unset_icon(). 2013-07-31 Murray Cumming Regex: Add get_max_lookbehind(). 2013-07-31 Murray Cumming Gio::Menu: Add remove_all(). 2013-07-31 Murray Cumming Gio::File: Wrap some new methods. * gio/src/file.[hg|ccg]: Add trash_async(), trash_finish(), make_directory_async() and make_directory_finish(). 2013-07-31 Murray Cumming Gio::Application: Add mark/unmark_busy(). 2013-07-31 Murray Cumming Gio::DesktopAppInfo: Wrap some new methods. * gio/src/desktopappinfo.hg: Add list_actions(), launch_action() and get_action_name(). 2013-07-31 Murray Cumming Gio::Action: Wrap some new methods. * gio/src/action.hg: Add name_is_valid() and print_detailed_name(). 2013-07-31 Murray Cumming Regenerate *_docs.xml files 2013-07-31 Murray Cumming Regenerate functions defs 2013-07-31 Murray Cumming Regenerate enums defs 2013-07-30 Murray Cumming Gio::Action::get_state_bool(): Correction. Use g_variant_type_equal() instead of comparing the pointers. 2013-07-30 Kjell Ahlstedt Gio::Action, ActionGroup: Fix memory problems. * gio/src/action.ccg: get_state_bool(): Unref GVariant. * tools/m4/convert_gio.m4: Take a copy when const GVariantType* is converted to Glib::VariantType. Affects Action and ActionGroup. Bug #690134. 2013-07-29 Murray Cumming ActionMap, SimpleAction: Add API for creating radio actions. * gio/src/simpleaction.[hg|ccg]: Add create_radio_string() and create_radio_integer(). * gio/src/actionmap.[hg|ccg]: Add add_action_radio_string() and add_action_radio_integer(). With GAction, radio items seem to be one action with multiple possible parameter/state values, with the parameter and state values always being equal. This C++ API assumes that string and integer will be the most commonly-used types for those values. These values are specified in the GtkBuilder as target values for s each having the same action name. I am really not sure that this is the best API we can have. 2013-07-29 Andrew Potter Gio::Action: Fix API for get_state() and get_state_hint(). * glib/src/action.hg: get_state() and get_state_hint() now return a VariantBase instead of void. Bug #690134. 2013-07-27 Murray Cumming ActionMap: add_action(): Add more overloads 2013-07-27 Murray Cumming Gio::Action: Add convenience methods for bool-state (toggle) actions. * gio/src/simpleaction.[hg|ccg]: Add constructors and create_bool() methods that take a bool instead of a VariantBase for the state. * gio/src/action.[hg|ccg]: Add get_state_bool() and change_state(bool). It might be better to put these in a derived class, but I still hope that the developers of the C API decide not to make this common case so awkward: https://bugzilla.gnome.org/show_bug.cgi?id=704392#c4 2013-07-27 Kjell Ahlstedt Glib::Variant: Fix memory leaks. * glib/src/variant.[hg|ccg]: Call g_variant_builder_unref(). Don't take extra ref on objects returned from g_variant_get_child_value() or g_variant_get_variant(). Bug #704851. 2013-07-26 Murray Cumming configure.ac: Avoid deprecated libsigc++ API. 2013-07-24 Kjell Ahlstedt Glib::TypeTraits<>: Avoid warnings when compiling with -Wcast-qual. * glib/glibmm/containerhandle_shared.h: Move const_cast(ptr) from the TypeTraits< Glib::RefPtr > specialization to the TypeTraits< Glib::RefPtr > specialization, thus avoiding warnings when compiling with -Wcast-qual. Bug #704640. 2013-07-23 Murray Cumming ActionMap: add_action(): Actually add the action. Thanks to Kjell. 2013-07-23 Kjell Ahlstedt tools: Add docs to the default constructor of _CLASS_OPAQUE_COPYABLE. * tools/m4/class_opaque_copyable.m4: Add documentation to the generated default constructor, mentioning that the constructed object is invalid. Bug #704639. 2013-07-23 Kjell Ahlstedt Glib::DateTime: Fix compare() and equal(). * glib/src/datetime.hg: Fix the conversion from const DateTime& to gconstpointer. Bug #704639. 2013-07-22 Murray Cumming Gio::SimpleAction: set_enabled(): Add default parameter value. 2013-07-22 Murray Cumming ActionMap: Add add_action(name, slot). This is a convenience method similar to g_action_map_add_action_entries() in C. 2013-07-10 Murray Cumming 2.37.4