summaryrefslogtreecommitdiff
path: root/tools/up-tool.c
AgeCommit message (Collapse)AuthorFilesLines
2014-05-07all: Remove IsDocked propertyBastien Nocera1-1/+0
Removes the deprecated (for not very long) property, before we do a 1.0 release. https://bugs.freedesktop.org/show_bug.cgi?id=78380
2014-05-07tools: Remove is-docked from up-toolBastien Nocera1-3/+1
2013-10-17tools: Update for lib API changesBastien Nocera1-18/+2
2013-10-17tools: Use notify signals instead of *changed onesBastien Nocera1-4/+20
2013-10-17all: Add GetCriticalAction daemon methodBastien Nocera1-0/+4
This allows desktop front-ends to get which action will actually be taken when we hit critical battery. This is not a property as availability of actions might change over the course of the run of the system, and we didn't want to make unnecessary D-Bus calls on startup.
2013-10-17all: Remove WarningLevel from the daemon propertiesBastien Nocera1-2/+0
The WarningLevel property just replicated the warning level on the display device, or at least should have. So we fix the latter to remove the former.
2013-10-17tools: Print the display device when using -dBastien Nocera1-0/+10
2013-10-14tools: Update for API changesBastien Nocera1-3/+3
2013-10-14tools: Remove use of deprecated featuresBastien Nocera1-12/+0
2013-09-04Set locale in daemon and toolShih-Yuan Lee (FourDollars)1-0/+2
This is necessary to properly show non-UTF8 strings in debug mode (for the daemon) and upower --dump etc. (for the tool).
2013-08-29trivial: Stop calling deprecated g_type_init()Martin Pitt1-0/+2
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.
2013-02-12Add a --enable-deprecated configure argumentRichard Hughes1-0/+6
This is turned off by default. If this is not set, then any calls to Suspend(), SuspendAllowed(), Hibernate() or HibernateAllowed() will fail with an error. The error mesage tells the user what new method to port to in logind. I'm expecting to set --enable-deprecated for Fedora 17 and 18, but turn it off for Fedora 19, so other distributions probably want to follow suit to find out what other stuff needs to be ported to the new APIs early. GNOME should already be fine, but KDE will need some solid porting as I understand it. See http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html for more information on future plans and for rationale.
2012-11-08Fix "can-hibernate" formatting in upower --dumpMartin Pitt1-1/+1
All other field names end with a colon, so that one should, too.
2011-01-04linux: use the number of active DRM devices to determine the system docked ↵Richard Hughes1-1/+4
status Not ideal, but better than relying on ACPI.
2010-11-01Port from EggDebug to the GLib built-in logging frameworkRichard Hughes1-5/+2
2010-03-26Ensure we enumerate devices before we start monitoring themRichard Hughes1-0/+5
2010-02-06Update help and g_option_context_new to upowerMichael Biebl1-3/+3
2010-02-05trivial: fix a compile warningRichard Hughes1-0/+1
2010-02-05Use GCancellable in libupower-glib so we can eventually get to GIO async ↵Richard Hughes1-5/+5
methods without breaking future API
2010-02-05Make the upower client tool use libupwer-glib, rather than devit-power-gobjectRichard Hughes1-60/+81
2010-01-21Make the client tool be called upower, but maintain a symlink to devkit-powerRichard Hughes1-1/+0
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes1-0/+337
ABI changes