1. 25 Sep, 2014 1 commit
  2. 23 Jan, 2012 1 commit
  3. 24 Jun, 2011 1 commit
  4. 01 Feb, 2010 1 commit
    • Colin Walters's avatar
      Clean up inotify watch handling · 8a9880ff
      Colin Walters authored
      Substantially based on a patch by Matthias Clasen <mclasen@redhat.com>
      kqueue implementation by Joe Marcus Clarke <marcus@freebsd.org>
      
      Previously, when we detected a configuration change (which included
      the set of config directories to monitor for changes), we would
      simply drop all watches, then readd them.
      
      The problem with this is that it introduced a race condition where
      we might not be watching one of the config directories for changes.
      
      Rather than dropping and readding, change the OS-dependent monitoring
      API to simply take a new set of directories to monitor.  Implicit
      in this is that the OS-specific layer needs to keep track of the
      previously monitored set.
      8a9880ff
  5. 14 Jul, 2009 1 commit
  6. 10 Jul, 2009 1 commit
  7. 14 Jul, 2007 1 commit
  8. 19 Oct, 2006 1 commit
    • John Palmieri's avatar
      * bus/dir-watch-default.c, bus/dir-watch-dnotify.c, · fe1f793a
      John Palmieri authored
        bus/dir-watch-kqueue.c (bus_watch_directory): Pass in a BusContext
        instead of a void *.  kqueue uses this to get the context's loop
        while the other modules ignore the parameter.  This allows us to
        avoid platform conditionals
      
      * bus/bus.c (process_config_postinit): Pass in the context to the
        watch
      fe1f793a
  9. 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
  10. 30 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-30 Havoc Pennington <hp@redhat.com> · 1dcacffc
      Havoc Pennington authored
      	* glib/dbus-glib.c (dbus_g_pending_call_set_notify): new function
      	(dbus_g_pending_call_cancel): new function
      
      	* dbus/dbus-glib.h: move GType decls for connection/message here;
      	* dbus/dbus-glib.c: move all the g_type and ref/unref stuff in
      	here, just kind of rationalizing how we handle all that
      
      	* tools/dbus-names-model.c: new file for a tree model listing the
      	services on a bus
      
      	* tools/dbus-tree-view.c (model_new): use proper typing on the
      	model rows
      1dcacffc
  11. 10 Aug, 2004 1 commit
  12. 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
  13. 02 Dec, 2003 1 commit
  14. 05 Sep, 2003 1 commit
  15. 03 Sep, 2003 1 commit
  16. 21 Nov, 2002 3 commits
    • Havoc Pennington's avatar
      2002-11-21 Havoc Pennington <hp@redhat.com> · 5a6adeee
      Havoc Pennington authored
      	* dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
      	so we can allow ourselves to include files directly,
      	instead of having to use dbus.h
      
      	* dbus/dbus.h: fill in
      
      	* dbus/dbus-message.h: sketch out a sample header file.
      	Include griping if you include it directly instead of
      	via dbus.h
      
      	* dbus/dbus-macros.h: new file with macros for extern "C",
      	TRUE/FALSE, NULL, etc.
      
      	* doc/file-boilerplate.c: put include guards in here
      5a6adeee
    • Havoc Pennington's avatar
      2002-11-21 Havoc Pennington <hp@redhat.com> · 89161753
      Havoc Pennington authored
      	* doc/file-boilerplate.c: include both AFL and GPL boilerplate.
      
      	* COPYING: include the GPL as well, and license code
      	under both AFL and GPL.
      89161753
    • Havoc Pennington's avatar
      add file-boilerplate.c · f6343e58
      Havoc Pennington authored
      f6343e58