2013-08-28 Murray Cumming 2.37.6 2013-08-28 Murray Cumming Remove a comment about a fixed bug. 2013-08-28 Murray Cumming Threads: Add a new doc line from the C docs. 2013-08-15 Kjell Ahlstedt gmmproc: Fix _WRAP_SIGNAL with 'ifdef' and 'deprecated'. * tools/pm/Output.pm: Since 2012-09-18 convert_args_cpp_to_c() returns an array. Use only the first array element ($conversions) when _SIGNAL_CC is written. * tools/pm/WrapParser.pm: _WRAP_SIGNAL: Fix the merge of a doxygen comment in a .hg file with a comment from the .defs file. Write #if[n]def directives before the merged comment. (Was in the middle of the comment.) 2013-08-09 Murray Cumming Gio::Action: Add templated change_state() and activate(). * gio/src/action.hg: Also adding change_state_variant() and activate_variant() for them to call, and deprecating the change_state() and activate() methods that take VariantBase. Also added change_state() and activate() templated methods that take Variant to preserve API for application code that previously called change_state(VariantBase) with a Variant<>. 2013-08-09 Murray Cumming Link to a bug report 2013-08-09 Murray Cumming Gio::SimpleAction: Make set_state() protected. 2013-08-09 Murray Cumming Gio::ActionGroup: Add templated getters. * gio/src/actiongroup.hg: Add templated get_action_state() and get_action_state_hint() methods, adding *_variant() methods that they call, and deprecating the existing methods that have no output parameters. Thanks to Kjell for the suggestion. 2013-08-09 Murray Cumming Gio::Action:: get_state_hint(): Correct a check. 2013-08-07 Murray Cumming Gio::ActionMap: add_action_radio_*(): Use better Slot types. * gio/src/actionmap.[hg|ccg]: add_action_radio_string(): Take a Slot that provides a string, rather than a VariantBase. add_action_radio_int(): Take a Slot that provides an int, rather than a VariantBase. Hopefully passing a Slot via sigc::bind() is a good idea. The various slot types would be less confusing if we moved some of this to a derived class. 2013-08-07 Murray Cumming Gio::SimpleAction: add_action() now takes a slot with no parameter. * gio/src/actionmap.[hg|ccg]: Change ActionSlot to take no parameter, hiding it via sigc::hide(), because in most cases the parameter is useless and annoying. Add add_action_with_parameter() which takes a slot with the parameter. We cannot just have an add_action() method overload because the compiler considers that ambiguous. 2013-08-07 Murray Cumming Gio::SimpleActionGroup: Some API improvements. * gio/src/simpleactiongroup.hg: lookup(): Add a const version and use refreturn. Deprecate both lookup() methods, however, because they just call lookup_action() in the base ActionMap. Deprecate insert() and remove() because they just call add_action() and remove_action() in the base ActionMap, confusing the API. I filed bug #705600 about this API problem in the C API, hoping they can be deprecated there. 2013-08-06 Murray Cumming Gio::ActionGroup: Add more TODOs about methods that should be templated. Unforunately it is too late to correct this. 2013-08-06 Murray Cumming Gio::Action: Add TODOs to templatize change_state() and activate(). Sadly, we cannot do this until we can break ABI, I think. 2013-08-06 Murray Cumming Gio::Action: print_detailed_name() Make this templated. Renaming the original method to print_detaild_name_variant(). This method is new in this development cycle, so we may still change it. 2013-08-06 Murray Cumming Gio::Action: Make get_state() templated. And do the same for get_state_hint(), renaming the originals to get_state_variant() and get_state_hint_variant(). We had already decided to break the ABI of these because the method signatures in the stable release were useless, so this is OK. We use the same technique elsewhere in glibmm and gtkmm for Glib::ValueBase. 2013-08-05 Murray Cumming 2.37.5