summaryrefslogtreecommitdiff
path: root/src/up-wakeups.c
AgeCommit message (Collapse)AuthorFilesLines
2014-11-26daemon: fix memleak in org.freedesktop.UPower.Wakeups.GetDataPeter Wu1-1/+4
up_wakeups_get_cmdline returns allocated memory and up_wakeup_item_set_cmdline duplicates it. Therefore free the former after setting it on the item. https://bugs.freedesktop.org/show_bug.cgi?id=82659
2014-09-16Fencepost array access errorEric Koegel1-2/+2
Array 'temp_data[100]' accessed at index 100, which is out of bounds. https://bugs.freedesktop.org/show_bug.cgi?id=71066 Signed-off-by: Richard Hughes <richard@hughsie.com>
2013-10-26daemon: Better timeout source namingBastien Nocera1-3/+3
Matching the work done in glib, gtk+, etc. This also differentiates the unknown and normal timeouts in the Linux power supply driver.
2013-10-14daemon: Require newer GLibBastien Nocera1-6/+1
And remove ifdef's.
2013-10-14daemon: Remove unneeded reset of priv struct membersBastien Nocera1-6/+0
It's already done by GObject.
2013-10-14daemon: Simplify _new() functionsBastien Nocera1-3/+1
2013-02-20Revert "Add option to run daemon on the session bus for testing"Martin Pitt1-1/+1
This reverts commit eddcf0ef3d0b8445618e368328d7e110a83b69b3. We don't need the --test option any more now that we always run tests on a (fake) system D-BUS.
2012-10-03Do not continue to poll if /proc/timer_stats is not readableRichard Hughes1-1/+1
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=826191
2011-04-26Add option to run daemon on the session bus for testingMartin Pitt1-1/+1
Add a daemon option --test which will run upowerd on the session bus. This allows us to run tests without interfering with the system instance. This also avoids any root privileges entirely, which permits running integration tests as part of a package build.
2010-11-01Port from EggDebug to the GLib built-in logging frameworkRichard Hughes1-12/+10
2010-06-05Port to GTestRichard Hughes1-27/+0
2010-06-05Assign names to our idle sources when using new versions of glib2Richard Hughes1-3/+18
This makes it possible to profile more accurately using systemtap
2010-03-26Convert the daemon to using objects from libupower-glib, not ↵Richard Hughes1-53/+58
devkit-power-gobject
2010-01-27Update the Free Software Foundation addressRichard Hughes1-1/+1
2010-01-18Rename the DBus service from org.freedesktop.DeviceKit.Power to ↵Richard Hughes1-1/+1
org.freedesktop.UPower
2010-01-18trivial: DkpWakeups -> UpWakeups (no ABI or API break)Richard Hughes1-110/+110
2010-01-18trivial: DkpDaemon -> UpDaemon (no ABI or API break)Richard Hughes1-3/+3
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes1-0/+804
ABI changes