2.27.4.1:
2010-12-14 José Alburquerque <
[email protected]>
DBus Client Example: create a DBusProxy in preparation for method call.
* examples/dbus/well-known-address-client.cc: Asynchronously create a
DBusProxy which can then be used to call a method on the user's
session bus. This tests asynchronous creation of objects that derive
from the AsyncInitable interface. The reference counting of the newly
created object should be checked because in the SlotAsyncReady slot,
the proxy has a reference count of two when it should possibly be
one (the g_dbus_proxy_new_finish() docs say that in the callback,
unreferencing the proxy destroys it).
2010-12-14 José Alburquerque <
[email protected]>
DBus[Connection|Proxy]: Don't take extra reference on async creation.
* gio/src/dbusconnection.ccg:
* gio/src/dbusproxy.ccg: There's no need to put the newly constructed
DBusConnection|DBusProxy in a Glib::RefPtr<> and then take an extra
reference. Simply constructing the object is enough to guarantee that
the object continues existing until the SlotAsyncReady slot is called.
2010-12-13 José Alburquerque <
[email protected]>
DBusProxy: Reorder the parameters so that "name" is second in methods.
* gio/src/dbusproxy.{ccg,hg}: Reorder the parameters so that the
"name" parameter comes before the "object_path" parameter as in the C
API which is probably more natural. Add _IMPLEMENTS_INTERFACE() for
the Initable and AsyncInitable interfaces that it implements.
(class docs): Removed some sentences in the class docs that only
apply to the C API. Made it clear that the docs is adapted from the C
API in case the paragraph about sub-classing does not apply.
(constructor properties): Corrected the "name" property to the correct
name "g_name" in constructors.
* gio/giomm.h: Added all the missing dbus includes.
2010-12-13 José Alburquerque <
[email protected]>
Add a DBus Doxygen group.
* gio/src/dbusconnection.hg: Add a DBus Doxygen group in which to
include all the D-Bus docs.
* gio/src/dbusaddress.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg: Include all the D-Bus classes, functions
and slots in the new group.
* glib/glibmm.h: Mention the new group in the list of giomm features.
* gio/src/dbusproxy.ccg: Typos.
2010-12-12 José Alburquerque <
[email protected]>
glibmm: Add a MatchInfo class for use with the existing Regex class.
* glib/src/regex.{ccg,hg}: Add a new (generic) class wrapping the
GMatchInfo functions. Wrap the (commented out) methods with a
Glib::MatchInfo in Regex so that the new class is used.
Fixes Bug #636911 (Alexander Shaduri)
2010-12-09 Murray Cumming <murrayc@murrayc-desktop>
Added generic gmmproc conversions previously in convert_gtkmm.m4.
* tools/m4/convert_base.m4: Added generic macros back.
2010-12-09 Murray Cumming <
[email protected]>
Remove non-glibmm .m4 files.
* tools/m4/class_gtkobject.m4:
* tools/m4/convert_atk.m4:
* tools/m4/convert_gdk.m4:
* tools/m4/convert_gtk.m4:
* tools/m4/convert_gtkmm.m4:
* tools/m4/convert_pango.m4: Remove conversions and macros for non-glibmm
types. These will be moved to atkmm, pangomm and gtkmm instead.
2010-12-09 José Alburquerque <
[email protected]>
DBusProxy: Add a non-cancellable call_sync() method.
* gio/src/dbusproxy.{ccg,hg}: Add a non-cancellable call_sync()
method. Reorder the paramters so that the "timeout_msec" parameter in
methods that have it can have a default of '-1' which means a default
timeout.
2010-12-08 José Alburquerque <
[email protected]>
DBus: Client Example: Choose a better name for the source file.
* examples/dbus/client.cc: Renamed to:
* examples/dbus/well-known-address-client.cc:
* examples/Makefile.am: Corrected according to renaming above.
2010-12-08 José Alburquerque <
[email protected]>
DBusConnection: Add non-observable create method overloads.
* gio/src/dbusconnection.{ccg,hg}: Add constructors and create methods
that don't require a DBusAuthObservable paramter.
2010-12-08 José Alburquerque <
[email protected]>
DBusConnection: Also correct the static status of the get() methods.
* gio/src/dbusconnection.{ccg,hg}: As with the create*() methods, the
get() async methods should be static.
* gio/src/dbusintrospection.hg (DBusPropertyInfo): Add class docs.
2010-12-08 José Alburquerque <
[email protected]>
giomm: Correct docs of newly added methods that throw a Glib::Error.
* gio/src/dbusconnection.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusintrospection.hg: Use _WRAP_METHOD_DOCS_ONLY together
with a Doxygen @throw directive in methods that throw a Glib::Error to
get the C docs and then make it clear that the methods throw a
Glib::Error.
(new_for_xml): Rename to create_for_xml().
2010-12-08 José Alburquerque <
[email protected]>
DBusConnection: Use static keyword for create methods.
* gio/src/dbusconnection.{ccg,hg}: Add the forgotten 'static' keyword
to all the create methods (that's what happens when coding too quickly
without thinking about what's being done). Fortunately it seems to
have happened only here.
2010-12-08 José Alburquerque <
[email protected]>
DBus: Client Example: Correct typo.
* examples/dbus/client.cc: Correct a typo in a comment.
* tools/m4/convert_gio.m4: Correct alphabetizing of last enum
conversion.
2010-12-08 José Alburquerque <
[email protected]>
DBus: Add an initial client example accessing a user's bus.
* examples/dbus/client.cc: Initial example opening a connection to the
user's bus and then printing its unique name.
2010-12-08 José Alburquerque <
[email protected]>
Add Gio::DBusConnection::get_sync() methods.
* gio/src/dbusconnection.hg: Wrap get_sync() methods (cancellable and
non-cancellable versions).
* tools/m4/convert_gio.m4: Add enum conversion.
2010-12-05 José Alburquerque <
[email protected]>
DBusConnection: Add missing _IGNORE().
* gio/src/dbusconnection.{ccg,hg}: Add a missing _IGNORE() for
the emit_signal() method and correct its misspelled name at the same
time.
2010-12-05 José Alburquerque <
[email protected]>
DBusConnection: Add send_message_with_reply_sync() methods.
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable
versions of the send_message_with_reply_sync() methods (following the
same logic as the existing send_message_with_reply() methods). Some
minor corrections.
2010-12-05 José Alburquerque <
[email protected]>
DBusConnection: Add signal_subscribe() and add_filter().
* gio/src/dbusconnection.{ccg,hg}: Add signal_subscribe(),
signal_unsubscribe(), add_filter() and remove_filter() methods.
Wrapped GDBusSignalFlags (reordered enums in alphabetical order).
([get|set]_exit_on_close):
(get_capabilities): Reordered declarations (by moving the _WRAP_METHOD
macros) according to where they are declared in the C API.