dbus/test
Robert McQueen 0d0642b31b 2006-02-16 Robert McQueen <robot101@debian.org>
* dbus/dbus-message.c (dbus_message_iter_get_fixed_array):
	Patch from Rob Taylor <rob.taylor@collabora.co.uk> to correct a bogus
	assertion that the next element to read from the iter is fixed in
	size. This is not the case when you are at the end of the iter,
	because the next element type is INVALID.

	* dbus/dbus-string.c (_dbus_string_init_const_len): Correct a
	a bogus assert which means that you may not initialise a 0-length
	string unless you provide a non-NULL pointer. This prevented
	you from marshalling messages containing zero-length arrays in
	some cases.

	* glib/dbus-gvalue.c (demarshal_collection_array): Another patch
	from Rob to correct bogus asserts when trying to demarshal an
	array and get_fixed_array got you 0 elements. Append nothing to
	the GArray in this case.

	* test/glib/test-dbus-glib.c: Add a test case for round-tripping
	an empty array via the glib bindings. Without all of the above
	patches, this new test fails.
2006-02-16 00:43:41 +00:00
..
data 2005-10-24 Robert McQueen <robot101@debian.org> 2005-10-24 18:29:50 +00:00
glib 2006-02-16 Robert McQueen <robot101@debian.org> 2006-02-16 00:43:41 +00:00
name-test * configure.in: Add test/name-test/Makefile to the generated 2005-11-22 20:37:00 +00:00
python 2005-11-27 Robert McQueen <robot101@debian.org> 2005-11-27 17:44:19 +00:00
qt Add new tests and update the existing one. 2006-02-15 17:06:41 +00:00
.cvsignore * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
break-loader.c 2005-01-15 Havoc Pennington <hp@redhat.com> 2005-01-15 07:15:38 +00:00
decode-gcov.c 2004-12-24 Havoc Pennington <hp@redhat.com> 2004-12-24 17:54:01 +00:00
Makefile.am * configure.in: Add test/name-test/Makefile to the generated 2005-11-22 20:37:00 +00:00
shell-test.c Checking in Rodrigo's patch along with my fixes to the patch 2005-07-14 20:44:15 +00:00
spawn-test.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-exit.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-names.c * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
test-segfault.c * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, 2005-11-30 19:32:27 +00:00
test-service.c * bus/dispatch.c, test/test-service.c: Add testcase 2005-07-15 15:21:43 +00:00
test-shell-service.c Checking in Rodrigo's patch along with my fixes to the patch 2005-07-14 20:44:15 +00:00
test-sleep-forever.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-utils.c * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, 2005-11-30 19:32:27 +00:00
test-utils.h 2003-04-07 Havoc Pennington <hp@redhat.com> 2003-04-07 23:28:16 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00