dbus/doc dbus-specification.xml,1.31,1.32
Colin Walters
walters at freedesktop.org
Thu Feb 24 08:03:58 PST 2005
- Previous message: dbus ChangeLog,1.713,1.714
- Next message: dbus/dbus dbus-test.h, 1.31, 1.32 dbus-test.c, 1.41,
1.42 dbus-signature.h, NONE, 1.1 dbus-signature.c, NONE,
1.1 dbus-protocol.h, 1.40, 1.41 dbus-message.c, 1.164,
1.165 dbus-marshal-validate.c, 1.18,
1.19 dbus-marshal-recursive.h, 1.28,
1.29 dbus-marshal-recursive.c, 1.47,
1.48 dbus-marshal-recursive-util.c, 1.7,
1.8 dbus-marshal-basic.h, 1.19, 1.20 dbus-marshal-basic.c,
1.24, 1.25 Makefile.am, 1.66, 1.67
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/doc
In directory gabe:/tmp/cvs-serv1546/doc
Modified Files:
dbus-specification.xml
Log Message:
2005-02-24 Colin Walters <walters at verbum.org>
* dbus/dbus-signature.c: New file; implements various functions
related to type signatures. Includes an interator for parsing,
validation functions.
(dbus_type_is_basic): Moved here from
dbus-marshal-basic.c:_dbus_type_is_basic.
(dbus_type_is_container): Moved here from
dbus-marshal-basic.c:_dbus_type_is_container.
All callers of _dbus_type_is_container and _dbus_type_is_basic
updated, and include dbus-signature.h.
* dbus/dbus-signature.h: New file; prototypes for the above.
* dbus/Makefile.am (DBUS_LIB_SOURCES): Add dbus-signature.c,
dbus-signature.h.
* dbus/dbus-marshal-basic.c (map_type_char_to_type): New utility
function factored out of _dbus_first_type_in_signature.
(_dbus_first_type_in_signature_c_str): New function; returns first
type code for a type signature character.
* dbus/dbus-marshal-basic.h: Prototype _dbus_first_type_in_signature_c_str,
handle function moves.
* dbus/dbus-marshal-recursive.h: Export _dbus_type_signature_next.
* dbus/dbus-marshal-recursive.c (_dbus_type_signature_next): New
function; skips to next complete type in type signature.
Implemented using previous skip_one_complete_type. Now
skip_one_complete_type just delegates to
_dbus_type_signature_next.
* dbus/dbus-marshal-basic.c (_dbus_type_is_basic): Moved
to dbus-signature.c
(_dbus_type_is_container): Ditto.
* doc/dbus-specification.xml: Update introspection sample to
use real type signatures.
* dbus/dbus-test.h: Prototype signature test.
* dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): Run
signature tests.
* dbus/dbus-protocol.h (DBUS_ERROR_INVALID_SIGNATURE): New error.
Index: dbus-specification.xml
===================================================================
RCS file: /cvs/dbus/dbus/doc/dbus-specification.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- dbus-specification.xml 17 Feb 2005 21:19:49 -0000 1.31
+++ dbus-specification.xml 24 Feb 2005 16:03:56 -0000 1.32
@@ -2294,14 +2294,22 @@
<node name="/org/freedesktop/sample_object">
<interface name="org.freedesktop.SampleInterface">
<method name="Frobate">
- <arg name="foo" type="int32" direction="in"/>
- <arg name="bar" type="string" direction="out"/>
+ <arg name="foo" type="i" direction="in"/>
+ <arg name="bar" type="s" direction="out"/>
+ <arg name="baz" type="a{us}" direction="out"/>
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
</method>
+ <method name="Bazify">
+ <arg name="bar" type="(iiu)" direction="in"/>
+ <arg name="bar" type="v" direction="out"/>
+ </method>
+ <method name="Mogrify">
+ <arg name="bar" type="(iiav)" direction="in"/>
+ </method>
<signal name="Changed">
- <arg name="new_value" type="boolean"/>
+ <arg name="new_value" type="b"/>
</signal>
- <property name="Bar" type="byte" access="readwrite"/>
+ <property name="Bar" type="y" access="readwrite"/>
</interface>
<node name="child_of_sample_object"/>
<node name="another_child_of_sample_object"/>
@@ -2354,14 +2362,6 @@
</listitem>
<listitem>
<para>
- The current type="uint32" stuff is totally broken,
- instead we have to do full signatures.
- However, then this format will suck for human readability.
- So, some thinking to do here.
- </para>
- </listitem>
- <listitem>
- <para>
Multiple interfaces can of course be listed for
one <node>.
</para>
- Previous message: dbus ChangeLog,1.713,1.714
- Next message: dbus/dbus dbus-test.h, 1.31, 1.32 dbus-test.c, 1.41,
1.42 dbus-signature.h, NONE, 1.1 dbus-signature.c, NONE,
1.1 dbus-protocol.h, 1.40, 1.41 dbus-message.c, 1.164,
1.165 dbus-marshal-validate.c, 1.18,
1.19 dbus-marshal-recursive.h, 1.28,
1.29 dbus-marshal-recursive.c, 1.47,
1.48 dbus-marshal-recursive-util.c, 1.7,
1.8 dbus-marshal-basic.h, 1.19, 1.20 dbus-marshal-basic.c,
1.24, 1.25 Makefile.am, 1.66, 1.67
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list