Harald Hoyer
7fd1b19bc9
move _cleanup_ attribute in front of the type
...
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
2013-04-18 09:11:22 +02:00
Simon Peeters
449101fce2
Move bus_error to dbus-common and remove bus_error_message_or_strerror
...
bus_error and bus_error_message_or_strerror dit almost exactly the same,
so use only one of them and place it in dbus-common.
2013-04-18 02:54:58 +02:00
Zbigniew Jędrzejewski-Szmek
4654e558a3
logind: exploit previous cleanups and simplify returns
2013-03-18 20:58:39 -04:00
Colin Walters
ce0fc5f5f6
logind: Make more use of cleanup macros
2013-03-18 19:59:33 -04:00
Kay Sievers
2f2343c6b1
inhibit: print --list if no argument is given
2013-03-05 19:34:38 +01:00
Mantas Mikulėnas
41330ddb03
inhibit: make the output more readable
...
The columnar output can become pretty horrible. When GNOME inhibits
power/suspend/hibernate keys, the "WHAT" column's text extends to "WHO"
and even "WHY". At the same time, all texts in "WHY" are of the form
GNOME handlin...sses
Receiving sle...ions
GNOME needs t...reen
This patch splits each inhibit entry into four lines, allowing the full
text to fit in a normal-width terminal.
2013-03-01 19:22:30 +01:00
Lennart Poettering
bc2708414b
build-sys: drop all distribution specfic checks
...
Yay, we now have a completely generic systemd. No distribution specific checks anymore!
2013-01-04 23:26:21 +01:00
Сковорода Никита Андреевич
2f1bb51336
man: handle-sleep-key is invalid, replace it with handle-suspend-key and handle-hibernate-key in systemd-inhibit help and man.
2012-10-03 19:15:02 -04:00
Lennart Poettering
12a1309e11
man: document new inhibitor types
2012-09-19 15:28:55 +02:00
Lennart Poettering
77030bd65f
inhibit: close all fds when invoking inhibited tool
2012-09-10 09:45:55 +02:00
Lennart Poettering
3137e0bd52
dbus: minor coding style fixes
2012-09-10 09:38:49 +02:00
Matthias Clasen
680258b112
Make systemd-inhibit --list work
...
The code in the print_inhibitors function had an unintended
unconditional early exit, causing it to never print any
inhibitors.
2012-09-10 09:32:50 +02:00
Simon Peeters
b9c26b4134
logind: use bus_method_call_with_reply() where posible
2012-08-08 17:20:04 +02:00
Lennart Poettering
4943c1c94b
logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend"
2012-05-08 13:54:23 +02:00
Lennart Poettering
eecd1362f7
logind: implement delay inhibitor locks in addition to block inhibitor locks
...
This is useful to allow applications to synchronously save data before
the system is suspended or shut down.
2012-05-05 00:36:08 +02:00