From: Havoc Pennington Date: Wed, 23 Apr 2003 03:36:12 +0000 (+0000) Subject: 2003-04-20 Havoc Pennington X-Git-Tag: dbus-0.10~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da237031b3104ecdfe1f2df058179cda187fcbc8;p=platform%2Fupstream%2Fdbus.git 2003-04-20 Havoc Pennington * doc/dbus-specification.sgml: document the restrictions on message and service names --- diff --git a/ChangeLog b/ChangeLog index 5d86d0f..7a9ee36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-20 Havoc Pennington + + * doc/dbus-specification.sgml: document the restrictions on + message and service names + 2003-04-22 Havoc Pennington * dbus/dbus-message.c, dbus/dbus-marshal.c: add 64-bit integer diff --git a/doc/TODO b/doc/TODO index 2cd7e44..9e7b750 100644 --- a/doc/TODO +++ b/doc/TODO @@ -58,6 +58,3 @@ - if you send a message to a service then block for reply, and the service exits/crashes after the message bus has processed your message but before the service has replied, it would be nice if the message bus sent you an error reply. - - - We have a limit on the number of messages a connection can send, but - not on how many can be buffered for a given connection. diff --git a/doc/dbus-specification.sgml b/doc/dbus-specification.sgml index eda6c00..d510ca6 100644 --- a/doc/dbus-specification.sgml +++ b/doc/dbus-specification.sgml @@ -436,6 +436,25 @@ + + + Valid names + + Messages and services have names with type STRING, meaning that + they must be valid UTF-8. However, there are also some + additional restrictions that apply to message and service names + specifically: + + They must contain at least one '.' (period) character + They must not begin with a '.' (period) character + They must not exceed 256 bytes in length + They must be at least 1 byte in length + + As a special exception, base service names (those beginning with a colon (':') character) + need not contain a period. + + +