summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Expand)AuthorFilesLines
2008-08-29trivial: don't use GIO functionality just yetRichard Hughes1-6/+1
2008-08-28switch from using GPtrArray to EggObjList as this provides us with auto array...Richard Hughes5-55/+80
2008-08-28convert to using egg_ functionality like other projectsRichard Hughes15-125/+779
2008-08-28save the time to full and time to empty tooRichard Hughes3-0/+134
2008-08-26trivial fixupRichard Hughes1-2/+2
2008-08-26don't return stats when we actually mean history -- the stats parts need to b...Richard Hughes4-25/+77
2008-08-26Merge branch 'master' into tempRichard Hughes6-143/+143
2008-08-26remove the battery- and line-power- prefix from the device propertiesRichard Hughes6-143/+143
2008-08-26rename GetStats to GetHistoryRichard Hughes1-4/+53
2008-08-26don't report negative rate when chargingRichard Hughes1-4/+0
2008-08-22add a MONITOR type, and make the printing code a little mor saneRichard Hughes1-1/+1
2008-08-22add functionality to monitor a Watts Up Pro deviceRichard Hughes6-0/+575
2008-08-20don't use deprecate udev rule matching, and prefix our new variablesRichard Hughes4-61/+51
2008-08-15document the output of the Device.GetStatistics() methodRichard Hughes1-1/+25
2008-08-15use DKP_ID_BATTERY_TYPE rather than ID_BATTERY_TYPE to not pollute the main n...Richard Hughes4-33/+33
2008-08-13trivial: dist the corect udev rulesRichard Hughes1-1/+2
2008-08-13only match on USB HID devices so we don't try to connect to every USB device ...Richard Hughes5-12/+81
2008-08-13failure to register on the bus or refresh is a fatal coldplugRichard Hughes1-2/+7
2008-08-13always coldplug power_supply devices tooRichard Hughes1-1/+9
2008-08-12use the device file when it's available for usbhid devicesRichard Hughes1-41/+44
2008-08-12add support for old style HID UPS devicesRichard Hughes4-0/+472
2008-08-12refactor the device coldplugging so it's easier to add new device types in th...Richard Hughes1-26/+25
2008-08-12don't setup the DkpCsr poll before we know that the coldplugging has succeededRichard Hughes1-8/+16
2008-08-12don't force a refresh in DkpDevice if the coldplugging failedRichard Hughes1-4/+5
2008-08-12the : char is not a allowed in a object_pathRichard Hughes1-0/+2
2008-08-11create the history profile directory when we installRichard Hughes1-0/+3
2008-08-11save the history in a sane place, not in my Desktop directory...Richard Hughes1-2/+1
2008-08-11reresh the object before we calculate the id, else we fail and do not get his...Richard Hughes1-2/+3
2008-08-11check for libusb in configureRichard Hughes1-1/+1
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-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 Hughes5-38/+38
2008-08-10add CSR support so we know about mice and keyboardsRichard Hughes5-29/+414
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 Hughes10-1148/+1232
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-05make the LowBatteryChanged and OnBatteryChanged signals workRichard Hughes3-32/+118
2008-08-05don't segfault when a history file is present but emptyRichard Hughes1-2/+8
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 Hughes1-2/+1
2008-08-04treat the timespan like a range, and search backwards so we aways get some dataRichard Hughes1-7/+14