aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* when choosing a primary device from devices that are neither charging nor ↵Charles Kerr2012-11-061-14/+36
| | | | discharging, prefer batteries, then everything except line-power, then line power
* in TestDevice.ChoosePrimary, add another test (currently failing) to confirm ↵Charles Kerr2012-11-061-0/+1
| | | | that when indicator-datetime is choosing from devices that are neither charging nor discharging, batteries are more interesting than other devices, and other devices are more interesting than UP_DEVICE_KIND_LINE_POWER
* when choosing between two devices, always pick the one that's not a ↵Charles Kerr2012-11-061-1/+20
| | | | UP_DEVICE_KIND_LINE_POWER
* add unit test (currently failing) to test for the bug reported in LP bug ↵Charles Kerr2012-11-061-11/+15
| | | | #1075192
* Fix the logic error. Add tests to confirm the fix. Fixes: ↵Charles Kerr2012-10-292-53/+77
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1071757. Approved by Lars Uebernickel, PS Jenkins bot.
| * copyediting: fix comment textCharles Kerr2012-10-291-1/+1
| |
| * in TestDevice, make the log variable names a little more consistentCharles Kerr2012-10-281-14/+14
| |
| * set DeviceTest's gwarning/gcritical log func to one that prints no messages ↵Charles Kerr2012-10-281-0/+31
| | | | | | | | but accumulates the log count. This way we can both (a) silence in-console warnings that look like bugs in the test but are actually desirable warnings generated by fuzz testing, and (b) assert that we get exactly as many warnings/criticals as we expect to get.
| * expand DeviceTest.ChoosePrimary to test choosing from a wider variety of ↵Charles Kerr2012-10-281-67/+44
| | | | | | | | device states.
| * fix logic error when deciding which primary device to select.Charles Kerr2012-10-261-2/+2
| |
| * add test (currently failing) to detect the logic error reported in bug #1071757Charles Kerr2012-10-261-0/+16
|/
* choose the correct primary device, and choose the correct icon for it.Charles Kerr2012-10-265-215/+384
|\
| * fix copy-paste comment errorCharles Kerr2012-10-261-1/+1
| |
| * fix comment typoCharles Kerr2012-10-261-1/+1
| |
| * Select the primary device based on the spec's criteria. Add tests to confirm.Charles Kerr2012-10-263-56/+152
| |
| * silence the known/nonbug gtk and glib warningsCharles Kerr2012-10-261-0/+12
| |
| * add unit tests to confirm the device refcounts are correct s.t. ↵Charles Kerr2012-10-261-0/+2
| | | | | | | | IndicatorPower isn't leaking devices
| * fix leaked icon and label; found by running valgrind on tests/test-indicatorCharles Kerr2012-10-261-0/+4
| |
| * Fix unhandled enum 'unknown device' that was smoked out by the unit tests.Charles Kerr2012-10-261-0/+4
| |
| * the device kind string wasn't being used in some icon names.Charles Kerr2012-10-252-159/+210
| |
* | 12.10.2Charles Kerr2012-10-032-1/+12
|/
* merge lp:~charlesk/indicator-power/lp-1054146 to give a more accurate view ↵Charles Kerr2012-10-032-8/+17
|\ | | | | | | of discharging batteries
| * when discharging the battery, prefer the percent-charged icons over the ↵Charles Kerr2012-10-032-8/+17
|/ | | | full,good,low icons because the former show a more accurate view of the charge.
* Merge lp:~/larsu/indicator-power/plug-get-icon-memory-leakLars Uebernickel2012-09-261-0/+1
|\ | | | | | | | | Plugs a small memory leak in indicator-power.c
| * get_icon: Plug memory leakLars Uebernickel2012-09-251-0/+1
|/
* device.c: include gi18n-lib.h instead of gi18n.hLars Uebernickel2012-09-201-1/+1
| | | | | | The former calls the 'd' variants of the gettext functions and passes the libraries domain in each call.
* copyediting: text formatting to make the icon list more readableCharles Kerr2012-09-051-3/+6
|
* 12.10.1Charles Kerr2012-08-211-1/+1
|
* merge lp:~charlesk/indicator-power/lp-1023533 to bump the glib prerequisiteCharles Kerr2012-08-211-4/+6
|\
| * raise glib minimum to 2.33Charles Kerr2012-07-131-4/+6
|/
* bump version to 12.10.0Charles Kerr2012-07-111-1/+1
|
* merge lp:~charlesk/indicator-power/coverageCharles Kerr2012-07-1116-693/+2730
|\
| * disable test-dbus-listener for nowCharles Kerr2012-07-031-5/+5
| |
| * remove some dead code.Charles Kerr2012-06-071-19/+4
| |
| * improve the variant sanity tests in indicator_power_device_new_from_variant()Charles Kerr2012-06-071-3/+1
| |
| * reimplement indicator_power_device_get_icon_names() since our CA is ↵Charles Kerr2012-06-062-93/+94
| | | | | | | | incompatible with reusing code from GSD.
| * remove superfluous #includeCharles Kerr2012-06-061-2/+0
| |
| * simplify the Device properties' name stringsCharles Kerr2012-06-061-5/+5
| |
| * For GTK-Doc, reference functions with function_name() instead of #function_nameCharles Kerr2012-06-061-1/+1
| |
| * In indicator_power_device_new_from_variant(), check whether the input ↵Charles Kerr2012-06-061-0/+4
| | | | | | | | variant has the correct type before using it.
| * add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case in ↵Charles Kerr2012-06-061-0/+8
| | | | | | | | Device's get/set property methods
| * IndicatorObjectDevice's finalize() function needs to chain up to the parent ↵Charles Kerr2012-06-061-0/+2
| | | | | | | | class.
| * in IndicatorPowerDevice's class init function, use ↵Charles Kerr2012-06-061-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 Kerr2012-06-061-3/+0
| | | | | | | | needed/used
| * simplify the devices-enumerated signal's nameCharles Kerr2012-06-062-2/+2
| |
| * if self->cancellable is non-NULL in dispose(), pass it to ↵Charles Kerr2012-06-061-1/+6
| | | | | | | | g_cancellable_cancel() before clearing the listener's reference
| * remove trailing whitespaceCharles Kerr2012-06-061-1/+1
| |
| * add g_bus_unwatch_name() to watcher's dispose() methodCharles Kerr2012-06-061-0/+6
| |
| * add a GTK-Doc signal comment block for indictor-power-dbus-listener's ↵Charles Kerr2012-06-061-2/+9
| | | | | | | | enumerated signal
| * move the header files from noinst_HEADERS to libpower_la_SOURCESCharles Kerr2012-06-061-5/+3
| |