2006-10-01 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Sun, 1 Oct 2006 20:05:39 +0000 (20:05 +0000)
committerHavoc Pennington <hp@redhat.com>
Sun, 1 Oct 2006 20:05:39 +0000 (20:05 +0000)
commit10fe37f58213d3895229208453c3e691e554ed72
tree45b26b235471d398ef9d7d1331a00b02690d62b1
parent7020b573764bb86551d329e867c2e87172424c9b
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
ChangeLog
dbus/dbus-sysdeps-unix.c
tools/Makefile.am
tools/dbus-launch-x11.c
tools/dbus-launch.1
tools/dbus-launch.c
tools/dbus-launch.h