+2003-03-31 Havoc Pennington <hp@redhat.com>
+
+ * dbus/Makefile.am (INCLUDES): use EXPANDED_LOCALSTATEDIR to
+ define DBUS_SYSTEM_BUS_PATH as we want to compile in the same
+ final location that lands in the config file
+
+ * bus/config-loader-expat.c (bus_config_load): fix type of
+ XML_Parser variable
+
+ * doc/TODO: remove TODO item for dbus_bus_get()
+
+ * dbus/dbus-bus.c (bus_data_free): add missing lock/unlock
+
2003-03-31 Havoc Pennington <hp@pobox.com>
* dbus/dbus-transport-unix.c (_dbus_transport_new_for_domain_socket)
bus_config_load (const DBusString *file,
DBusError *error)
{
- XML_Parser *expat;
+ XML_Parser expat;
const char *filename;
BusConfigParser *parser;
ExpatParseContext context;
INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION \
- -DDBUS_SYSTEM_BUS_PATH=\""$(localstatedir)/@DBUS_SYSTEM_SOCKET@"\"
+ -DDBUS_SYSTEM_BUS_PATH=\""@EXPANDED_LOCALSTATEDIR@/@DBUS_SYSTEM_SOCKET@"\"
dbusincludedir=$(includedir)/dbus-1.0/dbus
BusData *bd = data;
if (bd->connection)
- *bd->connection = NULL;
+ {
+ _DBUS_LOCK (bus);
+ *bd->connection = NULL;
+ _DBUS_UNLOCK (bus);
+ }
dbus_free (bd->base_service);
dbus_free (bd);
- Recursive/composite/etc. types and associated API, see mailing list.
- - dbus-bus.h should contain convenience API for connecting to system
- and login-session message buses (automatically handling env
- variables etc.)
-
- Configuration file (working on that now)
- Property list feature on message bus (list of properties associated