dbus/glib/examples
Colin Walters 8c095eea8f 2005-07-10 Colin Walters <walters@verbum.org>
* doc/TODO: Knock off some GLib items with this patch.

	* glib/dbus-gvalue-utils.c (_dbus_gtype_can_signal_error)
	(_dbus_gvalue_signals_error): New functions.

	* glib/dbus-gvalue-utils.h: Prototype them.

	* glib/dbus-gobject.c (arg_iterate): Update to handle return vals
	and change to not output const/retval flags for input args.  All
	callers updated.
	(invoke_object_method): Refactor to handle return values.  Add
	some more comments in various places.  Remove debug g_print.

	* glib/dbus-binding-tool-glib.h (DBUS_GLIB_ANNOTATION_RETURNVAL): New.

	* glib/dbus-binding-tool-glib.c (dbus_g_type_get_marshal_name):
	Handle G_TYPE_NONE.
	(compute_gsignature): New function; refactored from code from
	compute_marshaller and compute_marshaller_name.  Enhance to
	handle return values and async ops more cleanly.  Update for
	async ops returning NONE instead of BOOLEAN.
	(compute_marshaller, compute_marshaller_name): Call compute_gsignature
	and output appropriate string.
	(generate_glue): Handle return value annotation.  Also don't dump
	constness flag for input arguments.

	* glib/Makefile.am (DBUS_GLIB_INTERNALS): New variable; contains
	files shared between installed library and utilities.
	(libdbus_glib_1_la_SOURCES): Move some stuf into DBUS_GLIB_INTERNALS.
	(libdbus_gtool_la_SOURCES): Suck in DBUS_GLIB_INTERNALS so the
	binding tool can access gtype utility functions.

	* test/glib/test-service-glib.c:
	* test/glib/test-service-glib.xml:
	* test/glib/test-dbus-glib.c: Add some tests for return values.
2005-07-10 22:54:19 +00:00
..
statemachine 2005-07-10 Colin Walters <walters@verbum.org> 2005-07-10 22:54:19 +00:00
.cvsignore 2005-06-20 Colin Walters <walters@verbum.org> 2005-06-21 01:18:25 +00:00
example-client.c 2005-06-20 Colin Walters <walters@verbum.org> 2005-06-21 01:18:25 +00:00
example-service.c 2005-07-08 Colin Walters <walters@verbum.org> 2005-07-08 16:25:39 +00:00
example-service.xml 2005-06-20 Colin Walters <walters@verbum.org> 2005-06-21 01:18:25 +00:00
example-signal-emitter.c 2005-07-08 Colin Walters <walters@verbum.org> 2005-07-08 16:25:39 +00:00
example-signal-emitter.xml 2005-06-20 Colin Walters <walters@verbum.org> 2005-06-21 01:18:25 +00:00
example-signal-recipient.c 2005-06-29 Colin Walters <walters@verbum.org> 2005-06-29 16:59:00 +00:00
Makefile.am 2005-07-08 Colin Walters <walters@verbum.org> 2005-07-08 16:25:39 +00:00