- 30 Jun, 2014 1 commit
-
-
Simon McVittie authored
-
- 10 Jun, 2014 1 commit
-
-
Simon McVittie authored
-
- 05 Jun, 2014 1 commit
-
-
Simon McVittie authored
-
- 30 Apr, 2014 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 27 Jan, 2014 1 commit
-
-
Cristian Onet authored
[Slightly modified by -rh] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71297Reviewed-by:
Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 20 Jan, 2014 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 06 Jan, 2014 3 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Chengwei Yang authored
If dbus buid without systemd (--disable-systemd or no systemd libs available when building), we expect not to install dbus systemd unit files because they're only for systemd environment. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71818Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 27 Nov, 2013 1 commit
-
-
Chengwei Yang authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71985Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 01 Nov, 2013 5 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
-
Chengwei Yang authored
In systemd environment, dbus-daemon will run as no-fork mode since this is the recommended practice of systemd. In that scenario, child activated by dbus-daemon will inherit dbus-daemon standard streams, includes stdin/stdout/stderr. stdin will be redirected to /dev/null by systemd and stdout/stderr will be catched by systemd log subsystem. Since the child inherit stdout/stderr from dbus-daemon, so from systemd journal log, the child log output will be identified with dbus-daemon identifier. So it's a little confusing. This patch redirects the child stdout/stderr to systemd journal stream, and with its owned service name as identifier. However, thing not fixed perfectly due to the socket ucred of the child is owned by dbus-daemon, so the pid isn't the real pid of the chile. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68559Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 10 Oct, 2013 1 commit
-
-
Ralf Habacker authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68506Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 09 Oct, 2013 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 08 Oct, 2013 4 commits
-
-
Simon McVittie authored
-
Chengwei Yang authored
There are two ways to find the dbus-daemon for testing. The first one is defined as string at compile stage and the second one is export it from test environment. The first way has limitation that after defined, it's static string, so it's impossible to run installable check. So let's unify to the second way. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37849 [added missing "}" -smcv] Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
-
Simon McVittie authored
This is the configuration I'd like to use for the "debug build" of dbus on Debian - if we use --with-valgrind=yes, we have to hard-code knowledge of which architectures do and don't have Valgrind in two places instead of just one. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=56925Reviewed-by:
Chengwei Yang <chengwei.yang@intel.com>
-
- 16 Sep, 2013 2 commits
-
-
Simon McVittie authored
This has been a soft requirement since 1.5.0; anyone on such platforms would have had to configure --without-64-bit, provoking a warning that instructed them to report a D-Bus bug with details of their platform. Nobody has done so, so if anyone still lacks a 64-bit integer type, they're on their own. (Also, I tried the build with --without-64-bit and it's full of fatal compiler warnings, so it's not clear that we're actually losing anything by removing this "feature".) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65429Reviewed-by:
Chengwei Yang <chengwei.yang@intel.com>
-
Simon McVittie authored
This block provoked a warning on mingw-w64 because we were redefining _inline. According to Ralf's research, it was introduced in 452ff68a: Windows 2000 doesn't have getaddrinfo and related functions in ws2tcpip.h, but does have a shim implementation in wspiapi.h. At the time of 452ff68a, mingw32 didn't have wspiapi.h, so it's unclear why there was a __GNUC__ code path here. The "#define _inline" on that code path looks likely to be some sort of workaround for a faulty version of wspiapi.h? Current mingw-w64 does have wspiapi.h, so we enter the __GNUC__ code path and get the redefinition. dbus no longer supports Windows 2000, so we no longer need wspiapi.h at all, and can rely on XP or later. (Ralf's policy is to only support versions of Windows that are still supported by Microsoft, and Windows 2000 reached the end of its life-cycle in 2010.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852 Reviewed-by: Ralf Habacker
-
- 13 Sep, 2013 2 commits
-
-
Chengwei Yang authored
The disable-userdb-cache code path is never been fine tested and you could expect an extramely slow bus if you did that. And there are known bugs on fd.o if build without userdb cache. So to prevent user from using bus without userdb cache, it changed to a built-in feature, no longer optional now. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66947 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=15589Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Chengwei Yang authored
When do autolaunch testing, libdbus will try to start dbus-launch in installed direcotry, if fail then fall back to dbus-launch in $PATH. dbus-launch does a relative better thing to start dbus-daemon in build directory, however, in most of case, the build $prefix is different from the real prefix where dbus-daemon installed. So dbus-daemon will fail to start due to can't find its config file. And then dbus-launch will fall back to finally the installed dbus-daemon. This patch fix this behavior and will start dbus-launch and dbus-daemon in build directory in test environment. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37849
-
- 05 Sep, 2013 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 03 Sep, 2013 1 commit
-
-
Simon McVittie authored
We only use dbus-glib for its main loop; within dbus, DBusLoop is available as an alternative, although it isn't thread-safe and isn't public API. For tests that otherwise only use libdbus public API, it's desirable to be able to avoid DBusLoop, so we can run them against an installed libdbus as an integration test. However, if we don't have dbus-glib, we're going to have to use an in-tree main loop, which might as well be DBusLoop. The major disadvantage of using dbus-glib is that it isn't safe to link both dbus-1 and dbus-internal at the same time. This is awkward for a future test case that wants to use _dbus_getsid() in dbus-daemon.c, but only on Windows (fd.o #54445). If we use the same API wrapper around both dbus-glib and DBusLoop, we can compile that test against dbus-glib or against DBusLoop, depending on the platform. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852Reviewed-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
- 22 Aug, 2013 1 commit
-
-
Chengwei Yang authored
https://bugs.freedesktop.org/show_bug.cgi?id=66069Signed-off-by:
Chengwei Yang <chengwei.yang@intel.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 28 Jun, 2013 2 commits
-
-
Chengwei Yang authored
Signed-off-by:
Chengwei Yang <chengwei.yang@intel.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66291
-
Chengwei Yang authored
dnotify as a dir watch backend is broken since Jan 2010 (almost 3.5 years). According to fd.o: #33001, it's no harm to remove dnotify from this project. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33001Signed-off-by:
Chengwei Yang <chengwei.yang@intel.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 25 Jun, 2013 1 commit
-
-
Chengwei Yang authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65990Signed-off-by:
Chengwei Yang <chengwei.yang@intel.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 13 Jun, 2013 1 commit
-
-
Simon McVittie authored
-
- 12 Jun, 2013 3 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
-
- 06 Jun, 2013 1 commit
-
-
Chengwei Yang authored
From git history, enable_x11 was used to track have_x11, but it's useless now. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65443Signed-off-by:
Chengwei Yang <chengwei.yang@intel.com> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-