aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update copyright years on changed/new filescharles kerr2021-08-289-21/+21
|
* add play-sound tests to test-notifycharles kerr2021-08-282-3/+39
|
* make a SoundPlayer interface so we can mock it in the testscharles kerr2021-08-2813-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 soundcharles kerr2021-08-284-5/+83
|
* add logic to call sound_play_file() when the low battery notification is showncharles kerr2021-08-284-1/+92
|
* add an XDG friendly way of finding app-specific datafilescharles kerr2021-08-283-0/+109
|
* Don't prioritize discharging items with no time estimate that have more than ↵Marc Deslauriers2021-08-281-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 kerr2021-08-282-0/+11
|
* Translated using Weblate (Hungarian)Ács Zoltán2021-08-281-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 Gabriel2021-08-101-2/+1
|\ | | | | | | Attributes GH PR #36: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/36
| * Use -no-pie build flag for tests onlyRobert Tari2021-08-101-2/+1
|/
* Merge branch 'tari01-pr/add-enable-werror-option'Mike Gabriel2021-08-101-0/+7
|\ | | | | | | Attributes GH PR #35: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/35
| * Add ENABLE_WERROR optionRobert Tari2021-08-101-0/+7
|/
* Merge branch 'tari01-pr/add-documentation'Mike Gabriel2021-08-062-0/+99
|\ | | | | | | Attributes GH PR #34: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/34
| * Add documentation and build instructionsRobert Tari2021-08-062-0/+99
|/
* Translated using Weblate (Chinese (Simplified))Boyuan Yang2021-07-161-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 filesHosted Weblate2021-06-041-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))Weblate2021-06-031-0/+271
|
* Update translation filesHosted Weblate2021-06-031-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 Shahrabani2021-05-231-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 Fresco2021-05-211-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 Gabriel2021-05-171-0/+9
|\ | | | | | | Attribute GH PR #31: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/31
| * CMakeLists.txt: Add standard Ayatana CMake bitsRobert Tari2021-05-171-0/+9
|/
* Merge branch 'tari01-pr/prefixed-libayatana-common'Mike Gabriel2021-05-172-12/+12
|\ | | | | | | Attributes GH PR #30: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/30
| * Use prefixed libayatana-common symbolsRobert Tari2021-05-172-12/+12
|/
* Merge branch 'sunweaver-pr/fix-cmake-coverage-reporting'Robert Tari2021-05-111-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 Gabriel2021-05-111-1/+1
| |
| * CMakeLists.txt: Switch to 'our' new style of enabling tests and coverage ↵Mike Gabriel2021-05-041-8/+19
| | | | | | | | | | | | | | | | | | reports. This also fixes the generation of coverage reports. By some reason, the variables SERVICE_LIB and SERVICE_EXEC did not produce any raw trace data for coverage analysis. Hard-coding the target names, though, seems to work.
* | .travis.yml: Don't try running autotools based CI build.Mike Gabriel2021-05-041-1/+1
|/
* Merge branch 'tari01-pr/remove-zenity-warning'Mike Gabriel2021-05-044-50/+2
|\ | | | | | | Attributes GH PR #26: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/26
| * debian/control: Bump versioned B-D on libayatana-common to (>= 0.9.1).Mike Gabriel2021-05-041-1/+1
| |
| * src/utils.(ch): Drop local zenity_warning and use libayatana-common.Robert Tari2021-05-042-48/+0
| | | | | | | | Fixes AyatanaIndicators/ayatana-indicator-power#20
| * CMakeLists.txt: Require libayatana-common 0.9.1.Mike Gabriel2021-05-041-1/+1
|/
* Revert "Fix percentage for mice and keyboards"Mike Gabriel2021-05-041-17/+1
| | | | | | | This reverts commit f94ffac7f36831dd8a79f30d5b94de9758fcd3a6. The original commit entirely broke unit tests. Next revision should adjust unit tests (or not break them).
* debian/control: Fix B-D on libayatana-common(-dev). The -dev suffix had been ↵Mike Gabriel2021-05-041-1/+1
| | | | | | forgotten. Regression fix for 716b6558.
* Merge branch 'tari01-pr/peripherial-percentage'Mike Gabriel2021-05-031-1/+19
|\ | | | | | | Attributes GH PR #25: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/25
| * Add us to the copyright headersRobert Tari2021-05-031-0/+2
| |
| * Fix percentage for mice and keyboardsRobert Tari2021-05-031-1/+17
|/
* Merge branch 'tari01-pr/always-show'Mike Gabriel2021-05-031-0/+5
|\ | | | | | | Attributes GH PR #24: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/24
| * Always show indicator, use icon policy only on LomiriRobert Tari2021-05-031-0/+5
|/
* Merge branch 'tari01-pr/add-budgie'Mike Gabriel2021-05-032-2/+2
|\ | | | | | | Attributes GH PR #23: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/23
| * Add Budgie desktop support.Robert Tari2021-05-032-2/+2
|/ | | | Fixes AyatanaIndicators/ayatana-indicator-power#2
* Merge branch 'tari01-pr/add-libayatana-common'Mike Gabriel2021-05-035-129/+9
|\ | | | | | | Attributes GH PR #22: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/22
| * Add us to the copyright headersRobert Tari2021-05-033-0/+4
| |
| * debian/control: B-D on libayatana-common (>= 0.9.0).Robert Tari2021-05-031-0/+1
| |
| * Move redundant code portions into libayatana-common and build against it.Robert Tari2021-05-034-129/+4
|/
* Merge branch 'tari01-pr/fix-build-warnings'Mike Gabriel2021-05-032-2/+2
|\ | | | | | | Attributes GH PR #21: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/21
| * Fix cmake version warnings.Robert Tari2021-05-032-2/+2
|/
* Merge branch 'sunweaver-pr/travis-ci'Robert Tari2021-05-033-0/+214
|\ | | | | | | Attributes GH PR #27: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/27
| * tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.Mike Gabriel2021-05-031-0/+2
| |