platform/upstream/dbus.git
20 years ago * python/examples/Makefile.am:
Seth Nickell [Fri, 28 May 2004 18:43:55 +0000 (18:43 +0000)]
* python/examples/Makefile.am:

Forget to add Makefile.am. Do not pass go.

20 years ago2004-05-28 Michael Meeks <michael@ximian.com>
Michael Meeks [Fri, 28 May 2004 13:10:36 +0000 (13:10 +0000)]
2004-05-28  Michael Meeks  <michael@ximian.com>

* 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.

20 years ago * configure.in:
Seth Nickell [Fri, 28 May 2004 02:52:23 +0000 (02:52 +0000)]
* configure.in:
* 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.

20 years ago2004-05-27 Seth Nickell <seth@gnome.org>
Seth Nickell [Fri, 28 May 2004 02:16:11 +0000 (02:16 +0000)]
2004-05-27  Seth Nickell  <seth@gnome.org>

* python/dbus.py:
* python/dbus_bindings.pyx.in:

Fix failure to notify that a signal was not handled,
resulted in hung functions.

20 years agomonitor all types of messages
Colin Walters [Tue, 25 May 2004 18:02:17 +0000 (18:02 +0000)]
monitor all types of messages

20 years agoAdded UnregisterObject method.
Owen Fraser-Green [Sun, 23 May 2004 21:33:14 +0000 (21:33 +0000)]
Added UnregisterObject method.

20 years ago Patch from Timo Teräs <ext-timo.teras@nokia.com> (#614):
Kristian Høgsberg [Sun, 23 May 2004 18:09:46 +0000 (18:09 +0000)]
    Patch from Timo Teräs <ext-timo.teras@nokia.com> (#614):

        * 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.

20 years ago2004-05-21 Olivier Andrieu <oliv__a@users.sourceforge.net>
Olivier Andrieu [Fri, 21 May 2004 09:05:20 +0000 (09:05 +0000)]
2004-05-21  Olivier Andrieu  <oliv__a@users.sourceforge.net>

* 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.

20 years ago * doc/TODO: Remove resolved items.
Kristian Høgsberg [Thu, 20 May 2004 19:47:36 +0000 (19:47 +0000)]
* doc/TODO: Remove resolved items.

* 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.

20 years ago Patch from Jon Trowbridge <trow@ximian.com>:
Kristian Høgsberg [Thu, 20 May 2004 18:45:16 +0000 (18:45 +0000)]
Patch from Jon Trowbridge <trow@ximian.com>:

  * 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.

20 years ago - Perhaps the auth protocol should be able to negotiate a protocol
Havoc Pennington [Thu, 20 May 2004 02:30:10 +0000 (02:30 +0000)]
 - Perhaps the auth protocol should be able to negotiate a protocol
   version to the least-common-denominator between client and server?
   Though in practice ever using this feature would be pretty tough,
   since protocol probably modifies the API. But we could have it there
   as a safety net.

20 years agoUpdated release instructions.
Owen Fraser-Green [Wed, 19 May 2004 21:12:55 +0000 (21:12 +0000)]
Updated release instructions.

20 years agoShhh...
Owen Fraser-Green [Tue, 18 May 2004 13:51:19 +0000 (13:51 +0000)]
Shhh...

20 years ago * dbus/dbus-auth.c (client_try_next_mechanism): Remove logic to
Kristian Høgsberg [Mon, 17 May 2004 23:34:55 +0000 (23:34 +0000)]
  * dbus/dbus-auth.c (client_try_next_mechanism): Remove logic to
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.

20 years ago2004-05-18 Kristian Høgsberg <krh@redhat.com>
Kristian Høgsberg [Mon, 17 May 2004 23:09:37 +0000 (23:09 +0000)]
2004-05-18  Kristian Høgsberg  <krh@redhat.com>

* 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().

20 years ago2004-05-17 Kristian Høgsberg <krh@redhat.com>
Kristian Høgsberg [Mon, 17 May 2004 22:19:04 +0000 (22:19 +0000)]
2004-05-17  Kristian Høgsberg  <krh@redhat.com>

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.

20 years ago2004-05-17 Olivier Andrieu <oliv__a@users.sourceforge.net>
Olivier Andrieu [Mon, 17 May 2004 09:43:24 +0000 (09:43 +0000)]
2004-05-17  Olivier Andrieu  <oliv__a@users.sourceforge.net>

* dbus/dbus-connection.c (check_for_reply_unlocked): plug a memory
leak.

20 years agoShhh...
Owen Fraser-Green [Sat, 15 May 2004 21:10:46 +0000 (21:10 +0000)]
Shhh...

20 years agoVarious mono related changes to facilitate GAC support.
Owen Fraser-Green [Sat, 15 May 2004 19:31:12 +0000 (19:31 +0000)]
Various mono related changes to facilitate GAC support.

20 years agoFixed another typo! Grrrr...
Owen Fraser-Green [Sat, 15 May 2004 13:24:00 +0000 (13:24 +0000)]
Fixed another typo! Grrrr...

20 years agoFixed typeo
Owen Fraser-Green [Sat, 15 May 2004 13:22:18 +0000 (13:22 +0000)]
Fixed typeo

20 years agoAdded mono documentation.
Owen Fraser-Green [Sat, 15 May 2004 11:44:44 +0000 (11:44 +0000)]
Added mono documentation.

20 years agoAdded documentation directory
Owen Fraser-Green [Sat, 15 May 2004 11:37:59 +0000 (11:37 +0000)]
Added documentation directory

20 years agocreate a process for committing patches that doesn't bottleneck on Havoc
Havoc Pennington [Tue, 11 May 2004 22:33:57 +0000 (22:33 +0000)]
create a process for committing patches that doesn't bottleneck on Havoc

20 years ago* updated the invalid test cases to include the
John (J5) Palmieri [Tue, 11 May 2004 18:31:34 +0000 (18:31 +0000)]
* updated the invalid test cases to include the
  missing PATH header field which is required
* updated the spec documentation to indicate that
  INTERFACE, MEMBER, and PATH are all required fields

20 years ago* Fixed python bindings by defining all need parameter and variable types
John (J5) Palmieri [Mon, 10 May 2004 18:16:29 +0000 (18:16 +0000)]
* Fixed python bindings by defining all need parameter and variable types

20 years agomention removing version number from daemon name
Havoc Pennington [Fri, 7 May 2004 22:45:15 +0000 (22:45 +0000)]
mention removing version number from daemon name

20 years agoModified version of the patch by Jeff Snyder jeff at caffeinated.me.uk
Zack Rusin [Tue, 4 May 2004 05:35:48 +0000 (05:35 +0000)]
Modified version of the patch by Jeff Snyder jeff at caffeinated.me.uk
Thanks

20 years agosmall compile fix
Harald Fernengel [Mon, 3 May 2004 17:08:00 +0000 (17:08 +0000)]
small compile fix

20 years agoRemoved test-dbus-sharp.exe from all target.
Owen Fraser-Green [Sun, 2 May 2004 16:15:52 +0000 (16:15 +0000)]
Removed test-dbus-sharp.exe from all target.

20 years agoHandle empty iterators properly!
Owen Fraser-Green [Sat, 1 May 2004 19:59:58 +0000 (19:59 +0000)]
Handle empty iterators properly!

20 years agoHandle empty iterators.
Owen Fraser-Green [Sat, 1 May 2004 19:56:27 +0000 (19:56 +0000)]
Handle empty iterators.

20 years agoThe Requires field didn't really work out.
Owen Fraser-Green [Fri, 30 Apr 2004 16:02:53 +0000 (16:02 +0000)]
The Requires field didn't really work out.

20 years agoModified dbus-sharp.pc to include Libs and Requires field
Owen Fraser-Green [Fri, 30 Apr 2004 13:44:32 +0000 (13:44 +0000)]
Modified dbus-sharp.pc to include Libs and Requires field

20 years agoCommitting Haralds stuff together with some of my backlog for connection.
Zack Rusin [Tue, 27 Apr 2004 05:35:01 +0000 (05:35 +0000)]
Committing Haralds stuff together with some of my backlog for connection.

20 years ago2004-04-25 Kristian Høgsberg <krh@redhat.com>
Kristian Høgsberg [Sun, 25 Apr 2004 15:50:23 +0000 (15:50 +0000)]
2004-04-25  Kristian Høgsberg  <krh@redhat.com>

* test/data/valid-messages/standard-*.message: Update message
test scripts to new header field names.

20 years ago* Fixed buffer overflow cause by not incrementing
John (J5) Palmieri [Fri, 23 Apr 2004 15:25:16 +0000 (15:25 +0000)]
* Fixed buffer overflow cause by not incrementing
the times_we_did_each_thing counter array to reflect
the number of random mutation functions we have.

20 years ago* rename HEADER_FIELD_SERVICE -> HEADER_FIELD_DESTINATION
John (J5) Palmieri [Thu, 22 Apr 2004 19:14:46 +0000 (19:14 +0000)]
* rename HEADER_FIELD_SERVICE -> HEADER_FIELD_DESTINATION
and HEADER_FIELD_SENDER_SERVICE -> HEADER_FIELD_SENDER
for both dbus-protocol.h and in the spec

20 years ago2004-04-21 Kristian Høgsberg <krh@redhat.com>
Kristian Høgsberg [Wed, 21 Apr 2004 22:13:07 +0000 (22:13 +0000)]
2004-04-21  Kristian Høgsberg  <krh@redhat.com>

* 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.

20 years ago* dbus/dbus-message.c (decode_header_data, decode_string_field):
Olivier Andrieu [Wed, 21 Apr 2004 21:29:07 +0000 (21:29 +0000)]
* dbus/dbus-message.c (decode_header_data, decode_string_field):
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.

20 years ago2004-04-19 Kristian Høgsberg <krh@redhat.com>
Kristian Høgsberg [Mon, 19 Apr 2004 22:09:55 +0000 (22:09 +0000)]
2004-04-19  Kristian Høgsberg  <krh@redhat.com>

* dbus/dbus-transport-unix.c (unix_do_iteration): Rewrite to use
_dbus_poll() instead of select().

20 years ago2004-04-15 Jon Trowbridge <trow@ximian.com>
Jon Trowbridge [Fri, 16 Apr 2004 15:01:25 +0000 (15:01 +0000)]
2004-04-15  Jon Trowbridge  <trow@ximian.com>

    * 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.

20 years ago2004-04-15 Olivier Andrieu <oliv__a@users.sourceforge.net>
Olivier Andrieu [Thu, 15 Apr 2004 22:08:05 +0000 (22:08 +0000)]
2004-04-15  Olivier Andrieu  <oliv__a@users.sourceforge.net>

* 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.

20 years ago2004-04-14 Olivier Andrieu <oliv__a@users.sourceforge.net>
Olivier Andrieu [Tue, 13 Apr 2004 22:29:50 +0000 (22:29 +0000)]
2004-04-14  Olivier Andrieu  <oliv__a@users.sourceforge.net>

* test/glib/test-dbus-glib.c (timed_exit): fail the test after
a few seconds.

20 years ago2004-04-13 Michael Meeks <michael@ximian.com>
Michael Meeks [Tue, 13 Apr 2004 11:47:17 +0000 (11:47 +0000)]
2004-04-13  Michael Meeks  <michael@ximian.com>

* glib/dbus-gobject.c (handle_introspect): split out
(introspect_properties): this.
(handle_introspect): implement this.

20 years ago2004-04-13 Michael Meeks <michael@ximian.com>
Michael Meeks [Tue, 13 Apr 2004 11:39:41 +0000 (11:39 +0000)]
2004-04-13  Michael Meeks  <michael@ximian.com>

* 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

20 years ago2004-04-12 Jon Trowbridge <trow@ximian.com>
Jon Trowbridge [Tue, 13 Apr 2004 01:37:57 +0000 (01:37 +0000)]
2004-04-12  Jon Trowbridge  <trow@ximian.com>

    * bus/config-parser.c (struct BusConfigParser): Added
    included_files field.
    (seen_include): Added.  Checks whether or not a file has already
    been included by any parent BusConfigParser.
    (bus_config_parser_new): Copy the parent's included_files.
    (include_file): Track which files have been included, and fail on
    circular inclusions.
    (process_test_valid_subdir): Changed printf to report if we are
    testing valid or invalid conf files.
    (all_are_equiv): Changed printf to be a bit clearer about
    what we are actually doing.
    (bus_config_parser_test): Test invalid configuration files.

20 years ago2004-04-09 Jon Trowbridge <trow@ximian.com>
Jon Trowbridge [Fri, 9 Apr 2004 19:50:29 +0000 (19:50 +0000)]
2004-04-09  Jon Trowbridge  <trow@ximian.com>

    * bus/config-parser.c (bus_config_parser_new): Added a 'parent'
    argument.  If non-null, the newly-constructed BusConfigParser will
    be initialized with the parent's BusLimits instead of the default
    values.
    (include_file): When including a config file, pass in
    the current parser as the parent and then copy the BusLimits
    from the included BusConfigParser pack to the current parser.
    (process_test_valid_subdir): Renamed from process_test_subdir.
    (process_test_equiv_subdir): Added.  Walks through a directory,
    descending into each subdirectory and loading the config files
    it finds there.  If any subdirectory contains two config files
    that don't produce identical BusConfigParser structs, fail.
    For now, the BusConfigParser's BusPolicies are not compared.
    (bus_config_parser_test): Call both process_test_valid_subdir and
    process_test_equiv_subdir.

    * bus/config-loader-libxml.c (bus_config_load): Take a parent
    argument and pass it along to the call to bus_config_parser_new.
    Also made a few small changes to allow this code to compile.

    * bus/config-loader-expat.c (bus_config_load): Take a parent
    argument and pass it along to the call to bus_config_parser_new.

    * bus/bus.c (bus_context_new): Load the config file
    with a NULL parent argument.

20 years agoMade proxy DLL names unique
Owen Fraser-Green [Sat, 3 Apr 2004 22:00:40 +0000 (22:00 +0000)]
Made proxy DLL names unique

20 years agohush
Michael Meeks [Mon, 29 Mar 2004 20:03:23 +0000 (20:03 +0000)]
hush

20 years ago2004-03-29 Michael Meeks <michael@ximian.com>
Michael Meeks [Mon, 29 Mar 2004 13:24:50 +0000 (13:24 +0000)]
2004-03-29  Michael Meeks  <michael@ximian.com>

* glib/dbus-gobject.c (set_object_property): split out /
re-work, use the property type, and not the message type(!)
(get_object_property): ditto.

        * glib/dbus-gvalue.c (dbus_gvalue_demarshal),
(dbus_gvalue_marshal): make this code re-usable, needed
for signals too, also on both proxy and server side.
Re-write for more efficiency / readability.

20 years ago2004-03-29 Michael Meeks <michael@ximian.com>
Michael Meeks [Mon, 29 Mar 2004 13:11:05 +0000 (13:11 +0000)]
2004-03-29  Michael Meeks  <michael@ximian.com>

* dbus/dbus-message.c
(dbus_message_new_error_printf): impl.

* dbus/dbus-connection.c
(dbus_connection_unregister_object_path): fix warning.

* configure.in: fix no-mono-installed situation.

20 years agohush.
Michael Meeks [Mon, 29 Mar 2004 12:50:45 +0000 (12:50 +0000)]
hush.

20 years ago2004-03-27 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sat, 27 Mar 2004 05:29:31 +0000 (05:29 +0000)]
2004-03-27  Havoc Pennington  <hp@redhat.com>

Patch from Timo Teräs:

* tools/dbus-send.c (main): if --print-reply, assume type is
method call; support boolean type args

* dbus/dbus-connection.c (dbus_connection_send_with_reply): fix a
bunch of memleak and logic bugs

20 years agoAdded signal support.
Owen Fraser-Green [Fri, 26 Mar 2004 15:25:59 +0000 (15:25 +0000)]
Added signal support.

20 years agoAdded support for enumerations with marshalling to/from their underlying system type...
Owen Fraser-Green [Thu, 25 Mar 2004 14:04:43 +0000 (14:04 +0000)]
Added support for enumerations with marshalling to/from their underlying system type (Byte, Int32, UInt32, Int64, UInt64)

20 years agoModified to support char type.
Owen Fraser-Green [Wed, 24 Mar 2004 17:02:08 +0000 (17:02 +0000)]
Modified to support char type.

20 years agoFixed bug preventing creating multiple proxy objects of the same type.
Owen Fraser-Green [Wed, 24 Mar 2004 14:42:41 +0000 (14:42 +0000)]
Fixed bug preventing creating multiple proxy objects of the same type.

20 years agoMade all DBusTypes take Service in the constructor because Array also needed it in...
Owen Fraser-Green [Wed, 24 Mar 2004 13:15:20 +0000 (13:15 +0000)]
Made all DBusTypes take Service in the constructor because Array also needed it in the case of an array of OBJECT_PATH objects.

20 years agoChanged Suits method to not look recursively for Interface attributes
Owen Fraser-Green [Wed, 24 Mar 2004 10:28:15 +0000 (10:28 +0000)]
Changed Suits method to not look recursively for Interface attributes

20 years agoAdded InterfaceProxy to Mono bindings to avoid having to generate a proxy for every...
Owen Fraser-Green [Tue, 23 Mar 2004 18:07:48 +0000 (18:07 +0000)]
Added InterfaceProxy to Mono bindings to avoid having to generate a proxy for every registered object. Also added object_path functions to dbus-message.

20 years agoAdded dbus-sharp.pc generation
Owen Fraser-Green [Tue, 23 Mar 2004 12:27:16 +0000 (12:27 +0000)]
Added dbus-sharp.pc generation

20 years agoFirst checkin of the Mono bindings.
Owen Fraser-Green [Tue, 23 Mar 2004 12:10:32 +0000 (12:10 +0000)]
First checkin of the Mono bindings.

20 years ago2004-03-21 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sun, 21 Mar 2004 16:26:56 +0000 (16:26 +0000)]
2004-03-21  Havoc Pennington  <hp@redhat.com>

* test/test-service.c (main): remove debug spew

20 years ago* dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty
Olivier Andrieu [Sun, 21 Mar 2004 13:42:23 +0000 (13:42 +0000)]
* dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty
arrays

* dbus/dbus-message.h, bus/dbus-message.c (dbus_message_iter_init)
(dbus_message_iter_init_array_iterator)
(dbus_message_iter_init_dict_iterator): return a dbus_bool_t to
indicate whether the iterator is empty

* dbus/dbus-pending-call.c, dbus/dbus-server.c: silence compiler
warnings

20 years ago2004-03-19 Havoc Pennington <hp@redhat.com> dbus-0.21
Havoc Pennington [Fri, 19 Mar 2004 22:36:31 +0000 (22:36 +0000)]
2004-03-19  Havoc Pennington  <hp@redhat.com>

* NEWS: 0.21 updates

* configure.in: 0.21

* doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED

* python/Makefile.am: change to avoid dist of dbus_bindings.c so
you don't need pyrex to make dist

* qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to
sources; run moc

20 years ago2004-03-18 Richard Hult <richard@imendio.com>
Richard Hult [Thu, 18 Mar 2004 11:10:59 +0000 (11:10 +0000)]
2004-03-18  Richard Hult  <richard@imendio.com>

* dbus/dbus-message.c (dbus_message_get_auto_activation)
(dbus_message_set_auto_activation): Add doxygen docs.

20 years ago2004-03-16 Richard Hult <richard@imendio.com>
Richard Hult [Tue, 16 Mar 2004 18:00:35 +0000 (18:00 +0000)]
2004-03-16  Richard Hult  <richard@imendio.com>

* bus/activation.c: (bus_activation_service_created),
(bus_activation_send_pending_auto_activation_messages),
(bus_activation_activate_service):
* bus/activation.h:
* bus/dispatch.c: (bus_dispatch),
(check_nonexistent_service_auto_activation),
(check_service_auto_activated),
(check_segfault_service_auto_activation),
(check_existent_service_auto_activation), (bus_dispatch_test):
* bus/driver.c: (bus_driver_handle_activate_service):
* bus/services.c: (bus_registry_acquire_service):
* dbus/dbus-message.c: (dbus_message_set_auto_activation),
(dbus_message_get_auto_activation):
* dbus/dbus-message.h:
* dbus/dbus-protocol.h: Implement auto-activation.

20 years ago2004-03-12 Olivier Andrieu <oliv__a@users.sourceforge.net>
Olivier Andrieu [Fri, 12 Mar 2004 14:18:35 +0000 (14:18 +0000)]
2004-03-12  Olivier Andrieu  <oliv__a@users.sourceforge.net>

* dbus/dbus-marshal.c (_dbus_marshal_get_arg_end_pos):
fix a bug with CUSTOM types.

* dbus/dbus-message.c (message_iter_test, _dbus_message_test): add
a unit test for this bug (used to fail).

20 years ago2004-03-12 Mikael Hallendal <micke@imendio.com>
Mikael Hallendal [Fri, 12 Mar 2004 14:15:14 +0000 (14:15 +0000)]
2004-03-12  Mikael Hallendal  <micke@imendio.com>

* bus/activation.c:
(babysitter_watch_callback): notify all pending activations waiting for
  the same exec that the activation failed.
(bus_activation_activate_service): shortcut the activation if we
  already waiting for the same executable to start up.

20 years ago2004-03-12 Mikael Hallendal <micke@imendio.com>
Mikael Hallendal [Fri, 12 Mar 2004 14:07:16 +0000 (14:07 +0000)]
2004-03-12  Mikael Hallendal  <micke@imendio.com>

* bus/activation.c:
- Added service file reloading.
  Each service files directory is kept in an hash table in
  BusActivation and each BusActivationEntry knows what .service-file it
  was read from. So when you try to activate a service the bus will
  check if it's been updated, removed or if new .service-files has
  been installed.
- Test code at the bottom for the service file reloading.
* bus/test-main.c: (main):
* bus/test.h:
- added service reloading test.
* dbus/dbus-sysdeps.c:
* dbus/dbus-sysdeps.h: (_dbus_delete_directory): Added.

20 years ago2004-03-08 Michael Meeks <michael@ximian.com>
Michael Meeks [Mon, 8 Mar 2004 10:59:20 +0000 (10:59 +0000)]
2004-03-08  Michael Meeks  <michael@ximian.com>

* dbus/dbus-connection.c (_dbus_connection_block_for_reply):
bail immediately if disconnected, to avoid busy loop.

20 years ago2004-03-08 Michael Meeks <michael@ximian.com>
Michael Meeks [Mon, 8 Mar 2004 10:29:16 +0000 (10:29 +0000)]
2004-03-08  Michael Meeks  <michael@ximian.com>

* dbus/dbus-message.c (dbus_message_iter_get_args_valist):
cleanup cut/paste/inefficiency.

20 years ago2004-03-01 David Zeuthen <david@fubar.dk>
David Zeuthen [Fri, 5 Mar 2004 14:05:33 +0000 (14:05 +0000)]
2004-03-01  David Zeuthen  <david@fubar.dk>

* dbus/dbus-string.c (_dbus_string_append_printf_valist): Fix a
bug where args were used twice. This bug resulted in a segfault
on a Debian/PPC system when starting the messagebus daemon. Include
dbus-sysdeps.h for DBUS_VA_COPY

* dbus/dbus-sysdeps.h: Define DBUS_VA_COPY if neccessary. From GLib

* configure.in: Check for va_copy; define DBUS_VA_COPY to the
appropriate va_copy implementation. From GLib

20 years ago2004-02-24 Joe Shaw <joe@ximian.com>
Joe Shaw [Tue, 24 Feb 2004 19:50:25 +0000 (19:50 +0000)]
2004-02-24  Joe Shaw  <joe@ximian.com>

* bus/services.c (bus_registry_acquire_service): We need to pass
in the service name to dbus_set_error() to prevent a crash.

20 years agothingies
Zack Rusin [Wed, 28 Jan 2004 03:33:44 +0000 (03:33 +0000)]
thingies

20 years agoSlightily modified patch from Alex (blarf). I'll have to rething the access
Zack Rusin [Mon, 26 Jan 2004 07:46:55 +0000 (07:46 +0000)]
Slightily modified patch from Alex (blarf). I'll have to rething the access
to dbus internals from the wrappers.

20 years ago2003-12-26 Anders Carlsson <andersca@gnome.org>
Anders Carlsson [Fri, 26 Dec 2003 21:41:22 +0000 (21:41 +0000)]
2003-12-26  Anders Carlsson  <andersca@gnome.org>

* AUTHORS: Reveal my True identity.

20 years ago2003-12-17 Mikael Hallendal <micke@imendio.com>
Mikael Hallendal [Wed, 17 Dec 2003 12:24:33 +0000 (12:24 +0000)]
2003-12-17  Mikael Hallendal  <micke@imendio.com>

* dbus/dbus-message.c: (dbus_message_append_args_valist):
- Added case for DBUS_TYPE_BYTE, patch from Johan Hedberg.

20 years ago2003-12-13 Mikael Hallendal <micke@imendio.com>
Mikael Hallendal [Sat, 13 Dec 2003 14:30:37 +0000 (14:30 +0000)]
2003-12-13  Mikael Hallendal  <micke@imendio.com>

* doc/TODO: Added not about better error check of configuration files.

20 years ago2003-12-02 Richard Hult <richard@imendio.com>
Richard Hult [Tue, 2 Dec 2003 10:44:22 +0000 (10:44 +0000)]
2003-12-02  Richard Hult  <richard@imendio.com>

* Update AFL version to 2.0 throughout the source files to reflect
the update that was done a while ago.

20 years ago2003-12-02 Richard Hult <richard@imendio.com>
Richard Hult [Tue, 2 Dec 2003 10:33:35 +0000 (10:33 +0000)]
2003-12-02  Richard Hult  <richard@imendio.com>

* dbus/dbus-message.c (dbus_message_iter_append_dict): Set
wrote_dict_key to FALSE on the iter that the dict is appended to,
just like when appending other types. Fixes a bug where a dict
couldn't be put inside a dict.
(dbus_message_iter_append_dict_key): Fix typo in warning message.
(message_iter_test, _dbus_message_test): Add test case for dict
inside dict.

20 years ago2003-12-01 David Zeuthen <david@fubar.dk>
David Zeuthen [Mon, 1 Dec 2003 20:49:53 +0000 (20:49 +0000)]
2003-12-01  David Zeuthen  <david@fubar.dk>

* python/dbus.py: Add the actual message when calling the reciever
of a signal such that parameters can be inspected. Add the method
remove_signal_receiver

20 years ago2003-11-26 Mikael Hallendal <micke@imendio.com>
Mikael Hallendal [Thu, 27 Nov 2003 01:25:50 +0000 (01:25 +0000)]
2003-11-26  Mikael Hallendal  <micke@imendio.com>

* bus/*.[ch]:
* dbus/*.[ch]:
* glib/*.[ch]: Made ref functions return the pointer

20 years agoAdding DBusServer wrapper. Switching some thingies, looking pretty and
Zack Rusin [Tue, 25 Nov 2003 15:30:03 +0000 (15:30 +0000)]
Adding DBusServer wrapper. Switching some thingies, looking pretty and
being cool... Anyway, we're done at a very basic level. I have to go back
to something else now, but i'll try to commit an example sometime soon.

20 years agoAs changelog says. Integration is pretty much there, so dbus should at least
Zack Rusin [Mon, 24 Nov 2003 19:11:55 +0000 (19:11 +0000)]
As changelog says. Integration is pretty much there, so dbus should at least
use Qt for timeouts and watches comfortably now.

20 years agoUpdating changelog.
Zack Rusin [Mon, 24 Nov 2003 05:58:01 +0000 (05:58 +0000)]
Updating changelog.
What sucks is the lack of automatic moc file creation in the configuration
system. Someone needs to copy over some of ours admin dir (and knowing life
that's probably going to be me).

20 years agoSeperating integration with D-BUS from Connection to the internal Integrator
Zack Rusin [Mon, 24 Nov 2003 05:21:12 +0000 (05:21 +0000)]
Seperating integration with D-BUS from Connection to the internal Integrator
class. I simply hated the interfaces in the public Connection when it
had to contain a bunch of friends and protected members that were never
really meant to be seen.

20 years ago"Zack, you're not updating ChangeLog"... Only because I chose not to and not
Zack Rusin [Sun, 23 Nov 2003 20:58:16 +0000 (20:58 +0000)]
"Zack, you're not updating ChangeLog"... Only because I chose not to and not
because i forgot.
It was a political statemant rising awerness of the fact that our ozone
layer is getting thiner. Glad you're with me on that one.

20 years agoCoding on dbus is like christmas. Just without christmas tree, presents, santa
Zack Rusin [Sun, 23 Nov 2003 20:41:23 +0000 (20:41 +0000)]
Coding on dbus is like christmas. Just without christmas tree, presents, santa
clause, shopping, food, cookies, carrols, eggs, bunnies, trick or treating,
smoking crack... I don't quite remember where I was going with this
but we're getting closer.

20 years ago1) switching d-pointer names to just Private
Zack Rusin [Sun, 23 Nov 2003 08:35:48 +0000 (08:35 +0000)]
1) switching d-pointer names to just Private
2) starting workin on the connection binding
3) trying to find clean socks,
committing the first two, the third one is hopeless

20 years agoHappy birthday to me, happy birthday to me... Well, it's not really
Zack Rusin [Sun, 23 Nov 2003 08:20:47 +0000 (08:20 +0000)]
Happy birthday to me, happy birthday to me... Well, it's not really
my birthday, but it will be in like 8 months and for such a huge celebration
I want to start preparing rather early.
The marshelling in Message is crap (not the good kind of crap either). I'm
not yet sure how we'll handle the transition from dcop but for now lets
at least make it sane api wise.

20 years agoMatch kde schematics
Zack Rusin [Sun, 23 Nov 2003 08:07:04 +0000 (08:07 +0000)]
Match kde schematics

20 years agothanksgiving break, lets start working on those bindings.
Zack Rusin [Sun, 23 Nov 2003 08:02:38 +0000 (08:02 +0000)]
thanksgiving break, lets start working on those bindings.

20 years ago2003-11-19 Havoc Pennington <hp@redhat.com> dbus-0.20
Havoc Pennington [Wed, 19 Nov 2003 21:51:09 +0000 (21:51 +0000)]
2003-11-19  Havoc Pennington  <hp@redhat.com>

* NEWS: update

        * configure.in: bump version to 0.20

* configure.in (have_qt): add yet another place to look for qt
(someone hand trolltech a .pc file...)

21 years ago2003-11-01 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sat, 1 Nov 2003 18:24:32 +0000 (18:24 +0000)]
2003-11-01  Havoc Pennington  <hp@redhat.com>

* doc/dbus-specification.xml: add state machine docs on the auth
protocol; just a first draft, I'm sure it's wrong.

21 years ago2003-10-28 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Wed, 29 Oct 2003 00:29:52 +0000 (00:29 +0000)]
2003-10-28  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-message.c (get_next_field): delete unused function

21 years ago2003-10-28 David Zeuthen <david@fubar.dk>
David Zeuthen [Wed, 29 Oct 2003 00:06:07 +0000 (00:06 +0000)]
2003-10-28  David Zeuthen  <david@fubar.dk>

        * python/dbus_bindings.pyx.in: add get_dict to handle dictionaries
        return types. Fixup TYPE_* to reflect changes in dbus/dbus-protocol.h

21 years ago2003-10-28 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Tue, 28 Oct 2003 23:51:24 +0000 (23:51 +0000)]
2003-10-28  Havoc Pennington  <hp@redhat.com>

* bus/expirelist.c (do_expiration_with_current_time): detect
failure of the expire_func due to OOM

* bus/connection.c (bus_pending_reply_expired): return FALSE on OOM

* bus/dispatch.c (check_send_exit_to_service): fix to handle the
NoReply error that's now created by the bus when the service exits

21 years ago2003-10-28 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Tue, 28 Oct 2003 22:53:36 +0000 (22:53 +0000)]
2003-10-28  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-message.c (_dbus_message_test): enable and fix the
tests for set_path, set_interface, set_member, etc.

* dbus/dbus-string.c (_dbus_string_insert_bytes): allow 0 bytes

* dbus/dbus-message.c (set_string_field): always just delete and
re-append the field; accept NULL for deletion
(re_align_fields_recurse): reimplement