summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO5
-rw-r--r--doc/dbus-specification.xml12
2 files changed, 7 insertions, 10 deletions
diff --git a/doc/TODO b/doc/TODO
index b64409a0..642d97d3 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -27,15 +27,10 @@ Important for 1.0
yourself; is it an error, or allowed? If allowed,
we need to have a test for it in the test suite.
- - add string array support back to append_args()
-
- validate dict entry number of fields
- just before 1.0, try a HAVE_INT64=0 build and be sure it runs
- - the spec and implementation should probably require dict keys
- to be basic types
-
- in dbus-keyring.c, enforce that the keyring dir is not
world readable/writable
diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml
index ad78f0a0..75ffeea7 100644
--- a/doc/dbus-specification.xml
+++ b/doc/dbus-specification.xml
@@ -274,11 +274,13 @@
<para>
A <literal>DICT_ENTRY</literal> works exactly like a struct, but rather
than parentheses it uses curly braces, and it has more restrictions.
- The restrictions are: it occurs only as an array element type; and it
- has exactly two single complete types inside the curly
- braces. Implementations must not accept dict entries outside of arrays,
- and must not accept dict entries with zero, one, or more than two
- fields. A dict entry is always a key-value pair.
+ The restrictions are: it occurs only as an array element type; it has
+ exactly two single complete types inside the curly braces; the first
+ single complete type (the "key") must be a basic type rather than a
+ container type. Implementations must not accept dict entries outside of
+ arrays, must not accept dict entries with zero, one, or more than two
+ fields, and must not accept dict entries with non-basic-typed keys. A
+ dict entry is always a key-value pair.
</para>
<para>