aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * add tests for gsd GetDevices returning (a) no devices and (b) an errorCharles Kerr2012-05-291-130/+196
| | | |
| | | * exclude G_DEFINE_TYPE from coverage testing in dbus-listener.cCharles Kerr2012-05-291-0/+2
| | | |
| | | * add more tests to improve coverage: different device types, no primary deviceCharles Kerr2012-05-282-0/+62
| | | |
| | | * add a mock GSD.Power to handle the GetPower requestsCharles Kerr2012-05-283-9/+177
| | | |
| | | * use signals to decouple i-power and dbus-listenerCharles Kerr2012-05-275-134/+66
| | | |
| | | * Add skeleton test for IndicatorPowerDbusListenerCharles Kerr2012-05-272-0/+79
| | | |
| | | * add coverage for charging with >1 minute but <1 hour leftCharles Kerr2012-05-261-0/+9
| | | |
| | | * add coverage for DBusListener get_property()Charles Kerr2012-05-261-0/+17
| | | |
| | | * try adding LCOV_EXCL_{START,STOP} for unreachable conditions (glib looking ↵Charles Kerr2012-05-262-3/+23
| | | | | | | | | | | | | | | | for subclasses of IndicatorPowerDevice; unreachables in G_DEFINE_TYPE)
| | | * call g_object_run_dispose() in a standalone test to get coverage on the NULL ↵Charles Kerr2012-05-262-0/+2
| | | | | | | | | | | | | | | | / non-NULL branches of dispose()'s g_clear_pointer() calls
| | | * nope, LCOV_EXCL_LINE doesn't work on macrosCharles Kerr2012-05-261-7/+7
| | | |
| | | * try adding LCOV_EXCL_LINE for unreachable conditions (glib looking for ↵Charles Kerr2012-05-261-7/+7
| | | | | | | | | | | | | | | | subclasses of IndicatorPowerDevice; unreachables in G_DEFINE_TYPE)
| | | * reuse the same cancellable across multiple non-concurrent dbus callsCharles Kerr2012-05-261-18/+18
| | | |
| | | * avoid a cyclical refcount dependency between IndicatorPower and its DBusListenerCharles Kerr2012-05-261-3/+17
| | | |
| | | * extract-method to simplify testing the accessible textCharles Kerr2012-05-261-47/+45
| | | |
| | | * separate the dbus org.gnome.SettingsDaemon.Power logic into a separate classCharles Kerr2012-05-264-147/+366
| | | |
| | | * add coverage for various charging/discharging/charged statesCharles Kerr2012-05-261-3/+101
| | | |
| | | * first draft of adding tests for a discharging batteryCharles Kerr2012-05-261-0/+35
| | | |
| | | * make indicator_power_set_devices() safe for passing in the same devices more ↵Charles Kerr2012-05-251-12/+14
| | | | | | | | | | | | | | | | than once
| | | * fix negated logic in menu_add_device() introduced in r160Charles Kerr2012-05-251-1/+1
| | | |
| | | * indicator_power_set_devices() should fail gracefully when no devices are ↵Charles Kerr2012-05-251-2/+5
| | | | | | | | | | | | | | | | available
| | | * make Jenkins happyCharles Kerr2012-05-251-2/+2
| | | |
| | | * modify IndicatorPower to use IndicatorPowerDevices internallyCharles Kerr2012-05-253-188/+193
| | | |
| | | * put IndicatorPower's fields back inside a priv structCharles Kerr2012-05-252-74/+99
| | | |
| | | * ah, c++ is too smart for the last commit's implicit conversion.Charles Kerr2012-05-241-1/+1
| | | |
| | | * test passing bad non-NULL pointers to Device's accessorsCharles Kerr2012-05-241-6/+16
| | | |
| | | * add unit tests confirming that the device accessor functions won't crash ↵Charles Kerr2012-05-241-0/+14
| | | | | | | | | | | | | | | | when you pass NULL for the device
| | | * remove the 'default' clause from get_property() and set_property().Charles Kerr2012-05-241-8/+0
| | | | | | | | | | | | | | | | | | | | Coverage testing isn't reaching them... glib is weeding out these invalid property keys before the device.c functions are ever reached. Nevertheless, leaving out a 'default' clause in a switch statement feels very unnatural to me. *twitch* *twitch*
| | | * remove some unnecessary type compatibilty tests... g_object_get_property() ↵Charles Kerr2012-05-241-6/+0
| | | | | | | | | | | | | | | | does these tests for us
| | | * remove the tests that attempted to exercise the code removed in r151Charles Kerr2012-05-241-33/+2
| | | |
| | | * don't include the unit tests' code in coverage metricsCharles Kerr2012-05-241-3/+2
| | | |
| | | * remove some unnecessary type compatibilty tests... g_object_set_property() ↵Charles Kerr2012-05-241-6/+0
| | | | | | | | | | | | | | | | does these tests for us
| | | * add unit tests for getting/setting device propertiesCharles Kerr2012-05-241-0/+90
| | | |
| | | * first draft of getting GSettings working in the unit tests before the schema ↵Charles Kerr2012-05-242-4/+33
| | | | | | | | | | | | | | | | is installed.
| | | * remove the g_clear_pointer() calls s.t. things will build and run on ↵Charles Kerr2012-05-241-2/+6
| | | | | | | | | | | | | | | | alesage's Jenkins setup running Precise
| | | * remove the g_clear_pointer() calls s.t. things will build and run on ↵Charles Kerr2012-05-242-5/+5
| | | | | | | | | | | | | | | | alesage's Jenkins setup running Precise
| | | * add test-indicator.ccCharles Kerr2012-05-241-0/+52
| | | |
| | | * add a 'hello world' test for instantiating IndicatorPowerCharles Kerr2012-05-243-52/+94
| | | |
| | | * add private container struct IndicatorPowerDeviceCharles Kerr2012-05-249-3/+706
| | | |
| | | * replace 'Power Settings...' with 'Power Settings…'Charles Kerr2012-05-231-1/+1
| | | |
| | | * move libpower's automake rules into src/Charles Kerr2012-05-233-27/+30
| | |/
| | * fix a handful of string and GVariant leaks in indicator-power.Charles Kerr2012-04-261-39/+35
| | |\
| | | * tweak: in put_primary_device(), peek at the variant's strings instead of ↵Charles Kerr2012-04-151-5/+3
| | | | | | | | | | | | | | | | dup'ing them
| | | * sync with lp:indicator-powerCharles Kerr2012-04-155-49/+76
| | | |\ | | | |/ | | |/|
| | | * fix leaked strings in menu_add_device when (kind == UP_DEVICE_KIND_LINE_POWER)Charles Kerr2012-04-151-6/+4
| | | |
| | | * Fix memory leaks in get_primary_device().Charles Kerr2012-03-171-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. All the calls to g_variant_get_child_value() were leaked. Fixed by changing the use to g_variant_get_child() and keeping index values of the interesting children instead of pointers to them. 2. There were several paths where the local string "object_path" and "device_icon" were leaked. (For example, any non-battery entry given to us by upower). Fixed by making these const strings and peeking them from the variant with "&s" instead of "s".
| | | * Fix variant leak in count_batteries() -- the returned value of ↵Charles Kerr2012-03-171-0/+2
| | | | | | | | | | | | | | | | g_variant_get_child_value() needs to be freed with g_variant_unref() when we're done with it.
| | | * fix variant leaks in menu_add_devices()Charles Kerr2012-03-171-2/+2
| | | |
* | | | releasing version 2.0-0ubuntu1Ken VanDine2012-04-111-1/+1
| | | |
* | | | * New upstream release.Ken VanDine2012-04-119-147/+261
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * Make menu items accessible with Orca Screen reader (LP: #953176) * Plug memory leaks when updating our icons