2004-06-07 21:02:23 +00:00
|
|
|
Important for 1.0
|
|
|
|
|
===
|
2005-01-18 20:42:15 +00:00
|
|
|
|
2005-06-06 18:55:22 +00:00
|
|
|
- Remove all deprecated functions
|
|
|
|
|
|
2004-06-07 21:02:23 +00:00
|
|
|
- Audit @todo and FIXME for security issues
|
|
|
|
|
|
2005-01-15 Havoc Pennington <hp@redhat.com>
* Land the new message args API and type system.
This patch is huge, but the public API change is not
really large. The set of D-BUS types has changed somewhat,
and the arg "getters" are more geared toward language bindings;
they don't make a copy, etc.
There are also some known issues. See these emails for details
on this huge patch:
http://lists.freedesktop.org/archives/dbus/2004-December/001836.html
http://lists.freedesktop.org/archives/dbus/2005-January/001922.html
* dbus/dbus-marshal-*: all the new stuff
* dbus/dbus-message.c: basically rewritten
* dbus/dbus-memory.c (check_guards): with "guards" enabled, init
freed blocks to be all non-nul bytes so using freed memory is less
likely to work right
* dbus/dbus-internals.c (_dbus_test_oom_handling): add
DBUS_FAIL_MALLOC=N environment variable, so you can do
DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or
DBUS_FAIL_MALLOC=10 to make it really, really, really slow and
thorough.
* qt/message.cpp: port to the new message args API
(operator<<): use str.utf8() rather than str.unicode()
(pretty sure this is right from the Qt docs?)
* glib/dbus-gvalue.c: port to the new message args API
* bus/dispatch.c, bus/driver.c: port to the new message args API
* dbus/dbus-string.c (_dbus_string_init_const_len): initialize the
"locked" flag to TRUE and align_offset to 0; I guess we never
looked at these anyhow, but seems cleaner.
* dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING):
move allocation padding macro to this header; use it to implement
(_DBUS_STRING_STATIC): ability to declare a static string.
* dbus/dbus-message.c (_dbus_message_has_type_interface_member):
change to return TRUE if the interface is not set.
* dbus/dbus-string.[hc]: move the D-BUS specific validation stuff
to dbus-marshal-validate.[hc]
* dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from
dbus-internals.c
* dbus/Makefile.am: cut over from dbus-marshal.[hc]
to dbus-marshal-*.[hc]
* dbus/dbus-object-tree.c (_dbus_decompose_path): move this
function here from dbus-marshal.c
2005-01-15 07:15:38 +00:00
|
|
|
- the "break loader" and valid/invalid message tests are all disabled;
|
|
|
|
|
they need to be fixed and re-enabled with the new message args stuff.
|
|
|
|
|
I think I want to drop the .message files thing and just have code
|
|
|
|
|
that generates messages, more like the tests for
|
2005-02-12 04:30:34 +00:00
|
|
|
dbus-marshal-recursive.c (this is mostly done now, just needs some
|
|
|
|
|
cleanup)
|
2004-06-07 21:02:23 +00:00
|
|
|
|
2005-01-27 00:52:30 +00:00
|
|
|
- just before 1.0, try a HAVE_INT64=0 build and be sure it runs
|
2005-01-18 20:42:15 +00:00
|
|
|
|
2005-02-16 04:37:27 +00:00
|
|
|
- dbus-pending-call.c has some API and thread safety issues to review
|
|
|
|
|
|
2005-04-13 16:13:42 +00:00
|
|
|
- Add test harness for selinux allow/deny cf. this message
|
|
|
|
|
http://lists.freedesktop.org/archives/dbus/2005-April/002506.html
|
|
|
|
|
|
2005-06-15 16:20:28 +00:00
|
|
|
- Add a test case for handling the Ping message
|
|
|
|
|
|
2005-07-12 18:16:07 +00:00
|
|
|
- Add match on args or match on details to match rules
|
|
|
|
|
|
2004-07-03 11:20:05 +00:00
|
|
|
Important for 1.0 GLib Bindings
|
|
|
|
|
===
|
|
|
|
|
|
2005-07-08 16:41:57 +00:00
|
|
|
- Test point-to-point mode
|
|
|
|
|
|
|
|
|
|
- Add support for getting sender
|
2005-01-18 20:42:15 +00:00
|
|
|
|
2005-07-12 18:16:07 +00:00
|
|
|
Important for 1.0 Python bindings
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
- Hammer down API
|
|
|
|
|
|
|
|
|
|
- Fix removing of signals from the match tree
|
|
|
|
|
|
|
|
|
|
- Fix refcounting and userdata lifecycles
|
|
|
|
|
|
|
|
|
|
- Write a generic mainloop
|
|
|
|
|
|
2004-06-07 21:02:23 +00:00
|
|
|
Might as Well for 1.0
|
|
|
|
|
===
|
|
|
|
|
|
2005-01-15 Havoc Pennington <hp@redhat.com>
* Land the new message args API and type system.
This patch is huge, but the public API change is not
really large. The set of D-BUS types has changed somewhat,
and the arg "getters" are more geared toward language bindings;
they don't make a copy, etc.
There are also some known issues. See these emails for details
on this huge patch:
http://lists.freedesktop.org/archives/dbus/2004-December/001836.html
http://lists.freedesktop.org/archives/dbus/2005-January/001922.html
* dbus/dbus-marshal-*: all the new stuff
* dbus/dbus-message.c: basically rewritten
* dbus/dbus-memory.c (check_guards): with "guards" enabled, init
freed blocks to be all non-nul bytes so using freed memory is less
likely to work right
* dbus/dbus-internals.c (_dbus_test_oom_handling): add
DBUS_FAIL_MALLOC=N environment variable, so you can do
DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or
DBUS_FAIL_MALLOC=10 to make it really, really, really slow and
thorough.
* qt/message.cpp: port to the new message args API
(operator<<): use str.utf8() rather than str.unicode()
(pretty sure this is right from the Qt docs?)
* glib/dbus-gvalue.c: port to the new message args API
* bus/dispatch.c, bus/driver.c: port to the new message args API
* dbus/dbus-string.c (_dbus_string_init_const_len): initialize the
"locked" flag to TRUE and align_offset to 0; I guess we never
looked at these anyhow, but seems cleaner.
* dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING):
move allocation padding macro to this header; use it to implement
(_DBUS_STRING_STATIC): ability to declare a static string.
* dbus/dbus-message.c (_dbus_message_has_type_interface_member):
change to return TRUE if the interface is not set.
* dbus/dbus-string.[hc]: move the D-BUS specific validation stuff
to dbus-marshal-validate.[hc]
* dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from
dbus-internals.c
* dbus/Makefile.am: cut over from dbus-marshal.[hc]
to dbus-marshal-*.[hc]
* dbus/dbus-object-tree.c (_dbus_decompose_path): move this
function here from dbus-marshal.c
2005-01-15 07:15:38 +00:00
|
|
|
- protocol version in each message is pretty silly
|
|
|
|
|
|
2004-06-07 21:02:23 +00:00
|
|
|
Can Be Post 1.0
|
|
|
|
|
===
|
|
|
|
|
|
2005-05-05 22:02:11 +00:00
|
|
|
- if the GUID is obtained only during authentication, not in the address,
|
|
|
|
|
we could still share the connection
|
|
|
|
|
|
2005-02-26 06:37:46 +00:00
|
|
|
- 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.
|
|
|
|
|
|
2005-02-21 04:09:40 +00:00
|
|
|
- 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
|
|
|
|
|
fixed, code size reduced.
|
|
|
|
|
|
2005-02-12 04:30:34 +00:00
|
|
|
- change .service files to allow Names=list in addition to Name=string
|
|
|
|
|
|
2005-01-18 20:42:15 +00:00
|
|
|
- The message bus internal code still says "service" for
|
|
|
|
|
"name", "base service" for "unique name", "activate" for
|
|
|
|
|
"start"; would be nice to clean up.
|
|
|
|
|
|
2003-03-18 23:22:12 +00:00
|
|
|
- Property list feature on message bus (list of properties associated
|
|
|
|
|
with a connection). May also include message matching rules
|
|
|
|
|
that involve the properties of the source or destination
|
|
|
|
|
connection.
|
|
|
|
|
|
2003-03-28 05:42:19 +00:00
|
|
|
- Disconnecting the remote end on invalid UTF-8 is probably not a good
|
2004-06-07 21:02:23 +00:00
|
|
|
idea. The definition of "valid" is slightly fuzzy. I think it might
|
2003-03-28 05:42:19 +00:00
|
|
|
be better to just silently "fix" the UTF-8, or perhaps return an error.
|
|
|
|
|
|
2003-05-03 23:07:19 +00:00
|
|
|
- build and install the Doxygen manual in Makefile when --enable-docs
|
2003-05-05 19:12:58 +00:00
|
|
|
|
|
|
|
|
- if you send the same message to multiple connections, the serial number
|
|
|
|
|
will only be right for one of them. Probably need to just write() the serial
|
|
|
|
|
number, rather than putting it in the DBusMessage, or something.
|
|
|
|
|
|
2003-05-17 17:53:17 +00:00
|
|
|
- perhaps the bus driver should have properties that reflect attributes
|
|
|
|
|
of the session, such as hostname, architecture, operating system,
|
|
|
|
|
etc. Could be useful for code that wants to special-case behavior
|
|
|
|
|
for a particular host or class of hosts, for example.
|
|
|
|
|
|
2003-05-16 20:09:25 +00:00
|
|
|
- currently the security policy stuff for messages to/from
|
|
|
|
|
the bus driver is kind of strange; basically it's hardcoded that
|
|
|
|
|
you can always talk to the driver, but the default config file
|
|
|
|
|
has rules for it anyway, or something. it's conceptually
|
|
|
|
|
screwy at the moment.
|
2003-05-17 17:53:17 +00:00
|
|
|
|
2003-08-30 00:26:00 +00:00
|
|
|
- when making a method call, if the call serial were globally unique,
|
|
|
|
|
we could forward the call serial along with any method calls made
|
|
|
|
|
as a result of the first method call, and allow reentrancy that was
|
|
|
|
|
strictly part of the call stack of said method call. But I don't
|
|
|
|
|
really see how to do this without making the user pass around the
|
|
|
|
|
call serial to all method calls all the time, or disallowing
|
|
|
|
|
async calls.
|
2003-08-31 01:51:44 +00:00
|
|
|
|
2004-06-07 21:02:23 +00:00
|
|
|
If done post 1.0 will probably be an optional/ugly-API type
|
|
|
|
|
of thing.
|
2003-09-01 18:02:06 +00:00
|
|
|
|
2003-09-17 03:52:07 +00:00
|
|
|
- I don't want to introduce DBusObject, but refcounting and object
|
|
|
|
|
data could still be factored out into an internal "base class"
|
|
|
|
|
perhaps.
|
2003-09-21 18:43:20 +00:00
|
|
|
|
2003-09-21 19:53:56 +00:00
|
|
|
- document the auth protocol as a set of states and transitions, and
|
|
|
|
|
then reimplement it in those terms
|
|
|
|
|
|
2003-10-21 05:46:52 +00:00
|
|
|
- recursive dispatch, see dbus_connection_dispatch()
|
|
|
|
|
|
2004-06-07 20:48:33 +00:00
|
|
|
- do we need per-display activation; if so I'd like to do this by setting a
|
|
|
|
|
"display ID" property on screen 0, with a GUID, and keying activation by
|
|
|
|
|
said GUID. Otherwise you get all kinds of unrobust
|
|
|
|
|
string/hostname-based mess. per-screen is then done by appending screen number
|
|
|
|
|
to the display. If displays have a deterministic ID like this, you can
|
|
|
|
|
do per-display by simply including GUID in the service name.
|
2004-06-01 13:58:57 +00:00
|
|
|
|
2004-06-07 21:02:23 +00:00
|
|
|
- optimization and profiling!
|
2005-07-08 16:41:57 +00:00
|
|
|
|
|
|
|
|
Should Be Post 1.0
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
- look into supporting the concept of a "connection" generically
|
|
|
|
|
|