summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes in-line with new object_path param changes. Also bumped required ↵Owen Fraser-Green2004-06-071-0/+12
| | | | mono version and use new -pkg flag.
* 2004-06-05 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-06-051-0/+13
| | | | | | | | | | | | | * 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.
* 2004-06-02 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-06-021-0/+10
| | | | | | | | | | * 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.
* 2004-06-02 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-06-021-0/+13
| | | | | | | | | | | | | * 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.
* 2004-06-01 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-06-011-0/+10
| | | | | | | | | | * 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.
* 2004-06-01 Seth Nickell <seth@gnome.org>Seth Nickell2004-06-011-1/+13
| | | | | | | | | | | | * 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.
* 2004-05-31 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-06-011-0/+19
| | | | | | | | | | | | | | | | | | | * 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...)
* * python/dbus_bindings.pyx.in:Seth Nickell2004-06-011-0/+10
| | | | | | | | | * python/tests/test-client.py: Test Suite: 1 Python Bindings: 0 (fix string array memory trashing bug... oops)
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-301-0/+9
| | | | | | | | | * 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).
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-301-0/+9
| | | | | | | | | * 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 :-(
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-301-0/+16
| | | | | | | | | | | | | | | | * 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.
* 2004-05-29 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-301-0/+15
| | | | | | | | | | | | | | | * 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.
* 2004-05-29 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-291-0/+11
| | | | | | | | | | | * 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.
* 2004-05-29 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-05-291-0/+21
| | | | | | | | | | | | | | | | | | | | | * 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
* 2004-05-28 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-05-281-0/+15
| | | | | | | | | | | | | | | * 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.
* * fix for TODO item:John (J5) Palmieri2004-05-281-0/+5
| | | | | - the varargs dbus_message_get_args() needs to support OBJECT_PATH and OBJECT_PATH_ARRAY
* * python/examples/Makefile.am:Seth Nickell2004-05-281-0/+6
| | | | Forget to add Makefile.am. Do not pass go.
* 2004-05-28 Michael Meeks <michael@ximian.com>Michael Meeks2004-05-281-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * configure.in:Seth Nickell2004-05-281-0/+12
| | | | | | | | | | | * 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.
* 2004-05-27 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-281-0/+8
| | | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: Fix failure to notify that a signal was not handled, resulted in hung functions.
* monitor all types of messagesColin Walters2004-05-251-0/+5
|
* Added UnregisterObject method.Owen Fraser-Green2004-05-231-0/+5
|
* Patch from Timo Teräs <ext-timo.teras@nokia.com> (#614):Kristian Høgsberg2004-05-231-0/+8
| | | | | | * dbus/dbus-message.c (dbus_message_iter_get_args_valist): Swap operands to && so we call dbus_message_iter_next () for the last argument also.
* 2004-05-21 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-05-211-0/+10
| | | | | | | | | | * dbus/dbus-object-tree.c (_dbus_object_tree_list_registered_unlock, lookup_subtree): return children even if the requested path isn't registered. (object_tree_test_iteration): test object_tree_list_registered. * configure.in: undefine HAVE_ABSTRACT_SOCKETS instead of defining it to 0.
* * doc/TODO: Remove resolved items.Kristian Høgsberg2004-05-201-0/+8
| | | | | | | | * bus/expirelist.h (struct BusExpireList): remove unused n_items field. * bus/connection.c (bus_connections_expect_reply): Enforce the per-connection limit on pending replies.
* Patch from Jon Trowbridge <trow@ximian.com>:Kristian Høgsberg2004-05-201-0/+15
| | | | | | | | | | | | | * bus/main.c (setup_reload_pipe): Added. Creates a pipe and sets up a watch that triggers a config reload when one end of the pipe becomes readable. (signal_handler): Instead of doing the config reload in our SIGHUP handler, just write to the reload pipe and let the associated watch handle the reload when control returns to the main loop. * bus/driver.c (bus_driver_handle_reload_config): Added. Implements a ReloadConfig method for requesting a configuration file reload via the bus driver.
* Updated release instructions.Owen Fraser-Green2004-05-191-0/+4
|
* * dbus/dbus-auth.c (client_try_next_mechanism): Remove logic toKristian Høgsberg2004-05-171-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | filter against auth->allowed_mechs; we only add allowed mechs in record_mechanisms(). * dbus/dbus-auth-script.c (_dbus_auth_script_run): Add an ALLOWED_MECHS to auth-script format so we can set the list of allowed mechanisms. * data/auth/client-out-of-mechanisms.auth-script: New test to check client disconnects when it is out of mechanisms to try. * dbus/dbus-auth.c (process_command): Remove check for lines longer that 1 MB; we only buffer up maximum 16 kB. * dbus/dbus-transport.c, dbus/dbus-transport-unix.c, dbus/dbus-auth-script.c, dbus/dbus-auth.c, dbus/dbus-auth.h: Remove auth state AUTHENTICATED_WITH_UNUSED_BYTES, instead always assume there might be unused bytes. * dbus/dbus-auth.c (_dbus_auth_do_work): Remove check for client-out-of-mechs, it is handled in process_reject(). Move check for max failures to send_rejected(), as it's a server-only thing.
* 2004-05-18 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-05-171-0/+6
| | | | | | * dbus/dbus-auth.c: Factor out protocol reply code into functions send_auth(), send_data(), send_rejected(), send_error(), send_ok(), send_begin() and send_cancel().
* 2004-05-17 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-05-171-0/+18
| | | | | | | | | | | | | | | | | | Remove base64 encoding, replace with hex encoding. Original patch from trow@ximian.com, added error handling. * dbus/dbus-string.c (_dbus_string_base64_encode) (_dbus_string_base64_decode): Remove. (_dbus_string_hex_decode): Add end_return argument so we can distinguish between OOM and invalid hex encoding. (_dbus_string_test): Remove base64 tests and add test case for invalid hex. * dbus/dbus-keyring.c, dbus/dbus-auth-script.c, dbus/dbus-auth.c: Replace base64 with hex. * test/data/auth/invalid-hex-encoding.auth-script: New test case for invalid hex encoded data in auth protocol.
* 2004-05-17 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-05-171-0/+5
| | | | | * dbus/dbus-connection.c (check_for_reply_unlocked): plug a memory leak.
* Various mono related changes to facilitate GAC support.Owen Fraser-Green2004-05-151-1/+12
|
* Added mono documentation.Owen Fraser-Green2004-05-151-0/+7
|
* * updated the invalid test cases to include theJohn (J5) Palmieri2004-05-111-0/+11
| | | | | | missing PATH header field which is required * updated the spec documentation to indicate that INTERFACE, MEMBER, and PATH are all required fields
* * Fixed python bindings by defining all need parameter and variable typesJohn (J5) Palmieri2004-05-101-0/+7
|
* Removed test-dbus-sharp.exe from all target.Owen Fraser-Green2004-05-021-0/+4
|
* Handle empty iterators.Owen Fraser-Green2004-05-011-0/+6
|
* Modified dbus-sharp.pc to include Libs and Requires fieldOwen Fraser-Green2004-04-301-0/+5
|
* 2004-04-25 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-251-5/+11
| | | | | * test/data/valid-messages/standard-*.message: Update message test scripts to new header field names.
* * Fixed buffer overflow cause by not incrementingJohn (J5) Palmieri2004-04-231-0/+7
| | | | | the times_we_did_each_thing counter array to reflect the number of random mutation functions we have.
* * rename HEADER_FIELD_SERVICE -> HEADER_FIELD_DESTINATIONJohn (J5) Palmieri2004-04-221-0/+19
| | | | | and HEADER_FIELD_SENDER_SERVICE -> HEADER_FIELD_SENDER for both dbus-protocol.h and in the spec
* 2004-04-21 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-211-0/+10
| | | | | | | | | | * dbus/dbus-server-unix.c (unix_finalize): Don't unref unix_server->watch here, it is unreffed in disconnect. (_dbus_server_new_for_tcp_socket): convert NULL host to "localhost" here so we don't append NULL to address. * dbus/dbus-server.c (_dbus_server_test): Add test case for various addresses, including tcp with no explicit host.
* * dbus/dbus-message.c (decode_header_data, decode_string_field):Olivier Andrieu2004-04-211-0/+13
| | | | | | | | | | | | fix incorrect setting of .name_offset in the HeaderField (it was off by two bytes, positioned right after the name and typecode) * bus/bus.c (bus_context_new, bus_context_unref): test before calling dbus_server_free_data_slot and _dbus_user_database_unref in case of an error. * tools/Makefile.am: add $(DBUS_GLIB_TOOL_LIBS), xml libs needed by libdbus-gtool.
* 2004-04-19 Kristian Høgsberg <krh@redhat.com>Kristian Høgsberg2004-04-191-0/+5
| | | | | * dbus/dbus-transport-unix.c (unix_do_iteration): Rewrite to use _dbus_poll() instead of select().
* 2004-04-15 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-04-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | * bus/main.c (signal_handler): Reload the configuration files on SIGHUP. (main): Set up our SIGHUP handler. * bus/bus.c (struct BusContext): Store the config file, user and fork flag in the BusContext. (process_config_first_time_only): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should only be run the first time the config files are read. (process_config_every_time): Added. Contains the code (previously in bus_context_new) for setting up the BusContext from the BusConfigParser that should be run every time the config files are read. (load_config): Added. Builds a BusConfigParser from the config files and passes the resulting structure off to process_config_first_time_only (assuming this is the first time) and process_config_every_time. (bus_context_new): All of the config-related code has been moved to process_config_first_time_only and process_config_every_time. Now this function just does the non-config-related initializations and calls load_config. (bus_context_reload_config): Added.
* 2004-04-15 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-04-151-0/+14
| | | | | | | | | | | | | | * bus/driver.c (bus_driver_handle_get_service_owner): implement a GetServiceOwner method. * doc/dbus-specification.xml: document it. * dbus/dbus-errors.h: add a 'ServiceHasNoOwner' error. * glib/dbus-gproxy.c (dbus_gproxy_new_for_service_owner): implement, using the bus GetServiceOwner method. * test/glib/test-dbus-glib.c: use dbus_gproxy_new_for_service_owner so that we can receive the signal.
* 2004-04-14 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-04-131-0/+5
| | | | | * test/glib/test-dbus-glib.c (timed_exit): fail the test after a few seconds.
* 2004-04-13 Michael Meeks <michael@ximian.com>Michael Meeks2004-04-131-0/+4
| | | | | | * glib/dbus-gobject.c (handle_introspect): split out (introspect_properties): this. (handle_introspect): implement this.
* 2004-04-13 Michael Meeks <michael@ximian.com>Michael Meeks2004-04-131-0/+14
| | | | | | | * test/glib/Makefile.am: use the absolute path so the bus daemon's chdir ("/") doesn't kill us dead. * configure.in: subst ABSOLUTE_TOP_BUILDDIR