2.28.0: 2011-04-05 Murray Cumming DBusServer: Add overview documentation. * gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer in bug #646425. 2011-04-04 Murray Cumming ThemedIcon: Remove a property as suggested by a TODO. * gio/src/themedicon.hg: The name property is write-only and construct-only so we should not have any API for it. Noticed by Kjell Ahlstedt. 2011-04-04 Murray Cumming Gio::Settings: Really add list_schemas(). * gio/src/gio_others.defs: Add g_settings_list_schemas(), though we do not actually use this defnition yet. See below. This must be hand-written because h2defs.py gets confused by the return type. * gio/src/settings.[hg|ccg]: list_schemas(): Make this static and hand-code it because gmmproc is confused by the declaration when it is static. Noticed by Kjell Ahlstedt. 2011-04-02 Murray Cumming Gio::DBus examples: Renamed one and removed one. * examples/dbus/server.cc: Rename this to server_without_bus.cc to make its purpose clearer. This is not the common case. It is for private peer-to-peer connections not involving the usual session or system buses, or any bus for that matter. Meaning, for instance, that it does not assign names or provide introspection, I think. * examples/dbus/peer.cc: Removed this because it seems like just a complicated version of the server_without_bus example, and this is not in sync with the C versoin. Well, we should probably add a client for the server example. * examples/Makefile.am: Adapted. 2011-04-02 Murray Cumming Slight cleanup to D-Bus example code. * examples/dbus/server.cc: * examples/dbus/session_bus_service.cc: Remove code to handle the now non-existant GetStdOut D-Bus method. That code was left over from an earlier version of an example. 2011-04-02 Murray Cumming Gio::DBus::NodeInfo::lookup_interface(): Add a method overload with no name. * gio/src/dbusintrospection.[hg|ccg]: Add a lookup_interface() method overload that just returns the first interface, avoiding the need to specify the name when there is only one interface. The C API will not do this itself: See bug #646417. * examples/dbus/peer.cc: * examples/dbus/server.cc: * examples/dbus/session_bus_service.cc: Use the new method to simplify the code slightly. 2011-04-02 Murray Cumming Gio::DBus::Connection: Added a register_method() overload with no vtable. * gio/src/dbusconnection.[hg|ccg]: This makes sense now that the C API's documentation was improved in bug #646419. 2011-04-01 Murray Cumming Added a simple example of a D-Bus session bus service. * examples/dbus/session_bus_service.cc: This uses Gio::DBus::own_name(). * examples/Makefile.am: Mention the new test. * examples/dbus/server.cc: Mention the return (out) value for the GetTime method here too, and catch an exception. 2011-04-01 Murray Cumming Gio::DBus: Minor API changes. * gio/src/dbusconnection.[hg|ccg]: register_object(), register_subtree(): Take the VTable by reference, not pointer. register_object() can take a NULL but that needs documentation (see the bug mentioned) and a future method overload. * gio/src/dbusmethodinvocation.ccg: get_parameters(): Return a VariantContainerBase instead of taking a VariantBase output parameter, because this is always a tuple. Well, I think so: See the bug mentioned. * gio/src/dbusmethodinvocation.hg: return_value(): Take a VariantContainerBase instead of a VariantBase, because this is always a tuple. return_gerror(), return_error_literal(): Rename them both to return_error(). * glib/src/variant.hg: VariantContainerBase::create_tuple(): Add a method overload that takes a single VariantBase, for convenience, so that applications don't need to create a single-item vector. * examples/dbus/busserver.cc: Adapted. * examples/dbus/busserver.cc: Rename to server.cc and actually implement it, though I am currently confused about whether this server's object should be available on an existing bus. Maybe we should use Gio::DBus::own_name() instead of Gio::DBus::Server. 2011-04-01 Murray Cumming Rename a D-Bus client example. * examples/dbus/userbus.cc: Rename to client_bus_listnames.cc to make it more obvious what it does. 2011-03-31 Murray Cumming DBusProxy: Rename type_map_changed_properties to MapChangeProperties. * gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container typedefs. 2011-03-30 Murray Cumming Use the latest mm-common. * configure.ac: Require the latest version. * doc/Makefile.am: Don't specify the mm-common .pl files to distribute because mm-common now does this automatically.