Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modify IndicatorPower to use IndicatorPowerDevices internally | Charles Kerr | 2012-05-25 | 3 | -188/+193 |
| | |||||
* | put IndicatorPower's fields back inside a priv struct | Charles Kerr | 2012-05-25 | 2 | -74/+99 |
| | |||||
* | ah, c++ is too smart for the last commit's implicit conversion. | Charles Kerr | 2012-05-24 | 1 | -1/+1 |
| | |||||
* | test passing bad non-NULL pointers to Device's accessors | Charles Kerr | 2012-05-24 | 1 | -6/+16 |
| | |||||
* | add unit tests confirming that the device accessor functions won't crash ↵ | Charles Kerr | 2012-05-24 | 1 | -0/+14 |
| | | | | when you pass NULL for the device | ||||
* | remove the 'default' clause from get_property() and set_property(). | Charles Kerr | 2012-05-24 | 1 | -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 Kerr | 2012-05-24 | 1 | -6/+0 |
| | | | | does these tests for us | ||||
* | remove the tests that attempted to exercise the code removed in r151 | Charles Kerr | 2012-05-24 | 1 | -33/+2 |
| | |||||
* | don't include the unit tests' code in coverage metrics | Charles Kerr | 2012-05-24 | 1 | -3/+2 |
| | |||||
* | remove some unnecessary type compatibilty tests... g_object_set_property() ↵ | Charles Kerr | 2012-05-24 | 1 | -6/+0 |
| | | | | does these tests for us | ||||
* | add unit tests for getting/setting device properties | Charles Kerr | 2012-05-24 | 1 | -0/+90 |
| | |||||
* | first draft of getting GSettings working in the unit tests before the schema ↵ | Charles Kerr | 2012-05-24 | 2 | -4/+33 |
| | | | | is installed. | ||||
* | remove the g_clear_pointer() calls s.t. things will build and run on ↵ | Charles Kerr | 2012-05-24 | 1 | -2/+6 |
| | | | | alesage's Jenkins setup running Precise | ||||
* | remove the g_clear_pointer() calls s.t. things will build and run on ↵ | Charles Kerr | 2012-05-24 | 2 | -5/+5 |
| | | | | alesage's Jenkins setup running Precise | ||||
* | add test-indicator.cc | Charles Kerr | 2012-05-24 | 1 | -0/+52 |
| | |||||
* | add a 'hello world' test for instantiating IndicatorPower | Charles Kerr | 2012-05-24 | 3 | -52/+94 |
| | |||||
* | add private container struct IndicatorPowerDevice | Charles Kerr | 2012-05-24 | 9 | -3/+706 |
| | |||||
* | replace 'Power Settings...' with 'Power Settings…' | Charles Kerr | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | move libpower's automake rules into src/ | Charles Kerr | 2012-05-23 | 3 | -27/+30 |
| | |||||
* | fix a handful of string and GVariant leaks in indicator-power. | Charles Kerr | 2012-04-26 | 1 | -39/+35 |
|\ | |||||
| * | tweak: in put_primary_device(), peek at the variant's strings instead of ↵ | Charles Kerr | 2012-04-15 | 1 | -5/+3 |
| | | | | | | | | dup'ing them | ||||
| * | sync with lp:indicator-power | Charles Kerr | 2012-04-15 | 5 | -49/+76 |
| |\ | |/ |/| | |||||
* | | 2.02.0 | Charles Kerr | 2012-04-11 | 1 | -1/+1 |
| | | |||||
* | | merge lp:~allanlesage/indicator-power/TDD to improve our gcov fules in autotools | Charles Kerr | 2012-04-10 | 4 | -45/+65 |
|\ \ | |||||
| * | | Pedantic name change for gcovr xml results. | Allan LeSage | 2012-03-27 | 1 | -2/+2 |
| | | | |||||
| * | | Added gcov coverage tooling. | Allan LeSage | 2012-03-27 | 4 | -45/+65 |
| | | | |||||
* | | | use atk_object_set_name(foo,bar)" instead of ↵ | Charles Kerr | 2012-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | g_object_set(foo,"accessible-name",bar,NULL)" | ||||
* | | | leak fix 3 of 3: don't leak the GIcons returned by get_device_icon() | Charles Kerr | 2012-04-09 | 1 | -0/+2 |
| | | | |||||
* | | | leak fix 2 of 3: fix leaky fallback GIcon in get_device_icon() | Charles Kerr | 2012-04-09 | 1 | -3/+4 |
| | | | |||||
* | | | leak fix 1 of 3: don't leak object_path and device_icon if kind == ↵ | Charles Kerr | 2012-04-09 | 1 | -6/+4 |
| | | | | | | | | | | | | UP_DEVICE_KIND_LINE_POWER | ||||
* | | | if possible, set the device menuitems' accessible names. | Charles Kerr | 2012-04-09 | 1 | -0/+4 |
| | | | |||||
* | | | 1.931.93 | Charles Kerr | 2012-03-21 | 1 | -1/+1 |
| | | | |||||
| | * | fix leaked strings in menu_add_device when (kind == UP_DEVICE_KIND_LINE_POWER) | Charles Kerr | 2012-04-15 | 1 | -6/+4 |
| | | | |||||
| | * | Fix memory leaks in get_primary_device(). | Charles Kerr | 2012-03-17 | 1 | -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 Kerr | 2012-03-17 | 1 | -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 Kerr | 2012-03-17 | 1 | -2/+2 |
| |/ |/| | |||||
* | | merge lp:~kelemeng/indicator-power/bug957542 to fix extracting translatable ↵ | Charles Kerr | 2012-03-17 | 1 | -1/+1 |
|\ \ | | | | | | | | | | strings from ipower (Bug #957542) | ||||
| * | | Add g_dngettext to the list of known keywords. LP: #957542 | Gabor Kelemen | 2012-03-17 | 1 | -1/+1 |
|/ / | |||||
* / | 1.911.92 | Charles Kerr | 2012-03-14 | 1 | -1/+1 |
|/ | |||||
* | 1.911.91 | Ted Gould | 2012-02-23 | 1 | -1/+1 |
| | |||||
* | Fix accessible descriptions | Ted Gould | 2012-02-22 | 1 | -41/+75 |
|\ | |||||
| * | when a new entry is added, ensure that its accessible_string is properly set | Charles Kerr | 2012-02-22 | 1 | -10/+37 |
| | | |||||
| * | fix trivial indentation error | Charles Kerr | 2012-02-22 | 1 | -1/+1 |
| | | |||||
| * | fix trivial misspelling | Charles Kerr | 2012-02-22 | 1 | -16/+16 |
| | | |||||
| * | fix set_accessible_desc() to update the entries' accessible_desc fields and ↵ | Charles Kerr | 2012-02-22 | 1 | -6/+17 |
| | | | | | | | | emit the accessible-desc-changed signal | ||||
| * | Listen for the "g-properties-changed" signal instead of the "g-signal" ↵ | Charles Kerr | 2012-02-17 | 1 | -19/+15 |
|/| | | | | | | | signal from its GDBusProxy to fix bug #933466. | ||||
| * | register for g-properties-changed rather than g-signal | Charles Kerr | 2012-02-16 | 1 | -19/+15 |
|/ | |||||
* | 1.901.90 | Ted Gould | 2012-02-14 | 1 | -1/+1 |
| | |||||
* | Fixing distcheck | Ted Gould | 2012-02-14 | 3 | -18/+21 |
|\ | |||||
| * | Make data have it's own makefile so the GSettings rules work properly on ↵ | Ted Gould | 2012-02-14 | 3 | -18/+21 |
|/ | | | | distcheck |