- 10 Mar, 2011 11 commits
-
-
Simon McVittie authored
This is just as useful for bindings as dbus_signature_validate, and I think it's a good design principle to say that anything checked in a _dbus_return_if_fail should be something the caller could check for themselves. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
-
Simon McVittie authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
As far as I can tell, we've never accepted out-of-range booleans and canonicalized them, ever since this was first committed in 2004. If sent, they'd be considered to be invalid by recipients, so they're unambiguously an error. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
This function specifically doesn't support Unix fds and is documented as such. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Previously, the comments said "this function will crash", but that's not strictly true (checks can be disabled or made non-fatal). Their behaviour is undefined if you do that, though. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
The D-Bus type system isn't implementable without 64-bit support, although for historical reasons we have some sort of semi-working support for platforms with no 64-bit integers. Let's find out whether any practically relevant platform still lacks these types... (GLib appears to have required 64-bit integer types since 2001.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35114Reviewed-by:
Lennart Poettering <lennart@poettering.net>
-
Simon McVittie authored
-
Lennart Poettering authored
This fixes 2b595988 which forgot to add m4/ to the command line of aclocal but moved scripts there.
-
- 08 Mar, 2011 2 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
- 07 Mar, 2011 3 commits
-
-
Simon McVittie authored
-
Simon McVittie authored
-
Andre Heinecke authored
On Windows Systems ELEMENT_TYPE is already defined in Winioctl.h this header is included indirectly in dbus-sysdeps.h. By avoiding the use of the Name ELEMENT_TYPE it is ensured that config-parser-common.h can be included together with dbus-sysdeps.h Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
- 04 Mar, 2011 3 commits
-
-
Simon McVittie authored
The reasoning is the same as for dbus_message_iter_append_basic. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16338Reviewed-by:
Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
-
Simon McVittie authored
Sending, for instance, ((dbus_bool_t) 666) is a programming error and should be diagnosed as such. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16338Reviewed-by:
Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
-
Simon McVittie authored
Strings: UTF-8 with no embedded NULs, by adding a new internal function, _dbus_check_is_valid_utf8 Object paths, signatures: the obvious syntactic checks This moves some of the burden of validation to the sender. When sending <http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt> 10240 times with up to 1024 parallel calls pending, on a single-core ARM Linux device, I found that user CPU time in dbus-spam increased by up to 80% as a result of the validation. However, when sending messages to dbus-daemon, overall throughput only reduced by 15%, and when sending messages to an echo service, overall throughput actually improved by around 14% (presumably because making the sender CPU-bound influenced kernel scheduling). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16338 Bug-NB: NB#223152 Reviewed-by:
Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
-
- 25 Feb, 2011 6 commits
-
-
Simon McVittie authored
Conflicts: NEWS
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk> Conflicts: configure.ac doc/Makefile.am
-
Simon McVittie authored
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
Reviewed-by:
Colin Walters <walters@verbum.org>
-
Simon McVittie authored
-
- 24 Feb, 2011 15 commits
-
-
Simon McVittie authored
In an embedded system where the D-Bus session is a core part of the environment, like Maemo, accidentally auto-launching a second session bus (for instance for a concurrent ssh session) is a bad idea - it can lead to a "split brain" situation where half the applications in the GUI are using a different bus. In these controlled environments, it'd be useful to prevent autolaunch from ever happening. (As a side benefit, the changes to configure.in also mean that packagers can explicitly --enable-x11-autolaunch, to make sure that failure to find X will make compilation fail cleanly.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997 Bug-NB: NB#219964
-
Simon McVittie authored
The known use cases for autolaunching (ssh -Y firefox, run konqueror in legacy DE) all need $DISPLAY too. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997
-
Simon McVittie authored
-
Simon McVittie authored
Reviewed-by:
Will Thompson <will.thompson@collabora.co.uk>
-
Simon McVittie authored
-
Simon McVittie authored
According to the XDG Base Directory Specification, “the base directory defined by $XDG_DATA_HOME is considered more important than any of the base directories defined by $XDG_DATA_DIRS.” This makes it easier to override a system service file as a normal user. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34496Signed-off-by:
Anders Kaseorg <andersk@mit.edu> Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. (This will conflict with changes from my gc-sections branch -smcv) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-
Simon McVittie authored
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245Reviewed-by:
Simon McVittie <simon.mcvittie@collabora.co.uk>
-