dbus/python
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
..
examples * ChangeLog: clean up my last entry a bit 2005-08-18 04:04:57 +00:00
tests 2004-07-18 Seth Nickell <seth@gnome.org> 2004-07-18 21:44:37 +00:00
.cvsignore Checking in Rodrigo's patch along with my fixes to the patch 2005-07-14 20:44:15 +00:00
__init__.py - update to next release version 2005-09-06 22:42:54 +00:00
_dbus.py - Merged changed from the DBUS_0_36_1 bugfix branch 2005-08-24 19:58:32 +00:00
_util.py * python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py. 2005-07-20 14:15:08 +00:00
dbus.pth * python/dbus.pth: New path file to fix up problems when installing 2005-08-18 20:57:28 +00:00
dbus_bindings.pxd.in * python/dbus_bindings.pyx.in: removed 2005-07-12 18:16:07 +00:00
dbus_bindings.pyx * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
dbus_glib_bindings.pyx * python/Makefile.am: Break on pyrexc errors instead of ignoring them 2005-09-01 01:22:06 +00:00
dbus_h_wrapper.h forgot to add files... 2003-09-30 02:40:49 +00:00
decorators.py * python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py. 2005-07-20 14:15:08 +00:00
exceptions.py * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
extract.py * python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py. 2005-07-20 14:15:08 +00:00
glib.py * python/Makefile.am: Break on pyrexc errors instead of ignoring them 2005-09-01 01:22:06 +00:00
Makefile.am * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
matchrules.py * ChangeLog: clean up my last entry a bit 2005-08-18 04:04:57 +00:00
proxies.py * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
service.py * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 2005-10-05 20:43:46 +00:00
types.py * python/__init__.py: Version updated (0, 43, 0) 2005-08-16 22:54:04 +00:00