1. 04 Jan, 2012 2 commits
  2. 21 Nov, 2011 1 commit
  3. 29 Jul, 2011 3 commits
  4. 18 Jul, 2011 1 commit
  5. 24 Jun, 2011 1 commit
  6. 08 Jun, 2011 1 commit
  7. 07 Jun, 2011 2 commits
  8. 26 Apr, 2011 2 commits
  9. 06 Dec, 2010 1 commit
    • Benjamin Reed's avatar
      Enable launchd. · f1b9aac4
      Benjamin Reed authored
      This patch enables support for Mac OS X's launch daemon
      for startup as well as sharing of the DBus session bus
      environment.  It includes a LaunchAgent plist for automatic
      start of the session bus.
      f1b9aac4
  10. 05 Oct, 2010 1 commit
    • Will Thompson's avatar
      Move manpages to doc/ · 46b9961b
      Will Thompson authored
      This will make integrating the building of HTML versions of these
      manpages into the build system way easier, at the cost of keeping
      manpages in a different directory to the source for the program they
      describe. I think this is an acceptable trade-off.
      46b9961b
  11. 06 Sep, 2010 1 commit
  12. 10 Aug, 2010 1 commit
  13. 09 Jul, 2010 1 commit
  14. 26 Apr, 2010 1 commit
  15. 23 Mar, 2010 2 commits
  16. 06 Feb, 2010 1 commit
  17. 01 Dec, 2009 3 commits
  18. 18 Sep, 2009 1 commit
  19. 15 Jan, 2008 1 commit
    • John Palmieri's avatar
      add inotify support (FDO Bz#13268) · 831a0d71
      John Palmieri authored
      2008-01-14  John (J5) Palmieri  <johnp@redhat.com>
      
      	* patch by Frederic Crozat <fcrozat at mandriva dot com> (FDO Bz#
      	13268)
      
      	* add inotify support
      
      	* bus/Makefile.am: add inotify module to the build
      
      	* bus/dir-watch-inotify.c: inotify module based off the dnotify and
      	kqueue modules
      
      	* configure.in: add checks and switch for inotify
      	also add a printout at the end of configure if inotify and kqueue
      	support is being built in (dnotify already had this)
      831a0d71
  20. 03 Oct, 2007 1 commit
    • John Palmieri's avatar
      Correctly implement -fPIC and -fPIE · 8a92100b
      John Palmieri authored
      * For security reasons we want possition independent code for libraries
        and possition independent executable for executables
      * before we were just enabling -fPIC
      * now we correctly enable -fPIC and -PIE for libdbus and the bus respectively
      * propper LD_FLAGS are set for each also
      8a92100b
  21. 24 Jul, 2007 4 commits
    • Havoc Pennington's avatar
      2007-07-24 Havoc Pennington <hp@redhat.com> · 79d3004e
      Havoc Pennington authored
      	* configure.in: add AM_PROG_CC_C_O to allow per-target CPPFLAGS
      
      	* bus/dispatch.c (bus_dispatch_test_conf): Fix up setting
      	TEST_LAUNCH_HELPER_CONFIG to include the full path, and enable
      	test shell_fail_service_auto_start when use_launcher==TRUE
      
      	* bus/activation-helper-bin.c (convert_error_to_exit_code): pass
      	through the INVALID_ARGS error so the test suite works
      
      	* bus/activation.c (handle_activation_exit_error): return
      	DBUS_ERROR_NO_MEMORY if we get BUS_SPAWN_EXIT_CODE_NO_MEMORY
      
      	* dbus/dbus-spawn.c (_dbus_babysitter_get_child_exit_status):
      	return only the exit code of the child, not the entire thingy from
      	waitpid(), and make the return value indicate whether the child
      	exited normally (with a status code)
      
      	* bus/bus.c (process_config_first_time_only): _dbus_strdup works
      	on NULL so no need to check
      	(process_config_every_time): move servicehelper init here, so we
      	reload it on HUP or config file change
      
      	* bus/Makefile.am (install-data-hook): remove comment because
      	Emacs make mode seems to be grumpy about it
      79d3004e
    • Richard Hughes's avatar
      2007-07-24 Richard Hughes <richard@hughsie.com> · 0b5478e4
      Richard Hughes authored
      * bus/Makefile.am:
      * bus/test-system.c: (die), (check_memleaks), (test_pre_hook),
      (test_post_hook), (main):
      Add back the test-system.c file - not sure now this got ignored in the
      diff. I blame git.
      0b5478e4
    • Richard Hughes's avatar
      2007-07-24 Richard Hughes <richard@hughsie.com> · 6dd45468
      Richard Hughes authored
      * bus/Makefile.am:
      * bus/test.h:
      Add the build glue for the lauch helper, and also add the launch-helper
      OOM checks into make check. I've probably broken the build, give me 2.
      6dd45468
    • Richard Hughes's avatar
      2007-07-24 Richard Hughes <richard@hughsie.com> · 0cb8dd64
      Richard Hughes authored
      * bus/Makefile.am:
      * bus/config-parser.c: (bus_config_parser_unref),
      (start_busconfig_child), (bus_config_parser_end_element),
      (servicehelper_path), (bus_config_parser_content),
      (bus_config_parser_finished),
      (bus_config_parser_get_servicehelper),
      (test_default_session_servicedirs),
      (test_default_system_servicedirs), (bus_config_parser_test):
      * bus/config-parser.h:
      Make the config-parser code use the common config code.
      Also add the session and systemdirs stuff, and make the config parser
      aware of the servicehelper field.
      0cb8dd64
  22. 15 Jun, 2007 1 commit
    • 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_append_session_config_file()
      
      	* dbus/Makefile.am (INCLUDES): move DBUS_SYSTEM_CONFIG_FILE and
      	DBUS_SESSION_CONFIG_FILE into this makefile
      b62633b9
  23. 23 May, 2007 1 commit
  24. 01 Oct, 2006 1 commit
    • Havoc Pennington's avatar
      2006-10-01 Havoc Pennington <hp@redhat.com> · a2129f7c
      Havoc Pennington authored
      	* dbus/dbus-connection.c (_dbus_connection_close_if_only_one_ref):
      	Add a hack to make DBusNewConnectionFunction work right.
      
      	* dbus/dbus-server-socket.c (handle_new_client_fd_and_unlock): use
      	the hack here. Also, fix the todo about refcount leak.
      
      	* dbus/dbus-server-debug-pipe.c (_dbus_transport_debug_pipe_new):
      	and use the hack here
      
              * dbus/dbus-connection.c: Kill the "shared" flag vs. the
      	"shareable" flag; this was completely broken, since it meant
      	dbus_connection_open() returned a connection of unknown
      	shared-ness. Now, we always hold a ref on anything opened
      	as shareable.
      
      	Move the call to notify dbus-bus.c into
      	connection_forget_shared_unlocked, so libdbus consistently forgets
      	all its knowledge of a connection at once. This exposed numerous
      	places where things were totally broken if we dropped a ref inside
      	get_dispatch_status_unlocked where
      	connection_forget_shared_unlocked was previously, so move
      	connection_forget_shared_unlocked into
      	_dbus_connection_update_dispatch_status_and_unlock. Also move the
      	exit_on_disconnect here.
      
      	(shared_connections_shutdown): this assumed weak refs to the
      	shared connections; since we have strong refs now, the assertion
      	was failing and stuff was left in the hash. Fix it to close
      	still-open shared connections.
      
      	* bus/dispatch.c: fixup to use dbus_connection_open_private on the
      	debug pipe connections
      
      	* dbus/dbus-connection.c (dbus_connection_dispatch): only notify
      	dbus-bus.c if the closed connection is in fact shared
      	(_dbus_connection_close_possibly_shared): rename from
      	_dbus_connection_close_internal
      	(dbus_connection_close, dbus_connection_open,
      	dbus_connection_open_private): Improve docs to explain the deal
      	with when you should close or unref or both
      
      	* dbus/dbus-bus.c
      	(_dbus_bus_notify_shared_connection_disconnected_unlocked): rename
      	from _dbus_bus_check_connection_and_unref_unlocked and modify to
      	loop over all connections
      
      	* test/test-utils.c (test_connection_shutdown): don't try to close
      	shared connections.
      
      	* test/name-test/test-threads-init.c (main): fix warnings in here
      
      	* dbus/dbus-sysdeps.c (_dbus_abort): support DBUS_BLOCK_ON_ABORT
      	env variable to cause blocking waiting for gdb; drop
      	DBUS_PRINT_BACKTRACE and just call _dbus_print_backtrace()
      	unconditionally.
      
      	* configure.in: add -export-dynamic to libtool flags if assertions enabled
      	so _dbus_print_backtrace works.
      
      	* dbus/dbus-sysdeps-unix.c (_dbus_print_backtrace): use fprintf
      	instead of _dbus_verbose to print the backtrace, and diagnose lack
      	of -rdynamic/-export-dynamic
      a2129f7c
  25. 25 Aug, 2006 1 commit
  26. 08 Aug, 2006 3 commits
    • John Palmieri's avatar
      * dbus/dbus-sysdeps.h: · d3874114
      John Palmieri authored
      * dbus/dbus-sysdeps.c:
      * dbus/dbus-string.c:
        s/_dbus_printf_length/_dbus_printf_string_upper_bound to comform with
        GLib's function which does the same thing
      
      * configure.in:
      * bus/Makefile.am:
      * bus/dir-watch-default.c:
      * bus/dir-watch-dnotify.c:
      * bus/dir-watch-kqueue.c:
        Add kqueue directory watching for freebsd and split the directory
        watching code into seperate files per method/arch
        (patches from Timothy Redaelli <drizzt at gufi dotorg>)
      d3874114
    • John Palmieri's avatar
      * configure.in: · aaa432b0
      John Palmieri authored
      * tools/Makefile.am:
      * tools/dbus-launch.c:
      * bus/Makefile.am:
        allow --with-dbus-daemondir switch to be used to make the
        daemon install to a seperate bindir like /usr/libexec
        (patch from Brian Cameron <brian dot cameron at sun dot com)
      aaa432b0
    • John Palmieri's avatar
      * bus/Makefile.am (install-data-hook): removed the slash after · d3356429
      John Palmieri authored
        $(DESTDIR) so we don't get the double slash which does not work
        in windows (patch from Andras Porjesz
        <andras dot porjesz at siemens dot com>
      d3356429
  27. 15 Jun, 2005 1 commit
    • David Zeuthen's avatar
      2005-06-14 David Zeuthen <davidz@redhat.com> · 1d19fc62
      David Zeuthen authored
              * bus/bus.c (process_config_every_time): Drop existing conf-dir
              watches (if applicable) and add new watches
      
              * bus/main.c (signal_handler): Handle SIGIO if using D_NOTIFY
              (main): Setup SIGIO signal handler if using D_NOTIFY
      
              * bus/config-parser.h: Add prototype bus_config_parser_get_conf_dirs
      
              * bus/config-parser.c (struct BusConfigParser): Add conf_dirs list
              (merge_included): Also merge conf_dirs list
              (bus_config_parser_unref): Clear conf_dirs list
              (include_dir): Add directory to conf_dirs list
              (bus_config_parser_get_conf_dirs): New function
      
              * bus/dir-watch.[ch]: New files
      
              * bus/Makefile.am (BUS_SOURCES): Add dir-watch.[ch]
      
              * configure.in: Add checks for D_NOTIFY on Linux
      1d19fc62