1. 15 Jun, 2007 4 commits
    • Ralf Habacker's avatar
      * cmake/ConfigureChecks.cmake,cmake/config.h.cmake: added check for HAVE_ERRNO_H · d9b9b455
      Ralf Habacker authored
      * cmake/dbus/CMakeLists.txt: added missing files
      * dbus/dbus-transport-win.c/.h: new files
      * dbus/dbus-sysdeps-win.c,.h: added required _unix functions to make dbus compilable on win32
      * dbus/dbus-sysdeps-win-utils.c,.h: moved some functions to dbus-sysdeps-win.c
      * dbus-win.patch: removed applied or obsolate patches
      Note: dbus-win32 is now compilable, no guarantee that it runs without any problems
    • Havoc Pennington's avatar
      2007-06-15 Havoc Pennington <hp@redhat.com> · b62633b9
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-unix.c (_dbus_append_session_config_file)
      	(_dbus_append_system_config_file): new functions
      	* bus/main.c (main): use _dbus_append_system_config_file() and
      	* dbus/Makefile.am (INCLUDES): move DBUS_SYSTEM_CONFIG_FILE and
      	DBUS_SESSION_CONFIG_FILE into this makefile
    • Havoc Pennington's avatar
      2007-06-15 Havoc Pennington <hp@redhat.com> · 43b944a0
      Havoc Pennington authored
      	* dbus/dbus-sysdeps.c (_dbus_set_errno_to_zero)
      	(_dbus_get_is_errno_nonzero, _dbus_get_is_errno_eintr)
      	(_dbus_strerror_from_errno): family of functions to abstract
      	errno, though these are somewhat bogus (really we should make our
      	socket wrappers not use errno probably - the issue is that any
      	usage of errno that isn't socket-related probably is not
      	cross-platform, so should either be in a unix-only file that can
      	use errno directly, or is a bug - these general errno wrappers
      	hide issues of this nature in non-socket code, while
      	socket-specific API changes would not since sockets are allowed
    • Ralf Habacker's avatar
      - minor spelling fix · 283b1c6f
      Ralf Habacker authored
  2. 14 Jun, 2007 11 commits
  3. 13 Jun, 2007 3 commits
    • Havoc Pennington's avatar
      2007-06-13 Havoc Pennington <hp@redhat.com> · 62f09b8b
      Havoc Pennington authored
      	* dbus/dbus-message.c (dbus_message_iter_open_container): Fix
      	broken return_if_fail (kind of scary that test suite does not
      	cover this)
    • Havoc Pennington's avatar
      2007-06-13 Havoc Pennington <hp@redhat.com> · 72697649
      Havoc Pennington authored
      	* dbus/dbus-server-socket.c (_dbus_server_listen_socket): support
      	all_interfaces=true|false for tcp servers
      	* dbus/dbus-sysdeps-unix.c (_dbus_listen_tcp_socket): support
      	inaddr_any flag
      	* bus/selinux.c: fix some missing includes
      	* dbus/dbus-server-socket.c (_dbus_server_listen_socket): allow
      	port to simply be omitted in addition to specifying 0
    • Havoc Pennington's avatar
      2007-06-13 Havoc Pennington <hp@redhat.com> · e3d30a03
      Havoc Pennington authored
      	* configure.ac, bus/selinux.c, dbus/dbus-sysdeps-unix-util.c: add
      	libaudit support, no clue what this means really but now we have
      	it. Patches from Fedora package.
      	* bus/bus.c (bus_context_new): move selinux initialization after
      	changing to daemon user, patch from Fedora package
      	* dbus/dbus-transport.c (auth_via_unix_user_function): fix a typo
  4. 12 Jun, 2007 3 commits
    • Havoc Pennington's avatar
      2007-06-12 Havoc Pennington <hp@redhat.com> · 15a610bc
      Havoc Pennington authored
      	* dbus/dbus-message.c (dbus_message_iter_open_container): improve
      	the checks/warnings for contained_signature a bit
    • Havoc Pennington's avatar
      2007-06-12 Havoc Pennington <hp@redhat.com> · 1680f1fb
      Havoc Pennington authored
      	* dbus/dbus-marshal-recursive.c (write_or_verify_typecode):
      	improve the warning a bit if you write extra data into a message
    • Havoc Pennington's avatar
      2007-06-12 Havoc Pennington <hp@redhat.com> · 94125e89
      Havoc Pennington authored
      	* dbus/dbus-auth.c (sha1_handle_second_client_response)
      	(handle_server_data_anonymous_mech): add the process ID from
      	socket credentials, if available, even if not using EXTERNAL
      	* dbus/dbus-transport.c (auth_via_default_rules): support
      	allow_anonymous flag
      	* dbus/dbus-connection.c (dbus_connection_get_is_anonymous)
      	(dbus_connection_set_allow_anonymous): new API for controlling
      	anonymous access
  5. 10 Jun, 2007 1 commit
    • Havoc Pennington's avatar
      2007-06-09 Havoc Pennington <hp@redhat.com> · a789b7b3
      Havoc Pennington authored
      	* dbus/dbus-string.c (_dbus_string_pop_line): fix this not to
      	think an empty line is the end of the file.
      	Also, fix some whitespace.
      	* dbus/dbus-string-util.c: add more tests for
      	_dbus_string_pop_line() revealing that it thinks an empty line is
      	the end of the file, which broke dbus-auth-script.c so
      	it didn't really run the scripts
      	* dbus/dbus-auth.c: add ANONYMOUS mechanism
      	* dbus/dbus-auth-script.c (_dbus_auth_script_run): fix to detect
      	an empty/no-op auth script; add commands to check that we have or
      	don't have the expected credentials
  6. 09 Jun, 2007 2 commits
    • Havoc Pennington's avatar
      2007-06-09 Havoc Pennington <hp@redhat.com> · 7be5fd95
      Havoc Pennington authored
      	* bus/policy.c (bus_policy_create_client_policy): gracefully
      	continue if the connection has no unix user - just don't apply
      	any unix user dependent rules.
      	* bus/config-parser.c: remove dbus-userdb.h usage
      	* bus/bus.c: remove dbus-userdb.h usage
      	* dbus/dbus-transport.c (_dbus_transport_get_is_authenticated):
      	support Windows user function; also, fix the logic for checking
      	auth as root in the default auth code (broken in the previous
      	* dbus/dbus-connection.c
      	(dbus_connection_set_windows_user_function): new function
      	(dbus_connection_get_windows_user): new function
    • Havoc Pennington's avatar
      2007-06-09 Havoc Pennington <hp@redhat.com> · 23832672
      Havoc Pennington authored
      	* bus/dispatch.c (check_get_connection_unix_process_id): adapt
      	since sysdeps-unix.h stuff isn't included anymore
      	* bus/bus.c (bus_context_new): use more abstract functions to
      	change user, so they can be no-ops on Windows
      	* dbus/dbus-credentials.c, dbus/dbus-credentials.h,
      	dbus/dbus-credentials-util.c: new files containing a fully opaque
      	DBusCredentials data type to replace the old not opaque one.
      	* configure.in (DBUS_UNIX): define DBUS_UNIX to match DBUS_WIN on
      	* dbus/dbus-userdb.h: prohibit on Windows, next step is to clean
      	up the uses of it in bus/*.c and factor out the parts of
      	cookie auth that depend on it
  7. 07 Jun, 2007 1 commit
  8. 03 Jun, 2007 1 commit
  9. 01 Jun, 2007 4 commits
  10. 27 May, 2007 1 commit
  11. 25 May, 2007 5 commits
  12. 24 May, 2007 4 commits