Commit graph

51 commits

Author SHA1 Message Date
Richard Hughes
d27c836e97 Rename the DBus service from org.freedesktop.DeviceKit.Power to org.freedesktop.UPower 2010-01-18 16:53:12 +00:00
Richard Hughes
8362088d12 trivial: rename some internal defines for the upower move 2010-01-18 14:04:24 +00:00
Richard Hughes
8b219b243e trivial: DkpStatsObj -> UpStatsObj (no ABI or API break) 2010-01-18 13:50:38 +00:00
Richard Hughes
3e8e98f598 trivial: DkpWakeups -> UpWakeups (no ABI or API break) 2010-01-18 13:48:15 +00:00
Richard Hughes
777cfe18a6 trivial: DkpQos -> UpQos (no ABI or API break) 2010-01-18 13:42:00 +00:00
Richard Hughes
1e8e236798 trivial: DkpHistory -> UpHistory (no ABI or API break) 2010-01-18 13:37:15 +00:00
Richard Hughes
8d4ec58206 trivial: switch to using the new enum names internally (no ABI or API break) 2010-01-18 12:57:50 +00:00
Richard Hughes
25e51c9613 trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
Richard Hughes
15ac5102c8 trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
Richard Hughes
53ae9050a9 Merge branch 'master' into gobject-introspection 2010-01-18 11:44:47 +00:00
Richard Hughes
cbabe54705 trivial: use g_set_error() in more places 2010-01-17 23:10:14 +00:00
Richard Hughes
0d7bf34ed6 Add initial GObject introspection support 2010-01-15 15:18:26 +00:00
Martin Koegler
725acd4d35 Prevent segementation fault, if connection to system dbus fails
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
2009-12-22 10:50:38 +00:00
Richard Hughes
b00791b9bf Add g_object_notify() calls for properties on DkpClient 2009-10-14 10:53:35 +01:00
Richard Hughes
b7151ff2c8 Fix a tiny memory leak when we collect the properties from the interface multiple times 2009-09-30 17:00:25 +01:00
Richard Hughes
1587fc5758 Convert the property names to be FirstLetterCaps rather than dash-dash so KDE people can use the DBus interface 2009-09-18 18:28:53 +01:00
Richard Hughes
59357d79f3 Use g_ptr_array_new_with_free_func() in more places to make client applications easier 2009-09-11 16:14:24 +01:00
Richard Hughes
b8dd8ffe1e trivial: fix up two issues from code review 2009-09-11 14:44:58 +01:00
Richard Hughes
9785f18d7e Add some self tests and fix up some obvious bugs 2009-09-11 13:51:28 +01:00
Richard Hughes
4f088d44d6 Correct a description string from one of the new enums 2009-07-13 12:34:13 +01:00
Richard Hughes
d653489227 Add two new state enums, pending-discharge and pending-charge 2009-07-06 12:13:14 +01:00
Richard Hughes
37767c77bb Revert "Add a backlight interface so we can control backlight brightness without HAL"
This reverts commit fec78d3fbb.
2009-07-05 09:34:55 +01:00
Richard Hughes
cda6d85a9d Revert "Make it very clear that the Backlight interface is temporary"
This reverts commit 65571eed9d.
2009-07-05 09:34:54 +01:00
Richard Hughes
65571eed9d Make it very clear that the Backlight interface is temporary 2009-07-03 16:58:00 +01:00
Richard Hughes
fec78d3fbb Add a backlight interface so we can control backlight brightness without HAL 2009-07-03 13:25:07 +01:00
Richard Hughes
db41483230 I must learn to spell deprecated... 2009-07-03 11:05:00 +01:00
Richard Hughes
a8d4b200bd We have to prefix the version macro with 0x, else it gets identified as octal... 2009-07-03 11:02:26 +01:00
Richard Hughes
0a5149ea6a Protect the non-GObject accessors with DKP_DISABLE_DEPRECIATED and fix up the client tool 2009-07-03 10:52:24 +01:00
Richard Hughes
e827a73922 Remove dkp_client_get_lid_is_present(), we want to encourage people to be using g_object_get 2009-07-03 10:43:15 +01:00
Richard Hughes
77c767edf4 Add a DKP_CHECK_VERSION macro which we can use in client tools 2009-07-03 10:41:32 +01:00
Richard Hughes
cb702d0736 Export the recall-notice, recall-vendor and recall-url properties on power devices 2009-07-03 10:06:41 +01:00
Richard Hughes
fd9beab227 Be less asserty when enum values are added in newer versions of the spec 2009-07-03 10:06:05 +01:00
Richard Hughes
56881f8eaf Add a lid-is-present property 2009-07-02 17:51:27 +01:00
Richard Hughes
1520785b90 trivial: ups devices have state too 2009-07-02 10:55:53 +01:00
Richard Hughes
3894b36273 Don't show empty vendor, model or serials in the debug outputs 2009-06-26 15:02:15 +01:00
Richard Hughes
494a3dba79 Only print interesting device properties 2009-06-14 19:35:21 +01:00
Richard Hughes
0789043911 Trivial formatting nit 2009-05-29 12:38:03 +01:00
Richard Hughes
5ec8c1e763 Allow properties in DkpDevice (client) to be set 2009-05-29 12:15:07 +01:00
Richard Hughes
e0d1f05462 Only attempt to print history if the device is capable 2009-05-29 12:12:24 +01:00
Ali Abdallah
b762899c60 Fix up some issues in DkpClient, and expose GObject properties
Signed-off-by: Richard Hughes <richard@hughsie.com>
2009-05-06 17:12:28 +01:00
Richard Hughes
7bd2dfefcb Add a property lid-is-closed so that we can finally drop the HAL dep in g-p-m and x-p-m 2009-05-05 12:51:26 +01:00
Richard Hughes
dccd5fc898 Ignore method timeouts when we suspend and hibernate 2009-04-25 11:07:30 +01:00
Richard Hughes
67c36ceff0 Add a has-capability to the org.freedesktop.DeviceKit.Power.Wakeups interface so clients can tell if the wakeups functionality can be supported 2009-04-22 16:55:24 +01:00
Richard Hughes
c97698adf9 Ensure we get properties on devices correctly that have not yet been changed 2009-04-22 16:44:31 +01:00
Richard Hughes
880ab7b101 trivial: fix devkit-power-gobject when linking from external programs 2009-03-24 15:18:14 +00:00
Richard Hughes
57e849f64b require I_KNOW_THE_DEVICEKIT_POWER_API_IS_SUBJECT_TO_CHANGE 2009-03-04 13:27:38 +00:00
Richard Hughes
9ae0b5c573 trivial: remove extra file from include directory 2009-02-27 13:45:24 +00:00
Richard Hughes
4fb78bb9f5 trivial: add lots of GErrors to the gobject library, and avoid using egg_warning 2009-02-27 13:18:57 +00:00
Richard Hughes
665523726a trivial: remove egg-string 2009-02-27 12:50:05 +00:00
Richard Hughes
842842c479 Ship a shared library. There are now two external projects using copies of this, which is rediculous 2009-02-27 12:32:55 +00:00