dbus/glib dbus-gvalue.c,1.21,1.22
John Palmieri
johnp at freedesktop.org
Wed Oct 5 13:43:48 PDT 2005
- Previous message: dbus/dbus dbus-marshal-validate-util.c,1.4,1.5
- Next message: dbus/python Makefile.am, 1.20, 1.21 dbus_bindings.pyx, 1.8,
1.9 exceptions.py, 1.2, 1.3 proxies.py, 1.8, 1.9 service.py,
1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv16663/glib
Modified Files:
dbus-gvalue.c
Log Message:
* glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal
instead of marshal basic so we can handle recursive types in a variant
* test/glib/test-dbus-glib.c: Add test for marshaling recurive types
in variants
* test/glib/test-service-glib.c, test-service-glib.xml
(my_object_echo_variant [EchoVariant],
my_object_process_variant_of_array_of_ints123
[ProcessVariantOfArrayOfInts123]):
Add two test methods
* python/introspect_parser.py: New module for parsing introspect
data.
* python/dbus_bindings.pyx:
(various places): when throwing errors fix to use errormsg instead
of message local variable because Pyrex can get confused with other
message variables (initial patch by Robert McQueen
<robert.mcqueen at collabora.co.uk>)
(MessageIter::parse_signature_block): new method for getting the next
block in a signiture.
(MessageIter::append_strict): new method for appending values strictly
using the passed in signature instead of guessing at the type
(MessageItter:: append_dict, append_struct, append_array): use
signatures to marshal children if the signature is available
* python/exceptions.py (IntrospectionParserException): new exception
* python/proxies.py (ProxyMethod::__call__): Marshal args with
introspected signatures if available, else we fall back to the
old way of doing things.
(ProxyObject::_introspect_reply_handler ): parse introspection data
* python/service.py (ObjectType::_reflect_on_method): Properly
terminate <method> if there are no args in the reflection data
* test/python/test-client.py: add tests for talking with the GLib
test server. This gives us better coverage for introspection since
python to python will always generate arguments as variants. It also
allows us to test the robustness of the GLib bindings and interlanguage
communications.
Index: dbus-gvalue.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gvalue.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- dbus-gvalue.c 4 Aug 2005 15:49:30 -0000 1.21
+++ dbus-gvalue.c 5 Oct 2005 20:43:46 -0000 1.22
@@ -1476,7 +1476,7 @@
&subiter))
goto out;
- if (!marshal_basic (&subiter, real_value))
+ if (!_dbus_gvalue_marshal (&subiter, real_value))
goto out;
if (!dbus_message_iter_close_container (iter, &subiter))
- Previous message: dbus/dbus dbus-marshal-validate-util.c,1.4,1.5
- Next message: dbus/python Makefile.am, 1.20, 1.21 dbus_bindings.pyx, 1.8,
1.9 exceptions.py, 1.2, 1.3 proxies.py, 1.8, 1.9 service.py,
1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list