summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* document how the various processes in dbus-launch interactSimon McVittie2012-06-151-0/+41
| | | | | Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39197
* dbus-send.1, dbus-send: document --print-reply=literal consistentlySimon McVittie2012-02-141-1/+1
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=14005 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Lennart Poettering <lennart@poettering.net>
* dbus-monitor: remove unused SIGINT handlerSimon McVittie2011-08-051-8/+0
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39231 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* Remove remnants of dbus-viewerSimon McVittie2011-07-292-618/+0
| | | | | Parts of it were already missing, it wasn't compiled, and it depends on dbus-glib and Gtk.
* tools: use AM_CPPFLAGS, and wrap its linesSimon McVittie2011-07-291-1/+7
|
* tools: simplify linkingSimon McVittie2011-07-291-4/+13
| | | | | | | | | * dbus-send, dbus-uuidgen only need to link libdbus; libtool knows what extra libraries libdbus depends on * dbus-monitor uses a Winsock header (on Windows) so it needs NETWORK_libs,but still doesn't need threads * dbus-launch needs X (on Unix) but doesn't directly need threads or networking
* tools: put bin_PROGRAMS one per line, eliminate unnecessary variableSimon McVittie2011-07-291-4/+10
|
* Simplify linking by moving -export-dynamic to AM_LDFLAGSSimon McVittie2011-07-291-4/+3
|
* Remove DBUS_CLIENT_CFLAGS, which is always emptySimon McVittie2011-07-291-1/+1
|
* Merge branch 'dbus-1.4'Simon McVittie2011-07-281-1/+1
|\
| * Fix spelling/grammatical mistakes detected by Debian's lintian(1)Simon McVittie2011-07-281-1/+1
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38284 Reviewed-by: Lennart Poettering <lennart@poettering.net>
* | Fix dbus-monitor using eavesdrop=true when no filters are passedCosimo Alfarano2011-07-121-4/+4
| | | | | | | | Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* | Add "eavesdrop=true" as constant match rule for dbus-monitorCosimo Alfarano2011-07-111-5/+24
|/ | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37890 Bug-NB: NB#269748 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Use #!/bin/sh for run-with-tmp-session-bus.shSimon McVittie2011-06-011-1/+1
| | | | | | | | It doesn't seem to have any bashisms, and bash isn't in /bin on *BSD. Suggested by Timothy Redaelli. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35880
* Check for X even if X11 autolaunching is disabledSimon McVittie2011-05-251-4/+9
| | | | | | | | | | | | | | | | | DBUS_ENABLE_X11_AUTOLAUNCH obviously requires DBUS_BUILD_X11. However, the converse is not true. If DBUS_BUILD_X11 is defined, dbus-launch will be able to connect to the X server to determine when the session ends; most distributors will want this, but it can be disabled with the standard Autoconf option --without-x. If DBUS_ENABLE_X11_AUTOLAUNCH is *also* defined, dbus-launch and libdbus will be willing to perform autolaunch. Again, most distributors will want this, but it can be disabled with --disable-x11-autolaunch. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997 Reviewed-by: Colin Walters <walters@verbum.org>
* dbus-launch: pass_info: always free strings on OOMSimon McVittie2011-05-251-7/+10
| | | | | | | | | This doesn't really do anything, because we're about to exit anyway, but it placates static analysis tools. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29881 Bug-NB: NB#180486 Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
* dbus-send: remove minor dead codeSimon McVittie2011-05-251-3/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128 Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
* minotaur: bail if asked to monitor >1 busWill Thompson2011-04-291-11/+35
| | | | | | | | | | A coworker was just tripped up by `dbus-monitor --session --system` only monitoring the system bus. This patch would have saved him reproducing a tricky bug several times! Bug: https://bugs.freedesktop.org/show_bug.cgi?id=26548 Reviewed-by: Colin Walters <walters@verbum.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Break up the monster conditional in config-parser so gcov can copeSimon McVittie2011-04-071-3/+0
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887 Reviewed-by: Colin Walters <walters@verbum.org>
* Import compiler.m4 and lcov.am from telepathy-glib, and use them to replace gcovSimon McVittie2011-02-171-0/+46
| | | | | Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887
* dbus-cleanup-sockets: free list of socket entriesSimon McVittie2011-01-171-6/+23
| | | | | | | Origin: vendor, Maemo Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128 Bug-NB: NB#180486 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Free session file early in dbus-launchChristian Dywan2011-01-051-1/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29881 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Check return value of XGetWindowProperty in x11_get_addressChristian Dywan2011-01-051-8/+9
| | | | | | Reviewed-by: Thiago Macieira <thiago@kde.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29881
* Fix PROFILE_TIMED_FORMAT printf warning on OSX.Mike McQuaid2010-12-041-0/+4
|
* Merge branch 'documentation-build-system'Will Thompson2010-10-266-490/+1
|\
| * Move manpages to doc/Will Thompson2010-10-056-490/+1
| | | | | | | | | | | | | | This will make integrating the building of HTML versions of these manpages into the build system way easier, at the cost of keeping manpages in a different directory to the source for the program they describe. I think this is an acceptable trade-off.
* | Free envvar and args in pass_info in the oom caseChristian Dywan2010-10-051-1/+5
|/
* fix some "unused result" warnings in dbus-launch and dbus-spawndbus-1.4.0Havoc Pennington2010-09-061-3/+3
| | | | Needed to avoid -Werror
* Fixed compiler warnings.Ralf Habacker2010-06-071-1/+1
|
* Fix _IOLBF for Windows CE and also define _IONBF if needed.Marcus Brinkmann2010-05-121-1/+4
|
* Fixed assert raised with msvc 2008 on windows.Ralf Habacker2010-05-101-0/+5
|
* Cleanup debug messages.Ralf Habacker2010-05-031-6/+0
|
* Include strtoll.c and strtoull.c in distribution.Marcus Brinkmann2010-04-141-1/+1
|
* Add replacement functions strtoll/strtoull for dbus-send, mainly for Windows CE.Marcus Brinkmann2010-04-133-0/+322
|
* Port dbus tools to Windows CE.Marcus Brinkmann2010-04-133-50/+107
|
* Merge branch 'dbus-1.2'Colin Walters2010-03-221-2/+11
|\ | | | | | | | | | | | | Conflicts: bus/dispatch.c configure.in test/name-test/test-names.c
| * [64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted)Colin Walters2010-03-221-2/+6
| | | | | | | | | | | | | | There were already defines for formatting pids and uids, so use those. In the case where we don't have a format specifier for 64 bit, print (omitted) in dbus-monitor.
| * Add DBUS_INT64_MODIFIER define, turn on -WformatColin Walters2010-03-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=19195 We were previously using -Wno-format because we didn't have a #define for DBUS_INT64_MODIFIER, which was really lame because it easily hid problems. For now, just define it if we're on glibc; this is obviously not strictly correct but it's safe, because the formatting is only used in DBUS_VERBOSE mode, and in tools/dbus-monitor. Ideally we get the the glib code relicensed.
* | Consistently include <config.h> in all C source files and never in header files.Marcus Brinkmann2010-03-194-1/+6
| |
* | linux compile fixRalf Habacker2010-02-261-0/+2
| |
* | Enable dbus-launch for Windows target.Marcus Brinkmann2010-02-111-2/+8
| |
* | remove DBUS_DAEMON_EXECUTABLE_NAME, we already have DBUS_DAEMON_NAME, and ↵Romain Pokrzywka2010-02-071-7/+5
| | | | | | | | use the specified name for the executable when building with cmake
* | Merge branch 'my-dbus-1.2'Colin Walters2010-01-282-6/+10
|\ \ | |/ | | | | | | | | | | | | Conflicts: bus/Makefile.am dbus/dbus-sysdeps-util-unix.c dbus/dbus-transport.c test/test-service.c
| * Print all-printable-ASCII byte arrays as stringsWill Thompson2010-01-281-17/+58
| | | | | | | | | | | | | | In practice, ay seems to be used mostly for binary data (in which case, hex output is fine) or for Unix file paths (because they may be non-UTF-8) and similar human-readable strings. So let's print the latter similarly to strings.
| * Print byte arrays as nicely-formatted hex.Will Thompson2010-01-281-1/+58
| |
| * Make array-printing code easier to followWill Thompson2010-01-281-2/+7
| | | | | | | | | | | | | | Previously dbus_message_iter_get_arg_type() was called twice: once in the loop condition to update 'current_type', and once to check if the loop will run again. This patch moves updating current_type to the end of the loop body.
| * Bug 23977 - dbus-launch --exit-with-session not killing dbus-daemon on SIGINTSascha Silbe2009-10-161-0/+2
| | | | | | | | Handle SIGINT in the same way we handle SIGTERM.
| * dbus-monitor: use unbuffered stdout instead of handling SIGINTLennart Poettering2009-07-311-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current SIGINT handling of dbus-monitor ain't making too many people happy since it defers the exit to the next msg received -- which might be quite some time away often enough. This patch replaces the SIGINT handling by simply enabling line-buffered IO for STDOUT so that even if you redirect dbus-monitor into a file no lines get accidently lost and the effect of C-c is still immediate. halfline came up with the great idea to use setvbuf here instead of fflush()ing after each printf(). (Oh and the old signal handler was broken anyway, the flag should have been of type sigatomic_t and be marked volatile) Signed-off-by: Colin Walters <walters@verbum.org>
| * Bug 2432 - Support --address option for dbus-monitorDaniel Reed2009-07-142-6/+53
| | | | | | | | | | Signed-off-by: Colin Walters <walters@verbum.org> (cherry picked from commit e4b271e2425a36884b5e3e70e6a32d440b41d145)
| * Bug 16688 - typo in dbus-monitor.1Paul Bolle2009-07-141-1/+1
| | | | | | | | | | | | | | s/dbus_bus_add_watch/dbus_bus_add_match/ Signed-off-by: Colin Walters <walters@verbum.org> (cherry picked from commit 249f89181c4db5b15aab15472bb72402527434f5)