2.27.1:
2010-10-26 José Alburquerque <
[email protected]>
DBusProxy: Wrap call(), call_finish() and call_sync() methods.
* gio/src/dbusconnection.hg: Wrap the DBusCallFlags enum.
* gio/src/dbusproxy.{ccg,hg}: Wrap the call(), call_finish() and
call_sync() methods.
2010-10-26 José Alburquerque <
[email protected]>
Variant: Remove floating reference on creation.
* glib/src/variant.ccg:
* glib/src/variant_basictypes.cc.m4: Modify all create methods of the
variant classes so that they remove the floating reference of the
newly created GVariants. The C API sometimes 'consumes' GVariants
with floating references (see g_dbus_proxy_call()) so this allows C++
to worry about deleting GVariants when their references are all lost.
2010-10-26 José Alburquerque <
[email protected]>
DBusProxy: Wrap properties and signals.
* tools/extra_defs_gen/generate_defs_gio.cc: Add a new section for
DBus types and add the GDBusProxy type to the gio extra defs
generation tool.
* gio/src/gio_signals.defs: Regenerate with the extra defs tool to get
the properties and signals of GDBusProxy. Some types (like GVariant
and GStrv) have to be manually edited.
* gio/src/dbusproxy.hg: Wrap properties and (one of two) signals.
* tools/m4/convert_glib.m4: Add a const-gchar* to `const
Glib::ustring&' conversion (it may be more appropriate to include it
in dbusproxy.hg for the "g-signal" signal).
2010-10-25 José Alburquerque <
[email protected]>
AsyncInitable: Add create_finish() wrapping an unwrapped function.
* gio/src/asyncinitable.hg: Add create_finish() wrapping
g_async_initable_new_finish(). Its not clear how useful the method
will be, but at least gmmproc does not say that it is still unwrapped.
* gio/src/dbusproxy.hg: Typo.
2010-10-21 Murray Cumming <murrayc@murrayc-desktop>
Added get_system_data_dirs() and get_system_config_dirs().
* glib/glibmm/miscutils.[h|cc]: Wrappping g_get_system_data_dirs() and
g_get_system_config_dirs(), which were actually added in glib 2.6 but
not noticed by us until now.
Notice that these return std::vector<> instead of ArrayHandle, because we
have decided to do that for new APIs.
2010-10-19 Murray Cumming <
[email protected]>
Fix the build with the latest glib API.
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* gio/src/gio_signals.defs: Regenerated with extra_defs.
* gio/src/application.[hg|ccg]: Adapt to the changed API in glibmm,
though several functions, properties and signals are not yet wrapped.
* gio/src/dbusserver.hg: new_connection signal: Now returns a bool.
* tools/m4/convert_gio.m4: Mention the new enum.
2010-10-18 José Alburquerque <
[email protected]>
glibmm: ustring: Restore last block removed by #ifdef removal script.
* glib/glibmm/ustring.cc: Restore the last block that was accidentally
removed by the optional API #ifdef removal script. There were three.
Two were restored (GNOME bug #622030), but one (final one) was not.
This commit does that, restoring the file to its original condition
without the optional API #ifdefs.