dbus/test
John (J5) Palmieri 86b9f6ad4a * 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.
2005-10-05 20:43:46 +00:00
..
data 2005-09-11 Mark McLoughlin <mark@skynet.ie> 2005-09-11 10:02:47 +00:00
glib * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
python * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
qt ignore me 2005-09-30 15:21:44 +00:00
.cvsignore * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
break-loader.c 2005-01-15 Havoc Pennington <hp@redhat.com> 2005-01-15 07:15:38 +00:00
decode-gcov.c 2004-12-24 Havoc Pennington <hp@redhat.com> 2004-12-24 17:54:01 +00:00
Makefile.am adding an autotest and "dbus-ify" the build process and include scheme 2005-09-23 16:24:36 +00:00
shell-test.c Checking in Rodrigo's patch along with my fixes to the patch 2005-07-14 20:44:15 +00:00
spawn-test.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-exit.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-names.c * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
test-segfault.c 2003-06-15 Joe Shaw <joe@assbarn.com> 2003-06-15 10:45:07 +00:00
test-service.c * bus/dispatch.c, test/test-service.c: Add testcase 2005-07-15 15:21:43 +00:00
test-shell-service.c Checking in Rodrigo's patch along with my fixes to the patch 2005-07-14 20:44:15 +00:00
test-sleep-forever.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-utils.c 2003-04-18 Havoc Pennington <hp@pobox.com> 2003-04-18 04:18:57 +00:00
test-utils.h 2003-04-07 Havoc Pennington <hp@redhat.com> 2003-04-07 23:28:16 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00