dbus/tools
Colin Walters 2b97fb81a5 2005-02-27 Colin Walters <walters@verbum.org>
* glib/dbus-gidl.c (property_info_get_type, arg_info_get_type):
	Change return value to const char * instead of int so we can do
	full signatures.
	(struct PropertyInfo, struct ArgInfo): Store char *.
	(property_info_new, arg_info_new): Update parameters, strdup.
	(property_info_unref, arg_info_unref): Free.

	* glib/dbus-gidl.h: Update prototypes.

	* glib/dbus-gparser.c (basic_type_from_string): Delete.
	(validate_signature): New function, just validates signature and
	sets GError.
	(parse_property, parse_arg): Invoke validate_signature.  Store
	signature instead of just type code.

	* glib/dbus-gvalue.c (base_type_from_signature): New utility
	function to return a primary type for a signature, dropping
	information about types in container types.
	(dbus_gvalue_genmarshal_name_from_type)
	(dbus_gvalue_binding_type_from_type)
	(dbus_gvalue_ctype_from_type): Update to take full signature
	 instead of type code.
	(dbus_gtype_to_dbus_type): Moved here from glib/dbus-gobject.c.

	* glib/dbus-gvalue.h: Update prototypes for above.

	* glib/dbus-gobject.c (gtype_to_dbus_type): Moved to
	glib/dbus-gvalue.c as dbus_gtype_to_dbus_type.
	(introspect_properties, introspect_signals, write_interface):
	Update to handle signatures, and remove usage of
	_dbus_gutils_type_to_string.
	(handle_introspect): Print out type codes instead of e.g. "string"
	in hardcoded introspection XML; also use x_AS_STRING constants
	instead of hardcoding in string.

	* glib/dbus-glib-tool.c (pretty_print): Handle signature change
	to string.  Remove usage of _dbus_gutils_type_to_string.

	* glib/dbus-gutils.c (_dbus_gutils_type_to_string): Delete.

	* glib/dbus-gutils.h (_dbus_gutils_type_to_string): Update for
	deletion.

	* glib/dbus-binding-tool-glib.c (compute_marshaller)
	(compute_marshaller_name, generate_glue): Handle signature change
	to string.
	(write_formal_parameters, write_args_for_direction): Ditto, and
	remove FIXME.

	* tools/dbus-tree-view.c (type_to_string): Delete.
	(info_set_func_text): Update to print full signatures.

	* test/glib/test-service-glib.xml: Change types to new
	introspection format.
2005-02-27 17:38:12 +00:00
..
.cvsignore hush. 2004-03-29 12:50:45 +00:00
dbus-cleanup-sockets.1 2003-06-01 Havoc Pennington <hp@pobox.com> 2003-06-01 07:33:59 +00:00
dbus-cleanup-sockets.c 2003-06-01 Havoc Pennington <hp@pobox.com> 2003-06-01 07:33:59 +00:00
dbus-launch.1 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 22:20:38 +00:00
dbus-launch.c 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 22:20:38 +00:00
dbus-monitor.1 2003-06-21 Philip Blundell <philb@gnu.org> 2003-06-21 22:20:30 +00:00
dbus-monitor.c 2005-02-17 Colin Walters <walters@verbum.org> 2005-02-17 21:19:49 +00:00
dbus-names-model.c 2005-02-17 Colin Walters <walters@verbum.org> 2005-02-17 21:19:49 +00:00
dbus-names-model.h 2005-01-30 Havoc Pennington <hp@redhat.com> 2005-01-30 23:06:32 +00:00
dbus-print-message.c 2005-01-30 Havoc Pennington <hp@redhat.com> 2005-01-30 07:44:08 +00:00
dbus-print-message.h 2003-05-16 Havoc Pennington <hp@redhat.com> 2003-05-16 20:09:25 +00:00
dbus-send.1 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 20:42:15 +00:00
dbus-send.c 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 20:42:15 +00:00
dbus-tree-view.c 2005-02-27 Colin Walters <walters@verbum.org> 2005-02-27 17:38:12 +00:00
dbus-tree-view.h 2004-08-09 Havoc Pennington <hp@redhat.com> 2004-08-10 03:07:01 +00:00
dbus-viewer.c 2005-02-17 Colin Walters <walters@verbum.org> 2005-02-17 21:19:49 +00:00
Makefile.am 2005-02-13 Havoc Pennington <hp@redhat.com> 2005-02-13 17:16:25 +00:00