summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add a couple of notes about libdbus vs. bindingsHavoc Pennington2004-08-102-1/+11
|
* Added documentation for the --enable-python configure switchJohn (J5) Palmieri2004-08-032-0/+6
|
* * bus/config-parser.c (bus_config_parser_new): fix an invalid _unrefOlivier Andrieu2004-07-316-33/+43
| | | | | | | | | | | | | in the SELinux support. * doc/busconfig.dtd: update DTD for SELinux support. * bus/config-loader-libxml.c: fix error handler and parser initialisation/cleanup. OOM test now works with libxml2 HEAD. * configure.in: remove the warning about libxml2 * dbus/dbus-bus.c: silence doxygen warning.
* 2004-07-31 Colin Walters <walters@redhat.com>Colin Walters2004-07-312-1/+6
| | | | * configure.in: Move #error in SELinux check to its own line.
* * dbus/dbus-internals.h (_DBUS_SET_OOM):Olivier Andrieu2004-07-315-14/+28
| | | | | | | | * bus/utils.h (BUS_SET_OOM): use dbus_error_set_const instead of dbus_error_set. * bus/dispatch.c (check_send_exit_to_service): fix the test case, broken by the change in the _SET_OOM macros.
* 2004-07-31 Colin Walters <walters@redhat.com>Colin Walters2004-07-312-0/+6
| | | | | * bus/selinux.c <HAVE_SELINUX>: Include utils.h to get BUS_SET_OOM.
* 2004-07-31 Colin Walters <walters@redhat.com>Colin Walters2004-07-312-1/+12
| | | | | | * configure.in: Use AC_TRY_COMPILE instead of AC_EGREP_HEADER to correctly detect DBUS__ACQUIRE_SVC. Also add an AC_MSG_CHECKING.
* 2004-07-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-07-3024-26/+1266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SELinux support from Matthew Rickard <mjricka@epoch.ncsc.mil> * bus/selinux.c, bus/selinux.h: new file encapsulating selinux functionality * configure.in: add --enable-selinux * bus/policy.c (bus_policy_merge): add FIXME to a comment * bus/main.c (main): initialize and shut down selinux * bus/connection.c: store SELinux ID on each connection, to avoid repeated getting of the string context and converting it into an ID * bus/bus.c (bus_context_get_policy): new accessor, though it isn't used (bus_context_check_security_policy): check whether the security context of sender connection can send to the security context of recipient connection * bus/config-parser.c: add parsing for <selinux> and <associate> * dbus/dbus-transport.c (_dbus_transport_get_unix_fd): to implement dbus_connection_get_unix_fd() * dbus/dbus-connection.c (dbus_connection_get_unix_fd): new function, used by the selinux stuff
* * bus/config-loader-libxml.c: complete the implementation of libxmlOlivier Andrieu2004-07-299-114/+310
| | | | | | | | | | | | | | | | | | | | | | backend for config file loader. Doesn't work with full OOM test yet. * configure.in: change error when selecting libxml into a warning. * test/data/invalid-config-files: add two non-well-formed XML files. * glib/Makefile.am: libdbus_gtool always uses expat, not libxml. * dbus/dbus-transport-unix.c (unix_handle_watch): do not disconnect in case of DBUS_WATCH_HANGUP, several do_reading() may be necessary to read all the buffer. (bug #894) * bus/activation.c (bus_activation_activate_service): fix a potential assertion failure (bug #896). Small optimization in the case of auto-activation messages. * dbus/dbus-message.c (verify_test_message, _dbus_message_test): add test case for byte-through-vararg bug (#901). patch by Kimmo Hämäläinen.
* 2004-07-28 Anders Carlsson <andersca@gnome.org>Anders Carlsson2004-07-283-1/+23
| | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: Add dbus.init_gthreads (), allow emit_signal to pass arguments to the signal.
* 2004-07-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-07-252-0/+11
| | | | | * AUTHORS: add some people, not really comprehensively, let me know if I missed you
* 2004-07-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-07-253-0/+9
| | | | | | | * Makefile.am (DIST_SUBDIRS): add DIST_SUBDIRS, problem solved by Owen * test/Makefile.am (DIST_SUBDIRS): here also
* remove stray debugging lineOlivier Andrieu2004-07-221-1/+0
|
* 2004-07-22 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-07-227-17/+38
| | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-sysdeps.c (fill_user_info): fix inexistent label name, breaking build on Solaris, reported by Farhad Saberi on the ML. * dbus/dbus-message.c (dbus_message_append_args_valist): fix the va_arg invocation to account for integer promotion in the case of DBUS_TYPE_BYTE (unsigned char is promoted to int). (bug #901) * bus/services.c (bus_service_remove_owner): fix bug #902, use _dbus_list_get_first_link, not _dbus_list_get_first. * dbus/dbus-bus.c (dbus_bus_service_exists): plug a memory leak. * dbus/dbus-object-tree.c (free_subtree_recurse): always null handler functions so that the asserts in _dbus_object_subtree_unref do not fail. * dbus/dbus-transport-unix.c (do_reading): _dbus_transport_queue_messages return value is of type dbus_bool_t, not DBusDispatchStatus.
* 2004-07-19 David Zeuthen <david@fubar.dk>David Zeuthen2004-07-199-4/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-protocol.h: Add DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN * bus/dispatch.c: (check_get_connection_unix_user): Debug says GetProperty; but the method is called GetConnectionUnixUser (check_get_connection_unix_process_id): New function (bus_dispatch_test): Actually call check_get_connection_unix_user(); also call check_get_connection_unix_process_id() * bus/driver.c: (bus_driver_handle_get_connection_unix_process_id): New function, handles GetConnectionUnixProcessID on the org.freedesktop.DBus interface * dbus/dbus-auth.c: (handle_server_data_external_mech): Set pid from the credentials obtained from the socket * dbus/dbus-connection.c: (dbus_connection_get_unix_process_id): New function * dbus/dbus-connection.h: Add prototype for dbus_connection_get_unix_process_id * dbus/dbus-transport.c: (_dbus_transport_get_unix_process_id): New function * dbus/dbus-transport.h: Add prototype for _dbus_transport_get_unix_process_id
* * dbus/dbus-message.c: Message counter fix, patch by Christian Hammond ↵Olivier Andrieu2004-07-192-2/+6
| | | | <chipx86@gnupdate.org>
* 2004-07-18 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-184-12/+33
| | | | | | | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: * python/tests/test-client.py: Add dbus.ByteArray and dbus_bindings.ByteArray types so that byte streams can be passed back. Give jdahlin the heaps of credit that are so rightfully his.
* 2004-07-12 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-123-13/+31
| | | | | | | | | | | | | | * python/dbus.py: Add message argument to the default object_method_handler function. * python/dbus_bindings.pyx.in: Automatically return NIL when passed an empty list (we can't pass back a list since lists are typed and we don't have any idea what type the the client intended the list to be... :-( )
* 2004-07-10 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-112-8/+15
| | | | | | * python/examples/Makefile.am: Fix distcheck breakage caused by new examples.
* 2004-07-10 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-118-63/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | * python/dbus.py: Add "message" argument to service-side dbus.Object methods. This will break existing services written using the python bindings, but will allow extraction of all the message information (e.g. who its from). Add improved "object oriented" signal handling/emission. * python/examples/example-service.py: Nix this example. * python/examples/example-signal-emitter.py: * python/examples/example-signal-recipient.py: Two new examples that show how to emit and receive signals using the new APIs. * python/examples/example-signals.py: * python/examples/gconf-proxy-service.py: * python/examples/gconf-proxy-service2.py: Add "message" argument to service methods.
* 2004-07-06 Colin Walters <walters@redhat.com>Colin Walters2004-07-063-4/+8
| | | | | | | * doc/Makefile.am, qt/Makefile.am: mono/doc/Makefile.am: Allow 'make dist' without doc building of various sorts or QT support enabled.
* separate out glib binding itemsHavoc Pennington2004-07-031-0/+3
|
* add autogenerated dbus-glib-error-enum.hOlivier Andrieu2004-06-281-0/+1
|
* * bus/driver.c (bus_driver_handle_get_connection_unix_user)Olivier Andrieu2004-06-286-0/+350
| | | | | | | | * dbus/bus.c (dbus_bus_get_unix_user) * doc/dbus-specification.xml: implement GetConnectionUnixUser method of org.freedesktop.DBus interface. * bus/dispatch.c: test case
* * switched include directory from glib/ to dbus/John (J5) Palmieri2004-06-232-1/+6
| | | | since dbus-glib.h moved
* reverting, this was already doneOlivier Andrieu2004-06-221-8/+8
|
* 2004-06-22 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-06-222-7/+18
| | | | | * configure.in: prevent building the gcj stuff and libxml loader since they are broken.
* 2004-06-20 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-06-2047-415/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove glib-sharp from Libs flag.Owen Fraser-Green2004-06-102-1/+3
|
* Fixed typo for python/examples makeOwen Fraser-Green2004-06-102-1/+5
|
* Bumped required versions for monoOwen Fraser-Green2004-06-101-2/+2
|
* 2004-06-09 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-06-093-4/+7
| | | | | * bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for the reply value of the ServiceExists message.
* * Python bindings are updated to reflect C API changes which nowJohn (J5) Palmieri2004-06-082-32/+10
| | | | accept plain path strings instead of an array of path elements.
* 2004-06-07 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-06-072-70/+92
| | | | | * doc/TODO: remove auto-activation item since it's done; sort items by importance/milestone
* add item about per-display activationHavoc Pennington2004-06-071-10/+16
|
* some clarificationsHavoc Pennington2004-06-071-1/+2
|
* 2004-06-07 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-06-0712-117/+329
| | | | | | | | | | | | | | | | | | | * dbus/dbus-message-builder.c (_dbus_message_data_load): append random signature when using REQUIRED_FIELDS (this hack won't work in the long term) * dbus/dbus-message.c: change the signature to be a header field, instead of message->signature special-case string. Incremental step forward. Then we can fix up code to send the signature in the message, then fix up code to validate said signature, then fix up code to not put the typecodes inline, etc. (load_one_message): don't make up the signature after the fact (decode_header_data): require signature field for the known message types * dbus/dbus-marshal.c (_dbus_marshal_string_len): new * dbus/dbus-protocol.h: add DBUS_HEADER_FIELD_SIGNATURE
* Changes in-line with new object_path param changes. Also bumped required ↵Owen Fraser-Green2004-06-075-32/+31
| | | | mono version and use new -pkg flag.
* 2004-06-05 Olivier Andrieu <oliv__a@users.sourceforge.net>Olivier Andrieu2004-06-057-61/+125
| | | | | | | | | | | | | * 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-024-466/+747
| | | | | | | | | | * 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-0214-1057/+60
| | | | | | | | | | | | | * 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-012-84/+133
| | | | | | | | | | * 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.
* add a couple thoughts so I remember themHavoc Pennington2004-06-011-0/+11
|
* Update .cvsignore filesSeth Nickell2004-06-012-0/+8
|
* 2004-06-01 Seth Nickell <seth@gnome.org>Seth Nickell2004-06-013-26/+116
| | | | | | | | | | | | * 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-0110-59/+450
| | | | | | | | | | | | | | | | | | | * 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-013-14/+98
| | | | | | | | | * 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-307-41/+118
| | | | | | | | | | | | | | | | | | | | | | | | * 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-303-3/+12
| | | | | | | | | * 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-303-21/+55
| | | | | | | | | * 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 :-(