dbus ChangeLog,1.902,1.903

John Palmieri johnp at freedesktop.org
Wed Oct 5 13:43:48 PDT 2005


Update of /cvs/dbus/dbus
In directory gabe:/tmp/cvs-serv16663

Modified Files:
	ChangeLog 
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: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.902
retrieving revision 1.903
diff -u -d -r1.902 -r1.903
--- ChangeLog	3 Oct 2005 19:55:55 -0000	1.902
+++ ChangeLog	5 Oct 2005 20:43:46 -0000	1.903
@@ -1,3 +1,49 @@
+2005-10-05  John (J5) Palmieri  <johnp at redhat.com>
+
+	* 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-03  John (J5) Palmieri  <johnp at redhat.com>
 
 	* bus/driver.c (bus_driver_handle_introspect): Add signals



More information about the dbus-commit mailing list