2003-03-05 Anders Carlsson <andersca@codefactory.se>
authorAnders Carlsson <andersca@codefactory.se>
Tue, 4 Mar 2003 22:53:20 +0000 (22:53 +0000)
committerAnders Carlsson <andersca@codefactory.se>
Tue, 4 Mar 2003 22:53:20 +0000 (22:53 +0000)
* README: Add some things.

ChangeLog
README

index 22b4cdb..939282e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-05  Anders Carlsson  <andersca@codefactory.se>
+
+       * README: Add some things.
+
 2003-03-04  Anders Carlsson  <andersca@codefactory.se>
 
        * dbus/dbus-message.c (dbus_message_append_args_valist): Add a break;
diff --git a/README b/README
index 7ce279d..ad46ea4 100644 (file)
--- a/README
+++ b/README
@@ -1 +1,52 @@
 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)],enable_gcov=$enableval,enable_gcov=no)
+
+
+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.