1. 10 Aug, 2004 2 commits
  2. 03 Aug, 2004 1 commit
  3. 31 Jul, 2004 5 commits
  4. 30 Jul, 2004 1 commit
    • Havoc Pennington's avatar
      2004-07-24 Havoc Pennington <hp@redhat.com> · 1e9b185b
      Havoc Pennington authored
      	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
      1e9b185b
  5. 29 Jul, 2004 1 commit
    • Olivier Andrieu's avatar
      * bus/config-loader-libxml.c: complete the implementation of libxml · 4076d31c
      Olivier Andrieu authored
      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.
      4076d31c
  6. 28 Jul, 2004 1 commit
  7. 25 Jul, 2004 2 commits
  8. 22 Jul, 2004 2 commits
    • Olivier Andrieu's avatar
      remove stray debugging line · 5e9fd251
      Olivier Andrieu authored
      5e9fd251
    • Olivier Andrieu's avatar
      2004-07-22 Olivier Andrieu <oliv__a@users.sourceforge.net> · 7eb304c5
      Olivier Andrieu authored
      	* 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.
      7eb304c5
  9. 19 Jul, 2004 2 commits
    • David Zeuthen's avatar
      2004-07-19 David Zeuthen <david@fubar.dk> · c9c0adce
      David Zeuthen authored
      	* 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
      c9c0adce
    • Olivier Andrieu's avatar
  10. 18 Jul, 2004 1 commit
    • Seth Nickell's avatar
      2004-07-18 Seth Nickell <seth@gnome.org> · 5d0ed9c7
      Seth Nickell authored
      	* 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.
      5d0ed9c7
  11. 12 Jul, 2004 1 commit
    • Seth Nickell's avatar
      2004-07-12 Seth Nickell <seth@gnome.org> · 5afe4265
      Seth Nickell authored
      	* 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... :-( )
      5afe4265
  12. 11 Jul, 2004 2 commits
    • Seth Nickell's avatar
      2004-07-10 Seth Nickell <seth@gnome.org> · dd4ff748
      Seth Nickell authored
      	* python/examples/Makefile.am:
      
      	Fix distcheck breakage caused by new examples.
      dd4ff748
    • Seth Nickell's avatar
      2004-07-10 Seth Nickell <seth@gnome.org> · 233f8d0e
      Seth Nickell authored
      	* 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.
      233f8d0e
  13. 06 Jul, 2004 1 commit
  14. 03 Jul, 2004 1 commit
  15. 28 Jun, 2004 2 commits
  16. 23 Jun, 2004 1 commit
  17. 22 Jun, 2004 2 commits
  18. 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
  19. 10 Jun, 2004 3 commits
  20. 09 Jun, 2004 1 commit
  21. 08 Jun, 2004 1 commit
  22. 07 Jun, 2004 5 commits
  23. 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