1. 03 Jul, 2004 1 commit
  2. 28 Jun, 2004 2 commits
  3. 23 Jun, 2004 1 commit
  4. 22 Jun, 2004 2 commits
  5. 20 Jun, 2004 1 commit
    • Havoc Pennington's avatar
      2004-06-20 Havoc Pennington <hp@redhat.com> · 961e6ca4
      Havoc Pennington authored
              * dbus/dbus-glib-error-enum.h: autogenerate the GError enum
      	codes from the dbus error names
      
              * glib/dbus-glib.h: move to subdir dbus/ since it's included
      	as dbus/dbus-glib.h and that breakage is now visible due to
      	including dbus/dbus-glib.h in dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: s/gproxy/g_proxy/
      
      	* dbus/dbus-shared.h: new header to hold stuff shared with
      	binding APIs
      
      	* dbus/dbus-protocol.h (DBUS_ERROR_*): move errors here rather
      	than dbus-errors.h
      
      	* glib/dbus-glib.h (dbus_set_g_error): move to
      	dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: remove dbus/dbus.h from here; change a bunch
      	of stuff to enable this
      
      	* dbus/dbus-glib-lowlevel.h: put dbus/dbus.h here
      
      	* a bunch of other changes with the same basic "separate glib
      	bindings from dbus.h" theme
      961e6ca4
  6. 10 Jun, 2004 3 commits
  7. 09 Jun, 2004 1 commit
  8. 08 Jun, 2004 1 commit
  9. 07 Jun, 2004 5 commits
  10. 05 Jun, 2004 1 commit
    • Olivier Andrieu's avatar
      2004-06-05 Olivier Andrieu <oliv__a@users.sourceforge.net> · 96f6740f
      Olivier Andrieu authored
      	* dbus/dbus-connection.h, dbus/dbus-connection.c: have object path
      	registration functions take the path argument as char* instead of
      	char**.
      
      	* dbus/dbus-marshal.h, dbus/dbus-marshal.c (_dbus_decompose_path):
      	split off the path decompostion part of
      	_dbus_demarshal_object_path. Some misc. fixes to silence compiler
      	warnings.
      
      	* glib/dbus-gobject.c, test/test-service.c: update accordingly.
      96f6740f
  11. 02 Jun, 2004 2 commits
    • Kristian Høgsberg's avatar
      2004-06-02 Kristian Høgsberg <krh@redhat.com> · 63de4681
      Kristian Høgsberg authored
      	* dbus/dbus-auth.c: Rewrite auth protocol handling to use a state
      	machine approach.  A state is implemented as a function that
      	handles incoming events as specified for that state.
      
      	* doc/dbus-specification.xml: Update auth protocol state machine
      	specification to match implementation.  Remove some leftover
      	base64 examples.
      63de4681
    • Kristian Høgsberg's avatar
      2004-06-02 Kristian Høgsberg <krh@redhat.com> · 54dcec2a
      Kristian Høgsberg authored
      	* glib/dbus-gproxy.c, glib/dbus-gmain.c, dbus/dbus-string.c,
      	dbus/dbus-object-tree.c, dbus/dbus-message.c: add comments to
      	quiet doxygen.
      
      	* Doxyfile.in: remove deprecated options.
      
      	* dbus/dbus-message-handler.c, dbus/dbus-message-handler.h,
      	glib/test-thread.h, glib/test-thread-client.c,
      	glib/test-thread-server.c, glib/test-profile.c,
      	glib/test-dbus-glib.c: remove these unused files.
      54dcec2a
  12. 01 Jun, 2004 6 commits
    • Olivier Andrieu's avatar
      2004-06-01 Olivier Andrieu <oliv__a@users.sourceforge.net> · 0ea8ec33
      Olivier Andrieu authored
      	* dbus/dbus-object-tree.c
      	(_dbus_object_tree_dispatch_and_unlock): fix dispatch for
      	non-fallback handlers (bug #684).
      	(_dbus_object_subtree_new): initialize invoke_as_fallback field.
      	(find_subtree_recurse): report wether the returned subtree is an
      	exact match or a "fallback" match higher up in the tree.
      	(object_tree_test_iteration): update test case.
      0ea8ec33
    • Havoc Pennington's avatar
      858cfd9e
    • Seth Nickell's avatar
      Update .cvsignore files · 241878cd
      Seth Nickell authored
      241878cd
    • Seth Nickell's avatar
      2004-06-01 Seth Nickell <seth@gnome.org> · 736f76ba
      Seth Nickell authored
      	* python/dbus_bindings.pyx.in:
      	* python/tests/test-client.py:
      
      	Round off basic type support. Add dicts (yay!), and
      	remaining array types.
      
      	Make MessageIter more general so it works for dicts too.
      
      	Mark all loop variables as C integers.
      736f76ba
    • Havoc Pennington's avatar
      2004-05-31 Havoc Pennington <hp@redhat.com> · e12863aa
      Havoc Pennington authored
      	* glib/dbus-gidl.c (method_info_add_arg): keep args sorted with
      	"in" before "out"
      
      	* glib/dbus-gobject.c (dbus_type_to_string): move to dbus-gutils.c
      
      	* glib/dbus-glib-tool.c (main): set up to have a --self-test
      	option that runs the tests, and start filling in some code
      	including for starters just dumping the interfaces to stdout
      
      	* glib/Makefile.am (INCLUDES): define DBUS_LOCALEDIR
      
      	* test/data/valid-introspection-files/lots-of-types.xml: test of
      	an example introspection file
      
      	* glib/dbus-gparser.c (parser_check_doctype): doctype should be
      	"node" (I think...)
      e12863aa
    • Seth Nickell's avatar
      * python/dbus_bindings.pyx.in: · 23e9d3d5
      Seth Nickell authored
      	* python/tests/test-client.py:
      
      	Test Suite: 1
      	Python Bindings: 0
      
      	(fix string array memory trashing bug... oops)
      23e9d3d5
  13. 30 May, 2004 5 commits
    • Seth Nickell's avatar
      2004-05-30 Seth Nickell <seth@gnome.org> · d027c993
      Seth Nickell authored
      	* python/dbus.py:
      
      	Add a nicer-but-less-flexible alternate API for handling
      	calls to virtual objects in dbus.ObjectTree.
      
      	Screw up the argument order to the dbus.Object constructor
      	for consistency with dbus.ObjectTree (and to make dbus_methods
      	optional for future extension)
      
      	* python/examples/Makefile.am:
      	* python/examples/gconf-proxy-service.py:
      	* python/examples/gconf-proxy-service2.py:
      
      	Alternate implementation of gconf-proxy-service using the
      	nicer dbus.ObjectTree API.
      
      	* python/examples/example-service.py:
      	* python/tests/test-server.py
      
      	Reverse the argument order to deal with dbus.Object constructor
      	changes.
      d027c993
    • Seth Nickell's avatar
      2004-05-30 Seth Nickell <seth@gnome.org> · 7dc64ab6
      Seth Nickell authored
      	* python/examples/example-client.py:
      	* python/examples/example-service.py:
      
      	Take it back. Lists seem to work but they're broken
      	in the test suite. Make the base examples use
      	lists (works fine).
      7dc64ab6
    • Seth Nickell's avatar
      2004-05-30 Seth Nickell <seth@gnome.org> · 8a10d91c
      Seth Nickell authored
      	* python/dbus_bindings.pyx.in:
      	* python/tests/test-client.py:
      
      	Add some more tests and fix errors that crop up.
      	Unfortunately, currently it seems like marshalling
      	and unmarshalling of lists is completely broken :-(
      8a10d91c
    • Seth Nickell's avatar
      2004-05-30 Seth Nickell <seth@gnome.org> · 26c937cb
      Seth Nickell authored
      	* python/dbus_bindings.pyx.in:
      
      	Add support for ObjectPath type.
      
      	* python/dbus.py:
      
      	Refactor message handling code to a common function.
      
      	* python/tests/test-client.py:
      	* python/tests/test-server.py:
      
      	Add tests that check to make sure values of all types
      	can be echoed from a service w/o mangling.
      26c937cb
    • Seth Nickell's avatar
      2004-05-29 Seth Nickell <seth@gnome.org> · 2e8a06bb
      Seth Nickell authored
      	* python/dbus.py:
      
      	Add ObjectTree class which allows implementation
      	of trees of "virtual" objects. Basically the python
      	wrapper for "register_fallback".
      
      	* python/examples/Makefile.am
      	* python/examples/gconf-proxy-client.py:
      	* python/examples/gconf-proxy-service.py:
      
      	Implement a simple GConf proxy service that supports
      	get/set on string and int GConf keys using the ObjectTree.
      2e8a06bb
  14. 29 May, 2004 2 commits
    • Seth Nickell's avatar
      2004-05-29 Seth Nickell <seth@gnome.org> · 5d6113aa
      Seth Nickell authored
      	* python/dbus.py:
      	* python/examples/example-client.py:
      	* python/examples/example-service.py:
      	* python/examples/list-system-services.py:
      
      	Add SessionBus, SystemBus and ActivationBus classes
      	so you don't need to know the special little BUS_TYPE
      	flag.
      5d6113aa
    • Havoc Pennington's avatar
      2004-05-29 Havoc Pennington <hp@redhat.com> · 7c77664c
      Havoc Pennington authored
      	* bus/config-parser.c (process_test_valid_subdir): temporarily
      	stop testing config parser OOM handling, since expat has issues
      	http://freedesktop.org/pipermail/dbus/2004-May/001153.html
      
      	* bus/dbus-daemon-1.1.in: change requested_reply to
      	send_requested_reply/receive_requested_reply so we can send the
      	replies, not just receive them.
      
      	* bus/config-parser.c: parse the new
      	send_requested_reply/receive_requested_reply
      
      	* bus/policy.c (bus_client_policy_check_can_send): add
      	requested_reply argument and use it
      
      	* bus/bus.c (bus_context_check_security_policy): pass through
      	requested_reply status to message send check
      
      	* bus/system.conf.in: adapt to requested_reply change
      7c77664c
  15. 28 May, 2004 6 commits
    • Havoc Pennington's avatar
      2004-05-28 Havoc Pennington <hp@redhat.com> · fbae5baa
      Havoc Pennington authored
      	* test/glib/test-service-glib.c (main): remove unused variable
      
      	* glib/dbus-gidl.c (base_info_ref): fix a silly compiler warning
      
      	* dbus/dbus-auth.h (enum): remove AUTHENTICATED_WITH_UNUSED_BYTES
      	from the enum, no longer in use.
      
      	* dbus/dbus-sysdeps.h: include config.h so DBUS_VA_COPY actually
      	works right.
      
      	* dbus/dbus-message.c: add various _dbus_return_val_if_fail for
      	whether error_name passed in is a valid error name.
      fbae5baa
    • John Palmieri's avatar
      * fix for TODO item: · 1041b44d
      John Palmieri authored
       - the varargs dbus_message_get_args() needs to support OBJECT_PATH
         and OBJECT_PATH_ARRAY
      1041b44d
    • Seth Nickell's avatar
      · 841bf8a0
      Seth Nickell authored
      	* python/examples/Makefile.am:
      
      	Forget to add Makefile.am. Do not pass go.
      841bf8a0
    • Michael Meeks's avatar
      2004-05-28 Michael Meeks <michael@ximian.com> · 0123e6a9
      Michael Meeks authored
      	* glib/dbus-gvalue.c (dbus_gvalue_marshal, dbus_gvalue_demarshal):
      	fix no int64 case.
      
      	* dbus/dbus-string.c (_dbus_string_parse_basic_type): impl.
      
      	* dbus/dbus-message.c (_dbus_message_iter_get_basic_type),
      	(_dbus_message_iter_get_basic_type_array): impl.
      	drastically simplify ~all relevant _get methods to use these.
      	(_dbus_message_iter_append_basic_array),
      	(dbus_message_iter_append_basic): impl
      	drastically simplify ~all relevant _append methods to use these.
      
      	* dbus/dbus-message-builder.c (parse_basic_type)
      	(parse_basic_array, lookup_basic_type): impl.
      	(_dbus_message_data_load): prune scads of duplicate /
      	cut & paste coding.
      
      	* dbus/dbus-marshal.c (_dbus_demarshal_basic_type_array)
      	(_dbus_demarshal_basic_type): implement,
      	(demarshal_and_validate_len/arg): beef up debug.
      	(_dbus_marshal_basic_type, _dbus_marshal_basic_type_array): impl.
      0123e6a9
    • Seth Nickell's avatar
      * configure.in: · f33553ea
      Seth Nickell authored
      	* python/Makefile.am:
      
      	Include the example python apps in the tarball.
      
      	* python/examples/list-system-services.py
      
      	Add a python new example that fetches the list of services
      	from the system bus.
      f33553ea
    • Seth Nickell's avatar
      2004-05-27 Seth Nickell <seth@gnome.org> · 9e262d56
      Seth Nickell authored
      	* python/dbus.py:
      	* python/dbus_bindings.pyx.in:
      
      	Fix failure to notify that a signal was not handled,
      	resulted in hung functions.
      9e262d56
  16. 25 May, 2004 1 commit