summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2008-08-11make the library into a proper shared library I can use in gnome-power-managerRichard Hughes5-2/+53
2008-08-11check for libusb in configureRichard Hughes2-1/+5
2008-08-11move DkpClient and DkpClientDevice to libdevkit-powerRichard Hughes6-6/+7
2008-08-11failing to get a device in the csr code isn't a bad errorRichard Hughes1-8/+8
2008-08-11fix device adding and removalRichard Hughes2-17/+12
2008-08-11fix the signals in DkpClientRichard Hughes1-3/+3
2008-08-11add the signals class information to DkpClientRichard Hughes1-2/+22
2008-08-11Abort in DkpCsr if we can't read the bus or dev numbersRichard Hughes1-0/+12
2008-08-11trivial: add GObject tests for DkpDeviceRichard Hughes1-1/+19
2008-08-10the enums of of DkpDevice origin, not DkpSourceRichard Hughes12-185/+185
2008-08-10add CSR support so we know about mice and keyboardsRichard Hughes5-29/+414
2008-08-10Add DkpObject printing hooks for mouse and keyboardRichard Hughes1-2/+25
2008-08-10trivial cosmetic changes to DkpSupplyRichard Hughes2-4/+6
2008-08-10don't try to access klass->get_stats() if it's not setRichard Hughes1-0/+7
2008-08-09refactor out DkpDevice and DkpSupply so we can add another type of device wit...Richard Hughes16-1157/+1242
2008-08-09fix dkp_object_clear to actually do the right thing and not free the objectRichard Hughes1-11/+21
2008-08-08make get_on_battery and get_low_battery part of the DkpDevice vtable, not dir...Richard Hughes5-22/+53
2008-08-08enumerate usb devices as well as power_supply devicesRichard Hughes1-6/+4
2008-08-08Add some udev rules to merge in the CSR miceRichard Hughes2-5/+31
2008-08-08add a convenience function sysfs_get_hex()Richard Hughes2-0/+19
2008-08-06make some stuff non-global in devkit-powerRichard Hughes1-4/+3
2008-08-05trivial: remove some un-needed definesRichard Hughes1-18/+0
2008-08-05abstract out the client and client device parts of the devkit-power toolRichard Hughes6-214/+829
2008-08-05move the enumeration into it's own function ready for tidyupRichard Hughes1-11/+35
2008-08-05make the LowBatteryChanged and OnBatteryChanged signals workRichard Hughes3-32/+118
2008-08-05don't segfault when a history file is present but emptyRichard Hughes2-3/+9
2008-08-05add some GObject checks in a couple of modules to try to debug a problem I'm ...Richard Hughes4-102/+133
2008-08-05don't get the ID in DkpDevice, we already set it in DkpSourceRichard Hughes1-5/+0
2008-08-05split out the device list abstraction as a proper GObject so we can easily ge...Richard Hughes4-53/+277
2008-08-05add some helpers in DkpSource to get the binary states of primary batteriesRichard Hughes3-0/+34
2008-08-04add a new ninary to get the battery power stateRichard Hughes3-5/+84
2008-08-04treat the timespan like a range, and search backwards so we aways get some dataRichard Hughes1-7/+14
2008-08-04correct the signature of GetOnBattery and GetLowbatteryRichard Hughes1-2/+2
2008-08-04make devkit-power --dump workRichard Hughes1-4/+7
2008-08-04use DkpHistoryObj in devkit-powerRichard Hughes5-11/+21
2008-08-04get the device stats in the helper toolRichard Hughes1-4/+78
2008-08-04don't crash if we do GetStatistics on a device without historyRichard Hughes1-0/+7
2008-08-04Add a GetStatistics() method on org.freedesktop.DeviceKit.Power.Source so we ...Richard Hughes3-7/+132
2008-08-04the power_supply class gives a very clear status enum, just use itRichard Hughes1-21/+15
2008-08-04add simple history data to be saved and retrievedRichard Hughes4-1/+612
2008-08-04add some helpers to manipulate DkpHistoryObj objects for the future history a...Richard Hughes2-0/+224
2008-08-04add a function dkp_object_diff() to pretty print the differences between two ...Richard Hughes2-20/+144
2008-08-04print a better seconds/minutes/hours text -- needs localising properlyRichard Hughes1-6/+30
2008-08-04handle SIGINT so we can clean up after ourselvesRichard Hughes1-1/+22
2008-08-04remove some trivial whitespace and an invalid commentRichard Hughes1-7/+0
2008-08-04add the skeleton --dump option for debugging -- more to comeRichard Hughes1-1/+5
2008-08-04add a GIO dep so we can read and write files in the futureRichard Hughes1-0/+4
2008-08-01only poll when we have no updates when charging or discharging. if we are emp...Richard Hughes1-6/+6
2008-08-01add some trivial gitignore filesRichard Hughes7-0/+95
2008-08-01of course, the right thing to do is make a static lib to avoid playing with ....Richard Hughes13-9/+48