Find a file
Alexander Larsson c5020ac870 2003-04-08 Alexander Larsson <alexl@redhat.com>
Implemented recursive types, named types and new-style iters

	* bus/driver.c:
	* glib/test-thread-client.c: (thread_func):
	* glib/test-thread-server.c: (handle_test_message):
	* test/test-service.c: (handle_echo):
	Update to new api

	* dbus/Makefile.am:
	* dbus/dbus-dict.c:
	* dbus/dbus-dict.h:
	* dbus/dbus.h
	Remove DBusDict

	* dbus/dbus-internals.c: (_dbus_type_to_string):
	Update for new types.

	* dbus/dbus-marshal.[ch]:
	Implement recursive types and the new marshalling format.
	Remove hardcoded dict marshalling.
	Marshal named types.

	* dbus/dbus-message-builder.c:
	Add BYTE_ARRAY.
	Remove references to old types

	* dbus/dbus-message.[ch]:
	New non-refcounted iter API that supports recursive iters.
	Use iters for appending, including support for recursive
	iters.
	Add byte and named type support.
	Update everything to new marshalling formats.
	Add tests for new API.

	* dbus/dbus-protocol.h:
	Remove old array types.
	Add types: BYTE, ARRAY, DICT, NAMED

	* dbus/dbus-string.c:
	* dbus/dbus-sysdeps.c:
	Make parse_double locale safe.

	* dbus/dbus-test-main.c:
	Call setlocale.

	* dbus/dbus-test.c:
	Kill dict test

	* doc/dbus-specification.sgml:
	Update spec

	* test/data/incomplete-messages/missing-body.message:
	* test/data/invalid-messages/bad-boolean.message:
	* test/data/invalid-messages/bad-boolean-array.message:
	* test/data/invalid-messages/boolean-array-length-too-long.message-raw:
	* test/data/invalid-messages/boolean-has-no-value.message-raw:
	* test/data/invalid-messages/too-short-dict.message:
	* test/data/valid-messages/dict-simple.message:
	* test/data/valid-messages/dict.message:
	* test/data/valid-messages/emptiness.message:
	* test/data/valid-messages/lots-of-arguments.message:
	* test/data/valid-messages/no-padding.message:
	* test/data/valid-messages/recursive-types.message:
	Add missing NAME fields
	Fix up dicts & arrays

	* test/data/invalid-messages/dict-with-nil-value.message:
	Removed, this is not invalid anymore.

	* test/data/valid-messages/recursive-types.message:
	Add new test for deeply recursive types.
2003-04-08 15:52:51 +00:00
bus 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
dbus 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
doc 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
glib 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
qt 2003-04-06 Havoc Pennington <hp@pobox.com> 2003-04-07 02:01:53 +00:00
test 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
.cvsignore 2003-02-16 Havoc Pennington <hp@pobox.com> 2003-02-16 07:20:54 +00:00
acinclude.m4 2002-12-27 Anders Carlsson <andersca@codefactory.se> 2002-12-27 21:32:38 +00:00
AUTHORS 2003-02-18 Joe Shaw <joe@assbarn.com> 2003-02-18 22:51:35 +00:00
autogen.sh check for libtoolize before attempting to use it 2002-12-15 13:02:44 +00:00
ChangeLog 2003-04-08 Alexander Larsson <alexl@redhat.com> 2003-04-08 15:52:51 +00:00
configure.in 2003-04-06 Havoc Pennington <hp@pobox.com> 2003-04-07 02:01:53 +00:00
COPYING 2002-11-21 Havoc Pennington <hp@redhat.com> 2002-11-21 19:54:29 +00:00
dbus-1.0.pc.in initial import of "dbus" skeleton 2002-11-21 16:41:33 +00:00
dbus-glib-1.0.pc.in Forgot this. 2002-12-22 19:01:06 +00:00
Doxyfile.in 2003-03-26 Anders Carlsson <andersca@codefactory.se> 2003-03-26 19:21:42 +00:00
HACKING 2003-01-15 Havoc Pennington <hp@redhat.com> 2003-01-15 16:37:09 +00:00
INSTALL initial import of "dbus" skeleton 2002-11-21 16:41:33 +00:00
Makefile.am 2003-04-05 Havoc Pennington <hp@pobox.com> 2003-04-05 17:04:23 +00:00
Makefile.cvs 2002-11-21 Havoc Pennington <hp@redhat.com> 2002-11-21 19:03:04 +00:00
NEWS 0.8 2003-04-06 02:44:49 +00:00
README Prepare for spam 2003-03-04 22:58:56 +00:00

D-BUS is a simple IPC library based on messages.

Configuration flags
===

These are the configuration flags that can be given to the ./configure program.

--enable-qt      	enable Qt-friendly client library
--enable-glib    	enable GLib-friendly client library
--enable-tests  	enable unit test code
--enable-ansi    	enable -ansi -pedantic gcc flags
--enable-verbose-mode 	support verbose debug mode
--enable-asserts 	include assertion checks
--enable-gcov 		compile with coverage profiling instrumentation (gcc only)


Environment variables
===

These are the environment variables that are used by the D-BUS client library

DBUS_VERBOSE=1
Turns on printing verbose messages. This only works if D-BUS has been
compiled with --enable-verbose-mode

DBUS_MALLOC_FAIL_NTH=n
Can be set to a number, causing every nth call to dbus_alloc or
dbus_realloc to fail. This only works if D-BUS has been compiled with
--enable-tests.

DBUS_MALLOC_FAIL_GREATER_THAN=n
Can be set to a number, causing every call to dbus_alloc or
dbus_realloc to fail if the number of bytes to be allocated is greater
than the specified number. This only works if D-BUS has been compiled with
--enable-tests.


Tests
===

These are the test programs that are built if dbus is compiled using
--enable-tests.

dbus/dbus-test
This is the main unit test program that tests all aspects of the D-BUS
client library.

test/break-loader
A test that tries to break the message loader by passing it invalid messages.

test/bus-test
A test that simulates a bus daemon and tests it.