aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update translation filesHosted Weblate2021-08-291-0/+2
| | | | | | | Updated by "Update LINGUAS file" hook in Weblate. Translation: Ayatana Indicators/Power Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/power-applet/
* debian/{control,compat}: Bump to level 10.Mike Gabriel2021-08-292-2/+2
|
* debian/rules: Enable unit tests with the new way.Mike Gabriel2021-08-291-0/+9
|
* Added translation using Weblate (Kurdish (Southern))Weblate2021-08-281-0/+273
|
* Added translation using Weblate (Kurdish (Northern))Weblate2021-08-281-0/+273
|
* po/: Drop zh_Hant.po: Drop duplicate file for Chinese (Tranditional) and ↵Mike Gabriel2021-08-282-272/+1
| | | | adjust LINGUAS files.
* .travis.yml: Fix branch name what is now the default branch in ↵Mike Gabriel2021-08-281-1/+1
| | | | ayatana-dev-scripts.
* Merge branch 'tari01-pr/drop-lomiri-url-dispatcher'Mike Gabriel2021-08-285-18/+2
|\ | | | | | | Attributes GH PR #38: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/38
| * Drop all references to lomiri-url-dispatcherRobert Tari2021-08-285-18/+2
|/
* Merge branch 'sunweaver-pr/fix-ci-builds'Mike Gabriel2021-08-281-2/+32
|\ | | | | | | Attributes GH PR #40: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/40
| * .build.yml: Assure that all build requirements for libayatana-common are ↵Mike Gabriel2021-08-281-2/+32
|/ | | | available in CI build chroots.
* .build.yml: Fix CI failures in before_script stage. The libayatana-common ↵Mike Gabriel2021-08-281-39/+6
| | | | build-from-source requires Vala nowadays.
* Merge branch 'tari01-pr/fix-lomiri-power-setting'Mike Gabriel2021-08-281-12/+7
|\ | | | | | | Attribute GH PR #37: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/37
| * Fix Lomiri power settingRobert Tari2021-08-281-12/+7
|/
* Merge branch 'tari01-pr/ubports-patches'Mike Gabriel2021-08-2821-135/+659
|\ | | | | | | Attributes GH PR #33: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/33
| * Rename com.canonical.powerd -> com.lomiri.RepowerdRobert Tari2021-08-283-18/+18
| |
| * flashlight: Add support for PM8998 based SoCsJami Kettunen2021-08-281-5/+16
| | | | | | | | | | | | | | | | | | These sysfs and switch paths are used on Qualcomm SoCs which contain a PM8998 PMIC block. This at the very least includes the Snapdragon 835 (MSM8998) and Snapdragon 845 (SDM845). This was tested as working on the OnePlus 5 (MSM8998) and OnePlus 6 (SDM845) smartphones.
| * flashlight: Add support for simpler sysfs toggles (#34)Jami Kettunen2021-08-282-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)Rodney2021-08-284-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 commentCharles Kerr2021-08-281-1/+1
| |
| * since we're shopping audio out to org.freedesktop notifications, drop the ↵Charles Kerr2021-08-281-1/+0
| | | | | | | | gstreamer build dep
| * housekeeping: sync tests/glib-fixture with the up-to-date version in ↵Charles Kerr2021-08-281-57/+144
| | | | | | | | indicator-datetime
| * fix cmake warning of the test apps' dependency on the service libraryCharles Kerr2021-08-286-16/+16
| |
| * remove dead codeCharles Kerr2021-08-282-4/+2
| |
| * for low power notifications, use libnotify's 'sound-file' property instead ↵Charles Kerr2021-08-2812-655/+83
| | | | | | | | of indicator-power calling the sound player directly
| * demote a spurious warning to a debug messageCharles Kerr2021-08-281-1/+1
| |
| * don't disable the warning sound when AccountServices is completely unavailableCharles Kerr2021-08-282-4/+11
| |
| * move sound-player-mock into the tests/ directoryCharles Kerr2021-08-284-4/+10
| |
| * fix copy-paste typoCharles Kerr2021-08-281-1/+1
| |
| * assume we're in silent mode if we can't get an accounts-service proxyCharles Kerr2021-08-281-2/+6
| |
| * add a leak safeguard to accounts_service_sound_proxyCharles Kerr2021-08-281-0/+1
| |
| * add build-dep to accountsservice-ubuntu-schemas instead of bundling ↵Charles Kerr2021-08-285-54/+35
| | | | | | | | com.ubuntu.touch.AccountsService.Sound.xml into our source tree
| * handle service_set_notifier(NULL) gracefullycharles kerr2021-08-281-2/+6
| |
| * update copyright dates on changed files (again)charles kerr2021-08-283-8/+8
| |
| * honor com.ubuntu.touch.AccountsService.Sound.SilentModecharles kerr2021-08-283-1/+115
| |
| * use a symbolic constant for the low battery sound's filenamecharles kerr2021-08-283-3/+9
| |
| * create a data/sounds/ directory in the repo to hold Low battery.oggcharles kerr2021-08-284-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 datecharles kerr2021-08-281-4/+4
| |
| * fix notifier property in servicecharles kerr2021-08-281-0/+7
| |
| * in Notifier's destructor, unref its SoundPlayer fieldcharles kerr2021-08-281-0/+1
| |
| * 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