dbus/doc TODO,1.71,1.72
Havoc Pennington
hp at freedesktop.org
Fri Feb 25 22:37:48 PST 2005
- Previous message: dbus/dbus dbus-auth-script.c, 1.16, 1.17 dbus-auth.c, 1.41,
1.42 dbus-auth.h, 1.11, 1.12 dbus-connection.c, 1.100,
1.101 dbus-connection.h, 1.34, 1.35 dbus-internals.h, 1.54,
1.55 dbus-server-debug-pipe.c, 1.17,
1.18 dbus-server-protected.h, 1.18, 1.19 dbus-server-unix.c,
1.27, 1.28 dbus-server.c, 1.40, 1.41 dbus-threads.c, 1.22,
1.23 dbus-transport-protected.h, 1.15,
1.16 dbus-transport-unix.c, 1.45, 1.46 dbus-transport-unix.h,
1.9, 1.10 dbus-transport.c, 1.44, 1.45 dbus-transport.h, 1.19, 1.20
- Next message: dbus/test/glib test-profile.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/doc
In directory gabe:/tmp/cvs-serv8168/doc
Modified Files:
TODO
Log Message:
2005-02-26 Havoc Pennington <hp at redhat.com>
* doc/TODO: remove the "guid" item
* test/glib/test-profile.c (no_bus_thread_func): use open_private
(with_bus_thread_func): use open_private
* dbus/dbus-connection.c (dbus_connection_open_private): new
function that works like the old dbus_connection_open()
(dbus_connection_open): now returns an existing connection if
possible
* dbus/dbus-server-unix.c (handle_new_client_fd_and_unlock): pass
through the GUID to the transport
* dbus/dbus-server.c (_dbus_server_init_base): keep around the
GUID in hex-encoded form.
* dbus/dbus-server-debug-pipe.c (_dbus_transport_debug_pipe_new):
pass GUID argument in to the transport
* dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd): add
guid argument
* dbus/dbus-transport.c (_dbus_transport_init_base): add guid argument
* dbus/dbus-auth.c (_dbus_auth_server_new): add guid argument
Index: TODO
===================================================================
RCS file: /cvs/dbus/dbus/doc/TODO,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- TODO 24 Feb 2005 19:13:37 -0000 1.71
+++ TODO 26 Feb 2005 06:37:46 -0000 1.72
@@ -33,21 +33,9 @@
- dbus-pending-call.c has some API and thread safety issues to review
- - make dbus_connection_open() return a shared connection from a pool.
- Add dbus_connection_open_private() that works like the current one.
- To do this, each DBusServer could have a 128-bit GUID. This GUID
- would be in the address from dbus_server_get_address(). On
- connection to a server, the GUID would be provided as the first
- thing in the auth protocol, and verified vs. the expected GUID if a
- GUID was in the address used to connect. A hash from GUID to
- connection would be kept, so attempts to connect to a GUID already
- in the hash would return a shared existing connection.
-
- The purpose of all this is to allow a dbus_g_proxy_to_string() that
- would convert the proxy to an "IOR" and dbus_g_proxy_from_string()
- that would decode; using these, dbus-glib users could avoid
- DBusConnection entirely. Of course the same applies to other kinds
- of binding.
+ - transmit GUID from server to client in the auth protocol, so
+ connections can be shared even if the address used to connect
+ to them didn't have a GUID in it.
Important for 1.0 GLib Bindings
===
@@ -74,6 +62,13 @@
Can Be Post 1.0
===
+ - Allow a dbus_g_proxy_to_string()/g_object_to_string() that
+ would convert the proxy to an "IOR" and dbus_g_proxy_from_string()
+ that would decode; using these, dbus-glib users could avoid
+ DBusConnection entirely. Of course the same applies to other kinds
+ of binding. This would use dbus_connection_open()'s connection-sharing
+ feature to avoid massive proliferation of connections.
+
- DBusWatchList/TimeoutList duplicate a lot of code, as do
protected_change_watch/protected_change_timeout in dbus-connection.c
and dbus-server.c. This could all be mopped up, cut-and-paste
- Previous message: dbus/dbus dbus-auth-script.c, 1.16, 1.17 dbus-auth.c, 1.41,
1.42 dbus-auth.h, 1.11, 1.12 dbus-connection.c, 1.100,
1.101 dbus-connection.h, 1.34, 1.35 dbus-internals.h, 1.54,
1.55 dbus-server-debug-pipe.c, 1.17,
1.18 dbus-server-protected.h, 1.18, 1.19 dbus-server-unix.c,
1.27, 1.28 dbus-server.c, 1.40, 1.41 dbus-threads.c, 1.22,
1.23 dbus-transport-protected.h, 1.15,
1.16 dbus-transport-unix.c, 1.45, 1.46 dbus-transport-unix.h,
1.9, 1.10 dbus-transport.c, 1.44, 1.45 dbus-transport.h, 1.19, 1.20
- Next message: dbus/test/glib test-profile.c,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list