ade5c7ad33484a8b8f7c11591d4e80a83e7ff369 |
|
31-Aug-2010 |
Havoc Pennington <hp@pobox.com> |
fix some "unused result" warnings in dbus-launch and dbus-spawn Needed to avoid -Werror
/external/dbus/tools/dbus-launch.c
|
dbecdeabb20e0ce11121819c63373f0afba57c58 |
|
19-Mar-2010 |
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> |
Consistently include <config.h> in all C source files and never in header files.
/external/dbus/tools/dbus-launch.c
|
9b2c196ef36260ef455f0746f003aec6ffe6ff4c |
|
16-Oct-2009 |
Sascha Silbe <sascha-web-bugs.freedesktop.org@silbe.org> |
Bug 23977 - dbus-launch --exit-with-session not killing dbus-daemon on SIGINT Handle SIGINT in the same way we handle SIGTERM.
/external/dbus/tools/dbus-launch.c
|
dc33f4f7749ed303374ebdf00e48ea8a471afd25 |
|
11-Jul-2009 |
Tobias Mueller <fdo-bugs@cryptobitch.de> |
Bug 21161 - Update the FSF address No comment. Signed-off-by: Colin Walters <walters@verbum.org> (cherry picked from commit 5baf2f856a9c6625993234855b07680da1c8916f)
/external/dbus/tools/dbus-launch.c
|
eb3b99e7c610988823804f5e6c92aa13459605c7 |
|
21-Apr-2009 |
Kjartan Maraas <kmaraas@gnome.org> |
Bug 19502 - Sparse warning cleanups This patch makes various things that should be static static, corrects some "return FALSE" where it should be NULL, etc. Signed-off-by: Colin Walters <walters@verbum.org>
/external/dbus/tools/dbus-launch.c
|
100027007254aaec3ba0388bd0f42e29e512a678 |
|
19-Sep-2008 |
Tor Lillqvist <tml@iki.fi> |
[win32] Protect usage of SIGHUP with #ifdef Signed-off-by: Colin Walters <walters@verbum.org>
/external/dbus/tools/dbus-launch.c
|
0bfc5e8d23a5ae56eee5ef2073911cddcbd0c4b0 |
|
01-Apr-2008 |
Colin Walters <walters@space-ghost.verbum.private> |
Check for X11 events before selecting (FDO bug #15293)
/external/dbus/tools/dbus-launch.c
|
46b48ac65414181b60085534475006de42b018cd |
|
04-Mar-2008 |
John (J5) Palmieri <johnp@redhat.com> |
tools/dbus-launch.c: wrap X'ism in #ifdef so we can compile without X
/external/dbus/tools/dbus-launch.c
|
7d409700c354e7a35989053ba037750d320a308a |
|
21-Feb-2008 |
John (J5) Palmieri <johnp@redhat.com> |
fixes dbus-launch so the bus goes away when X does (Red Hat Bug #430412) * tools/dbus-launch.c (main): set xdisplay = NULL * Patch by Matthias Clasen <mclasen at redhat.com> +
/external/dbus/tools/dbus-launch.c
|
ed47b4502b4b6bc1cabd99be3c3b63859be72a7c |
|
23-Nov-2007 |
Sjoerd Simons <sjoerd@luon.net> |
Allow a normal session bus to be reused by applications using autolaunching 2007-11-23 Sjoerd Simons <sjoerd@luon.net> * tools/dbus-launch.c: let both a normal dbus-launch and an autolaunched bus save their parameters in X11 if possible. This makes the autolaunch and non-autolaunch behaviour more similar. With the exception that on a normal launch there will always be a new session bus and not being able to save parameters is not fatal. This also enables to launch programs directly with autolaunch (not very usefull though).
/external/dbus/tools/dbus-launch.c
|
35b00e3ab25d43c0b513e21a993ce063ea19cc18 |
|
10-Oct-2007 |
Simon McVittie <simon.mcvittie@collabora.co.uk> |
dbus-launch: convert C++-style comment to C-style, add {} for clarity
/external/dbus/tools/dbus-launch.c
|
7d9d3fc031244bee29b5ac25e07f3e8e5b5dd97b |
|
03-Oct-2007 |
John (J5) Palmieri <johnp@redhat.com> |
fd.o bug #12547 remove superfluous if * also convert tabs to spaces
/external/dbus/tools/dbus-launch.c
|
d012387afef0ba02185ebe27bc6bb15551912e92 |
|
14-Jul-2007 |
Havoc Pennington <hp@redhat.com> |
2007-07-13 Havoc Pennington <hp@redhat.com> * Add indent-tabs-mode: nil to all file headers.
/external/dbus/tools/dbus-launch.c
|
9362aac398e3f2ec680e30c61ebfcb1e407eff72 |
|
12-Mar-2007 |
Havoc Pennington <hp@redhat.com> |
2007-03-11 Havoc Pennington <hp@redhat.com> * tools/dbus-launch.c (do_close_stderr): fix C89 problem and formatting problem * Mostly fix the DBusPipe mess. - put line break after function return types - put space before parens - do not pass structs around by value - don't use dbus_strerror after calling supposedly cross-platform api - don't name pipe variables "fd" - abstract special fd numbers like -1 and 1
/external/dbus/tools/dbus-launch.c
|
4ceb86d29a68ebe52b20c8c090bc90c68a58f8c8 |
|
03-Mar-2007 |
Thiago Macieira <thiago@kde.org> |
* dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr output and add it to the DBusError message we return. * tools/dbus-launch.1: * tools/dbus-launch.c: Add option --close-stderr to, well, close stderr before starting dbus-daemon.
/external/dbus/tools/dbus-launch.c
|
a107da84891f941d591bcaa99641f4058f089c7d |
|
26-Oct-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* tools/dbus-launch.c (main): run the dbus-daemon in the builddir if tests are enabled and the DBUS_USE_TEST_BINARY env variable is set * tools/run-with-tmp-session-bus.sh: set DBUS_USE_TEST_BINARY before we run dbus-launch * configure.in: define TEST_BUS_BINARY to be the full path to dbus-daemon in the build root
/external/dbus/tools/dbus-launch.c
|
c6e066ff8213589624507668e7dc2756dc0f59db |
|
02-Oct-2006 |
Thiago Macieira <thiago@kde.org> |
* tools/dbus-launch.c (main): make it complain and abort execution in case an unknown option is given. Also, process the '--' argument as the end of arguments.
/external/dbus/tools/dbus-launch.c
|
10fe37f58213d3895229208453c3e691e554ed72 |
|
01-Oct-2006 |
Havoc Pennington <hp@redhat.com> |
2006-10-01 Havoc Pennington <hp@redhat.com> * tools/dbus-launch.c (print_variables): if no syntax is given, don't print something that's sort-of-half-sh-syntax, just print a plain key-value pairs thing. * tools/dbus-launch-x11.c: use machine ID rather than hostname for the local machine representation (but still have the hostname in the display). Remove the hostname from the display if it is localhost. Change session files to be named ~/.dbus/session-bus/machine-display. Change X atoms to be underscore-prefixed so nobody whines about ICCCM compliance. Otherwise name them the same as the env variables. Change session file format to include key-value pairs and an explanatory comment. Keys are the same as the env variables. (set_address_in_x11): X property format can't depend on sizeof(pid_t) on a particular machine, fix to always be 32 bits * tools/dbus-launch.c: make --autolaunch take a machine id argument. If --autolaunch is used with a program to run, complain for now (but add a FIXME). Also, don't look for existing bus if there's a program to run (but add a FIXME). * dbus/dbus-sysdeps-unix.c (_dbus_get_autolaunch_address): pass machine uuid to dbus-launch (avoids linking dbus-launch to libdbus just to get this, and avoids duplicating uuid-reading code). * tools/dbus-launch.1: clarify various things
/external/dbus/tools/dbus-launch.c
|
d8155bf51bf6484a94e734601526bf211053a5e1 |
|
01-Oct-2006 |
Havoc Pennington <hp@redhat.com> |
2006-09-30 Havoc Pennington <hp@redhat.com> * configure.in (LT_CURRENT, LT_AGE): increment current and age to reflect addition of interfaces. * doc/dbus-specification.xml: describe a new org.freedesktop.DBus.Peer.GetMachineId method * dbus/dbus-string.c (_dbus_string_skip_white_reverse): new function (_dbus_string_skip_white, _dbus_string_skip_blank): use new DBUS_IS_ASCII_BLANK, DBUS_IS_ASCII_WHITE macros and fix assertion at end of skip_white (_dbus_string_chop_white): new function * bus/connection.c (bus_connections_setup_connection): call dbus_connection_set_route_peer_messages. * dbus/dbus-connection.c (_dbus_connection_peer_filter_unlocked_no_update): modify to support a GetMachineId method. Also, support a new flag to let the bus pass peer methods through to apps on the bus, which can be set with dbus_connection_set_route_peer_messages. Finally, handle and return an error for anything unknown on the Peer interface, which will allow us to extend the Peer interface in the future without fear that we're now intercepting something apps were wanting to see. * tools/dbus-uuidgen.c: a thin wrapper around the functions in dbus/dbus-uuidgen.c * dbus/dbus-uuidgen.c: implement the bulk of the dbus-uuidgen binary here, since most of the code is already in libdbus * dbus/dbus-sysdeps.c (_dbus_read_local_machine_uuid): read the uuid from the system config file * dbus/dbus-internals.c (_dbus_generate_uuid, _dbus_uuid_encode) (_dbus_read_uuid_file_without_creating) (_dbus_create_uuid_file_exclusively, _dbus_read_uuid_file): new uuid-related functions, partly factored out from dbus-server.c * dbus/dbus-sysdeps.c (_dbus_error_from_errno): convert EEXIST to DBUS_ERROR_FILE_EXISTS instead of EEXIST * dbus/dbus-protocol.h (DBUS_ERROR_FILE_EXISTS): add file exists error * tools/dbus-cleanup-sockets.1: explain what the point of this thing is a bit more * autogen.sh (run_configure): add --config-cache to default configure args * dbus/dbus-internals.h (_DBUS_ASSERT_ERROR_IS_SET): disable the error set/clear assertions when DBUS_DISABLE_CHECKS is defined * tools/dbus-launch.c (main): if xdisplay hasn't been opened, don't try to save address, fixes crash in make check
/external/dbus/tools/dbus-launch.c
|
f6fa010403cb2badd88ce096ae91f664418508d1 |
|
30-Sep-2006 |
Thiago Macieira <thiago@kde.org> |
* configure.in: add DBUS_BINDIR as a #define to C source code. * tools/dbus-launch.c * tools/dbus-launch.h * tools/dbus-launch-x11.c: * tools/dbus-launch.1: Add the --autolaunch option to dbus-launch, which makes it scan for an existing session started with --autolaunch. With that option, it also creates an X11 window and saves the bus address and PID to it. * dbus/dbus-sysdeps.h: * dbus/dbus-sysdeps-unix.c (_dbus_get_autolaunch_address): Add a function that runs "dbus-launch --autolaunch" to retrieve the running D-Bus session address (or start one if none was running) * dbus/dbus-transport.c: Add the handler for the "autolaunch:" address protocol, which tries to get the running session from dbus-launch. * dbus/dbus-bus.c: * dbus/dbus-internals.h: Make "autolaunch:" be the default D-Bus session bus address. * dbus/dbus-connection.c: Fix horrible typo in error message.
/external/dbus/tools/dbus-launch.c
|
ee6964d6a0e4fe82f838d8d352d3c57aea773047 |
|
01-Sep-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* tools/dbus-launch.c: Add a sigterm handler (patch from Frederic Crozat <fcrozat at mandriva dot com>)
/external/dbus/tools/dbus-launch.c
|
aaa432b0644199418eb2ce506c87397cd379df4f |
|
08-Aug-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* configure.in: * tools/Makefile.am: * tools/dbus-launch.c: * bus/Makefile.am: allow --with-dbus-daemondir switch to be used to make the daemon install to a seperate bindir like /usr/libexec (patch from Brian Cameron <brian dot cameron at sun dot com)
/external/dbus/tools/dbus-launch.c
|
7652304bff969afb3969603149bb385efe861fe8 |
|
03-Aug-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* s/D-BUS/D-Bus/g
/external/dbus/tools/dbus-launch.c
|
385c443cc7aacaadbdef391d3951699a7511fbb2 |
|
13-Feb-2006 |
John (J5) Palmieri <johnp@redhat.com> |
2006-02-13 John (J5) Palmieri <johnp@redhat.com> * tools/dbus-launch.c: Fixed sh syntax output
/external/dbus/tools/dbus-launch.c
|
8fcc91bf0be7401d4ec0102d5b137126c1cb9cbd |
|
10-Feb-2006 |
John (J5) Palmieri <johnp@redhat.com> |
2006-02-10 John (J5) Palmieri <johnp@redhat.com> * tools/dbus-launch.c: Fixed csh syntax output (Bug #5720)
/external/dbus/tools/dbus-launch.c
|
0ca96ec548a6e4a1e39429f3c0480adfe7e2eab8 |
|
30-Nov-2005 |
John (J5) Palmieri <johnp@redhat.com> |
* dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, dbus/dbus-server-debug-pipe.c, glib/dbus-binding-tool-glib.c glib/dbus-glib-tool.c, glib/dbus-gparser.c, glib/dbus-gproxy.c test/test-segfault.c, test/test-utils.c, test/glib/test-dbus-glib.c, tools/dbus-cleanup-sockets.c tools/dbus-launch.c, tools/dbus-tree-view.c, tools/dbus-viewer.c: Various cleanup of dead code and compiler warnings (patch from Kjartan Maraas <kmaraas at gnome.org>)
/external/dbus/tools/dbus-launch.c
|
9f92ac0ef5ae8ab5a325b15d0b3109143fe51f8c |
|
12-Jul-2005 |
Colin Walters <walters@verbum.org> |
2005-07-12 Colin Walters <walters@verbum.org> Patch from Jim Gettys <Jim.Gettys@hp.com>. * tools/dbus-launch.c: Include sys/select.h.
/external/dbus/tools/dbus-launch.c
|
2abdb13ebe737e39653b79fecd93477e156b9db1 |
|
18-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-18 Havoc Pennington <hp@redhat.com> * rename dbus-daemon-1 to dbus-daemon throughout
/external/dbus/tools/dbus-launch.c
|
43605a6f4e78a8c28afb4b1e924dff0301e0e95c |
|
10-Aug-2004 |
Havoc Pennington <hp@redhat.com> |
2004-08-09 Havoc Pennington <hp@redhat.com> * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
/external/dbus/tools/dbus-launch.c
|
a1df3040f29223eddaa3ace0fe018fcb28cddcd9 |
|
02-Dec-2003 |
Richard Hult <richard@imendio.com> |
2003-12-02 Richard Hult <richard@imendio.com> * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
/external/dbus/tools/dbus-launch.c
|
d6e1b2adb3d8e51ce1bb47295cef12d9fe1a15a8 |
|
16-Oct-2003 |
Havoc Pennington <hp@redhat.com> |
2003-10-16 Havoc Pennington <hp@redhat.com> * bus/connection.c (bus_pending_reply_expired): either cancel or execute, not both (bus_connections_check_reply): use unlink, not remove_link, as we don't want to free the link; fixes double free mess * dbus/dbus-pending-call.c (dbus_pending_call_block): fix in case where no reply was received * dbus/dbus-connection.c (_dbus_pending_call_complete_and_unlock): fix a refcount leak * bus/signals.c (match_rule_matches): add special cases for the bus driver, so you can match on sender/destination for it. * dbus/dbus-sysdeps.c (_dbus_abort): print backtrace if DBUS_PRINT_BACKTRACE is set * dbus/dbus-internals.c: add pid to assertion failure messages * dbus/dbus-connection.c: add message type code to the debug spew * glib/dbus-gproxy.c (gproxy_get_match_rule): match rules want sender=foo not service=foo * dbus/dbus-bus.c (dbus_bus_get): if the activation bus is the session bus but DBUS_SESSION_BUS_ADDRESS isn't set, use DBUS_ACTIVATION_ADDRESS instead * bus/activation.c: set DBUS_SESSION_BUS_ADDRESS, DBUS_SYSTEM_BUS_ADDRESS if appropriate * bus/bus.c (bus_context_new): handle OOM copying bus type into context struct * dbus/dbus-message.c (dbus_message_iter_get_object_path): new function (dbus_message_iter_get_object_path_array): new function (half finished, disabled for the moment) * glib/dbus-gproxy.c (dbus_gproxy_end_call): properly handle DBUS_MESSAGE_TYPE_ERROR * tools/dbus-launch.c (babysit): support DBUS_DEBUG_OUTPUT to avoid redirecting stderr to /dev/null (babysit): close stdin if not doing the "exit_with_session" thing * dbus/dbus-sysdeps.c (_dbus_become_daemon): delete some leftover debug code; change DBUS_DEBUG_OUTPUT to only enable stderr, not stdout/stdin, so things don't get confused * bus/system.conf.in: fix to allow replies, I modified .conf instead of .conf.in again.
/external/dbus/tools/dbus-launch.c
|
4097e94af3d2fb1eb865343e3f76ca3949e7c69b |
|
12-Oct-2003 |
Havoc Pennington <hp@redhat.com> |
2003-10-12 Havoc Pennington <hp@pobox.com> Added test code that 1) starts an actual bus daemon and 2) uses DBusGProxy; fixed bugs that were revealed by the test. Lots more testing possible, but this is the basic framework. * glib/dbus-gproxy.c (dbus_gproxy_manager_unregister): remove empty proxy lists from the proxy list hash * dbus/dbus-message.c (dbus_message_iter_get_args_valist): add a couple of return_if_fail checks * dbus/dbus-pending-call.c (_dbus_pending_call_new): use dbus_new0 to allocate, so everything is cleared to NULL as it should be. * glib/dbus-gmain.c (dbus_connection_setup_with_g_main): pass source as data to dbus_connection_set_timeout_functions() as the timeout functions expected * test/glib/run-test.sh: add a little script to start up a message bus and run tests using it * tools/dbus-launch.1: updates * tools/dbus-launch.c (main): add --config-file option * tools/dbus-launch.c (main): remove confusing else if (runprog) that could never be reached. * dbus/dbus-message.c (dbus_message_new_method_return) (dbus_message_new_error, dbus_message_new_signal): set the no-reply-expected flag on all these. Redundant, but may as well be consistent.
/external/dbus/tools/dbus-launch.c
|
2ad05d5ce45b05b399bcdfc5c04c95b1627c90f3 |
|
17-Jul-2003 |
Havoc Pennington <hp@redhat.com> |
2003-07-16 Havoc Pennington <hp@pobox.com> * tools/dbus-launch.c (babysit): close stdout/stderr in the babysitter process, as suggested by Thomas Leonard, so an "eval `dbus-launch --exit-with-session`" will actually return
/external/dbus/tools/dbus-launch.c
|
fc5e3a06cf4876fb10d0205a626e51109f29eb82 |
|
18-May-2003 |
Colin Walters <walters@verbum.org> |
2003-05-17 Colin Walters <walters@gnu.org> * tools/dbus-send.c: Don't exit with an error code if --help was passed. Default to using the session bus instead of the system one. * tools/dbus-launch.c: Ditto. * tools/dbus-monitor.c: Ditto. * tools/dbus-send.1: Update with new arguments. * tools/dbus-launch.c: Emit code to export variables. New arguments -s and -c to specify shell syntax, and a bit of code to autodetect syntax. Also, allow specifying a program to run. * tools/dbus-launch.1: Update with new arguments. * tools/dbus-send.1: Ditto. * tools/dbus-monitor.1: Ditto.
/external/dbus/tools/dbus-launch.c
|
df01c98cc7e83f3336e501fcf2eeee52c95464fb |
|
04-May-2003 |
Havoc Pennington <hp@redhat.com> |
2003-05-04 Havoc Pennington <hp@pobox.com> * tools/dbus-launch.c: implement * bus/main.c (main), bus/bus.c (bus_context_new): implement --print-pid and --fork
/external/dbus/tools/dbus-launch.c
|
c0158234d046381a6bc8c004c82577576977d0d7 |
|
04-May-2003 |
Havoc Pennington <hp@redhat.com> |
2003-05-03 Havoc Pennington <hp@pobox.com> * dbus/dbus-watch.c (dbus_watch_handle): warn and return if a watch is invalid when handled * tools/Makefile.am, tools/dbus-launch.c, tools/dbus-launch.1: add dbus-launch utility to launch the bus from a shell script. Didn't actually implement dbus-launch yet, it's just a placeholder still.
/external/dbus/tools/dbus-launch.c
|