Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | We really only need to keep a handful of properties up-to-date for each ↵ | Charles Kerr | 2013-11-04 | 1 | -54/+128 |
|\ | | | | | | | | | | | | | | | upower device. Given that upower requires us to refetch all properties with GetAll whenever it signals that it's changed, we really don't need to keep bus proxies alive for each device. Removing the autogenerated proxy code and just using a couple of the direct GDBusConnection API calls cuts out some unnecessary overhead according to health-check. See the before & after profile logs attached to the ticket. Fixes: https://bugs.launchpad.net/bugs/1221871. Approved by Lars Uebernickel, PS Jenkins bot. | ||||
| * | in on_bus_ready(), use g_error_matches(). | Charles Kerr | 2013-11-03 | 1 | -1/+1 |
| | | |||||
| * | in on_device_properties_ready(), improve the g_warning() text to be more useful. | Charles Kerr | 2013-11-03 | 1 | -1/+3 |
| | | |||||
| * | in on_device_properties_ready(), use g_error_matches | Charles Kerr | 2013-11-03 | 1 | -1/+1 |
| | | |||||
| * | don't create proxies for each upower device. | Charles Kerr | 2013-10-03 | 1 | -54/+126 |
| | | |||||
* | | Listen for the 'Resuming' signal from upower. When it's received, refresh ↵ | Charles Kerr | 2013-10-01 | 1 | -0/+18 |
|/ | | | | all our devices. | ||||
* | adjust device-provider-upower's timer to reduce how many times we pull the ↵ | Charles Kerr | 2013-06-19 | 1 | -48/+86 |
| | | | | device's properties over the bus. | ||||
* | in provider-upower.c, clear its private hashtable in dispose() and destroy ↵ | Charles Kerr | 2013-06-19 | 1 | -1/+16 |
| | | | | it in finalize() | ||||
* | lower the interval on the upower timer to make our updates more responsive | Charles Kerr | 2013-06-19 | 1 | -1/+1 |
| | |||||
* | in device-provider-upower's dispose(), disconnect from our proxy's signal ↵ | Charles Kerr | 2013-06-17 | 1 | -4/+11 |
| | | | | before we unref the proxy | ||||
* | add device-provider-upower, a UPower implementation of device-provider | Charles Kerr | 2013-06-16 | 1 | -0/+364 |