2005-03-12 Colin Walters <walters@verbum.org>
authorColin Walters <walters@verbum.org>
Sat, 12 Mar 2005 20:07:21 +0000 (20:07 +0000)
committerColin Walters <walters@verbum.org>
Sat, 12 Mar 2005 20:07:21 +0000 (20:07 +0000)
commit030cc1e53c6216853e08e27b92f72db80d001873
treeb13acda1a445ddd1ef730ec9c6603e38b0796fbe
parent3dea5c183f65c3f924fb442bf606dfeb50f028a4
2005-03-12  Colin Walters  <walters@verbum.org>

* bus/driver.c (write_args_for_direction): New function,
parses a type signature into arguments and outputs to
XML.
(bus_driver_handle_introspect): Use it instead of
hardcoding XML for certain signatures.

* bus/Makefile.am (dbus-bus-introspect.xml): Add
dependency on dbus-daemon.

* glib/dbus-glib-tool.c (main): Parse ignore_unsupported
argument, pass it to dbus_binding_tool_output_glib_client.

* glib/dbus-binding-tool-glib.c
(generate_client_glue): Protect against multiple inclusion.
(dbus_binding_tool_output_glib_client): Add
G_BEGIN_DECLS/G_END_DECLS.

* glib/dbus-binding-tool-glib.c (compute_client_method_name):
Change to just take iface prefix directly.
(write_formal_parameters): Clarify error message.
(check_supported_parameters): New function; checks to see type
signatures of method parameters are supported.
(generate_client_glue): Handle ignore_unsupported flag.
(dbus_binding_tool_output_glib_client): Handle ignore_unsupported
parameter.

* glib/Makefile.am (dbus-glib-bindings.h): Pass
--ignore-unsupported by default until glib bindings
support arrays.
ChangeLog
bus/Makefile.am
bus/driver.c
glib/Makefile.am
glib/dbus-binding-tool-glib.c
glib/dbus-binding-tool-glib.h
glib/dbus-glib-tool.c