summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2004-09-16 David Zeuthen <david@fubar.dk>David Zeuthen2004-09-162-1/+69
| | | | * python/dbus_bindings.pyx.in: Add support for int64 and uint64
* 2004-09-12 David Zeuthen <david@fubar.dk>David Zeuthen2004-09-124-11/+31
| | | | | | | | | | | Patch from Kay Sievers <kay.sievers@vrfy.org> * bus/bus.c (bus_context_new): * bus/bus.h: * bus/main.c (usage) (main): Add commandline option --nofork to override configuration file setting.
* remove the ; after DBUS_(BEGIN|END)_DECLS (bug #974)Olivier Andrieu2004-09-0937-72/+77
|
* changelogHarald Fernengel2004-09-041-0/+6
|
* patch by Jérôme Lodewyck <lodewyck@clipper.ens.fr> to enable integrationHarald Fernengel2004-09-043-2/+15
| | | | of an existing connection into the Qt main loop
* 2004-08-30 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-08-317-0/+114
| | | | | | | | | | | | | | | | | | | * mono/BusDriver.cs: Added. This is a class for interacting with the org.freedesktop.DBus service. * mono/Message.cs: Added a mechanism to expose the message that is currently being dispatched via the static Message.Current property. Added Message.Sender and Message.Destination properties. * mono/Handler.cs: Expose the dispatched message via Message.Current when handling method calls. * mono/Service.cs: Expose the dispatched message via Message.Current when handling signal emissions. * mono/Connection.cs: Bind dbus_bus_get_base_service via the Connection.BaseService property.
* Mapped CRLF -> LF for consistency.Jon Trowbridge2004-08-291-1/+8
|
* 2004-08-28 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-294-4/+18
| | | | | | | | | | | | * dbus/dbus-userdb.c (_dbus_is_console_user): remove unused variable More fixes from Steve Grubb * dbus/dbus-sysdeps.c (_dbus_connect_tcp_socket): fix fd leak (_dbus_listen_tcp_socket): fix fd leak * dbus/dbus-spawn.c (read_pid, read_ints): move the "again:" for EINTR to a bit lower in the code
* 2004-08-26 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-08-262-4/+19
| | | | | | * bus/driver.c (bus_driver_handle_service_exists): Respond with TRUE if we are inquiring about the existence of the built-in org.freedesktop.DBus service.
* Console user security policyJohn (J5) Palmieri2004-08-258-21/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bus/config-parser.c: (struct PolicyType): Add POLICY_CONSOLE (struct Element.d.policy): s/gid_or_uid/gid_uid_or_at_console (start_busconfig_child): Sets up console element when <policy at_console=""> is encountered in a policy file (append_rule_from_element): Convert console elements to console rules. * bus/policy.c: (bus_policy_create_client_policy): Add console rules to the client policy based on if the client is at the console (bus_policy_append_console_rule): New function for adding a console rule to a policy (bus_policy_merge): Handle console rule merging * dbus/dbus-sysdeps.h: Added the DBUS_CONSOLE_DIR constant where we check for console user files * dbus/dbus-sysdeps.c: (_dbus_file_exists): New function which checks if the given file exists (_dbus_user_at_console): New function which does the system specific process of checking if the user is at the console * dbus/dbus-userdb.c: (_dbus_is_console_user): New function converts a UID to user name and then calls the system specific _dbus_user_at_console to see if the user is at the console and therefor a console user
* * bus/config-parser.c (set_limit):Olivier Andrieu2004-08-256-4/+23
| | | | | | | | | | * bus/dbus-daemon-1.1.in: * test/data/valid-config-files/many-rules.conf: set the max_match_rules_per_connection limt from the config file. * doc/busconfig.dtd: update the DTD. * bus/driver.c: remove some unused variables.
* 2004-08-24 Mikael Hallendal <micke@imendio.com>Mikael Hallendal2004-08-242-2/+5
| | | | | * dbus/dbus-glib-lowlevel.h: Removed dbus_bus_get_with_g_main since it's been replaced by dbus_g_bus_get
* *** empty log message ***Colin Walters2004-08-231-2/+0
|
* *** empty log message ***Colin Walters2004-08-231-0/+2
|
* 2004-08-23 Colin Walters <walters@redhat.com>Colin Walters2004-08-236-35/+258
| | | | | | | | | | | | | | | | | | | | | | | | | * bus/selinux.h: Prototype bus_selinux_get_policy_root. * bus/selinux.c: Create a thread for policy reload notification. (bus_selinux_get_policy_root): Implement. Updated SELinux support from Matthew Rickard <mjricka@epoch.ncsc.mil> * bus/config-parser.c (start_busconfig_child) (bus_config_parser_content): Support SELinux-root relative inclusion. * configure.in <HAVE_SELINUX>: Add -lpthread. * bus/test-main.c (test_pre_hook, test_post_hook): New. (test_post_hook): Move memory checking into here. (test_pre_hook, test_post_hook): Move SELinux checks in here, but conditional on a DBUS_TEST_SELINUX environment variable. Unfortunately we can't run the SELinux checks as a normal user, since they won't have any permissions for /selinux. So this will have to be tested manually for now, until we have virtualization for most of libselinux.
* might be nice if my patches compiled...Havoc Pennington2004-08-231-2/+2
|
* 2004-08-23 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-232-0/+15
| | | | | * dbus/dbus-sysdeps.c (_dbus_change_identity): add setgroups() to drop supplementary groups, suggested by Steve Grubb
* 2004-08-20 Colin Walters <walters@redhat.com>Colin Walters2004-08-203-4/+9
| | | | | | | | * bus/config-parser.c (start_busconfig_child): Remove some unused variables. * bus/selinux.c (bus_selinux_id_table_insert): Avoid compiler warning.
* 2004-08-17 Joe Shaw <joeshaw@novell.com>Joe Shaw2004-08-173-19/+33
| | | | | | | | * configure.in: If --enable-mono is passed in, if we can't find mono error out. * mono/Makefile.am: Use /gacutil to install assemblies into the GAC and not /root.
* fix address to mail about releaseHavoc Pennington2004-08-121-1/+1
|
* 2004-08-12 Havoc Pennington <hp@redhat.com>dbus-0.22Havoc Pennington2004-08-123-1/+33
| | | | | | * NEWS: update for 0.22 * configure.in: release 0.22
* 2004-08-11 Colin Walters <walters@redhat.com>Colin Walters2004-08-112-2/+14
| | | | | * tools/dbus-send.c (main, usage): Add --reply-timeout argument.
* * bus/bus.c (process_config_first_time_only): get rid of an unusedOlivier Andrieu2004-08-105-7/+18
| | | | | | | | | DBusError that was causing a memoy leak (bug #989). * dbus/dbus-keyring.c, dbus/dbus-message.c: fix compilation on Solaris/Forte C (bug #974) * bus/main.c (main): plug two minuscule memleaks.
* 2004-08-10 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-102-7/+149
| | | | * doc/dbus-tutorial.xml: add some more info on GLib bindings
* 2004-08-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-10145-214/+219
| | | | | * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
* 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