Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bump version to 12.10.0 | Charles Kerr | 2012-07-11 | 1 | -1/+1 |
| | |||||
* | merge lp:~charlesk/indicator-power/coverage | Charles Kerr | 2012-07-11 | 16 | -693/+2730 |
|\ | |||||
| * | disable test-dbus-listener for now | Charles Kerr | 2012-07-03 | 1 | -5/+5 |
| | | |||||
| * | remove some dead code. | Charles Kerr | 2012-06-07 | 1 | -19/+4 |
| | | |||||
| * | improve the variant sanity tests in indicator_power_device_new_from_variant() | Charles Kerr | 2012-06-07 | 1 | -3/+1 |
| | | |||||
| * | reimplement indicator_power_device_get_icon_names() since our CA is ↵ | Charles Kerr | 2012-06-06 | 2 | -93/+94 |
| | | | | | | | | incompatible with reusing code from GSD. | ||||
| * | remove superfluous #include | Charles Kerr | 2012-06-06 | 1 | -2/+0 |
| | | |||||
| * | simplify the Device properties' name strings | Charles Kerr | 2012-06-06 | 1 | -5/+5 |
| | | |||||
| * | For GTK-Doc, reference functions with function_name() instead of #function_name | Charles Kerr | 2012-06-06 | 1 | -1/+1 |
| | | |||||
| * | In indicator_power_device_new_from_variant(), check whether the input ↵ | Charles Kerr | 2012-06-06 | 1 | -0/+4 |
| | | | | | | | | variant has the correct type before using it. | ||||
| * | add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case in ↵ | Charles Kerr | 2012-06-06 | 1 | -0/+8 |
| | | | | | | | | Device's get/set property methods | ||||
| * | IndicatorObjectDevice's finalize() function needs to chain up to the parent ↵ | Charles Kerr | 2012-06-06 | 1 | -0/+2 |
| | | | | | | | | class. | ||||
| * | in IndicatorPowerDevice's class init function, use ↵ | Charles Kerr | 2012-06-06 | 1 | -26/+39 |
| | | | | | | | | g_object_class_install_properties() instead of installing each property separately. | ||||
| * | remove prototype for indicator_power_dbus_listener_new() since it's not ↵ | Charles Kerr | 2012-06-06 | 1 | -3/+0 |
| | | | | | | | | needed/used | ||||
| * | simplify the devices-enumerated signal's name | Charles Kerr | 2012-06-06 | 2 | -2/+2 |
| | | |||||
| * | if self->cancellable is non-NULL in dispose(), pass it to ↵ | Charles Kerr | 2012-06-06 | 1 | -1/+6 |
| | | | | | | | | g_cancellable_cancel() before clearing the listener's reference | ||||
| * | remove trailing whitespace | Charles Kerr | 2012-06-06 | 1 | -1/+1 |
| | | |||||
| * | add g_bus_unwatch_name() to watcher's dispose() method | Charles Kerr | 2012-06-06 | 1 | -0/+6 |
| | | |||||
| * | add a GTK-Doc signal comment block for indictor-power-dbus-listener's ↵ | Charles Kerr | 2012-06-06 | 1 | -2/+9 |
| | | | | | | | | enumerated signal | ||||
| * | move the header files from noinst_HEADERS to libpower_la_SOURCES | Charles Kerr | 2012-06-06 | 1 | -5/+3 |
| | | |||||
| * | In indicator-power.c's put_primary_device(), remove dead code. | Charles Kerr | 2012-06-01 | 1 | -15/+7 |
| | | |||||
| * | copyediting: fix tab damage in dbus-listener.[ch] | Charles Kerr | 2012-06-01 | 2 | -116/+114 |
| | | |||||
| * | copyediting: fix tab damage in device.[ch] | Charles Kerr | 2012-06-01 | 2 | -177/+179 |
| | | |||||
| * | use C++-style comments in test-device.cc | Charles Kerr | 2012-06-01 | 1 | -32/+32 |
| | | |||||
| * | In indicator_power_device_get_time_details(), add a test for non-devices ↵ | Charles Kerr | 2012-06-01 | 2 | -1/+22 |
| | | | | | | | | being passed in. | ||||
| * | Fix edge case in indicator_power_device_get_icon_names() that returned a bad ↵ | Charles Kerr | 2012-06-01 | 2 | -1/+4 |
| | | | | | | | | value if the caller passed in a NULL pointer as a device. Added regression test. | ||||
| * | In indicator_power_device_get_time_details(), use g_strdup(foo) instead of ↵ | Charles Kerr | 2012-06-01 | 1 | -2/+2 |
| | | | | | | | | g_strdup_printf("%s",foo) | ||||
| * | Add coverage test for AC Adapters in indicator_power_device_get_time_details() | Charles Kerr | 2012-06-01 | 1 | -0/+8 |
| | | |||||
| * | capitalize the second word in 'AC Adapter' | Charles Kerr | 2012-06-01 | 1 | -1/+1 |
| | | |||||
| * | in indicator_power_device_get_time_details(), don't list 'not present' for ↵ | Charles Kerr | 2012-06-01 | 1 | -1/+8 |
| | | | | | | | | AC Adapters that have no % and no time estimate | ||||
| * | Add unit tests for indicator_power_device_get_time_details() | Charles Kerr | 2012-06-01 | 1 | -2/+87 |
| | | |||||
| * | In indicator_power_device_get_time_details(), remove an unlikely branch that ↵ | Charles Kerr | 2012-06-01 | 1 | -42/+30 |
| | | | | | | | | could result in time/detail strings not being set. | ||||
| * | Add gcda/gcno to CLEANFILES s.t. 'make clean' will cover them | Charles Kerr | 2012-06-01 | 1 | -0/+3 |
| | | |||||
| * | in indicator_power_device_get_time_details(), limit the scope of variables ↵ | Charles Kerr | 2012-05-31 | 1 | -3/+3 |
| | | | | | | | | short_timestring and detailed_timestring | ||||
| * | Move private indicator-power function build_device_time_details() to ↵ | Charles Kerr | 2012-05-31 | 4 | -198/+205 |
| | | | | | | | | device.c to public function indicator_power_device_get_time_details() so that we can unit test the user-visible strings. | ||||
| * | remove IndicatorPowerDevice's now-unused device icon string. | Charles Kerr | 2012-05-31 | 4 | -154/+10 |
| | | |||||
| * | Add indicator_power_device_get_icon_names(). | Charles Kerr | 2012-05-31 | 4 | -114/+451 |
| | | | | | | | | | | | | | | The main goal of this change is to make it possible to test the device's icon. A secondary goal is to clarify in the code how indicator-power's icons differ from the ones recommended by GSD. | ||||
| * | remove some g_message() calls that shouldn't've been committed. | Charles Kerr | 2012-05-31 | 1 | -5/+0 |
| | | |||||
| * | add a test to make sure that the listener responds to a PropertiesChanged signal | Charles Kerr | 2012-05-29 | 2 | -0/+67 |
| | | |||||
| * | t^Cak to indicator_set_power_differences() | Charles Kerr | 2012-05-29 | 1 | -3/+2 |
| | | |||||
| * | use g_clear_pointer() where useful | Charles Kerr | 2012-05-29 | 1 | -6/+2 |
| | | |||||
| * | add tests for gsd GetDevices returning (a) no devices and (b) an error | Charles Kerr | 2012-05-29 | 1 | -130/+196 |
| | | |||||
| * | exclude G_DEFINE_TYPE from coverage testing in dbus-listener.c | Charles Kerr | 2012-05-29 | 1 | -0/+2 |
| | | |||||
| * | add more tests to improve coverage: different device types, no primary device | Charles Kerr | 2012-05-28 | 2 | -0/+62 |
| | | |||||
| * | add a mock GSD.Power to handle the GetPower requests | Charles Kerr | 2012-05-28 | 3 | -9/+177 |
| | | |||||
| * | use signals to decouple i-power and dbus-listener | Charles Kerr | 2012-05-27 | 5 | -134/+66 |
| | | |||||
| * | Add skeleton test for IndicatorPowerDbusListener | Charles Kerr | 2012-05-27 | 2 | -0/+79 |
| | | |||||
| * | add coverage for charging with >1 minute but <1 hour left | Charles Kerr | 2012-05-26 | 1 | -0/+9 |
| | | |||||
| * | add coverage for DBusListener get_property() | Charles Kerr | 2012-05-26 | 1 | -0/+17 |
| | | |||||
| * | try adding LCOV_EXCL_{START,STOP} for unreachable conditions (glib looking ↵ | Charles Kerr | 2012-05-26 | 2 | -3/+23 |
| | | | | | | | | for subclasses of IndicatorPowerDevice; unreachables in G_DEFINE_TYPE) |