Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flashlight: Add support for simpler sysfs toggles (#34) | Jami Kettunen | 2021-08-28 | 2 | -14/+65 |
| | | | | | | | | | | Unlike the overcomplicated Qualcomm mess, there are also simpler sysfs toggles which you can just write 1/0 to when enabling/disabling the flash. This is used by the MediaTek flashlight_core driver on the Volla Phone (Helio P23 / MT6763) for example, which this also adds support for. Pinephone also uses a simple sysfs toggle for flashlight. | ||||
* | Pull in many fixes from the bionic branch. (#7) | Rodney | 2021-08-28 | 4 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pay attention to $SNAP prefix * Releasing 12.10.6+17.04.20161201-0ubuntu1 * give sorting priority to devices with power supplies * Releasing 12.10.6+17.04.20170116-0ubuntu1 * Remove old autostart files. * Use gmock module from cmake-extras. * Use coverage support from cmake-extras. * Add gcovr and lcov dependencies. * Use intltool support from cmake-extras. * Remove usage of extra GCOV variables. * Remove hard-coded -g compiler flag. * Releasing 12.10.6+17.04.20170210-0ubuntu1 * no change rebuild * Releasing 12.10.6+17.04.20170322-0ubuntu1 * Start indicator in systemd when indicators.target is started * Build for bionic * This is still xenial. * Update translations from launchpad too. | ||||
* | fix glib-fixture.h copyright year in header comment | Charles Kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | since we're shopping audio out to org.freedesktop notifications, drop the ↵ | Charles Kerr | 2021-08-28 | 1 | -1/+0 |
| | | | | gstreamer build dep | ||||
* | housekeeping: sync tests/glib-fixture with the up-to-date version in ↵ | Charles Kerr | 2021-08-28 | 1 | -57/+144 |
| | | | | indicator-datetime | ||||
* | fix cmake warning of the test apps' dependency on the service library | Charles Kerr | 2021-08-28 | 6 | -16/+16 |
| | |||||
* | remove dead code | Charles Kerr | 2021-08-28 | 2 | -4/+2 |
| | |||||
* | for low power notifications, use libnotify's 'sound-file' property instead ↵ | Charles Kerr | 2021-08-28 | 12 | -655/+83 |
| | | | | of indicator-power calling the sound player directly | ||||
* | demote a spurious warning to a debug message | Charles Kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | don't disable the warning sound when AccountServices is completely unavailable | Charles Kerr | 2021-08-28 | 2 | -4/+11 |
| | |||||
* | move sound-player-mock into the tests/ directory | Charles Kerr | 2021-08-28 | 4 | -4/+10 |
| | |||||
* | fix copy-paste typo | Charles Kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | assume we're in silent mode if we can't get an accounts-service proxy | Charles Kerr | 2021-08-28 | 1 | -2/+6 |
| | |||||
* | add a leak safeguard to accounts_service_sound_proxy | Charles Kerr | 2021-08-28 | 1 | -0/+1 |
| | |||||
* | add build-dep to accountsservice-ubuntu-schemas instead of bundling ↵ | Charles Kerr | 2021-08-28 | 5 | -54/+35 |
| | | | | com.ubuntu.touch.AccountsService.Sound.xml into our source tree | ||||
* | handle service_set_notifier(NULL) gracefully | charles kerr | 2021-08-28 | 1 | -2/+6 |
| | |||||
* | update copyright dates on changed files (again) | charles kerr | 2021-08-28 | 3 | -8/+8 |
| | |||||
* | honor com.ubuntu.touch.AccountsService.Sound.SilentMode | charles kerr | 2021-08-28 | 3 | -1/+115 |
| | |||||
* | use a symbolic constant for the low battery sound's filename | charles kerr | 2021-08-28 | 3 | -3/+9 |
| | |||||
* | create a data/sounds/ directory in the repo to hold Low battery.ogg | charles kerr | 2021-08-28 | 4 | -11/+11 |
| | | | | | We may be adding sounds for when we transition to battery charging/discharging, so set up a sounds/ directory now. | ||||
* | fix another touched file's copyright date | charles kerr | 2021-08-28 | 1 | -4/+4 |
| | |||||
* | fix notifier property in service | charles kerr | 2021-08-28 | 1 | -0/+7 |
| | |||||
* | in Notifier's destructor, unref its SoundPlayer field | charles kerr | 2021-08-28 | 1 | -0/+1 |
| | |||||
* | update copyright years on changed/new files | charles kerr | 2021-08-28 | 9 | -21/+21 |
| | |||||
* | add play-sound tests to test-notify | charles kerr | 2021-08-28 | 2 | -3/+39 |
| | |||||
* | make a SoundPlayer interface so we can mock it in the tests | charles kerr | 2021-08-28 | 13 | -60/+546 |
| | | | | | | | | this requires an annoying amount of scaffolding: 1. implement gst and mock classes to implement the SoundPlayer interface 2. modify notifier to take a SoundPlayer argument in its ctor 3. modify service to take a Notifier argument in its ctor instead of instantiating it on its own 4. change main to update the startup steps for player/notifier/service | ||||
* | use gstreamer to play the sound | charles kerr | 2021-08-28 | 4 | -5/+83 |
| | |||||
* | add logic to call sound_play_file() when the low battery notification is shown | charles kerr | 2021-08-28 | 4 | -1/+92 |
| | |||||
* | add an XDG friendly way of finding app-specific datafiles | charles kerr | 2021-08-28 | 3 | -0/+109 |
| | |||||
* | Don't prioritize discharging items with no time estimate that have more than ↵ | Marc Deslauriers | 2021-08-28 | 1 | -6/+14 |
| | | | | | | | | | | | | | | 10% power remaining. Devices with no time estimates are most likely low-power devices that have long-lasting batteries, such as a mouse with AA batteries. For those type of devices that contain batteries that last weeks, there is no value in displaying their status in preference to devices that have a rapid charge/discharge cycle. However, there is value in knowing if the device has a battery that needs replacing imminently, so only display it if it falls to a 10% charge or under. | ||||
* | add 'Low battery.ogg' | charles kerr | 2021-08-28 | 2 | -0/+11 |
| | |||||
* | Translated using Weblate (Hungarian) | Ács Zoltán | 2021-08-28 | 1 | -4/+8 |
| | | | | | | | Currently translated at 97.9% (48 of 49 strings) Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/hu/ | ||||
* | Merge branch 'tari01-pr/no-pie-only-in-tests' | Mike Gabriel | 2021-08-10 | 1 | -2/+1 |
|\ | | | | | | | Attributes GH PR #36: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/36 | ||||
| * | Use -no-pie build flag for tests only | Robert Tari | 2021-08-10 | 1 | -2/+1 |
|/ | |||||
* | Merge branch 'tari01-pr/add-enable-werror-option' | Mike Gabriel | 2021-08-10 | 1 | -0/+7 |
|\ | | | | | | | Attributes GH PR #35: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/35 | ||||
| * | Add ENABLE_WERROR option | Robert Tari | 2021-08-10 | 1 | -0/+7 |
|/ | |||||
* | Merge branch 'tari01-pr/add-documentation' | Mike Gabriel | 2021-08-06 | 2 | -0/+99 |
|\ | | | | | | | Attributes GH PR #34: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/34 | ||||
| * | Add documentation and build instructions | Robert Tari | 2021-08-06 | 2 | -0/+99 |
|/ | |||||
* | Translated using Weblate (Chinese (Simplified)) | Boyuan Yang | 2021-07-16 | 1 | -4/+4 |
| | | | | | | | Currently translated at 100.0% (49 of 49 strings) Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/zh_Hans/ | ||||
* | Update translation files | Hosted Weblate | 2021-06-04 | 1 | -0/+1 |
| | | | | | | | Updated by "Update LINGUAS file" hook in Weblate. Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/ | ||||
* | Added translation using Weblate (Chinese (Traditional)) | Weblate | 2021-06-03 | 1 | -0/+271 |
| | |||||
* | Update translation files | Hosted Weblate | 2021-06-03 | 1 | -1/+0 |
| | | | | | | | Updated by "Update LINGUAS file" hook in Weblate. Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/ | ||||
* | Translated using Weblate (Hebrew) | Yaron Shahrabani | 2021-05-23 | 1 | -3/+3 |
| | | | | | | | Currently translated at 10.2% (5 of 49 strings) Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/he/ | ||||
* | Translated using Weblate (Indonesian) | Jacque Fresco | 2021-05-21 | 1 | -6/+6 |
| | | | | | | | Currently translated at 22.4% (11 of 49 strings) Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/id/ | ||||
* | Merge branch 'tari01-pr/standard-cmake' | Mike Gabriel | 2021-05-17 | 1 | -0/+9 |
|\ | | | | | | | Attribute GH PR #31: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/31 | ||||
| * | CMakeLists.txt: Add standard Ayatana CMake bits | Robert Tari | 2021-05-17 | 1 | -0/+9 |
|/ | |||||
* | Merge branch 'tari01-pr/prefixed-libayatana-common' | Mike Gabriel | 2021-05-17 | 2 | -12/+12 |
|\ | | | | | | | Attributes GH PR #30: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/30 | ||||
| * | Use prefixed libayatana-common symbols | Robert Tari | 2021-05-17 | 2 | -12/+12 |
|/ | |||||
* | Merge branch 'sunweaver-pr/fix-cmake-coverage-reporting' | Robert Tari | 2021-05-11 | 1 | -8/+19 |
|\ | | | | | | | Attributes GH PR #28: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/28 | ||||
| * | .travis.yml: Don't try running autotools based CI build. | Mike Gabriel | 2021-05-11 | 1 | -1/+1 |
| | |