dbus/bus
Simon McVittie 93385b7339 DBusLoop: remove a layer of pointless abstraction around timeouts
Instead of supplying 8 tiny wrapper functions around dbus_timeout_handle,
each with a user_data parameter that's a potentially unsafe borrowed
pointer but isn't actually used, we can call dbus_timeout_handle directly
and save a lot of trouble.

One of the wrappers previously called dbus_timeout_handle repeatedly
if it returned FALSE to indicate OOM, but that timeout's handler never
actually returned FALSE, so there was no practical effect. The rest just
ignore the return, which is documented as OK to do.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33342
Reviewed-by: Thiago Macieira <thiago@kde.org>
2011-06-13 16:07:17 +01:00
..
.gitignore Ignore generated bus/org.freedesktop.dbus-session.plist 2010-12-15 09:43:11 +01:00
activation-exit-codes.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper-bin.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
activation.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
bus.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
bus.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
config-loader-expat.c Fixed gcc on windows limitation 2010-03-20 21:53:57 +01:00
config-loader-libxml.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
config-parser-common.c Do not use the name ELEMENT_TYPE 2011-03-07 13:50:38 +00:00
config-parser-common.h Do not use the name ELEMENT_TYPE 2011-03-07 13:50:38 +00:00
config-parser-trivial.c Fix some more stray occurrences of ELEMENT_TYPE 2011-03-07 13:55:10 +00:00
config-parser-trivial.h Merge branch 'dbus-1.2' 2010-06-22 17:25:20 +01:00
config-parser.c Break up the monster conditional in config-parser so gcov can cope 2011-04-07 11:25:54 +01:00
config-parser.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
connection.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
connection.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus.service.in systemd: ensure that the system bus is unlikely to be killed on OOM 2011-01-18 23:46:15 +01:00
dbus.socket.in systemd: enable the dbus service unconditionally 2010-09-06 03:21:17 +02:00
desktop-file.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
desktop-file.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
dir-watch-default.c Fix warnings on Windows builds. 2010-04-14 08:26:40 +02:00
dir-watch-dnotify.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dir-watch-inotify.c Always remove, invalidate and free watches before closing watched sockets 2011-06-13 15:45:54 +01:00
dir-watch-kqueue.c Always remove, invalidate and free watches before closing watched sockets 2011-06-13 15:45:54 +01:00
dir-watch.h Clean up inotify watch handling 2010-02-01 16:22:56 -05:00
dispatch.c activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
dispatch.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
driver.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
driver.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
expirelist.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
expirelist.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
main.c bus signal_handler: don't use _dbus_warn, and don't pretend to be portable 2011-06-13 15:59:22 +01:00
Makefile.am bus: use ln -fs to enable dbus in systemd, not $(LN_S) 2011-06-08 11:33:21 +01:00
messagebus-config.in Applied patches from cygwin port. 2010-08-10 08:25:24 +02:00
messagebus.in Fix use of $servicename in status 2010-07-09 11:52:59 -04:00
org.freedesktop.dbus-session.plist.in 10.4 is old so set more sensible launchd defaults. 2010-12-09 08:20:07 +01:00
policy.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
policy.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
rc.messagebus.in [legacy init script] Fix the use of $servicename 2010-04-23 12:02:19 -04:00
selinux.c process_config_first_time_only: initialize syslog as intended. 2011-05-25 18:16:35 +01:00
selinux.h Fix compilation in --disable-selinux case 2010-02-02 15:04:58 -05:00
services.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
services.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
session.conf.in Use nonce-tcp default session bus on Windows 2009-12-01 09:25:59 +01:00
signals.c Check parsing (or otherwise) of path_namespace in match rules 2011-04-07 16:30:41 +01:00
signals.h Rename path_prefix to path_namespace and disallow trailing '/' 2011-04-07 16:12:22 +01:00
system.conf.in Clean up and clarify default system policy 2008-12-18 15:34:24 -05:00
test-launch-helper.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-main.c Don't report file descriptors as "leaked" if they were already open 2011-04-27 16:28:36 +01:00
test-system.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
test.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
utils.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
utils.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00