diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-10-05 20:43:46 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-10-05 20:43:46 +0000 |
commit | 86b9f6ad4a6f466e24b5e4c1c320029041c50e3b (patch) | |
tree | 83aeb914e341f5e5b29b9a2ba3382caac251d26b /glib | |
parent | 66e1cb9e68ba37980f7a90c396950be1587cdcd7 (diff) | |
download | dbus-86b9f6ad4a6f466e24b5e4c1c320029041c50e3b.tar.gz |
* 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.
Diffstat (limited to 'glib')
-rw-r--r-- | glib/dbus-gvalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/dbus-gvalue.c b/glib/dbus-gvalue.c index ebde24b0..528f5033 100644 --- a/glib/dbus-gvalue.c +++ b/glib/dbus-gvalue.c @@ -1476,7 +1476,7 @@ marshal_variant (DBusMessageIter *iter, &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)) |