summaryrefslogtreecommitdiff
path: root/tools
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-05-07Use PIE to better secure installed tools and also use full RELRO in the daemonRichard Hughes1-1/+4
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.
2013-01-14Don't use the deprecated INCLUDES in Makefile.amRichard Hughes1-1/+1
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-07-19Use git.mk and remove the manual .gitignore filesRichard Hughes2-8/+2
2011-03-21upower needs -pthreadLandry Breuil1-0/+2
Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-02-23Drop devkit and devkit-power-daemon symlinksMichael Biebl1-3/+0
Signed-off-by: Richard Hughes <richard@hughsie.com>
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 Hughes4-9/+3
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 Hughes2-63/+84
2010-02-05Remove EGG_* log define.Michael Biebl1-4/+0
The EGG_* log defines don't seem to be used and still reference the old DeviceKit-power name. So just remove it.
2010-01-21Rename the man pages and rename the main daemon binary nameRichard Hughes1-1/+1
2010-01-21Make the client tool be called upower, but maintain a symlink to devkit-powerRichard Hughes3-31/+8
2010-01-18Rename the DBus service from org.freedesktop.DeviceKit.Power to ↵Richard Hughes1-2/+2
org.freedesktop.UPower
2010-01-18trivial: rename some internal defines for the upower moveRichard Hughes1-3/+3
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes2-12/+12
ABI changes
2009-11-23Update some common egg code for better debugging supportRichard Hughes1-3/+1
2009-10-22When using devkit-power --monitor, print a timestamp before each message for ↵Richard Hughes1-4/+38
debugging. Fixes fd#24666
2009-09-18Convert the property names to be FirstLetterCaps rather than dash-dash so ↵Richard Hughes1-1/+1
KDE people can use the DBus interface
2009-09-11Fix up a few problems spotted by clangRichard Hughes1-7/+19
2009-07-03I must learn to spell deprecated...Richard Hughes1-1/+1
2009-07-03Protect the non-GObject accessors with DKP_DISABLE_DEPRECIATED and fix up ↵Richard Hughes2-8/+37
the client tool
2009-05-05Add a property lid-is-closed so that we can finally drop the HAL dep in ↵Richard Hughes1-0/+1
g-p-m and x-p-m
2009-04-22Add a has-capability to the org.freedesktop.DeviceKit.Power.Wakeups ↵Richard Hughes1-17/+44
interface so clients can tell if the wakeups functionality can be supported
2009-04-01trivial: print the error message from dkp-toolRichard Hughes1-2/+4
2009-02-27trivial: add lots of GErrors to the gobject library, and avoid using egg_warningRichard Hughes1-7/+15
2009-02-27move the library directory from libdevkit-power to devkit-power-gobjectRichard Hughes1-2/+2
2009-02-26trivial: fix make distcheckRichard Hughes1-11/+12
2009-02-26bugfix: remove use of EggObjList, which was pretty hacky, and try to make ↵Richard Hughes1-0/+1
the library more sane
2009-01-30feature: allow showing the wakeup data in the devkit-power command line toolRichard Hughes1-5/+26
2009-01-23trivial: add a fixmeRichard Hughes2-25/+21
2008-11-12trivial cleanups of davidz patch -- no functional changesRichard Hughes1-8/+8
2008-11-11turn some methods into propertiesDavid Zeuthen1-5/+49
GetOnBattery() -> :on-battery (bool) GetLowBattery() -> :on-low-battery (bool) CanSuspend() -> :can-suspend (bool) CanHibernate() -> :can-hibernate (bool) also add a new property for the daemon version :daemon-version (string) introduce a new Changed() signal that replaces ::LowBatteryChanged() ::OnBatteryChanged() Also fix a few bugs - we need to compute ::on-battery and ::on-low-battery *after* the actual device is updated - need to fire Device::Changed() before Power::DeviceChanged() otherwise devkit-power --monitor-detail lies also fix up libdevkit-power and devkit-power(1) to use these changes.
2008-11-11nuke devkit-power-on-battery for nowDavid Zeuthen2-86/+1
2008-11-11move object paths so things are rooted under /org/freedesktop/DeviceKit/PowerDavid Zeuthen1-2/+4