mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-17 12:28:05 +02:00
* bus/dispatch.c (bus_dispatch_test): OK, now finally actually write useful test code, after all that futzing around ;-) Test does not yet pass because we can't handle OOM in _dbus_transport_messages_pending (basically, dbus_connection_preallocate_send() does not prealloc the write watch). To fix this, I think we need to add new stuff to set_watch_functions, namely a SetEnabled function so we can alloc the watch earlier, then enable it later. * dbus/Makefile.am (libdbus_convenience_la_SOURCES): move dbus-memory.c to the convenience lib * bus/test.c: rename some static functions to keep them clearly distinct from stuff in connection.c. Handle client disconnection. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| activation.c | ||
| activation.h | ||
| bus.c | ||
| bus.h | ||
| connection.c | ||
| connection.h | ||
| desktop-file.c | ||
| desktop-file.h | ||
| dispatch.c | ||
| dispatch.h | ||
| driver.c | ||
| driver.h | ||
| loop.c | ||
| loop.h | ||
| main.c | ||
| Makefile.am | ||
| services.c | ||
| services.h | ||
| test-main.c | ||
| test.c | ||
| test.h | ||
| utils.c | ||
| utils.h | ||