2016-12-07 Murray Cumming 2.51.1.1 2016-12-06 Kjell Ahlstedt Glib::Dispatcher: Don't cast a HANDLE to an int on Windows * glib/glibmm/dispatcher.cc: When a Windows HANDLE must be cast, cast it to Glib::PollFD::fd_t instead of int. Bug 772074 2016-12-06 Marcin Kolny PollFD: autodeduce type of fd field * glib/glibmm/main.[h|cc]: file descriptor to poll can be either of gint, or gint64 type, depending on the platform. glibmm should follow this rule as well. https://bugzilla.gnome.org/show_bug.cgi?id=772074 2016-12-05 Daniel Boles SettingsSchemaKey: Add missing value/range methods https://bugzilla.gnome.org/show_bug.cgi?id=774903 2016-12-05 Kjell Ahlstedt Gio::DBus::Proxy: Fix memory leak in get_cached_property_names() Bug 775210 2016-12-03 Kjell Ahlstedt Glib::Source: Replace extra_source_data by instance data * glib/glibmm/main.[cc|h]: Replace the std::map containing ExtraSourceData with instance data in Source. The map was just a way of avoiding an ABI break, but now we can break ABI. Bug 561885 2016-12-02 Murray Cumming Gio::RemoteActionGroup: Derive from Gio::ActionGroup. Because GRemotActionGroup requires GActionGroup: https://developer.gnome.org/gio/stable/GRemoteActionGroup.html#GRemoteActionGroup.prerequisites Both are interfaces. This is like Gio::LoadableIcon, which derives from Gio::Icon because GLoadableIcon requires GIcon. FileIcon then derives and implements LoadableIcon, but doesn't explicitly use _IMPLEMENTS_INTERFACE(Icon). Gio::DBus::ActionGroup: Don't derive directly from ActionGroup (instead just derive from, and implement Gio::RemoteActionGroup), just as FileIcon doesn't derive directly from (or implement) Icon. We can do this now that we can break ABI. 2016-12-02 Murray Cumming Gio::Menu::insert/prepend/add_item(): Const correction. We can do this now that we can break ABI. 2016-12-02 Murray Cumming Gio::ActionMap::add_action_vfunc(): Const correction. We can do this now that we can break ABI. 2016-12-02 Murray Cumming Gio::DBus::Proxy: Derive from (and implement) Gio::DBus::Interface. 2016-12-02 Murray Cumming Gio::ActionMap: Remove TODO about deriving from ActionGroup. Because the requirement was removed from GActionMap in 2013: https://git.gnome.org/browse/glib/commit/gio/gactionmap.c?id=390115f3851de49f93918cda9266ab857382cc3e 2016-12-02 Murray Cumming Gio::PollableInput/OutputStream: Comments about base classes. 2016-12-02 Murray Cumming Gio::MenuModel::get_item_atribute(): const correction. We can fix this now that we can break ABI. 2016-12-02 Murray Cumming MenuAttributeIter: get_value(): Const correction. We can fix this now that we can break ABI. 2016-12-01 Kjell Ahlstedt Glib::SignalProxyNormal: Remove connect_() and connect_notify_() and add connect_impl_(bool notify, const sigc::slot_base& slot, bool after). SignalProxyNormal then becomes more like SignalProxyDetailedBase. 2016-12-01 Kjell Ahlstedt Rename Glib::SignalProxyDetailedAnyType Rename SignalProxyDetailed to SignalProxyDetailedBase, and SignalProxyDetailedAnyType to SignalProxyDetailed. Remove SignalProxyDetailed# aliases (# = 0..6). 2016-12-01 Kjell Ahlstedt Gio::Settings: Add property_settings_schema(), update signal_changed() Remove two_signal_methods from _WRAP_SIGNAL("changed"). It was added to avoid breaking ABI. 2016-11-30 djb Gio::Settings: Make set_enum() + set_flags() usable The _WRAP_METHOD calls had the names typo'd as get_enum() + get_flags(). https://bugzilla.gnome.org/show_bug.cgi?id=774647 2016-11-30 Kjell Ahlstedt Glib::ObjectBase: Remove connect_property_changed_with_return() and let connect_property_changed() return a sigc::connection. 2016-11-30 Kjell Ahlstedt Gio::Application: Add dbus_register/unregister_vfunc * gio/src/application.hg: Add dbus_register and dbus_unregister vfuncs. * gio/src/gio_vfuncs.defs: Add dbus_register and dbus_unregister. Remove shutdown. It's a signal. Based on a patch by Ritesh Khadgaray . Bug 762191 2016-11-30 Kjell Ahlstedt Remove no_default_handler in some _WRAP_SIGNAL()s Remove the no_default_handler argument in _WRAP_SIGNAL() where it was added only to avoid breaking ABI. 2016-11-25 Kjell Ahlstedt examples/Makefile.am: Re-insert the dispatcher examples When the Thread classes were removed, the dispatcher examples were removed from the list of check_PROGRAMS. I suppose that was a mistake. The dispatcher examples were not removed. They still work. They use std::thread. 2016-11-25 Kjell Ahlstedt Update .gitignore 2016-11-25 Kjell Ahlstedt Glib::ObjectBase: Use std::forward_list for interface class pointers std::forward_list is ideally suited for storing pointers to the interfaces of custom types. The list is often empty, never long. No need to use a pointer to a container in order to save storage space (as I did in the previous commit). An empty std::forward_list consists of nothing but a pointer. 2016-11-24 Kjell Ahlstedt Glib::ObjectBase: Replace extra_object_base_data map by instance data * glib/glibmm/class.[cc|h]: Remove the clone_custom_type() overload without an interface_class_vector_type argument. * glib/glibmm/interface.cc: * glib/glibmm/object.cc: * glib/glibmm/objectbase.[cc|h]: Replace the std::map containing ExtraObjectBaseData with instance data in ObjectBase. The map was just a way of avoiding an ABI break, but now we can break ABI. The new data is a std::unique_ptr rather than a Class::interface_class_vector_type. It's a vector which is used only during a short period during object construction, and only for custom objects. With a pointer to the vector, it need not be created for the majority of objects, and if it is created, it can be deleted when it's no longer needed. * gio/src/application.ccg: * glib/glibmm/main.cc: Add #include that should have been there before, but now became necessary, when it was removed from objectbase.h. 2016-11-24 Marcin Kolny Glib::ObjectBase: overload get_property() * glib/glibmm/objectbase.h: add convenient overload of get_property(), which gives a property value as a return value, not as an output parameter. https://bugzilla.gnome.org/show_bug.cgi?id=771782