Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes leaking some DBus objects on shutdown, causing noise in
gobject-list and valgrind logs.
https://bugs.freedesktop.org/show_bug.cgi?id=82659
|
|
This makes it easier to find real memory leaks with valgrind. After
calling the up_backend_unplug functions, you cannot restart it with
up_backend_coldplug since the lists are cleared.
Tested with Linux only (not on *BSD; dummy compiles).
https://bugs.freedesktop.org/show_bug.cgi?id=82659
|
|
Matching the work done in glib, gtk+, etc.
This also differentiates the unknown and normal timeouts in
the Linux power supply driver.
|
|
And remove ifdef's.
|
|
It was added for some workloads, but ill-suited and never really
got traction. Using cgroups to manage the resources of particular
services (using systemd), or something separate like rtkit is
a better bet.
|
|
If an unknown option was passed to the daemon, it might fail
to parse some of the passed options, and not take them into account.
For example: "upower -d --timed-exit" would fail to exit
Error out when an unknown option is passed.
|
|
This is necessary to properly show non-UTF8 strings in debug mode (for the
daemon) and upower --dump etc. (for the tool).
|
|
When building with a recent enough glib (>= 2.36), don't call g_type_init() any
more. This is deprecated and causes ugly compile warnings.
|
|
This reverts commit eddcf0ef3d0b8445618e368328d7e110a83b69b3.
We don't need the --test option any more now that we always run tests on a
(fake) system D-BUS.
|
|
Now systemd is pushing all our debugging to syslog, we're upsetting some people.
|
|
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
|
Many thanks to Takahiro HASHIMOTO for debugging the problem. Fixes fdo#37489
|
|
If the version of Glib is too old, we continue to use the old non-threadsafe version.
|
|
Add a daemon option --test which will run upowerd on the session bus. This
allows us to run tests without interfering with the system instance. This also
avoids any root privileges entirely, which permits running integration tests as
part of a package build.
|
|
|
|
Add a new DBus interface based on the QoS one to provide for controlling a
keyboard backlight via the Linux leds interface.
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
|
This makes it possible to profile more accurately using systemtap
|
|
|
|
|
|
|
|
org.freedesktop.UPower
|
|
|
|
|
|
|
|
|
|
ABI changes
|