summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01Be polite to upstream by not occupying their namespacemaemo-libcredsSimon McVittie1-1/+1
2011-03-01Inline bus_connection_get_credentials into ↵Simon McVittie3-37/+5
bus_driver_handle_get_connection_credentials This fixes a few nits with bus_connection_get_credentials: - the declaration had _connections_, not _connection_ in its name, so the function wasn't actually pre-declared - the documentation had been copied and not updated, so it talked about process IDs instead of credentials - #ifdef conditionals in a header are somewhat fragile, since they rely on config.h having been included first; moving the function avoids that
2011-03-01bus_driver_handle_get_connection_credentials: consistently use uint32Simon McVittie1-1/+1
Exported credentials are defined as unsigned.
2011-03-01Implement DBus interface for credential retrieving from the peerLaszlo Papp3-0/+136
2011-03-01Enable creds and build with libcreds2-devChristian Dywan4-9/+169
Forwarded: no Bug-NB: NB#157021
2011-03-01Include size of link cache in per-connection statisticsSimon McVittie3-4/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01Also record peak values for queued bytes/fds in connection statsSimon McVittie7-9/+77
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01Add an initial round of stats to the Stats interfaceSimon McVittie1-0/+59
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01DBusConnection, DBusTransport: add queue statisticsSimon McVittie4-0/+57
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01BusConnections: add usage stats for well-known names, match rulesSimon McVittie2-0/+133
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01DBusList: add usage statsSimon McVittie2-2/+17
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01DBusMemPool: add usage statsSimon McVittie2-0/+48
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01Add a stub .Debug.Stats interface if --enable-statsSimon McVittie4-0/+339
There are no actual statistics yet, just a count of how many times the method has been called, and (for the per-connection stats) the unique name. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01configure.ac: add --enable-statsSimon McVittie1-0/+10
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040
2011-03-01match_rule_to_string: don't reinvent dbus_message_type_to_stringSimon McVittie1-30/+3
We don't allow match rules with unknown message types, so losing the "type='%d'" case isn't a great loss.
2011-02-25Merge branch 'dbus-1.4'Simon McVittie11-85/+200
Conflicts: NEWS
2011-02-25Merge branch 'doxygenate' into dbus-1.4Simon McVittie5-8/+67
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Conflicts: configure.ac doc/Makefile.am
2011-02-25NEWS so farSimon McVittie1-0/+13
2011-02-25Merge branch 'changequote' into dbus-1.4Simon McVittie1-11/+5
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-02-25Merge branch 'require-display-for-autolaunch-19997' into dbus-1.4Simon McVittie4-21/+58
Reviewed-by: Colin Walters <walters@verbum.org>
2011-02-25Merge branch 'modern-autofoo-32245' into dbus-1.4Simon McVittie3-45/+59
2011-02-24Allow X11 autolaunch to be disabled even if the headers/libraries are thereSimon McVittie4-22/+47
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
2011-02-24Don't attempt Unix X11 autolaunching if DISPLAY isn't setSimon McVittie1-0/+12
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
2011-02-24Merge branch 'dbus-1.4'Simon McVittie1-1/+1
2011-02-24config-parser regression test: don't require that fd.o #34496 existsSimon McVittie1-1/+1
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-02-24Merge branch 'dbus-1.4'Simon McVittie1-23/+26
2011-02-24Give XDG_DATA_HOME priority over XDG_DATA_DIRS for servicedirsSimon McVittie1-23/+26
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=34496 Signed-off-by: Anders Kaseorg <andersk@mit.edu> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Honour aclocal flags in Makefile.am, rather than gluing them onto ACLOCALSimon McVittie2-4/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize setup of libtool for WindowsSimon McVittie1-2/+4
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Use AC_CONFIG_HEADERS, not AM_CONFIG_HEADERSimon McVittie1-1/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize AC_INIT usage, with a bug report URLSimon McVittie1-1/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Require a somewhat modern version of autoconf and automakeSimon McVittie1-2/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize AC_OUTPUT usageSimon McVittie1-1/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks in ld_supports_flagSimon McVittie1-2/+4
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=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for DBUS__ACQUIRE_SVCSimon McVittie1-6/+7
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for monotonic clockSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for cmsgcredSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for ISO/GNU varargsSimon McVittie1-4/+8
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for socklen_tSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for non-POSIX getpwnam_rSimon McVittie1-3/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for dirfd/dd_fdSimon McVittie1-8/+10
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Rename configure.in to configure.acSimon McVittie2-2/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245
2011-02-24Don't compress spaces in CFLAGS and friendsSimon McVittie1-5/+0
Not all sed implementations understand "+" with its POSIX extended regular expression semantics, and compressing spaces is purely cosmetic anyway. Let's just drop this.
2011-02-24Remove unnecessary changequote callSimon McVittie1-2/+0
Nothing in the changequote'd environment uses square brackets anyway.
2011-02-24Use square brackets (m4 quoting) instead of changequoteSimon McVittie1-4/+5
For more details, see: http://www.gnu.org/software/autoconf/manual/html_node/Changequote-is-Evil.html
2011-02-24NEWS so farSimon McVittie1-0/+10
2011-02-18Improved dbus_string_replace_len()Roberto Guido2-15/+116
Reviewed-by: Havoc Pennington <hp@pobox.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21261
2011-02-18bus driver: allow implementing more than one interfaceSimon McVittie1-98/+81
Previously, Introspect was just special-cased. This could allow us to have a conditionally-compiled debugging interface, for instance. Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33757
2011-02-18Post-release version bumpSimon McVittie1-1/+1
2011-02-18sysdeps-win needs _dbus_path_is_absoluteMark Brand2-17/+17
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>