diff -Nru ayatana-indicator-power-2.1.2/AUTHORS ayatana-indicator-power-2.2.0/AUTHORS --- ayatana-indicator-power-2.1.2/AUTHORS 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/AUTHORS 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,132 @@ +Abbas Baharforoosh +Abdusalam <1810010207@s.upc.edu.cn> +Abhay Patel +Abraham Roman +Ács Zoltán +Adolfo Jayme Barrientos +Adrià Martín +advocatux +Alberto Aguirre +Alfred Neumayer +Allan LeSage +Allan LeSage +Allan Nordhøy +Amr Karajah +Anders Jonsson +antuketot76 +Artem +Baka Gaijin +BirdZhang <0312birdzhang@gmail.com> +Boyuan Yang <073plan@gmail.com> +Calum Lind +charles kerr +Charles Kerr +Christopher Lee +Christopher Murach +CI Train Bot +Cody Garver +Danil Semenov +Danjela Hoxha +Davit Mayilyan +Didier Roche +Doma Gergő +ElectrifiedSpeed +Elizabeth Sherrock +Eugen Wesseloh +Fatih Mert Doğancan +ferhad.necef +Florian Leeber +Furkan Kalkan +Gabor Kelemen +Gabor Kelemen +george k +Grace Guo +Heimen Stoffels +Henrique Combochi +Hosted Weblate +Iain Lane +iNetRoos +Iván Seoane +Jacque Fresco +Jami Kettunen +Jan Sprinz (NeoTheThird) +Javier Jardon +Javier Jardón +Jeannette L +J. Lavoie +Joan CiberSheep +Juraj Liso +Ken VanDine +Kjetil Fleten +Kristjan Räts +Laércio Cordeiro +Lars Uebernickel +leela <52065244+leela52452@users.noreply.github.com> +leela <53352@protonmail.com> +Louies +Łukasz 'sil2100' Zemczak +Marc Deslauriers +Marcela Korreshi +Marco Trevisan (Treviño) +Marcus Tomlinson +Marius Gripsgard +Marius Gripsgard +MarongHappy +Mateusz Rumiński +Mathieu Trudel-Lapierre +Matteo F. Vescovi +Mattias Münster +Michael Terry +Michael Terry +Michal Čihař +Michalis +Mike Gabriel +Milan Korecky +Milo Ivir +Mingun +Moo +M Ramani Priya +Nazim-ua +Niara +Nick Dedekind +Oğuz Ersen +Olivier Macchioni +Pavel Borecki +Pedro Alexandre +Petter Reinholdtsen +Phillip Susi +Quentin PAGÈS +Reza Almanda +Ricardo Salveti de Araujo +Robert Ancell +Robert Tari +Rodney <6557070+dobey@users.noreply.github.com> +Rodney Dawes +Rui Mendes +Sebastian Rasmussen +Sebastien Bacher +Simon Steinbeiß +ssantos +Stéphane Graber +Swann Martinet +Talking Panda +Ted Gould +THANOS SIOURDAKIS +Theeiss +Timo Jyrinki +Tobias p +Tomáš Marný +Tundzhay Mollov +Ubuntu MATE Developers +unknown +Viktar Vauchkevich +Violeta Uzunova +WaldiS +wdggg +Weblate +Wellington Terumi Uemura +Yaron Shahrabani +Y.C cheng +Володимир Бриняк +Марс Ямбар +Мира Странная diff -Nru ayatana-indicator-power-2.1.2/.build.yml ayatana-indicator-power-2.2.0/.build.yml --- ayatana-indicator-power-2.1.2/.build.yml 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/.build.yml 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,158 @@ +######################################################### +# THE FOLLOWING LINES IS USED BY docker-build +########################################################## +requires: + archlinux: + # Useful URL: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ayatana-indicator-power + - clang + - gcc + - git + - make + - startup-notification + - which + - cmake + - cmake-extras + - intltool +# - libayatana-common + - liblomiri-url-dispatcher + - gobject-introspection + - vala + - glib2 + - libnotify + - systemd + - gstreamer + + debian: + # Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-indicator-power + - clang + - clang-tools + - g++ + - cppcheck + - git + - cmake + - cmake-extras + - intltool +# - libayatana-common-dev + - liblomiri-url-dispatcher-dev + - gobject-introspection + - libgirepository1.0-dev + - valac + - libglib2.0-dev + - libnotify-dev + - libgtest-dev + - python3-dbusmock + - dbus-test-runner + - libdbustest1-dev + - systemd + - libgstreamer1.0-dev + + ubuntu: + - clang + - clang-tools + - g++ + - git + - cmake + - cmake-extras + - intltool +# - libayatana-common-dev + - liblomiri-url-dispatcher-dev + - gobject-introspection + - libgirepository1.0-dev + - valac + - libglib2.0-dev + - libnotify-dev + - libgtest-dev + - python3-dbusmock + - dbus-test-runner + - libdbustest1-dev + - systemd + - libgstreamer1.0-dev + + ubuntu:focal: + - clang + - clang-tools + - g++ + - git + - cmake + - cmake-extras + - intltool +# - libayatana-common-dev +# - liblomiri-url-dispatcher-dev + - gobject-introspection + - libgirepository1.0-dev + - valac + - libglib2.0-dev + - libnotify-dev + - libgtest-dev + - python3-dbusmock + - dbus-test-runner + - libdbustest1-dev + - systemd + - libgstreamer1.0-dev + +variables: + - 'CHECKERS=" + -enable-checker deadcode.DeadStores + -enable-checker alpha.deadcode.UnreachableCode + -enable-checker alpha.core.CastSize + -enable-checker alpha.core.CastToStruct + -enable-checker alpha.core.IdenticalExpr + -enable-checker alpha.core.SizeofPtr + -enable-checker alpha.security.ArrayBoundV2 + -enable-checker alpha.security.MallocOverflow + -enable-checker alpha.security.ReturnPtrRange + -enable-checker alpha.unix.SimpleStream + -enable-checker alpha.unix.cstring.BufferOverlap + -enable-checker alpha.unix.cstring.NotNullTerminated + -enable-checker alpha.unix.cstring.OutOfBounds + -enable-checker alpha.core.FixedAddr + -enable-checker security.insecureAPI.strcpy"' + +before_scripts: + - cd ${START_DIR} + - if [ ! -d libayatana-common-build ]; then + - git clone --depth 1 https://github.com/AyatanaIndicators/libayatana-common.git libayatana-common-build + - fi + - cd libayatana-common-build + - cmake . -DCMAKE_INSTALL_PREFIX=/usr + - make + - make install + - cd - + - rm -Rf libayatana-common-build/ + +build_scripts: + - if [ ${DISTRO_NAME} == "debian" ];then + - export CFLAGS+=" -Wsign-compare -Wunused-parameter" + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - fi + - + - if [ -e ./CMakeLists.txt ]; then + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then + - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON + - else + - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON + - fi + - else + - exit 1 + - fi + - + - if [ $CPU_COUNT -gt 1 ]; then + - if [ ${DISTRO_NAME} == "debian" ];then + - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT + - make clean + - fi + - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT + - else + - if [ ${DISTRO_NAME} == "debian" ];then + - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make + - make clean + - fi + - scan-build $CHECKERS --keep-cc -o html-report make + - fi + - + - XVFB_RUN="$(which xvfb-run || true)" + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then + - if [ -e ./CMakeLists.txt ]; then + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test + - fi + - fi diff -Nru ayatana-indicator-power-2.1.2/ChangeLog ayatana-indicator-power-2.2.0/ChangeLog --- ayatana-indicator-power-2.1.2/ChangeLog 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/ChangeLog 2021-11-17 15:50:02.000000000 +0000 @@ -1,4906 +1,3722 @@ -2021-01-28 17:06:18 +0100 Mike Gabriel +2021-11-17 Mike Gabriel - * release 2.1.2 (HEAD -> master, tag: 2.1.2) + * release 2.2.0 (HEAD -> main, tag: 2.2.0) -2020-11-26 13:30:40 +0000 Ács Zoltán (c7a589f) +2021-11-10 Mike Gabriel - * Translated using Weblate (Hungarian) + * Merge branch 'tari01-pr/rename-to-x-lomiri' (ce10361) -2020-11-16 15:09:38 +0100 Mike Gabriel (6423a59) +2021-11-09 Robert Tari - * Merge branch 'tari01-pr/drop-panel-settings' + * Rename Lomiri-specific properties to x-lomiri (2b3772a) -2020-11-16 11:36:04 +0100 Robert Tari (c265c17) +2021-11-03 ElectrifiedSpeed - * service.c: Drop indicator settings items + * Translated using Weblate (Macedonian) (a692593) -2020-11-11 19:52:55 +0000 Oğuz Ersen (194d74c) +2021-11-02 Mike Gabriel - * Translated using Weblate (Turkish) + * Merge branch 'tari01-pr/drop-merge-review' (99f0480) -2020-11-07 20:52:57 +0000 Quentin PAGÈS (8740c00) +2021-11-02 Robert Tari - * Translated using Weblate (Occitan) + * Drop all references to MERGE-REVIEW (25aa4b1) -2020-11-06 14:09:27 +0000 Ács Zoltán (7fa6077) +2021-11-01 Mike Gabriel - * Translated using Weblate (Hungarian) + * Merge branch 'tari01-pr/accountsservice-sound' (84201b1) -2020-11-02 01:03:05 +0000 Joan CiberSheep (6427a99) +2021-11-01 Robert Tari - * Translated using Weblate (Catalan) + *_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to + HAS_LOMIRI_ACCTSERVICE_SOUND (c8aae42) + * com.ubuntu.touch.AccountsService.Sound to + com.lomiri.touch.AccountsService.Sound (b956f93) + * debian/control: Depend on lomiri-common-schemas instead of + accountsservice-ubuntu-schemas (c3e75f3) -2020-11-01 12:26:36 +0100 Hosted Weblate (9ffc597) +2021-11-01 Mike Gabriel - * Update translation files + * Merge branch 'tari01-pr/rename-com-ubuntu-touch-system' (f25c5c8) -2020-10-31 03:46:23 +0000 Joan CiberSheep (604db38) +2021-10-28 Robert Tari - * Translated using Weblate (Catalan) + * Rename com.ubuntu.touch.system to com.lomiri.touch.system (aab43ad) -2020-10-31 12:27:19 +0100 Weblate (dfc2785) +2021-11-01 Mike Gabriel - * Added translation using Weblate (Italian) + * Merge branch 'tari01-pr/x-canonical-to-x-ayatana' (2e0b3e5) -2020-10-31 12:27:10 +0100 Weblate (f1e81c0) +2021-10-26 Robert Tari - * Added translation using Weblate (Tamil (Sri Lanka)) + * Rename x-canonical properties to x-ayatana (4cefa0b) -2020-10-31 12:27:08 +0100 Weblate (c553c39) +2021-10-25 Robert Tari - * Added translation using Weblate (Dhivehi) + * Merge branch 'sunweaver-pr/travis-ci' (9496810) -2020-10-31 12:27:00 +0100 Weblate (232994a) +2021-10-25 Mike Gabriel - * Added translation using Weblate (Venetian) + * .build.yml: Remove source code of locally built dependency after it + has been installed. (50f5556) + * .build.yml: Run unit tests in build_scripts: target. (8c3fd38) + * .build.yml: Drop autogen.sh support. (de7348d) -2020-10-31 12:26:58 +0100 Weblate (9d82f29) +2021-10-22 Robert Tari - * Added translation using Weblate (Kashubian) + * data/CMakeLists.txt: Do not use automatic GSchema compilation + (6f08a78) -2020-10-31 12:26:55 +0100 Weblate (08c1f08) +2021-10-21 Mike Gabriel - * Added translation using Weblate (Macedonian) + * Merge branch 'tari01-pr/use-intltool-merge-translations' (89958b6) -2020-10-31 12:26:53 +0100 Weblate (27b5a20) +2021-10-21 Robert Tari - * Added translation using Weblate (Friulian) + * data/CMakeLists.txt: Use intltool_merge_translations instead of + execute_process (4fde8a3) -2020-10-31 12:26:48 +0100 Weblate (3fa2dc7) +2021-10-21 Mike Gabriel - * Added translation using Weblate (Tatar) + * Merge branch 'tari01-pr/use-native-cmake-gsettings-module' + (31defa1) -2020-10-28 23:16:17 +0000 Milan Korecky (9d4cf5d) +2021-10-20 Robert Tari - * Translated using Weblate (Czech) + * Use native CMake GSettings module (cb4dc74) + * .travis.yml: Temporarily disable ppc64le builds (8cae720) -2020-10-28 21:26:43 +0000 Joan CiberSheep (1ecd008) +2021-09-20 Robert Tari - * Translated using Weblate (Catalan) + * src/device.c: Fix copyright header (03b3c67) -2020-10-26 21:40:39 +0000 Adrià Martín (09941ba) +2021-09-02 Robert Tari - * Translated using Weblate (Sardinian) + * .build.yml: Also run unit tests during CI builds against Ubuntu. + (892badd) + * Fix Travis status image (85fcc78) -2020-10-27 12:26:35 +0100 Hosted Weblate (13408db) +2021-08-29 Hosted Weblate - * Update translation files + * Update translation files (5b998de) -2020-10-26 12:44:27 +0100 Weblate (e173265) +2021-08-29 Mike Gabriel - * Added translation using Weblate (Manx) + * debian/{control,compat}: Bump to level 10. (399e146) + * debian/rules: Enable unit tests with the new way. (b0897a0) -2020-10-26 12:44:25 +0100 Weblate (bdca3dc) +2021-08-28 Weblate - * Added translation using Weblate (Afar) + * Added translation using Weblate (Kurdish (Southern)) (b78e5ac) + * Added translation using Weblate (Kurdish (Northern)) (34e8684) -2020-10-26 12:44:18 +0100 Weblate (02fdb2b) +2021-08-28 Mike Gabriel - * Added translation using Weblate (Nyanja) + * po/: Drop zh_Hant.po: Drop duplicate file for Chinese + (Tranditional) and adjust LINGUAS files. (8326b47) + * .travis.yml: Fix branch name what is now the default branch in + ayatana-dev-scripts. (81bcde1) + * Merge branch 'tari01-pr/drop-lomiri-url-dispatcher' (ce0f7ae) -2020-10-26 12:44:16 +0100 Weblate (2150273) +2021-08-25 Robert Tari - * Added translation using Weblate (Assamese) + * Drop all references to lomiri-url-dispatcher (5a49c61) -2020-10-26 12:44:11 +0100 Weblate (ec5f83e) +2021-08-28 Mike Gabriel - * Added translation using Weblate (Wolof) + * Merge branch 'sunweaver-pr/fix-ci-builds' (b22198e) + * .build.yml: Assure that all build requirements for + libayatana-common are available in CI build chroots. + (9af4de7) + * .build.yml: Fix CI failures in before_script stage. The + libayatana-common build-from-source requires Vala + nowadays. (7c733c9) + * Merge branch 'tari01-pr/fix-lomiri-power-setting' (75bcdb4) -2020-10-24 21:27:28 +0000 Ács Zoltán (bdd39ab) +2021-08-25 Robert Tari - * Translated using Weblate (Hungarian) + * Fix Lomiri power setting (956867a) -2020-10-23 15:28:44 +0000 Quentin PAGÈS (61c95c2) +2021-08-28 Mike Gabriel - * Translated using Weblate (Occitan) + * Merge branch 'tari01-pr/ubports-patches' (046a91e) -2020-10-18 16:43:29 +0000 Quentin PAGÈS (f655568) +2021-07-27 Robert Tari - * Translated using Weblate (Occitan) + * Rename com.canonical.powerd -> com.lomiri.Repowerd (d5a5302) -2020-10-04 11:27:43 +0000 Michal Čihař (efee0e5) +2020-12-03 Jami Kettunen - * Translated using Weblate (Hungarian) + * flashlight: Add support for PM8998 based SoCs (2432f6b) -2020-09-30 22:02:17 +0000 Yaron Shahrabani (6754015) +2020-10-16 Jami Kettunen - * Translated using Weblate (Hebrew) + * flashlight: Add support for simpler sysfs toggles (#34) (333a427) -2020-09-29 11:38:47 +0000 Yaron Shahrabani (9bfb0db) +2018-10-28 Rodney - * Translated using Weblate (Hebrew) + * Pull in many fixes from the bionic branch. (#7) (948a510) -2020-09-27 18:57:15 +0000 Artem (71a2498) +2016-05-16 Charles Kerr - * Translated using Weblate (Russian) + * fix glib-fixture.h copyright year in header comment (ecb73d5) + * since we're shopping audio out to org.freedesktop notifications, + drop the gstreamer build dep (4a4663a) + * housekeeping: sync tests/glib-fixture with the up-to-date version + in indicator-datetime (bcdc3cc) + * fix cmake warning of the test apps' dependency on the service + library (39571b0) -2020-09-28 05:30:13 +0000 Adolfo Jayme Barrientos (b7e2379) +2016-02-01 Charles Kerr - * Translated using Weblate (Spanish) + * remove dead code (557e10a) + * for low power notifications, use libnotify's 'sound-file' property + instead of indicator-power calling the sound player + directly (f4d6611) -2020-09-25 14:30:55 +0000 Talking Panda (b36ddd0) +2016-01-04 Charles Kerr - * Translated using Weblate (Turkish) + * demote a spurious warning to a debug message (b906892) + * don't disable the warning sound when AccountServices is completely + unavailable (d2e654d) + * move sound-player-mock into the tests/ directory (f829a7e) + * fix copy-paste typo (1d9e1e5) + * assume we're in silent mode if we can't get an accounts-service + proxy (27122e9) + * add a leak safeguard to accounts_service_sound_proxy (afc0919) + * add build-dep to accountsservice-ubuntu-schemas instead of bundling + com.ubuntu.touch.AccountsService.Sound.xml into our source + tree (1182c7f) -2020-09-24 18:39:23 +0000 Quentin PAGÈS (3d3d56e) +2016-01-01 charles kerr - * Translated using Weblate (Occitan) + * handle service_set_notifier(NULL) gracefully (5d03863) + * update copyright dates on changed files (again) (deca915) + * honor com.ubuntu.touch.AccountsService.Sound.SilentMode (97130ad) + * use a symbolic constant for the low battery sound's filename + (460f146) + * create a data/sounds/ directory in the repo to hold Low battery.ogg + (c7881a2) + * fix another touched file's copyright date (9b631e9) + * fix notifier property in service (61327b5) + * in Notifier's destructor, unref its SoundPlayer field (46efcd9) + * update copyright years on changed/new files (bdc03e1) + * add play-sound tests to test-notify (d7d630d) + * make a SoundPlayer interface so we can mock it in the tests + (a8fd3f4) + * use gstreamer to play the sound (2b93945) + * add logic to call sound_play_file() when the low battery + notification is shown (4fc7a4e) + * add an XDG friendly way of finding app-specific datafiles (c5f9fe4) -2020-09-23 20:12:31 +0000 Viktar Vauchkevich (dfd79f9) +2015-06-02 Marc Deslauriers - * Translated using Weblate (Belarusian) + * Don't prioritize discharging items with no time estimate that have + more than 10% power remaining. (522fdc6) -2020-09-24 18:27:23 +0000 Quentin PAGÈS (d8b1135) +2016-01-01 charles kerr - * Translated using Weblate (Occitan) + * add 'Low battery.ogg' (6fbccd3) -2020-09-10 21:35:22 +0200 Mike Gabriel (193a475) +2021-08-27 Ács Zoltán - * release 2.1.1 (tag: 2.1.1) + * Translated using Weblate (Hungarian) (92ac255) -2020-09-07 19:07:31 +0000 Tundzhay Mollov (c41b3b6) +2021-08-10 Mike Gabriel - * Translated using Weblate (Bulgarian) + * Merge branch 'tari01-pr/no-pie-only-in-tests' (bad6295) -2020-09-06 06:37:04 +0000 Baka Gaijin (6e03179) +2021-08-10 Robert Tari - * Translated using Weblate (Japanese) + * Use -no-pie build flag for tests only (9ed2cff) -2020-09-05 22:23:52 +0200 Robert Tari (30d1a7d) +2021-08-10 Mike Gabriel - * Merge branch 'sunweaver-pr/break-ubuntu-indicator' into master - Attributes GH PR - #16:https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/16 - -2020-09-04 10:59:59 +0000 antuketot76 (d0d8857) - - * Translated using Weblate (Malay) + * Merge branch 'tari01-pr/add-enable-werror-option' (0e8c18c) -2020-09-04 10:59:59 +0000 antuketot76 (5bb3145) +2021-08-09 Robert Tari - * Translated using Weblate (Malay) + * Add ENABLE_WERROR option (b0737af) -2020-09-05 12:53:07 +0200 Mike Gabriel (859c780) +2021-08-06 Mike Gabriel - * debian/control: Add B:/R: indicator-power. + * Merge branch 'tari01-pr/add-documentation' (a3361b8) -2020-09-04 21:24:20 +0200 Mike Gabriel (2820cb8) +2021-07-28 Robert Tari - * Merge branch 'tari01-pr/power-settings-crash' + * Add documentation and build instructions (de47a96) -2020-09-03 19:24:58 +0200 Robert Tari (d6a07da) +2021-07-15 Boyuan Yang - * Do not call the power settings handler if the command is unknown + * Translated using Weblate (Chinese (Simplified)) (672d5f2) -2020-09-04 21:17:12 +0200 Mike Gabriel (527bbe4) +2021-06-04 Hosted Weblate - * Merge branch 'tari01-pr/deprecations-warnings' + * Update translation files (45e53e6) -2020-09-03 18:43:57 +0200 Robert Tari (147130a) +2021-06-03 Weblate - * Fix deprecations and build warnings. + * Added translation using Weblate (Chinese (Traditional)) (afd2c1f) -2020-09-03 18:40:39 +0200 Robert Tari (2849569) +2021-06-03 Hosted Weblate - * Whitespace fix + * Update translation files (2cbabb9) -2020-08-17 22:31:34 +0200 Mike Gabriel (ca5a779) +2021-05-22 Yaron Shahrabani - * release 2.1.0 (tag: 2.1.0) + * Translated using Weblate (Hebrew) (d01da4e) -2020-08-11 20:23:11 +0200 Mike Gabriel (592a667) +2021-05-20 Jacque Fresco - * Merge branch 'tari01-pr/replace-x-canonical-attributes' + * Translated using Weblate (Indonesian) (d6582eb) -2020-08-11 20:02:44 +0200 Robert Tari (20f7780) +2021-05-17 Mike Gabriel - * Replace x-canonical attributes + * Merge branch 'tari01-pr/standard-cmake' (49afb06) -2020-08-11 08:03:20 +0200 Robert Tari (2fe548a) +2021-05-17 Robert Tari - * Merge branch 'sunweaver-pr/drop-upstart-support' Attributes GH PR - #8: - https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/8 + * CMakeLists.txt: Add standard Ayatana CMake bits (803dbf6) -2020-08-10 12:38:38 +0200 Mike Gabriel (1fb52f0) +2021-05-17 Mike Gabriel - * Drop all references to upstart. + * Merge branch 'tari01-pr/prefixed-libayatana-common' (408b265) -2020-08-10 08:52:17 +0200 Mike Gabriel (d37997e) +2021-05-17 Robert Tari - * debian/ayatana-indicator-power.links: Add FIXME/reminder to drop - manual symlinking of systemd user service file once DH - compat level is raised to a level above 12. + * Use prefixed libayatana-common symbols (06a9f94) -2020-08-10 08:49:59 +0200 Mike Gabriel (b1ad978) +2021-05-11 Robert Tari - * Merge branch 'ubports-fix-systemd' + * Merge branch 'sunweaver-pr/fix-cmake-coverage-reporting' (b03e69d) -2020-08-09 22:00:36 +0200 Marius Gripsgard (c011884) +2021-05-04 Mike Gabriel - * Start indicator in systemd when ayatana-indicators.target is - started + * .travis.yml: Don't try running autotools based CI build. (0261d5a) + * .travis.yml: Don't try running autotools based CI build. (f853eda) + * CMakeLists.txt: Switch to 'our' new style of enabling tests and + coverage reports. (edd6cdd) + * Merge branch 'tari01-pr/remove-zenity-warning' (a3db570) -2020-08-06 20:58:44 +0000 Nazim-ua (09e8477) +2021-05-03 Mike Gabriel - * Translated using Weblate (Ukrainian) + * debian/control: Bump versioned B-D on libayatana-common to (>= + 0.9.1). (22acbfc) -2020-07-15 18:14:26 +0200 Florian Leeber (4aaddc4) +2021-04-06 Robert Tari - * Try to detect if flash needs to be enabled (latched) separately + * src/utils.(ch): Drop local zenity_warning and use + libayatana-common. (f327003) -2020-02-16 20:08:48 +0100 Alfred Neumayer (215c6dd) +2021-05-03 Mike Gabriel - * flashlight: Add more brightness file paths + * CMakeLists.txt: Require libayatana-common 0.9.1. (284da3f) -2019-08-29 13:40:58 +0800 BirdZhang (9d40332) +2021-05-04 Mike Gabriel - * Do not divide by battery size if percent less than 0.01 + * Revert "Fix percentage for mice and keyboards" (d4e75ae) + * debian/control: Fix B-D on libayatana-common(-dev). The -dev suffix + had been forgotten. (9299187) -2020-08-06 15:02:25 +0200 Mike Gabriel (960b4ec) +2021-05-03 Mike Gabriel - * debian/control: Drop from B-D: python:any. In fact, a totally - superfluous B-D. + * Merge branch 'tari01-pr/peripherial-percentage' (94edbd3) -2020-08-03 18:37:27 +0000 Abbas Baharforoosh (4ddb778) +2021-04-01 Robert Tari - * Translated using Weblate (Persian) + * Add us to the copyright headers (062e93c) + * Fix percentage for mice and keyboards (f94ffac) -2020-07-29 10:34:31 +0000 Ács Zoltán (6b9cb69) +2021-05-03 Mike Gabriel - * Translated using Weblate (Hungarian) + * Merge branch 'tari01-pr/always-show' (773cf3e) -2020-07-25 13:22:28 +0200 Mike Gabriel (6974c37) +2021-03-29 Robert Tari - * release 2.0.95 (tag: 2.0.95) + * Always show indicator, use icon policy only on Lomiri (0ded1c9) -2020-07-25 13:17:52 +0200 Mike Gabriel (42600ab) +2021-05-03 Mike Gabriel - * Merge branch 'tari01-master' + * Merge branch 'tari01-pr/add-budgie' (f188111) -2020-07-25 02:11:19 +0200 Robert Tari (0b63b9c) +2021-03-26 Robert Tari - * Added option to disable Testing/Coverage + * Add Budgie desktop support. (29f1219) -2020-07-24 12:08:07 +0200 Mike Gabriel (653137a) +2021-05-03 Mike Gabriel - * CMakeLists.txt: Drop workaround for missing libexec dir on Debian. - Debian moved forward and now supports FHS 3.0 (since - Debian Policy 4.1.5). + * Merge branch 'tari01-pr/add-libayatana-common' (03e887a) -2020-07-03 22:44:59 +0000 Tobias p (97d211a) +2021-03-25 Robert Tari - * Translated using Weblate (Danish) + * Add us to the copyright headers (9fefd2e) + * debian/control: B-D on libayatana-common (>= 0.9.0). (716b655) + * Move redundant code portions into libayatana-common and build + against it. (85b752c) -2020-06-24 13:37:04 +0000 Milo Ivir (0751254) +2021-05-03 Mike Gabriel - * Translated using Weblate (German) + * Merge branch 'tari01-pr/fix-build-warnings' (4c50f67) -2020-06-14 04:31:25 +0000 MarongHappy (eaeeb83) +2021-03-25 Robert Tari - * Translated using Weblate (Korean) + * Fix cmake version warnings. (8a96865) -2020-05-30 22:23:46 +0000 Juraj Liso (e0ce238) +2021-05-03 Robert Tari - * Translated using Weblate (Slovak) + * Merge branch 'sunweaver-pr/travis-ci' (bb0490d) -2020-05-24 05:15:49 +0000 wdggg (08d68ba) +2021-05-03 Mike Gabriel - * Translated using Weblate (Chinese (Simplified)) + * tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG. + (fc02afc) + * Travis CI: Initial draft for CI builds. (2511a46) -2020-05-08 06:05:22 +0000 Abdusalam (bec791a) +2021-05-01 Tomáš Marný - * Translated using Weblate (Uyghur) + * Translated using Weblate (Czech) (e776da3) -2020-05-09 04:21:33 +0000 iNetRoos (4cd7268) +2021-04-23 Quentin PAGÈS - * Translated using Weblate (Afrikaans) + * Translated using Weblate (Occitan) (441f676) -2020-04-30 06:44:24 +0000 Mingun (bdeb547) +2021-03-30 Hosted Weblate - * Translated using Weblate (Russian) + * Update translation files (682c211) -2020-04-27 10:00:26 +0000 Jeannette L (2bf068e) +2021-03-29 Weblate - * Translated using Weblate (Italian) + * Added translation using Weblate (Chinese (Simplified) + (zh_LATN@pinyin)) (b9720b6) -2020-04-27 10:18:56 +0000 Jeannette L (ee4390a) +2021-03-18 Reza Almanda - * Translated using Weblate (French (Canada)) + * Translated using Weblate (Indonesian) (8f67b56) -2020-04-27 09:27:48 +0000 Jeannette L (3ce36fd) +2021-02-19 J. Lavoie - * Translated using Weblate (English (United Kingdom)) + * Translated using Weblate (French) (20cd4fb) + * Translated using Weblate (Finnish) (0ada117) + * Translated using Weblate (German) (50174d4) -2020-04-27 09:39:21 +0000 Jeannette L (80ab0bc) +2021-02-04 Michalis - * Translated using Weblate (English (Canada)) + * Translated using Weblate (Greek) (0a115cb) -2020-04-27 09:43:21 +0000 Jeannette L (5d8fad3) +2021-02-03 Robert Tari - * Translated using Weblate (English (Australia)) + * Merge branch 'sunweaver-pr/port-to-lomiri-url-dispatcher' (5df9547) -2020-04-16 15:41:58 +0000 george k (f917031) +2021-01-27 Oğuz Ersen - * Translated using Weblate (Greek) + * Translated using Weblate (Turkish) (73877ac) -2020-04-14 23:59:20 +0000 Jeannette L (c566844) +2021-02-03 Mike Gabriel - * Translated using Weblate (French) + * debian/control: Switch from url-dispatcher to lomiri-url-dispatcher + in B-D. (c472b93) + * Port from URL Dispatcher to Lomiri URL Dispatcher. (828e139) -2020-04-04 06:04:38 +0000 Kristjan Räts (e51b166) +2021-01-27 Oğuz Ersen - * Translated using Weblate (Estonian) + * Translated using Weblate (Turkish) (63f44d0) -2020-04-04 05:54:35 +0000 Kristjan Räts (82ccfe4) +2021-01-28 Mike Gabriel - * Translated using Weblate (Estonian) + * release 2.1.2 (850430d) (tag: 2.1.2) -2020-04-01 20:24:05 +0000 Davit Mayilyan (8fde3eb) +2020-11-26 Ács Zoltán - * Translated using Weblate (Armenian) + * Translated using Weblate (Hungarian) (c7a589f) -2020-03-30 07:59:18 +0000 ferhad.necef (de28bf2) +2020-11-16 Mike Gabriel - * Translated using Weblate (Russian) + * Merge branch 'tari01-pr/drop-panel-settings' (6423a59) -2020-03-24 17:18:12 +0000 Violeta Uzunova (b10c322) +2020-11-16 Robert Tari - * Translated using Weblate (Bulgarian) + * service.c: Drop indicator settings items (c265c17) -2020-03-16 05:01:41 +0000 Grace Guo (c888564) +2020-11-11 Oğuz Ersen - * Translated using Weblate (Japanese) + * Translated using Weblate (Turkish) (194d74c) -2020-02-25 16:34:09 +0000 Wellington Terumi Uemura (f714149) +2020-11-07 Quentin PAGÈS - * Translated using Weblate (Portuguese (Brazil)) + * Translated using Weblate (Occitan) (8740c00) -2020-02-22 14:41:26 +0000 Amr Karajah (c330d69) +2020-11-06 Ács Zoltán - * Translated using Weblate (Arabic) + * Translated using Weblate (Hungarian) (7fa6077) -2020-02-09 13:47:50 +0000 THANOS SIOURDAKIS (fa432ab) +2020-11-02 Joan CiberSheep - * Translated using Weblate (Greek) + * Translated using Weblate (Catalan) (6427a99) -2020-02-06 14:44:37 +0000 Laércio Cordeiro (50c95bc) +2020-11-01 Hosted Weblate - * Translated using Weblate (Portuguese (Brazil)) + * Update translation files (9ffc597) -2020-01-18 13:34:48 +0000 Heimen Stoffels (54e099b) +2020-10-31 Joan CiberSheep - * Translated using Weblate (Dutch) + * Translated using Weblate (Catalan) (604db38) -2020-01-04 15:22:33 +0000 ssantos (53f947a) +2020-10-31 Weblate - * Translated using Weblate (Portuguese) + * Added translation using Weblate (Italian) (dfc2785) + * Added translation using Weblate (Tamil (Sri Lanka)) (f1e81c0) + * Added translation using Weblate (Dhivehi) (c553c39) + * Added translation using Weblate (Venetian) (232994a) + * Added translation using Weblate (Kashubian) (9d82f29) + * Added translation using Weblate (Macedonian) (08c1f08) + * Added translation using Weblate (Friulian) (27b5a20) + * Added translation using Weblate (Tatar) (3fa2dc7) -2020-01-02 22:56:31 +0000 Milo Ivir (4dc16fa) +2020-10-28 Milan Korecky - * Translated using Weblate (Croatian) + * Translated using Weblate (Czech) (9d4cf5d) -2019-11-23 17:04:46 +0000 Niara (56b5bc6) +2020-10-28 Joan CiberSheep - * Translated using Weblate (Russian) + * Translated using Weblate (Catalan) (1ecd008) -2019-11-21 11:18:52 +0100 Mike Gabriel (9d30e39) +2020-10-26 Adrià Martín - * release 2.0.94 (tag: 2.0.94) + * Translated using Weblate (Sardinian) (09941ba) -2019-11-15 14:35:56 +0000 Theeiss (4dcda7f) +2020-10-27 Hosted Weblate - * Translated using Weblate (Portuguese) + * Update translation files (13408db) -2019-11-12 15:03:33 +0000 Christopher Murach (f519dae) +2020-10-26 Weblate - * Translated using Weblate (German) + * Added translation using Weblate (Manx) (e173265) + * Added translation using Weblate (Afar) (bdca3dc) + * Added translation using Weblate (Nyanja) (02fdb2b) + * Added translation using Weblate (Assamese) (2150273) + * Added translation using Weblate (Wolof) (ec5f83e) -2019-11-10 09:33:17 +0000 Allan Nordhøy (a3c9d3f) +2020-10-24 Ács Zoltán - * Translated using Weblate (Norwegian Bokmål) + * Translated using Weblate (Hungarian) (bdd39ab) -2019-10-30 14:09:50 +0000 Marcela Korreshi (ed15e8e) +2020-10-23 Quentin PAGÈS - * Translated using Weblate (Albanian) + * Translated using Weblate (Occitan) (61c95c2) -2019-10-29 15:25:09 +0000 Danjela Hoxha (f6afdc7) +2020-10-18 Quentin PAGÈS - * Translated using Weblate (Albanian) + * Translated using Weblate (Occitan) (f655568) -2019-10-27 19:54:18 +0000 Niara (9f8fce7) +2020-10-04 Michal Čihař - * Translated using Weblate (Russian) + * Translated using Weblate (Hungarian) (efee0e5) -2019-10-23 14:43:45 +0000 Mattias Münster (e345493) +2020-09-30 Yaron Shahrabani - * Translated using Weblate (Swedish) + * Translated using Weblate (Hebrew) (6754015) -2019-10-13 09:23:14 +0000 Abhay Patel (b4d1bbb) +2020-09-29 Yaron Shahrabani - * Translated using Weblate (Hindi) + * Translated using Weblate (Hebrew) (9bfb0db) -2019-10-07 16:46:16 +0000 Mateusz Rumiński (8049edf) +2020-09-27 Artem - * Translated using Weblate (Polish) + * Translated using Weblate (Russian) (71a2498) -2019-10-01 02:00:04 +0000 Pedro Alexandre (1f27606) +2020-09-28 Adolfo Jayme Barrientos - * Translated using Weblate (Portuguese) + * Translated using Weblate (Spanish) (b7e2379) -2019-09-07 17:59:09 +0000 Abraham Roman (d876789) +2020-09-25 Talking Panda - * Translated using Weblate (Spanish) + * Translated using Weblate (Turkish) (b36ddd0) -2019-09-02 19:49:25 +0000 Swann Martinet (832dde6) +2020-09-24 Quentin PAGÈS - * Translated using Weblate (French) + * Translated using Weblate (Occitan) (3d3d56e) -2019-09-01 15:20:47 +0000 Moo (edce726) +2020-09-23 Viktar Vauchkevich - * Translated using Weblate (Lithuanian) + * Translated using Weblate (Belarusian) (dfd79f9) -2019-08-29 10:14:47 +0000 Anders Jonsson (7785fde) +2020-09-24 Quentin PAGÈS - * Translated using Weblate (Swedish) + * Translated using Weblate (Occitan) (d8b1135) -2019-08-28 18:57:56 +0000 Heimen Stoffels (ec2e79a) +2020-09-10 Mike Gabriel - * Translated using Weblate (Dutch) + * release 2.1.1 (193a475) (tag: 2.1.1) -2019-08-29 05:56:04 +0000 Mike Gabriel (e4187da) +2020-09-07 Tundzhay Mollov - * Translated using Weblate (German) + * Translated using Weblate (Bulgarian) (c41b3b6) -2019-08-28 20:21:48 +0200 Mike Gabriel (40db8a1) +2020-09-06 Baka Gaijin - * update locale files + * Translated using Weblate (Japanese) (6e03179) -2019-08-28 11:08:53 +0200 Mike Gabriel (90d660a) +2020-09-05 Robert Tari - * Merge branch 'leela52452-master' + * Merge branch 'sunweaver-pr/break-ubuntu-indicator' into master + Attributes GH PR + #16:https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/16 + (30d1a7d) -2019-08-25 05:37:36 +0000 leela (e20f85e) +2020-09-04 antuketot76 - * Translated using Weblate (Telugu) + * Translated using Weblate (Malay) (d0d8857) + * Translated using Weblate (Malay) (5bb3145) -2019-08-25 05:37:36 +0000 leela (da9fb29) +2020-09-05 Mike Gabriel - * Translated using Weblate (Telugu) + * debian/control: Add B:/R: indicator-power. (859c780) -2019-08-25 05:43:51 +0000 leela (631477a) +2020-09-04 Mike Gabriel - * indicates an interrogative clause or phrase.. + * Merge branch 'tari01-pr/power-settings-crash' (2820cb8) -2019-08-10 08:36:46 +0000 M Ramani Priya (d09a535) +2020-09-03 Robert Tari - * Translated using Weblate (Telugu) + * Do not call the power settings handler if the command is unknown + (d6a07da) -2019-07-01 19:51:55 +0000 Elizabeth Sherrock (f010e51) +2020-09-04 Mike Gabriel - * Translated using Weblate (Chinese (Simplified)) + * Merge branch 'tari01-pr/deprecations-warnings' (527bbe4) -2019-05-21 12:15:41 +0000 THANOS SIOURDAKIS (6bd06b1) +2020-09-03 Robert Tari - * Translated using Weblate (Greek) + * Fix deprecations and build warnings. (147130a) + * Whitespace fix (2849569) -2019-04-17 14:39:55 +0000 Rui Mendes (289a58e) +2020-08-17 Mike Gabriel - * Translated using Weblate (Portuguese (Brazil)) + * release 2.1.0 (ca5a779) (tag: 2.1.0) -2019-04-17 14:36:09 +0000 Rui Mendes (82ed6d4) +2020-08-11 Mike Gabriel - * Translated using Weblate (Portuguese) + * Merge branch 'tari01-pr/replace-x-canonical-attributes' (592a667) -2019-01-11 11:49:23 +0000 Louies (3c1dc7b) +2020-08-11 Robert Tari - * Translated using Weblate (Chinese (Traditional)) + * Replace x-canonical attributes (20f7780) + * Merge branch 'sunweaver-pr/drop-upstart-support' Attributes GH PR + #8: + https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/8 + (2fe548a) -2018-11-18 21:11:42 +0000 ssantos (9654d07) +2020-08-10 Mike Gabriel - * Translated using Weblate (Portuguese) + * Drop all references to upstart. (1fb52f0) + * debian/ayatana-indicator-power.links: Add FIXME/reminder to drop + manual symlinking of systemd user service file once DH + compat level is raised to a level above 12. (d37997e) + * Merge branch 'ubports-fix-systemd' (b1ad978) -2018-10-31 07:00:47 +0000 Petter Reinholdtsen (71274db) +2020-08-09 Marius Gripsgard - * Translated using Weblate (Norwegian Bokmål) + * Start indicator in systemd when ayatana-indicators.target is + started (c011884) -2018-10-23 15:59:30 +0000 Iván Seoane (a99a775) +2020-08-06 Nazim-ua - * Translated using Weblate (Galician) + * Translated using Weblate (Ukrainian) (09e8477) -2018-09-27 18:54:38 +0000 Володимир Бриняк (7927536) +2020-07-15 Florian Leeber - * Translated using Weblate (Ukrainian) + * Try to detect if flash needs to be enabled (latched) separately + (4aaddc4) -2018-09-27 08:04:29 +0000 Pavel Borecki (379fa6c) +2020-02-16 Alfred Neumayer - * Translated using Weblate (Czech) + * flashlight: Add more brightness file paths (215c6dd) -2018-09-18 04:55:19 +0000 Henrique Combochi (fafe18f) +2019-08-29 BirdZhang - * Translated using Weblate (Portuguese (Brazil)) + * Do not divide by battery size if percent less than 0.01 (9d40332) -2018-08-24 17:54:00 +0000 WaldiS (3deb5d2) +2020-08-06 Mike Gabriel - * Translated using Weblate (Polish) + * debian/control: Drop from B-D: python:any. In fact, a totally + superfluous B-D. (960b4ec) -2018-08-23 17:17:08 +0000 WaldiS (bf2d57d) +2020-08-03 Abbas Baharforoosh - * Translated using Weblate (Polish) + * Translated using Weblate (Persian) (4ddb778) -2018-07-22 14:24:56 +0000 Eugen Wesseloh (9c5277c) +2020-07-29 Ács Zoltán - * Translated using Weblate (Russian) + * Translated using Weblate (Hungarian) (6b9cb69) -2018-07-17 12:13:52 +0000 Danil Semenov (3416130) +2020-07-25 Mike Gabriel - * Translated using Weblate (Russian) + * release 2.0.95 (6974c37) (tag: 2.0.95) + * Merge branch 'tari01-master' (42600ab) -2018-06-18 08:52:36 +0000 Doma Gergő (738a297) +2020-07-25 Robert Tari - * Translated using Weblate (Hungarian) + * Added option to disable Testing/Coverage (0b63b9c) -2018-06-17 10:29:41 +0000 advocatux (0f0013c) +2020-07-24 Mike Gabriel - * Translated using Weblate (Spanish) + * CMakeLists.txt: Drop workaround for missing libexec dir on Debian. + Debian moved forward and now supports FHS 3.0 (since + Debian Policy 4.1.5). (653137a) -2018-05-08 12:49:58 +0000 Heimen Stoffels (0902e9a) +2020-07-03 Tobias p - * Translated using Weblate (Dutch) + * Translated using Weblate (Danish) (97d211a) -2018-05-02 18:32:35 +0000 Adolfo Jayme Barrientos (f7b76c0) +2020-06-24 Milo Ivir - * Translated using Weblate (Spanish) + * Translated using Weblate (German) (0751254) -2018-04-04 04:44:14 +0000 Pavel Borecki (a0ac1c4) +2020-06-14 MarongHappy - * Translated using Weblate (Czech) + * Translated using Weblate (Korean) (eaeeb83) -2018-04-04 04:42:46 +0000 Pavel Borecki (8c96052) +2020-05-30 Juraj Liso - * Translated using Weblate (Czech) + * Translated using Weblate (Slovak) (e0ce238) -2018-04-04 04:42:45 +0000 Pavel Borecki (1558d80) +2020-05-24 wdggg - * Translated using Weblate (Czech) + * Translated using Weblate (Chinese (Simplified)) (08d68ba) -2018-04-04 04:42:39 +0000 Pavel Borecki (56377ab) +2020-05-08 Abdusalam - * Translated using Weblate (Czech) + * Translated using Weblate (Uyghur) (bec791a) -2018-04-04 04:42:37 +0000 Pavel Borecki (b4bc9d5) +2020-05-09 iNetRoos - * Translated using Weblate (Czech) + * Translated using Weblate (Afrikaans) (4cd7268) -2018-04-04 04:33:18 +0000 Pavel Borecki (2fee033) +2020-04-30 Mingun - * Translated using Weblate (Czech) + * Translated using Weblate (Russian) (bdeb547) -2018-11-16 09:58:09 +0100 Mike Gabriel (ce113ed) +2020-04-27 Jeannette L - * debian/control: Radically move control-center and power-manager - recommendations to Suggests: field. Pulling in too many - dependencies otherwise. + * Translated using Weblate (Italian) (2bf068e) + * Translated using Weblate (French (Canada)) (ee4390a) + * Translated using Weblate (English (United Kingdom)) (3ce36fd) + * Translated using Weblate (English (Canada)) (80ab0bc) + * Translated using Weblate (English (Australia)) (5d8fad3) -2018-11-16 09:43:50 +0100 Mike Gabriel (aeb856b) +2020-04-16 george k - * debian/control: Re-sort packages under R. Add mate-control-center - alternative. + * Translated using Weblate (Greek) (f917031) -2018-11-16 08:40:32 +0100 Mike Gabriel (30820ed) +2020-04-14 Jeannette L - * debian/*: Sync in relevant changes from official Debian packaging. + * Translated using Weblate (French) (c566844) -2018-03-25 22:43:52 +0200 Mike Gabriel (6e7dad1) +2020-04-04 Kristjan Räts - * src/service.c: Adapt indicator attribute for flashlight switch to - ayatana-ido. + * Translated using Weblate (Estonian) (e51b166) + * Translated using Weblate (Estonian) (82ccfe4) -2018-03-25 22:37:00 +0200 Mike Gabriel (6021c3a) +2020-04-01 Davit Mayilyan - * tests/glib-fixture.h: Fix printf macro (%d -> %lu). + * Translated using Weblate (Armenian) (8fde3eb) -2018-03-25 22:29:08 +0200 Mike Gabriel (1d4e6c3) +2020-03-30 ferhad.necef - * src/flashlight.c: Cast char* from const char* when assigning - flash_sysfs_path. + * Translated using Weblate (Russian) (de28bf2) -2018-03-25 22:18:55 +0200 Jan Sprinz (NeoTheThird) (868fa16) +2020-03-24 Violeta Uzunova - * Added warning to avoid overheating of the LED. + * Translated using Weblate (Bulgarian) (b10c322) -2018-03-25 22:15:43 +0200 Marius Gripsgard (cf33215) +2020-03-16 Grace Guo - * Ignore batt_therm devices. + * Translated using Weblate (Japanese) (c888564) -2018-03-25 22:10:45 +0200 Marius Gripsgard (cf7ae8a) +2020-02-25 Wellington Terumi Uemura - * Add basic flashlight support. + * Translated using Weblate (Portuguese (Brazil)) (f714149) -2018-03-21 07:13:29 +0100 Mike Gabriel (1872fc5) +2020-02-22 Amr Karajah - * src/utils.(c|h): Use XDG_CURRENT_DESKTOP for XFCE as well, in order - to detect that -power indicator is used on an XFCE - desktop. + * Translated using Weblate (Arabic) (c330d69) -2018-03-19 09:24:52 +0100 Mike Gabriel (41bf160) +2020-02-09 THANOS SIOURDAKIS - * data/org.ayatana.indicator.power.gschema.xml.in: Prepend project - namespace to enum id. + * Translated using Weblate (Greek) (fa432ab) -2018-03-16 16:06:33 +0100 Mike Gabriel (06ef51a) +2020-02-06 Laércio Cordeiro - * src/{service.c,utils.c}: Fix grammar flaw in zenity warning. + * Translated using Weblate (Portuguese (Brazil)) (50c95bc) -2018-03-16 16:04:37 +0100 Mike Gabriel (6f4bf8f) +2020-01-18 Heimen Stoffels - * po/: Update ayatana-indicator-power.pot. + * Translated using Weblate (Dutch) (54e099b) -2018-03-16 15:15:20 +0100 Mike Gabriel (8dd5cd8) +2020-01-04 ssantos - * release 2.0.93 (tag: 2.0.93) + * Translated using Weblate (Portuguese) (53f947a) -2018-03-16 07:45:10 +0100 Mike Gabriel (0c8e7c0) +2020-01-02 Milo Ivir - * po/CMakeLists.txt: Drop intl_update_potfile(). We don't want this - in Ayatana Indicators. + * Translated using Weblate (Croatian) (4dc16fa) -2018-03-16 07:44:36 +0100 Rodney Dawes (59f9f20) +2019-11-23 Niara - * Use intltool support from cmake-extras. + * Translated using Weblate (Russian) (56b5bc6) -2018-03-16 07:33:13 +0100 Rodney Dawes (744720d) +2019-11-21 Mike Gabriel - * Use coverage support from cmake-extras. + * release 2.0.94 (9d30e39) (tag: 2.0.94) -2018-03-16 07:28:21 +0100 Rodney Dawes (970f382) +2019-11-15 Theeiss - * Use gmock module from cmake-extras. + * Translated using Weblate (Portuguese) (4dcda7f) -2018-03-15 22:37:20 +0100 Mike Gabriel (34b8d5a) +2019-11-12 Christopher Murach - * debian/control: Add zenity to Recommends: (for issuing warnings). + * Translated using Weblate (German) (f519dae) -2018-03-15 22:35:37 +0100 Mike Gabriel (9819c2e) +2019-11-10 Allan Nordhøy - * Add fallback code that produces a warning (using zenity), if we - don't know how to handle certain actions. + * Translated using Weblate (Norwegian Bokmål) (a3c9d3f) -2018-03-15 22:34:45 +0100 Mike Gabriel (32df70e) +2019-10-30 Marcela Korreshi - * src/utils.c: Use our desktop detection functions for find a way to - open an appropriate power settings dialog. + * Translated using Weblate (Albanian) (ed15e8e) -2018-03-15 22:33:44 +0100 Mike Gabriel (2026ee0) +2019-10-29 Danjela Hoxha - * src/utils.c: Add is_pantheon() function. + * Translated using Weblate (Albanian) (f6afdc7) -2018-03-12 19:11:44 +0100 Mike Gabriel (60363ad) +2019-10-27 Niara - * src/service.c: Use desktop detection functions in - 'on_statistics_activated()'. + * Translated using Weblate (Russian) (9f8fce7) -2018-03-12 19:10:48 +0100 Mike Gabriel (1830c84) +2019-10-23 Mattias Münster - * src/utils.(c|h): Port is_{mate,gnome,unity}() functions from - -session indicator. + * Translated using Weblate (Swedish) (e345493) -2018-03-04 20:45:01 +0000 Moo (4774ba8) +2019-10-13 Abhay Patel - * Translated using Weblate (Lithuanian) + * Translated using Weblate (Hindi) (b4d1bbb) -2018-03-01 22:17:40 +0000 Moo (221cc5a) +2019-10-07 Mateusz Rumiński - * Translated using Weblate (Lithuanian) + * Translated using Weblate (Polish) (8049edf) -2018-03-12 15:41:05 +0100 Mike Gabriel (0bacdd9) +2019-10-01 Pedro Alexandre - * debian/copyright: Update copyright attributions. + * Translated using Weblate (Portuguese) (1f27606) -2018-03-12 15:39:46 +0100 Mike Gabriel (3be21c5) +2019-09-07 Abraham Roman - * debian/: Update from latest official Debian package. + * Translated using Weblate (Spanish) (d876789) -2018-03-12 14:34:44 +0100 Mike Gabriel (422443f) +2019-09-02 Swann Martinet - * Make URL dispatcher build-dependency optional and handle battery - settings request appropriately. + * Translated using Weblate (French) (832dde6) -2018-03-12 14:03:05 +0100 Mike Gabriel (4d95898) +2019-09-01 Moo - * Revert "Drop unnecessary dependency on Ubuntu's url-dispatcher." + * Translated using Weblate (Lithuanian) (edce726) -2018-03-12 13:54:58 +0100 Mike Gabriel (aff888f) +2019-08-29 Anders Jonsson - * debian/control: Drop from B-D: libgudev-1.0-dev. Not required - anymore. + * Translated using Weblate (Swedish) (7785fde) -2018-03-12 13:54:41 +0100 Mike Gabriel (009c935) +2019-08-28 Heimen Stoffels - * CMakeLists.txt: Drop gudev-1.0 from list of required shared libs. - Obviously not used. + * Translated using Weblate (Dutch) (ec2e79a) -2018-03-11 21:32:24 +0100 Mike Gabriel (9a90f93) +2019-08-29 Mike Gabriel - * tests/CMakeLists.txt: Prohibit gschemas.compiled to be generated - multiple times. + * Translated using Weblate (German) (e4187da) -2018-02-28 21:46:12 +0100 Mike Gabriel (bdfc18a) +2019-08-28 Mike Gabriel - * NEWS: Fix c+p flaw. + * update locale files (40db8a1) + * Merge branch 'leela52452-master' (90d660a) -2018-02-28 21:23:45 +0100 Mike Gabriel (5fac6a9) +2019-08-25 leela - * po/Makevars: Update copyright holder and upstream bug tracker URL. + * Translated using Weblate (Telugu) (e20f85e) + * Translated using Weblate (Telugu) (da9fb29) + * indicates an interrogative clause or phrase.. (631477a) -2018-02-28 21:12:12 +0100 Mike Gabriel (cf71aef) +2019-08-10 M Ramani Priya - * debian/rules: Ship NEWS file as upstream changelog. + * Translated using Weblate (Telugu) (d09a535) -2018-02-28 21:10:41 +0100 Mike Gabriel (1421355) +2019-07-01 Elizabeth Sherrock - * NEWS file: Add for next release. + * Translated using Weblate (Chinese (Simplified)) (f010e51) -2018-02-28 21:06:17 +0100 Mike Gabriel (3b1854a) +2019-05-21 THANOS SIOURDAKIS - * release 2.0.92 (tag: 2.0.92) + * Translated using Weblate (Greek) (6bd06b1) -2018-02-28 21:01:18 +0100 Mike Gabriel (ba93f00) +2019-04-17 Rui Mendes - * NEWS: Move old NEWS file to NEWS.Canonical. + * Translated using Weblate (Portuguese (Brazil)) (289a58e) + * Translated using Weblate (Portuguese) (82ed6d4) -2018-02-28 01:37:45 +0000 Мира Странная (e89a255) +2019-01-11 Louies - * Translated using Weblate (Russian) + * Translated using Weblate (Chinese (Traditional)) (3c1dc7b) -2018-02-08 11:34:43 +0000 Furkan Kalkan (2dd7450) +2018-11-18 ssantos - * Translated using Weblate (Turkish) + * Translated using Weblate (Portuguese) (9654d07) -2018-02-04 15:24:36 +0000 Michal Čihař (25d96d4) +2018-10-31 Petter Reinholdtsen - * Translated using Weblate (Turkish) + * Translated using Weblate (Norwegian Bokmål) (71274db) -2018-01-22 20:48:43 +0000 Марс Ямбар (a08230f) +2018-10-23 Iván Seoane - * Translated using Weblate (Ukrainian) + * Translated using Weblate (Galician) (a99a775) -2018-01-01 11:56:09 +0000 Anders Jonsson (4a00d8a) +2018-09-27 Володимир Бриняк - * Translated using Weblate (Swedish) + * Translated using Weblate (Ukrainian) (7927536) -2018-01-04 09:51:10 +0000 Yaron Shahrabani (6938cc3) +2018-09-27 Pavel Borecki - * Translated using Weblate (Hebrew) + * Translated using Weblate (Czech) (379fa6c) -2017-12-31 15:23:45 +0000 Sebastian Rasmussen (0ea506e) +2018-09-18 Henrique Combochi - * Translated using Weblate (Swedish) + * Translated using Weblate (Portuguese (Brazil)) (fafe18f) -2017-12-07 03:47:30 +0000 Allan Nordhøy (1b0ece7) +2018-08-24 WaldiS - * Translated using Weblate (Norwegian Bokmål) + * Translated using Weblate (Polish) (3deb5d2) -2017-11-30 16:09:24 +0000 Olivier Macchioni (35a79c6) +2018-08-23 WaldiS - * Translated using Weblate (French) + * Translated using Weblate (Polish) (bf2d57d) -2017-11-30 16:08:57 +0000 Olivier Macchioni (7a18639) +2018-07-22 Eugen Wesseloh - * Translated using Weblate (French) + * Translated using Weblate (Russian) (9c5277c) -2017-12-06 23:33:32 +0100 Mike Gabriel (f1c13c9) +2018-07-17 Danil Semenov - * data/ayatana-indicator-power.desktop.in: Add XFCE to OnlyShowIn= - key. + * Translated using Weblate (Russian) (3416130) -2017-12-06 12:33:52 +0100 Mike Gabriel (5de104c) +2018-06-18 Doma Gergő - * tests/test-device.cc: Fix failing tests after we have renamed - DG_LOG_DOMAIN. + * Translated using Weblate (Hungarian) (738a297) -2017-12-06 11:42:44 +0100 Mike Gabriel (3cf825f) +2018-06-17 advocatux - * Rename GNOMELOCALEDIR -> LOCALEDIR. + * Translated using Weblate (Spanish) (0f0013c) -2017-12-06 11:42:14 +0100 Mike Gabriel (5ef27ef) +2018-05-08 Heimen Stoffels - * Set DG_LOG_DOMAIN to ayatana-indicator-power (decapitalized - spelling). + * Translated using Weblate (Dutch) (0902e9a) -2017-12-06 11:00:20 +0100 Mike Gabriel (5479b13) +2018-05-02 Adolfo Jayme Barrientos - * CMakeLists.txt: Move gettext initialization below the - GNUInstallDirs include. This sets GNOMELOCALEDIR - appropriately and probably fixes broken i18n support. + * Translated using Weblate (Spanish) (f7b76c0) -2017-12-06 10:49:54 +0100 Mike Gabriel (17ab6d1) +2018-04-04 Pavel Borecki - * data/CMakeLists.txt: More namespace fixes in comments / output - messages. + * Translated using Weblate (Czech) (a0ac1c4) + * Translated using Weblate (Czech) (8c96052) + * Translated using Weblate (Czech) (1558d80) + * Translated using Weblate (Czech) (56377ab) + * Translated using Weblate (Czech) (b4bc9d5) + * Translated using Weblate (Czech) (2fee033) -2017-12-06 10:49:28 +0100 Mike Gabriel (5a59319) +2018-11-16 Mike Gabriel - * tests/CMakeLists.txt: Fix namespace in add_dependencies() call. + * debian/control: Radically move control-center and power-manager + recommendations to Suggests: field. Pulling in too many + dependencies otherwise. (ce113ed) + * debian/control: Re-sort packages under R. Add mate-control-center + alternative. (aeb856b) + * debian/*: Sync in relevant changes from official Debian packaging. + (30820ed) -2017-12-05 10:29:54 +0100 Mike Gabriel (0058a8b) +2018-03-25 Mike Gabriel - * debian/postinst: Drop file. The libglib2.0-bin package has trigger - for schema compilation these days (and this for ages, - actually). + * src/service.c: Adapt indicator attribute for flashlight switch to + ayatana-ido. (6e7dad1) + * tests/glib-fixture.h: Fix printf macro (%d -> %lu). (6021c3a) + * src/flashlight.c: Cast char* from const char* when assigning + flash_sysfs_path. (1d4e6c3) -2017-12-04 10:09:45 +0100 Mike Gabriel (2f3a761) +2018-03-25 Jan Sprinz (NeoTheThird) - * debian/changelog: Bump upstream to a development version. + * Added warning to avoid overheating of the LED. (868fa16) -2017-12-02 23:40:20 +0100 Mike Gabriel (765806b) +2018-03-25 Marius Gripsgard - * debian/control: Fix D (glib2.0-bin -> libglib2.0-bin). + * Ignore batt_therm devices. (cf33215) + * Add basic flashlight support. (cf7ae8a) -2017-12-02 20:55:20 +0100 Mike Gabriel (e9b7bfe) +2018-03-21 Mike Gabriel - * debian/{control,postinst}: Recompile GSettings schemas at post - installation. + * src/utils.(c|h): Use XDG_CURRENT_DESKTOP for XFCE as well, in order + to detect that -power indicator is used on an XFCE + desktop. (1872fc5) -2017-11-29 13:23:49 +0100 Mike Gabriel (0f2a468) +2018-03-19 Mike Gabriel - * po/: Update translation files once more. + * data/org.ayatana.indicator.power.gschema.xml.in: Prepend project + namespace to enum id. (41bf160) -2017-11-29 13:22:49 +0100 Mike Gabriel (f936fa5) +2018-03-16 Mike Gabriel - * update-po.sh: Preserve .pot file when updating *.po files. + * src/{service.c,utils.c}: Fix grammar flaw in zenity warning. + (06ef51a) + * po/: Update ayatana-indicator-power.pot. (6f4bf8f) + * release 2.0.93 (8dd5cd8) (tag: 2.0.93) + * po/CMakeLists.txt: Drop intl_update_potfile(). We don't want this + in Ayatana Indicators. (0c8e7c0) -2017-11-29 13:04:48 +0100 Mike Gabriel (01156d3) +2018-03-16 Rodney Dawes - * po/*.po: Update with now correct file names for .xml files. + * Use intltool support from cmake-extras. (59f9f20) + * Use coverage support from cmake-extras. (744720d) + * Use gmock module from cmake-extras. (970f382) -2017-11-27 17:34:45 +0000 Kristjan Räts (b9c3729) +2018-03-15 Mike Gabriel - * Translated using Weblate (Estonian) + * debian/control: Add zenity to Recommends: (for issuing warnings). + (34b8d5a) + * Add fallback code that produces a warning (using zenity), if we + don't know how to handle certain actions. (9819c2e) + * src/utils.c: Use our desktop detection functions for find a way to + open an appropriate power settings dialog. (32df70e) + * src/utils.c: Add is_pantheon() function. (2026ee0) -2017-11-24 01:32:05 +0000 Allan Nordhøy (4041646) +2018-03-12 Mike Gabriel - * Translated using Weblate (Norwegian Bokmål) + * src/service.c: Use desktop detection functions in + 'on_statistics_activated()'. (60363ad) + * src/utils.(c|h): Port is_{mate,gnome,unity}() functions from + -session indicator. (1830c84) -2017-11-22 15:38:40 +0000 Fatih Mert Doğancan (9e16d82) +2018-03-04 Moo - * Translated using Weblate (Turkish) + * Translated using Weblate (Lithuanian) (4774ba8) -2017-10-12 08:41:05 +0000 Matteo F. Vescovi (9413bdb) +2018-03-01 Moo - * Translated using Weblate (Italian) + * Translated using Weblate (Lithuanian) (221cc5a) -2017-11-29 13:03:18 +0100 Mike Gabriel (7e7500a) +2018-03-12 Mike Gabriel - * Revert "po/*.po: Update with now correct file names for .xml - files." + * debian/copyright: Update copyright attributions. (0bacdd9) + * debian/: Update from latest official Debian package. (3be21c5) + * Make URL dispatcher build-dependency optional and handle battery + settings request appropriately. (422443f) + * Revert "Drop unnecessary dependency on Ubuntu's url-dispatcher." + (4d95898) + * debian/control: Drop from B-D: libgudev-1.0-dev. Not required + anymore. (aff888f) + * CMakeLists.txt: Drop gudev-1.0 from list of required shared libs. + Obviously not used. (009c935) -2017-11-29 12:43:54 +0100 Mike Gabriel (2c40ef0) +2018-03-11 Mike Gabriel - * po/*.po: Update with now correct file names for .xml files. + * tests/CMakeLists.txt: Prohibit gschemas.compiled to be generated + multiple times. (9a90f93) -2017-11-29 12:43:19 +0100 Mike Gabriel (d16056b) +2018-02-28 Mike Gabriel - * po/ayatana-indicator-power.pot: Update with now correct file names - for .xml files. + * NEWS: Fix c+p flaw. (bdfc18a) + * po/Makevars: Update copyright holder and upstream bug tracker URL. + (5fac6a9) + * debian/rules: Ship NEWS file as upstream changelog. (cf71aef) + * NEWS file: Add for next release. (1421355) + * release 2.0.92 (3b1854a) (tag: 2.0.92) + * NEWS: Move old NEWS file to NEWS.Canonical. (ba93f00) -2017-11-29 12:42:59 +0100 Mike Gabriel (bdc25da) +2018-02-28 Мира Странная - * update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po - files. + * Translated using Weblate (Russian) (e89a255) -2017-11-29 12:42:54 +0100 Mike Gabriel (6a07d32) +2018-02-08 Furkan Kalkan - * update-pot.sh: Fix filenames of .ini(.in) and .xml(.in) files in po - template file. + * Translated using Weblate (Turkish) (2dd7450) -2017-10-24 21:12:24 +0200 Mike Gabriel (7cae4fb) +2018-02-04 Michal Čihař - * update-po*.sh: Add license header. + * Translated using Weblate (Turkish) (25d96d4) -2017-10-24 18:20:08 +0200 Mike Gabriel (1cb6718) +2018-01-22 Марс Ямбар - * debian/{control,copyright,watch}: Update to new upstream URLs. + * Translated using Weblate (Ukrainian) (a08230f) -2017-10-12 07:40:41 +0200 Mike Gabriel (b140fe8) +2018-01-01 Anders Jonsson - * update-po.sh: Add support for creating new LINGUAS. + * Translated using Weblate (Swedish) (4a00d8a) -2017-08-26 22:04:24 +0000 Kjetil Fleten (22c70c0) +2018-01-04 Yaron Shahrabani - * Translated using Weblate (Danish) + * Translated using Weblate (Hebrew) (6938cc3) -2017-10-07 21:35:36 +0200 Mike Gabriel (977a89d) +2017-12-31 Sebastian Rasmussen - * debian/control: Modify B-D for systemd: only available/required on - [linux-any]. + * Translated using Weblate (Swedish) (0ea506e) -2017-10-07 21:35:14 +0200 Mike Gabriel (dac8f77) +2017-12-07 Allan Nordhøy - * systemd unit file: Only build+install if systemd is available at - build-time. + * Translated using Weblate (Norwegian Bokmål) (1b0ece7) -2017-08-26 21:06:48 +0000 Mike Gabriel (efdc686) +2017-11-30 Olivier Macchioni - * Translated using Weblate (German) + * Translated using Weblate (French) (35a79c6) + * Translated using Weblate (French) (7a18639) -2017-08-26 21:05:47 +0000 Mike Gabriel (0db1118) +2017-12-06 Mike Gabriel - * Translated using Weblate (German) + * data/ayatana-indicator-power.desktop.in: Add XFCE to OnlyShowIn= + key. (f1c13c9) + * tests/test-device.cc: Fix failing tests after we have renamed + DG_LOG_DOMAIN. (5de104c) + * Rename GNOMELOCALEDIR -> LOCALEDIR. (3cf825f) + * Set DG_LOG_DOMAIN to ayatana-indicator-power (decapitalized + spelling). (5ef27ef) + * CMakeLists.txt: Move gettext initialization below the + GNUInstallDirs include. This sets GNOMELOCALEDIR + appropriately and probably fixes broken i18n support. + (5479b13) + * data/CMakeLists.txt: More namespace fixes in comments / output + messages. (17ab6d1) + * tests/CMakeLists.txt: Fix namespace in add_dependencies() call. + (5a59319) -2017-08-18 13:21:35 +0000 Viktar Vauchkevich (b84b921) +2017-12-05 Mike Gabriel - * Translated using Weblate (Belarusian) + * debian/postinst: Drop file. The libglib2.0-bin package has trigger + for schema compilation these days (and this for ages, + actually). (0058a8b) -2017-07-21 15:19:06 +0200 Mike Gabriel (7a214d4) +2017-12-04 Mike Gabriel - * update-po.sh: Add simple script to update po/*.po files. + * debian/changelog: Bump upstream to a development version. (2f3a761) -2017-07-21 14:57:20 +0200 Mike Gabriel (57f0dfd) +2017-12-02 Mike Gabriel - * po/: Create .po files from .pot file using msginit. + * debian/control: Fix D (glib2.0-bin -> libglib2.0-bin). (765806b) + * debian/{control,postinst}: Recompile GSettings schemas at post + installation. (e9b7bfe) -2017-07-21 14:37:09 +0200 Mike Gabriel (5f9ea6f) +2017-11-29 Mike Gabriel - * po/: Add LINGUAS file. + * po/: Update translation files once more. (0f2a468) + * update-po.sh: Preserve .pot file when updating *.po files. + (f936fa5) + * po/*.po: Update with now correct file names for .xml files. + (01156d3) -2017-07-21 14:29:58 +0200 Mike Gabriel (1d4c6c4) +2017-11-27 Kristjan Räts - * po/: Create .pot file for ayatana-indicator-power. + * Translated using Weblate (Estonian) (b9c3729) -2017-07-21 14:29:39 +0200 Mike Gabriel (8049c1b) +2017-11-24 Allan Nordhøy - * update-pot.sh: Add mini script to update .pot file. + * Translated using Weblate (Norwegian Bokmål) (4041646) -2017-06-21 16:12:55 +0200 Mike Gabriel (10a06c6) +2017-11-22 Fatih Mert Doğancan - * src/CMakeLists.txt: Round up previous commit by fixing - dbus-powerd.h codegen call. + * Translated using Weblate (Turkish) (9e16d82) -2017-06-14 15:06:47 +0200 Mike Gabriel (5949845) +2017-10-12 Matteo F. Vescovi - * Really switch back to com.canonical.powerd. + * Translated using Weblate (Italian) (9413bdb) -2017-06-08 00:43:14 +0200 Mike Gabriel (cf69c55) +2017-11-29 Mike Gabriel - * debian/rules: Don't copy removed apport hook into package. + * Revert "po/*.po: Update with now correct file names for .xml + files." (7e7500a) + * po/*.po: Update with now correct file names for .xml files. + (2c40ef0) + * po/ayatana-indicator-power.pot: Update with now correct file names + for .xml files. (d16056b) + * update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po + files. (bdc25da) + * update-pot.sh: Fix filenames of .ini(.in) and .xml(.in) files in po + template file. (6a07d32) -2017-06-08 00:42:39 +0200 Mike Gabriel (c736882) +2017-10-24 Mike Gabriel - * debian/control: Drop full-stop from SYNOPSIS. + * update-po*.sh: Add license header. (7cae4fb) + * debian/{control,copyright,watch}: Update to new upstream URLs. + (1cb6718) -2017-06-08 00:21:58 +0200 Mike Gabriel (af0e1a7) +2017-10-12 Mike Gabriel - * debian/copyright: Pull-over copyright files from official Debian - package. + * update-po.sh: Add support for creating new LINGUAS. (b140fe8) -2017-06-08 00:18:13 +0200 Mike Gabriel (6850dfe) +2017-08-26 Kjetil Fleten - * debian/rules: Pull-over get-orig-source rule from official Debian - package. + * Translated using Weblate (Danish) (22c70c0) -2017-06-07 23:17:31 +0200 Mike Gabriel (36b5cbb) +2017-10-07 Mike Gabriel - * debian/{watches,upstream/,patches}: Sync in changes from official - Debian packaging. + * debian/control: Modify B-D for systemd: only available/required on + [linux-any]. (977a89d) + * systemd unit file: Only build+install if systemd is available at + build-time. (dac8f77) -2017-06-07 23:14:51 +0200 Mike Gabriel (034ae2a) +2017-08-26 Mike Gabriel - * debian/source_ayatana-indicator-power.py: Drop apport support. + * Translated using Weblate (German) (efdc686) + * Translated using Weblate (German) (0db1118) -2017-06-07 16:27:17 +0200 Mike Gabriel (6791d33) +2017-08-18 Viktar Vauchkevich - * release 2.0.91 (tag: 2.0.91) + * Translated using Weblate (Belarusian) (b84b921) -2017-06-02 16:09:17 +0200 Mike Gabriel (fb4f8b2) +2017-07-21 Mike Gabriel - * src/brightness.c Fix sed search+replace flaw. + * update-po.sh: Add simple script to update po/*.po files. (7a214d4) + * po/: Create .po files from .pot file using msginit. (57f0dfd) + * po/: Add LINGUAS file. (5f9ea6f) + * po/: Create .pot file for ayatana-indicator-power. (1d4c6c4) + * update-pot.sh: Add mini script to update .pot file. (8049c1b) -2017-06-02 12:37:42 +0200 Mike Gabriel (ef2ba34) +2017-06-21 Mike Gabriel - * one step back, let's keep this Ubuntu-centric, we need to add a - org.gnome.SettingsDaemon-way of doing this... + * src/CMakeLists.txt: Round up previous commit by fixing + dbus-powerd.h codegen call. (10a06c6) -2017-06-02 11:00:11 +0200 Mike Gabriel (ff21a6c) +2017-06-14 Mike Gabriel - * src/service.s: Fix x-canonical-type of the brightness slider - building against ayatana-ido. + * Really switch back to com.canonical.powerd. (5949845) -2017-05-31 17:07:24 +0200 Mike Gabriel (30c0c43) +2017-06-08 Mike Gabriel - * debian/{control,rules}: Enable all hardening flags. + * debian/rules: Don't copy removed apport hook into package. + (cf69c55) + * debian/control: Drop full-stop from SYNOPSIS. (c736882) + * debian/copyright: Pull-over copyright files from official Debian + package. (af0e1a7) + * debian/rules: Pull-over get-orig-source rule from official Debian + package. (6850dfe) -2017-05-31 17:03:33 +0200 Mike Gabriel (ab351f2) +2017-06-07 Mike Gabriel - * Drop debian/ayatana-indicator-power.maintscript. Not required in - this version of the power indicator. + * debian/{watches,upstream/,patches}: Sync in changes from official + Debian packaging. (36b5cbb) + * debian/source_ayatana-indicator-power.py: Drop apport support. + (034ae2a) + * release 2.0.91 (6791d33) (tag: 2.0.91) -2017-05-31 17:02:52 +0200 Mike Gabriel (b79892f) +2017-06-02 Mike Gabriel - * ayatana-indicator-power: XDG-Autostart in Unity and MATE for now. + * src/brightness.c Fix sed search+replace flaw. (fb4f8b2) + * one step back, let's keep this Ubuntu-centric, we need to add a + org.gnome.SettingsDaemon-way of doing this... (ef2ba34) + * src/service.s: Fix x-canonical-type of the brightness slider + building against ayatana-ido. (ff21a6c) -2017-05-31 17:01:13 +0200 Mike Gabriel (7354fe6) +2017-05-31 Mike Gabriel - * Partially revert 51a4186. Of course, we need the XDG autostart + * debian/{control,rules}: Enable all hardening flags. (30c0c43) + * Drop debian/ayatana-indicator-power.maintscript. Not required in + this version of the power indicator. (ab351f2) + * ayatana-indicator-power: XDG-Autostart in Unity and MATE for now. + (b79892f) + * Partially revert 51a4186. Of course, we need the XDG autostart file. Not the upstart/xdg autostart file, though. - -2017-05-31 15:30:24 +0200 Mike Gabriel (8ec5165) - - * src/notifier.c: Fix our own service executable name in - notify_init() call. - -2017-05-31 15:29:53 +0200 Mike Gabriel (79a5dc9) - - * src/testing.c: Use 'Ayatana Indicator Power Serivce' as service - name. - -2017-05-31 15:17:52 +0200 Mike Gabriel (585a2f6) - - * debian/control: Drop from R (ayatana-indicator-power): + (7354fe6) + * src/notifier.c: Fix our own service executable name in + notify_init() call. (8ec5165) + * src/testing.c: Use 'Ayatana Indicator Power Serivce' as service + name. (79a5dc9) + * debian/control: Drop from R (ayatana-indicator-power): indicator-applet | indicator-renderer. Add to R instead: - mate-indicator-applet | xfce4-indicator-plugin. - -2017-05-31 15:16:57 +0200 Mike Gabriel (e41dcc8) - - * src/service.c: Prefer mate-power-statistics to - gnome-power-statistics if in a MATE session. + mate-indicator-applet | xfce4-indicator-plugin. (585a2f6) + * src/service.c: Prefer mate-power-statistics to + gnome-power-statistics if in a MATE session. (e41dcc8) + * src/service.c: Know about DESKTOP_SESSION xfce as well (not only + about xubuntu). (3f6306b) -2017-05-31 15:09:32 +0200 Mike Gabriel (3f6306b) +2017-05-16 Mike Gabriel - * src/service.c: Know about DESKTOP_SESSION xfce as well (not only - about xubuntu). + * src/CMakeLists.txt: Fix nasty typo. (6436d4e) + * Another fix-up for previous commits: keep org.ayatana.indicator + namespace for indicator types. (7f6aa3f) + * Fixup previous commit. More x-canonical-* type changes. (394a06b) -2017-05-16 14:07:54 +0200 Mike Gabriel (6436d4e) +2017-05-15 Mike Gabriel - * src/CMakeLists.txt: Fix nasty typo. + * One step back... Mimick Canonical's API. Use their namespace for + item attributes. (2a7ebff) + * debian/control: Fix porting flaw, we need ayatana-indicator-common, + not indicator-common. (b4468d6) -2017-05-16 11:12:10 +0200 Mike Gabriel (7f6aa3f) +2017-05-15 Rodney Dawes - * Another fix-up for previous commits: keep org.ayatana.indicator - namespace for indicator types. + * Remove old autostart files. (51a4186) -2017-05-16 11:04:46 +0200 Mike Gabriel (394a06b) +2017-05-15 Charles Kerr - * Fixup previous commit. More x-canonical-* type changes. + * Make device with power supply has higher sorting priority. (LP: + #1100546) (bd1a508) -2017-05-15 16:45:12 +0200 Mike Gabriel (2a7ebff) +2017-05-15 Michael Terry - * One step back... Mimick Canonical's API. Use their namespace for - item attributes. + * Work inside a snap by prefixing hard coded paths with . (LP: + #1629009) (dbfed3a) -2017-05-15 15:34:24 +0200 Mike Gabriel (b4468d6) +2017-05-15 Charles Kerr - * debian/control: Fix porting flaw, we need ayatana-indicator-common, - not indicator-common. - -2017-05-15 15:07:23 +0200 Rodney Dawes (51a4186) - - * Remove old autostart files. - -2017-05-15 15:01:23 +0200 Charles Kerr (bd1a508) - - * Make device with power supply has higher sorting priority. (LP: - #1100546) - -2017-05-15 14:59:42 +0200 Michael Terry (dbfed3a) - - * Work inside a snap by prefixing hard coded paths with . (LP: - #1629009) - -2017-05-15 14:59:01 +0200 Charles Kerr (3afc69b) - - * Add systemd user session unit file - -2017-05-15 14:54:40 +0200 Charles Kerr (f223d5a) - - * Fix bug that chose the wrong header icon if a connected device has + * Add systemd user session unit file (3afc69b) + * Fix bug that chose the wrong header icon if a connected device has a charge but its charging/discharging state is unknown. - (LP: #1470080). - -2017-05-15 14:50:57 +0200 Charles Kerr (c2b69b8) - - * Fix the fallback power icon so the battery icon doesn't show red + (LP: #1470080). (f223d5a) + * Fix the fallback power icon so the battery icon doesn't show red above 20% even when the Suru icon theme isn't present. - Fixes: LP:#1559731. - -2017-05-15 14:42:07 +0200 Mike Gabriel (78ae40e) - - * data/*: Fix namespace separation from project we forked from. - -2017-05-14 22:30:07 +0200 Mike Gabriel (04578ca) - - * debian/control: Bump Standards-Version: to 3.9.8. No changes - needed. -2015-11-12 10:26:36 +0100 Mike Gabriel (dd439ef) + Fixes: LP:#1559731. (c2b69b8) - * Fix various BUS_PATH names (copy+paste errors in previous commits). +2017-05-15 Mike Gabriel -2015-11-12 09:26:48 +0100 Mike Gabriel (9614a2e) + * data/*: Fix namespace separation from project we forked from. + (78ae40e) - * Version bump to 2.0.90. +2017-05-14 Mike Gabriel -2015-11-12 08:49:00 +0100 Mike Gabriel (0a9cc2a) + * debian/control: Bump Standards-Version: to 3.9.8. No changes + needed. (04578ca) - * Drop unnecessary dependency on Ubuntu's url-dispatcher. +2015-11-12 Mike Gabriel -2015-11-12 08:40:14 +0100 Mike Gabriel (0f33bc4) + * Fix various BUS_PATH names (copy+paste errors in previous commits). + (dd439ef) + * Version bump to 2.0.90. (9614a2e) + * Drop unnecessary dependency on Ubuntu's url-dispatcher. (0a9cc2a) + * Fork from Ubuntu's indicator-power code project. (0f33bc4) - * Fork from Ubuntu's indicator-power code project. +2015-10-05 CI Train Bot -2015-10-05 18:44:21 +0000 CI Train Bot (511915f) + * Releasing 12.10.6+15.10.20151005.1-0ubuntu1 (511915f) - * Releasing 12.10.6+15.10.20151005.1-0ubuntu1 +2015-10-05 Sebastien Bacher -2015-10-05 18:44:19 +0000 Sebastien Bacher (5d36e8d) + * under unity8 start system-settings instead unity-control-center - * under unity8 start system-settings instead unity-control-center Fixes: #1489482 Approved by: Charles Kerr, PS Jenkins bot + (5d36e8d) -2015-08-27 15:18:40 +0100 Sebastien Bacher (b8a77a0) +2015-08-27 Sebastien Bacher - * under unity8 start system-settings instead unity-control-center + * under unity8 start system-settings instead unity-control-center + (b8a77a0) -2015-05-22 17:54:53 +0000 CI Train Bot (ff85d7e) +2015-05-22 CI Train Bot - * Releasing 12.10.6+15.10.20150522-0ubuntu1 + * Releasing 12.10.6+15.10.20150522-0ubuntu1 (ff85d7e) -2015-05-22 17:54:50 +0000 Charles Kerr (cb5ebdb) +2015-05-22 Charles Kerr - * When powerd updates the backlight brightness, update the indicator - slider to show the new value. Fixes: #1370791 Approved by: - Alejandro J. Cura + * When powerd updates the backlight brightness, update the indicator + slider to show the new value. + Fixes: #1370791 Approved by: + Alejandro J. Cura (cb5ebdb) + * when powerd adjusts the system brightness, adjust the brightness + slider appropriately. (b877001) -2015-05-22 12:20:27 -0500 Charles Kerr (b877001) +2015-05-20 Charles Kerr - * when powerd adjusts the system brightness, adjust the brightness - slider appropriately. + * sync with indicator-power/15.04 (3c2d328) + * remove g_message tracer (5288b42) + * fix the get-brightness-params return signature now that it's + wrapped in a proxy (05d6082) + * a little more work on getting the powerd proxy running (f4c8e26) + * in brightness.c, add a powerd proxy and listen to it for brightness + property changes. (108a1e2) -2015-05-20 14:18:08 -0500 Charles Kerr (3c2d328) +2015-05-15 CI Train Bot - * sync with indicator-power/15.04 + * Releasing 12.10.6+15.10.20150515-0ubuntu1 (a7c6825) -2015-05-20 13:42:55 -0500 Charles Kerr (5288b42) +2015-05-15 Charles Kerr - * remove g_message tracer + * Fix timing issue that caused "Adjust brightness automatically" + menuitem to sometimes not be shown. + Fixes: #1382861 + Approved by: PS Jenkins bot, Rodney Dawes (dcf21a7) -2015-05-20 13:38:31 -0500 Charles Kerr (05d6082) +2015-05-15 CI Train Bot - * fix the get-brightness-params return signature now that it's - wrapped in a proxy + * Releasing 12.10.6+15.04.20150515-0ubuntu1 (65f5646) -2015-05-20 13:35:30 -0500 Charles Kerr (f4c8e26) +2015-05-15 Charles Kerr - * a little more work on getting the powerd proxy running + * Fix timing issue that caused "Adjust brightness automatically" + menuitem to sometimes not be shown. + Fixes: #1382861 + Approved by: PS Jenkins bot, Rodney Dawes (e0a33ec) -2015-05-20 10:34:26 -0500 Charles Kerr (108a1e2) +2015-05-14 Charles Kerr - * in brightness.c, add a powerd proxy and listen to it for brightness - property changes. + * better checking on whether or not menus are built. (373d9f1) -2015-05-15 16:40:33 +0000 CI Train Bot (a7c6825) +2015-04-02 CI Train Bot - * Releasing 12.10.6+15.10.20150515-0ubuntu1 + * Releasing 12.10.6+15.04.20150402-0ubuntu1 (05d07c8) -2015-05-15 16:40:29 +0000 Charles Kerr (dcf21a7) +2015-04-02 Marc Deslauriers - * Fix timing issue that caused "Adjust brightness automatically" - menuitem to sometimes not be shown. Fixes: #1382861 - Approved by: PS Jenkins bot, Rodney Dawes + * Change sort order to prefer items with known time remaining + Approved by: Charles Kerr, PS Jenkins bot (a3cf499) -2015-05-15 16:39:51 +0000 CI Train Bot (65f5646) +2015-04-02 Ubuntu MATE Developers - * Releasing 12.10.6+15.04.20150515-0ubuntu1 + * This merge proposal adds support for MATE Desktop. Approved by: Ted + Gould (e332c6b) -2015-05-15 16:39:47 +0000 Charles Kerr (e0a33ec) +2015-03-31 CI Train Bot - * Fix timing issue that caused "Adjust brightness automatically" - menuitem to sometimes not be shown. Fixes: #1382861 - Approved by: PS Jenkins bot, Rodney Dawes + * Releasing 12.10.6+15.04.20150331-0ubuntu1 (e7a6c33) -2015-05-14 16:53:02 -0500 Charles Kerr (373d9f1) +2015-03-31 Charles Kerr - * better checking on whether or not menus are built. + * For the brightness slider, use the same left & right icons as + ubunu-system-settings + Fixes: #1289465 Approved by: + Alejandro J. Cura, PS Jenkins bot (c16921a) + * oops, forgot to commit this tyop fix before pushing (708527d) -2015-04-02 20:31:02 +0000 CI Train Bot (05d07c8) +2015-03-10 Marc Deslauriers - * Releasing 12.10.6+15.04.20150402-0ubuntu1 + * * Change sort order to prefer items with known time remaining + (LP: #1315434) (31f83e8) -2015-04-02 20:30:59 +0000 Marc Deslauriers (a3cf499) +2015-03-02 Charles Kerr - * Change sort order to prefer items with known time remaining - Approved by: Charles Kerr, PS Jenkins bot + * use a GThemedIcon (39439d9) + * in the brightness slider, use the display-brightness-min and + display-brightness-max icons. (e33b4e7) -2015-04-02 20:30:52 +0000 Ubuntu MATE Developers (e332c6b) +2015-02-25 Ubuntu MATE Developers - * This merge proposal adds support for MATE Desktop. Approved by: Ted - Gould + * Added support for MATE. (5838f6d) -2015-03-31 20:24:46 +0000 CI Train Bot (e7a6c33) +2015-02-12 CI Train Bot - * Releasing 12.10.6+15.04.20150331-0ubuntu1 + * Releasing 12.10.6+15.04.20150212-0ubuntu1 (ae9a41c) -2015-03-31 20:24:43 +0000 Charles Kerr (c16921a) +2015-02-12 Charles Kerr - * For the brightness slider, use the same left & right icons as - ubunu-system-settings Fixes: #1289465 Approved by: - Alejandro J. Cura, PS Jenkins bot + * Use the new power level icons for a more accurate display of the + battery level. + Fixes: #1388235 Approved by: Ted Gould, PS + Jenkins bot (8e3fb8c) -2015-03-31 14:33:48 -0500 Charles Kerr (708527d) +2015-01-30 CI Train Bot - * oops, forgot to commit this tyop fix before pushing + * Releasing 12.10.6+15.04.20150130-0ubuntu1 (55104b7) -2015-03-10 15:41:38 -0400 Marc Deslauriers (31f83e8) +2015-01-30 Charles Kerr - * * Change sort order to prefer items with known time remaining - (LP: #1315434) - -2015-03-02 21:41:27 -0600 Charles Kerr (39439d9) - - * use a GThemedIcon - -2015-03-02 20:43:35 -0600 Charles Kerr (e33b4e7) - - * in the brightness slider, use the display-brightness-min and - display-brightness-max icons. - -2015-02-25 14:49:06 +0000 Ubuntu MATE Developers (5838f6d) - - * Added support for MATE. - -2015-02-12 22:45:30 +0000 CI Train Bot (ae9a41c) - - * Releasing 12.10.6+15.04.20150212-0ubuntu1 - -2015-02-12 22:45:24 +0000 Charles Kerr (8e3fb8c) - - * Use the new power level icons for a more accurate display of the - battery level. Fixes: #1388235 Approved by: Ted Gould, PS - Jenkins bot - -2015-01-30 22:51:50 +0000 CI Train Bot (55104b7) - - * Releasing 12.10.6+15.04.20150130-0ubuntu1 - -2015-01-30 22:51:41 +0000 Charles Kerr (e759c85) - - * Publish the primary device's state for on the bus. Fixes: #1416096 + * Publish the primary device's state for on the bus. + Fixes: #1416096 Approved by: Ken VanDine, Ted Gould, PS Jenkins bot + (e759c85) + * in the new device-state action state, use the string 'unknown' if + no primary device is found. (6057cd8) + * publish a device state for the benefit of u-s-s (32b591d) + * publish a device state for the benefit of u-s-s (3850d8b) -2015-01-30 11:58:57 -0600 Charles Kerr (6057cd8) - - * in the new device-state action state, use the string 'unknown' if - no primary device is found. - -2015-01-30 11:21:06 -0600 Charles Kerr (32b591d) +2015-01-12 Charles Kerr - * publish a device state for the benefit of u-s-s + * update manual tests (92b25d8) + * fix fencepost error s.t. 20% actually uses battery-020 (a43f1c3) + * round power level to the nearest 10% to take advantage of + higher-resolution power level icons (d989c88) -2015-01-30 11:03:41 -0600 Charles Kerr (3850d8b) +2014-12-09 Ted Gould - * publish a device state for the benefit of u-s-s + * Package sync for upower changes (499fb96) -2015-01-12 16:43:58 -0600 Charles Kerr (92b25d8) +2014-12-03 CI bot - * update manual tests + * Releasing 12.10.6+15.04.20141203-0ubuntu1 (4f07f00) -2015-01-12 16:43:49 -0600 Charles Kerr (a43f1c3) +2014-12-03 Christopher Lee - * fix fencepost error s.t. 20% actually uses battery-020 + * Fix some minor typos in power testing xml file. Approved by: Ted + Gould, PS Jenkins bot (29058f3) -2015-01-12 15:47:27 -0600 Charles Kerr (d989c88) +2014-12-03 Charles Kerr - * round power level to the nearest 10% to take advantage of - higher-resolution power level icons + * Show the phone menu in the phone greeter. (8a59942) -2014-12-09 11:02:51 -0600 Ted Gould (499fb96) +2014-12-02 Charles Kerr - * Package sync for upower changes + * d'oh (8d522c8) + * use the same menu in both phone and phone_greeter profiles + (87db72f) -2014-12-03 16:26:05 +0000 CI bot (4f07f00) +2014-11-18 Christopher Lee - * Releasing 12.10.6+15.04.20141203-0ubuntu1 + * Fix minor typos in power testing xml file. (42a6c1c) -2014-12-03 16:25:52 +0000 Christopher Lee (29058f3) +2014-11-03 CI bot - * Fix some minor typos in power testing xml file. Approved by: Ted - Gould, PS Jenkins bot + * Releasing 12.10.6+15.04.20141103-0ubuntu1 (d5a8d0a) -2014-12-03 16:25:40 +0000 Charles Kerr (8a59942) +2014-11-03 Sebastien Bacher - * Show the phone menu in the phone greeter. + * List missing source for translations (d0ee781) -2014-12-02 17:14:10 -0600 Charles Kerr (8d522c8) +2014-10-15 CI bot - * d'oh + * Releasing 12.10.6+14.10.20141015-0ubuntu1 (3209f1a) -2014-12-02 17:03:26 -0600 Charles Kerr (87db72f) +2014-10-15 Charles Kerr - * use the same menu in both phone and phone_greeter profiles - -2014-11-18 15:53:37 +1300 Christopher Lee (42a6c1c) - - * Fix minor typos in power testing xml file. - -2014-11-03 20:55:53 +0000 CI bot (d5a8d0a) - - * Releasing 12.10.6+15.04.20141103-0ubuntu1 - -2014-11-03 20:55:42 +0000 Sebastien Bacher (d0ee781) - - * List missing source for translations - -2014-10-15 02:46:03 +0000 CI bot (3209f1a) - - * Releasing 12.10.6+14.10.20141015-0ubuntu1 - -2014-10-15 02:45:50 +0000 Charles Kerr (2496678) - - * Add mock battery support to make QA testing easier. Fixes: 1373511 + * Add mock battery support to make QA testing easier. + Fixes: 1373511 Approved by: Antti Kaijanmäki, PS Jenkins bot, Ted Gould + (2496678) -2014-10-14 20:58:28 -0500 Charles Kerr (ee53f5d) +2014-10-14 Charles Kerr - * r273 tried to fix the blocking bug listed at + * r273 tried to fix the blocking bug listed at http://paste.ubuntu.com/8562226/, but in the process introduced a new bug that manifested in RTM. This removes - r273 and uses a different fix. - -2014-10-14 14:50:47 -0500 Charles Kerr (5f316dc) - - * in testing.c, make 'bus' a private field instead of a public - GObject property - -2014-10-14 14:09:32 -0500 Charles Kerr (f599c1b) - - * move the mock battery from GSettings to DBus - -2014-10-14 14:09:00 -0500 Charles Kerr (407c63c) - - * fix notify get-capabilities startup blocking bug found in testing - -2014-10-14 14:07:50 -0500 Charles Kerr (1e530c2) - - * make service's bus connection a property so that + r273 and uses a different fix. (ee53f5d) + * in testing.c, make 'bus' a private field instead of a public + GObject property (5f316dc) + * move the mock battery from GSettings to DBus (f599c1b) + * fix notify get-capabilities startup blocking bug found in testing + (407c63c) + * make service's bus connection a property so that IndicatorPowerTesting can listen for it and export an - object before the name is acquired - -2014-10-14 14:06:58 -0500 Charles Kerr (c07c186) - - * move the testing settings to a DBus interface - -2014-10-14 11:00:13 +0200 Sebastien Bacher (da7995b) - - * List missing source for translations - -2014-10-10 16:37:14 -0500 Charles Kerr (f934717) - - * update manual test notes for the mock battery - -2014-10-10 16:11:36 -0500 Charles Kerr (7eb00e8) - - * add gsettings for a mock battery to make QA tester's lives easier - -2014-10-09 13:42:16 +0000 CI bot (7251f3d) - - * Releasing 12.10.6+14.10.20141009-0ubuntu1 - -2014-10-09 13:42:03 +0000 Cody Garver (939cea2) - - * Add Switchboard as alternative recommend Fixes: 1291051 Approved - by: Ted Gould, PS Jenkins bot - -2014-10-09 13:41:50 +0000 Charles Kerr (10101c2) - - * Remove the border around the icon when showing a low battery - notification. Fixes: 1378411 Approved by: Antti - Kaijanmäki, PS Jenkins bot + object before the name is acquired (1e530c2) + * move the testing settings to a DBus interface (c07c186) -2014-10-07 10:58:22 -0500 Charles Kerr (01a0d94) +2014-10-14 Sebastien Bacher - * confirmation buttons should be green, so add the 'affirmative-tint' - hint for the OK button. + * List missing source for translations (da7995b) -2014-10-07 10:26:05 -0500 Charles Kerr (f82d29b) +2014-10-10 Charles Kerr - * use a string for unity-notification's boolean types. + * update manual test notes for the mock battery (f934717) + * add gsettings for a mock battery to make QA tester's lives easier + (7eb00e8) -2014-10-06 17:31:07 +0000 CI bot (c73b4b9) +2014-10-09 CI bot - * Releasing 12.10.6+14.10.20141006-0ubuntu1 + * Releasing 12.10.6+14.10.20141009-0ubuntu1 (7251f3d) -2014-10-06 17:30:53 +0000 Charles Kerr (969a970) +2014-10-09 Cody Garver - * Move the position of this indicator on the panel. Fixes: 1377294 - Approved by: Ted Gould, PS Jenkins bot + * Add Switchboard as alternative recommend + Fixes: 1291051 Approved + by: Ted Gould, PS Jenkins bot (939cea2) -2014-10-06 11:56:02 -0500 Charles Kerr (47082f1) +2014-10-09 Charles Kerr - * only rearrange the indicator position on the phone + * Remove the border around the icon when showing a low battery + notification. + Fixes: 1378411 Approved by: Antti + Kaijanmäki, PS Jenkins bot (10101c2) -2014-10-06 11:10:10 -0500 Charles Kerr (0b76796) +2014-10-07 Charles Kerr - * move indicator as per the 'Indicator RTM Usability Fixes' document + * confirmation buttons should be green, so add the 'affirmative-tint' + hint for the OK button. (01a0d94) + * use a string for unity-notification's boolean types. (f82d29b) -2014-09-12 18:49:45 +0000 CI bot (0dc696d) +2014-10-06 CI bot - * Releasing 12.10.6+14.10.20140912-0ubuntu1 + * Releasing 12.10.6+14.10.20141006-0ubuntu1 (c73b4b9) -2014-09-12 18:49:31 +0000 Charles Kerr (2982ab5) +2014-10-06 Charles Kerr - * Restore the the brightness slider and have the brightness setting - persist between reboots. Fixes: 1289470, 1364453 Approved - by: Ted Gould, PS Jenkins bot + * Move the position of this indicator on the panel. + Fixes: 1377294 + Approved by: Ted Gould, PS Jenkins bot (969a970) + * only rearrange the indicator position on the phone (47082f1) + * move indicator as per the 'Indicator RTM Usability Fixes' document + (0b76796) -2014-09-12 11:37:02 -0500 Charles Kerr (e5abeb9) +2014-09-12 CI bot - * in brightness.c, set_uscreen_user_brightness() should be a - private/static function + * Releasing 12.10.6+14.10.20140912-0ubuntu1 (0dc696d) -2014-09-11 19:15:14 -0500 Charles Kerr (54fd6bf) +2014-09-12 Charles Kerr - * add an 'auto brightness' checkbox + * Restore the the brightness slider and have the brightness setting + persist between reboots. + Fixes: 1289470, 1364453 Approved + by: Ted Gould, PS Jenkins bot (2982ab5) + * in brightness.c, set_uscreen_user_brightness() should be a + private/static function (e5abeb9) -2014-09-11 15:02:31 -0500 Charles Kerr (d5d3065) +2014-09-11 Charles Kerr - * fix typo in manual tests + * add an 'auto brightness' checkbox (54fd6bf) + * fix typo in manual tests (d5d3065) + * add device-brightness-slider manual test (20889f1) + * tweak comments for readability (9d0cc59) + * remove the new code's g_message() tracers or replace with g_debug() + (2e3d004) + * run manual tests through test-case-format tidier (25cc0e4) + * add manual tests (7eb2466) + * first draft of adding persistence to the brightness slider + (7ced238) -2014-09-11 15:00:48 -0500 Charles Kerr (20889f1) +2014-09-10 Charles Kerr - * add device-brightness-slider manual test + * copyediting: rename 'dflt' as 'default_value' for readability + (4adcc32) + * copyediting: whitespace, comment text (ae12f25) + * fix typo; change g_message() calls to g_debug(); use same + percentage range as ubuntu-system-settings (f5fae61) + * first draft of non-blocking powerd/uscreen brightness impl + (e90e9f7) -2014-09-11 14:31:33 -0500 Charles Kerr (9d0cc59) +2014-09-09 CI bot - * tweak comments for readability + * Releasing 12.10.6+14.10.20140909-0ubuntu1 (dd89ffe) -2014-09-11 14:24:31 -0500 Charles Kerr (2e3d004) +2014-09-09 Charles Kerr - * remove the new code's g_message() tracers or replace with g_debug() + * When the phone's battery goes down past a certain level, pop up a + snap decision to warn the user. + Fixes: 1296431 Approved + by: Ted Gould, PS Jenkins bot (c91ba6b) + * Add support for UPower 0.99. + Fixes: 1330037 Approved by: Ted Gould, + PS Jenkins bot (2720a57) -2014-09-11 14:17:03 -0500 Charles Kerr (25cc0e4) +2014-09-09 Ted Gould - * run manual tests through test-case-format tidier + * Synchronize process management across indicators Approved by: + Charles Kerr, PS Jenkins bot (4b15eb1) -2014-09-11 14:15:07 -0500 Charles Kerr (7eb2466) +2014-09-08 Ted Gould - * add manual tests + * Merge trunk (334e3b3) -2014-09-11 13:18:14 -0500 Charles Kerr (7ced238) +2014-09-08 Charles Kerr - * first draft of adding persistence to the brightness slider - -2014-09-10 17:08:58 -0500 Charles Kerr (4adcc32) - - * copyediting: rename 'dflt' as 'default_value' for readability - -2014-09-10 17:03:40 -0500 Charles Kerr (ae12f25) - - * copyediting: whitespace, comment text - -2014-09-10 16:52:30 -0500 Charles Kerr (f5fae61) - - * fix typo; change g_message() calls to g_debug(); use same - percentage range as ubuntu-system-settings - -2014-09-10 16:28:42 -0500 Charles Kerr (e90e9f7) - - * first draft of non-blocking powerd/uscreen brightness impl - -2014-09-09 04:22:52 +0000 CI bot (dd89ffe) - - * Releasing 12.10.6+14.10.20140909-0ubuntu1 - -2014-09-09 04:22:39 +0000 Charles Kerr (c91ba6b) - - * When the phone's battery goes down past a certain level, pop up a - snap decision to warn the user. Fixes: 1296431 Approved - by: Ted Gould, PS Jenkins bot - -2014-09-09 04:22:19 +0000 Charles Kerr (2720a57) - - * Add support for UPower 0.99. Fixes: 1330037 Approved by: Ted Gould, - PS Jenkins bot - -2014-09-09 04:21:58 +0000 Ted Gould (4b15eb1) - - * Synchronize process management across indicators Approved by: - Charles Kerr, PS Jenkins bot - -2014-09-08 22:58:48 -0500 Ted Gould (334e3b3) - - * Merge trunk - -2014-09-08 16:19:37 -0500 Charles Kerr (ee6e07f) - - * sync with lp-1330037-add-upower-099-support to resolve merge - conflicts - -2014-09-08 16:14:45 -0500 Charles Kerr (0c312c1) - - * drop our gcc -Weverything fixes in notifier.c so that they don't + * sync with lp-1330037-add-upower-099-support to resolve merge + conflicts (ee6e07f) + * drop our gcc -Weverything fixes in notifier.c so that they don't step on the changes in lp-1296431-low-power-snap-decisions + (0c312c1) + * in notifier's snap decisions, distinguish in the title between low + battery and critical battery (24b9a28) + * in notifier.c, don't call notify_get_server_caps() if notify_init() + failed. (48b162d) + * in notifier.c, reverse the order in which we add the actions so + they'll look right on the phone (b06dda0) + * fix typo introduced while trying to fix clang -Weverything warnings + (b2d6637) + * on phone, add nonexpiring snap-decision popup on low battery + events. (0ab79ac) + * more copyediting (84265a5) + * copyediting. (84a32ae) + * in device-provider-upower, use glib's G_ADD_PRIVATE() macro + (cede6ed) -2014-09-08 15:35:19 -0500 Charles Kerr (24b9a28) - - * in notifier's snap decisions, distinguish in the title between low - battery and critical battery - -2014-09-08 11:45:00 -0500 Charles Kerr (48b162d) +2014-09-07 Charles Kerr - * in notifier.c, don't call notify_get_server_caps() if notify_init() - failed. + * add upower 0.99 support (26e4c85) + * silence warnings generated by clang -Weverything (d0fc633) -2014-09-08 11:43:56 -0500 Charles Kerr (b06dda0) +2014-08-22 CI bot - * in notifier.c, reverse the order in which we add the actions so - they'll look right on the phone + * Releasing 12.10.6+14.10.20140822-0ubuntu1 (059246d) -2014-09-08 11:16:29 -0500 Charles Kerr (b2d6637) +2014-08-22 Charles Kerr - * fix typo introduced while trying to fix clang -Weverything warnings + * Choose the icon that's closest to the current battery charge + percentage + Fixes: 1186181 Approved by: Antti Kaijanmäki, + PS Jenkins bot (575a5a1) + * in debian/control, bump standards version from 3.9.2 to 3.9.5 to + make lintian happy (9eee0b5) + * sync with trunk. (3d4c3f2) -2014-09-08 10:39:58 -0500 Charles Kerr (0ab79ac) +2014-08-14 CI bot - * on phone, add nonexpiring snap-decision popup on low battery - events. + * Releasing 12.10.6+14.10.20140814-0ubuntu1 (c7e1740) -2014-09-08 09:50:22 -0500 Charles Kerr (84265a5) +2014-08-14 Charles Kerr - * more copyediting + * Re-use the same Translations.cmake file across indicators + Fixes: + 1354058 Approved by: Ted Gould, PS Jenkins bot (7c2aed0) -2014-09-08 08:34:50 -0500 Charles Kerr (84a32ae) +2014-08-09 Charles Kerr - * copyediting. + * sync the shared Translations.cmake file to pick up recent bugfixes. + (e613cb5) -2014-09-08 08:13:43 -0500 Charles Kerr (cede6ed) +2014-07-30 CI bot - * in device-provider-upower, use glib's G_ADD_PRIVATE() macro + * Releasing 12.10.6+14.10.20140730-0ubuntu1 (42414e0) -2014-09-07 23:57:04 -0500 Charles Kerr (26e4c85) +2014-07-30 Charles Kerr - * add upower 0.99 support + * Add low-battery notifications. + Fixes: 1317858, 1317860 Approved by: + PS Jenkins bot, Lars Uebernickel (b4f91b1) -2014-09-07 23:56:10 -0500 Charles Kerr (d0fc633) +2014-07-29 Charles Kerr - * silence warnings generated by clang -Weverything + * sync unit tests. (a402b61) + * show the icon that most closely matches the battery charge + percentage. (b04239b) -2014-08-22 16:15:52 +0000 CI bot (059246d) +2014-07-25 Charles Kerr - * Releasing 12.10.6+14.10.20140822-0ubuntu1 + * in notify.c, improve the logic for when to tear down a notification + (b46ec7d) + * disable the notification's interactive hint for now (265ab08) + * fix bug introduced in previous commit (eaf64b2) -2014-08-22 16:15:36 +0000 Charles Kerr (575a5a1) +2014-07-24 Charles Kerr - * Choose the icon that's closest to the current battery charge - percentage Fixes: 1186181 Approved by: Antti Kaijanmäki, - PS Jenkins bot + * in notify, reverse the numerical order of the now-private + PowerLevel enum so that they have the more intuitive + behavior of higher integer values meaning a better power + level. (35a2513) + * on the bus, publish the battery's power_level as strings rather + than ints (f15482d) + * in notifier.c, remove unnecessary middleman properties and deal + with the dbus-battery properties directly. (079ac51) + * in notifier.c, fix potential callchain loop when closing a + notification (e9ba47b) + * in notifier, use G_DEFINE_TYPE_WITH_PRIVATE (b715352) + * d'oh (f7f949e) + * remove redundant '#include glib', '#include gobject' calls + (34cf2ba) + * check the return value of g_dbus_interface_skeleton_export() + directly instead of indirectly testing to see if the + GError it used is nonnull. (62a35de) + * don't set to zero fields in a struct that's been calloc()ed + already. (11784e2) + * in notifier.c, don't keep pointers to the bindings around as + they're cleaned up automatically when either of the + objects is destroyed. (f4e1a83) + * in tests/glib-fixture.h, sync with the glib-fixture.h from + indicator-transfer, it's got less '#if 0' cruft (8b9a801) + +2014-07-23 Charles Kerr + + * remove instance_count from IndicatorPowerNotifierClass (d185409) + * copyediting: slightly better comments. (aba9e62) + * make the notifications click-to-dismiss by adding the 'interactive + notification' hint (bf93456) + * copyediting (a62291b) + * remove now-unused code that tests whether the Notify server + supports actions (a8ea5a0) + +2014-07-22 Charles Kerr + + * make the notification popup decision logic simpler & easier to read + (1f98321) + * add manual test case for using the + indicator-power-service-cmdline-battery test utility + (dd32234) + * Filter out some redundant warnings -- e.g., don't notify when the + power percentage drops from 10% to 9%, only when it + crosses a PowerLevel threshold (79a3d89) + * Make the when-does-power-level-change tests work whether or not + Ephemeral notifications are being used. (584aa80) + * for now, only show Ephemeral notifications when the battery gets + low. (7ecf18c) + * add indicator-power-service-cmdline-battery, a manual test utility + to test the indicator's behavior when a battery's state + changes (399eab2) + * when a device changes, update the header action state even if the + menus haven't been created yet. This fixes a startup + condition found by the tests. (dd5f50b) + * copyediting: code cleanup (9c3d863) -2014-08-22 09:56:00 -0500 Charles Kerr (9eee0b5) +2014-07-21 Charles Kerr - * in debian/control, bump standards version from 3.9.2 to 3.9.5 to - make lintian happy + * in debian/control, add python3-dbusmock to Build-Deps for tests + (f5db19d) + * in debian/control, add libdbustest1-dev to Build-Deps for tests + (34925a7) + * in notifier.c, use g_clear_object to unref the GBindings (51f39c8) + * add tests for events that change whether or not a 'low battery' + notification is being shown (1bd1b70) + * add tests to confirm that the DBus object's PowerLevel property + changes at the right times (and only at the right times) + when the battery is draining (2cb851b) + * copyediting (8c4b964) + * don't show clickable actions if the Notify server doesn't support + them. (f5bf7f9) + * copy the dbus-test-runner/dbusmock scaffolding for freedesktop + Notifications from the indicator-datetime tests (125f6f6) + * add dbus-test-runner as a build dependency for tests (d5b4275) + * fix build issues (7b3b8a2) + * sync with lp:indicator-power (bc32a96) + * remove DeviceProvider from Notifier (1902911) + * second draft of low battery power notifications, still a work in + progress (b08f9b0) -2014-08-22 09:55:30 -0500 Charles Kerr (3d4c3f2) +2014-07-18 CI bot - * sync with trunk. + * Releasing 12.10.6+14.10.20140718-0ubuntu1 (967a547) -2014-08-14 14:51:03 +0000 CI bot (c7e1740) +2014-07-18 Charles Kerr - * Releasing 12.10.6+14.10.20140814-0ubuntu1 + * Switch from automake/autoconf to CMake. Approved by: Ted Gould, PS + Jenkins bot (512426b) -2014-08-14 14:50:53 +0000 Charles Kerr (7c2aed0) +2014-07-17 Charles Kerr - * Re-use the same Translations.cmake file across indicators Fixes: - 1354058 Approved by: Ted Gould, PS Jenkins bot + * replace 'std::vector' with 'std::vector' + for readability (9f1ebe8) -2014-08-09 18:19:02 -0500 Charles Kerr (e613cb5) +2014-07-16 Charles Kerr - * sync the shared Translations.cmake file to pick up recent bugfixes. + * none of the current tests require dbustest-1, so remove it from + pkg_check_modules (e187f6f) + * add dh-translations to Build-Depends (082a47c) + * add po/CMakeLists.txt (1f2f165) + * in debian/rules, remove autotool-specific bits (69081d4) + * add first draft of low battery notifications (6ea2db5) + * in debian/control and CMake files, add libnotify (74b8522) + * in device.h, add #include to pick up needed GIcon + declaration (066f1fb) -2014-07-30 10:52:39 +0000 CI bot (42414e0) +2014-07-13 Charles Kerr - * Releasing 12.10.6+14.10.20140730-0ubuntu1 + * replace autoconf/automake with cmake (35a8b17) + * fix some compiler warnings generated by clang static analyzer + (3f29c1a) -2014-07-30 10:52:30 +0000 Charles Kerr (b4f91b1) +2014-06-24 CI bot - * Add low-battery notifications. Fixes: 1317858, 1317860 Approved by: - PS Jenkins bot, Lars Uebernickel + * Releasing 12.10.6+14.10.20140624-0ubuntu1 (2d06cbb) -2014-07-29 10:05:20 -0500 Charles Kerr (a402b61) +2014-06-24 Iain Lane - * sync unit tests. + * Drop powerd and u-s-c to suggests, since the code handles them not + being present and we don't need them on desktop (and they + are in universe). (724900e) -2014-07-29 09:49:19 -0500 Charles Kerr (b04239b) +2014-06-24 Alberto Aguirre - * show the icon that most closely matches the battery charge - percentage. + * Changes to address setBrightness interface moving from powerd to + unity-system-compositor (049c09d) -2014-07-25 00:34:59 -0500 Charles Kerr (b46ec7d) +2014-06-24 Iain Lane - * in notify.c, improve the logic for when to tear down a notification + * Change powerd/u-s-c dependency to a suggests (b6da254) -2014-07-25 00:28:23 -0500 Charles Kerr (265ab08) +2014-06-20 Alberto Aguirre - * disable the notification's interactive hint for now + * Specify required unity-system-compositor version (0e5ceb9) -2014-07-25 00:05:04 -0500 Charles Kerr (eaf64b2) +2014-06-19 Alberto Aguirre - * fix bug introduced in previous commit + * Add 1.11 as allowed version for lcov (89f187f) + * Add powerd and unity-system-compositor to Depends (ed6ad9d) + * Remove powerd reference in message (cd9a40f) + * Remove references to powerd since the brightness interface is now + provided by Unity.Screen (9e9a0da) -2014-07-24 23:40:28 -0500 Charles Kerr (35a2513) +2014-06-16 Alberto Aguirre - * in notify, reverse the numerical order of the now-private - PowerLevel enum so that they have the more intuitive - behavior of higher integer values meaning a better power - level. + * Changes to address setBrightness interface moving from powerd to + unity-system-compositor (2769c7f) -2014-07-24 23:31:11 -0500 Charles Kerr (f15482d) +2014-06-11 CI bot - * on the bus, publish the battery's power_level as strings rather - than ints + * Releasing 12.10.6+14.10.20140611-0ubuntu1 (3982a33) -2014-07-24 23:13:52 -0500 Charles Kerr (079ac51) +2014-06-11 Charles Kerr - * in notifier.c, remove unnecessary middleman properties and deal - with the dbus-battery properties directly. + * Prefer the 'battery-XXX-charging' (eg, 'battery-020-charging') + icons over the 'battery-low-charging' ones because the + former are more precise and likely closer to the actual + battery level. + Fixes: 1186181 (defec1d) -2014-07-24 22:51:03 -0500 Charles Kerr (e9ba47b) +2014-06-11 Iain Lane - * in notifier.c, fix potential callchain loop when closing a - notification + * Remove the brightness slider from the phone menu. + Fixes: 1289470 + (34ba55d) -2014-07-24 21:25:22 -0500 Charles Kerr (b715352) +2014-06-05 Ted Gould - * in notifier, use G_DEFINE_TYPE_WITH_PRIVATE + * Adding lcov 1.11 (cc51d0f) -2014-07-24 16:25:32 -0500 Charles Kerr (f7f949e) +2014-05-05 Charles Kerr - * d'oh + * prefer the 'battery-020-charging' icon to the + 'battery-low-charging' one because the former is more + precise so its icon is more likely to be close to the + actual actual battery level. (8c874cb) -2014-07-24 15:20:16 -0500 Charles Kerr (34cf2ba) +2014-04-28 CI bot - * remove redundant '#include glib', '#include gobject' calls + * Releasing 12.10.6+14.10.20140428-0ubuntu1 (34cda47) -2014-07-24 15:17:32 -0500 Charles Kerr (62a35de) +2014-04-28 Ricardo Salveti de Araujo - * check the return value of g_dbus_interface_skeleton_export() - directly instead of indirectly testing to see if the - GError it used is nonnull. + * Updating code to reflect latest powerd dbus API changes (7aaf31b) + * updating code to reflect latest powerd dbus API changes (bab79c8) -2014-07-24 15:15:09 -0500 Charles Kerr (11784e2) +2014-04-15 Iain Lane - * don't set to zero fields in a struct that's been calloc()ed - already. + * Don't build the tests when cross compiling, they fail to build + (fb4c324) + * Build-Depend on python:any, for cross building. (db02577) + * Don't add the brightness entry to the phone profile; it's been + removed by design (b36744e) -2014-07-24 15:14:20 -0500 Charles Kerr (f4e1a83) +2014-04-11 CI bot - * in notifier.c, don't keep pointers to the bindings around as - they're cleaned up automatically when either of the - objects is destroyed. + * Releasing 12.10.6+14.04.20140411-0ubuntu1 (58ed2f8) -2014-07-24 09:20:35 -0500 Charles Kerr (8b9a801) +2014-04-11 Sebastien Bacher - * in tests/glib-fixture.h, sync with the glib-fixture.h from - indicator-transfer, it's got less '#if 0' cruft + * export an ubiquity profile, reusing the desktop_greeter object -2014-07-23 16:22:27 -0500 Charles Kerr (d185409) + Fixes: 1306604 (d12706e) + * export an ubiquity profile, reusing the desktop_greeter object + (a76095e) - * remove instance_count from IndicatorPowerNotifierClass +2014-04-09 Cody Garver -2014-07-23 16:18:33 -0500 Charles Kerr (aba9e62) + * Uppercase Pantheon (27fa892) + * Use XDG_CURRENT_DESKTOP instead (96b4124) + * Correct packaging (3a9c255) - * copyediting: slightly better comments. +2014-03-28 CI bot -2014-07-23 16:09:00 -0500 Charles Kerr (bf93456) + * Releasing 12.10.6+14.04.20140328-0ubuntu1 (ca89fdd) - * make the notifications click-to-dismiss by adding the 'interactive - notification' hint +2014-03-28 Lars Uebernickel -2014-07-23 16:04:20 -0500 Charles Kerr (a62291b) + * Use com.canonical.indicator.basic menu item for device items + (fc86e4d) - * copyediting +2014-03-28 Charles Kerr -2014-07-23 16:04:02 -0500 Charles Kerr (a8ea5a0) + * If there are two batteries detected, combine their percentages and + their time-remainings as per the revised spec. + Fixes: + 880881, 1297466 (71ef362) - * remove now-unused code that tests whether the Notify server - supports actions +2014-03-27 Lars Uebernickel -2014-07-22 12:19:20 -0500 Charles Kerr (1f98321) + * Use com.canonical.indicator.basic menu item for device items + (0b58eeb) - * make the notification popup decision logic simpler & easier to read +2014-03-26 CI bot -2014-07-22 12:01:45 -0500 Charles Kerr (dd32234) + * Releasing 12.10.6+14.04.20140326-0ubuntu1 (39ab6b3) - * add manual test case for using the - indicator-power-service-cmdline-battery test utility +2014-03-26 Y.C cheng -2014-07-22 11:59:59 -0500 Charles Kerr (79a3d89) + * Set brightness via powerd if it exist (using dbus) + Fixes: 1287599 + (ebf3030) + * remove modificaiton in changelog for CI (20aa7e1) - * Filter out some redundant warnings -- e.g., don't notify when the - power percentage drops from 10% to 9%, only when it - crosses a PowerLevel threshold +2014-03-25 Charles Kerr -2014-07-22 11:59:03 -0500 Charles Kerr (584aa80) + * sync to lp:indicator-power (8fcb63c) + * add translator comments to the new translatable strings. (9b33101) - * Make the when-does-power-level-change tests work whether or not - Ephemeral notifications are being used. +2014-03-24 Cody Garver -2014-07-22 11:27:07 -0500 Charles Kerr (7ecf18c) + * Add switchboard-plug-power as an alternative recommendation in + packaging (d08ca44) - * for now, only show Ephemeral notifications when the battery gets - low. +2014-03-19 Charles Kerr -2014-07-22 09:58:29 -0500 Charles Kerr (399eab2) + * add a courtesy message to let observers know that test-device isn't + stuck, it's just slow. (0ea6d3d) + * when choosing a primary device and more than one battery is found, + accumulate their percentages and time-remaining properties + as per the spec revisions in bug #880881. (b3ec90e) - * add indicator-power-service-cmdline-battery, a manual test utility - to test the indicator's behavior when a battery's state - changes +2014-03-15 Cody Garver -2014-07-22 09:54:36 -0500 Charles Kerr (dd5f50b) + * Add support for Switchboard when in Pantheon session to fix bug + #1291051 (4ba6d06) - * when a device changes, update the header action state even if the - menus haven't been created yet. This fixes a startup - condition found by the tests. +2014-03-14 CI bot -2014-07-22 09:53:53 -0500 Charles Kerr (9c3d863) + * Releasing 12.10.6+14.04.20140314-0ubuntu1 (6b9e3d4) - * copyediting: code cleanup +2014-03-14 Charles Kerr -2014-07-21 18:12:11 -0500 Charles Kerr (f5db19d) + * Change the implementation of the title text / title accessible text + / menuitem text to follow the spec changes in + https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title + and update the tests accordingly. + Fixes: 1234458 (fe4849e) - * in debian/control, add python3-dbusmock to Build-Deps for tests +2014-03-13 Charles Kerr -2014-07-21 18:04:55 -0500 Charles Kerr (34925a7) + * add lp:~charlesk/indicator-power/lp-1256872 (d615980) + * when expecting a NULL string, use EXPECT_EQ(NULL, str) (b1f0d40) + * in the new indicator_power_device_get_*() functions, use + g_return_val_if_fail(foo, NULL) rather than + g_return_if_fail(foo) (bee4794) + * copyediting: add const, fix misaligned whitespace (a49c013) + * remove INDICATOR_IS_POWER_DEVICE(device) tests from private + functions (3c4a789) + * in the new indicator_power_device_get_*() functions, use + heap-allocated strings rather than relying on + g_snprintf(). (9936e22) - * in debian/control, add libdbustest1-dev to Build-Deps for tests +2014-03-11 CI bot -2014-07-21 17:27:49 -0500 Charles Kerr (51f39c8) + * Releasing 12.10.6+14.04.20140311-0ubuntu1 (2596b05) - * in notifier.c, use g_clear_object to unref the GBindings +2014-03-11 Lars Uebernickel -2014-07-21 17:13:15 -0500 Charles Kerr (1bd1b70) + * Add desktop_lockscreen profile (c67067b) + * Add desktop_lockscreen profile (12cf8a5) - * add tests for events that change whether or not a 'low battery' - notification is being shown +2014-03-06 CI bot -2014-07-21 16:08:29 -0500 Charles Kerr (2cb851b) + * Releasing 12.10.6+14.04.20140306-0ubuntu1 (24f2ab3) - * add tests to confirm that the DBus object's PowerLevel property - changes at the right times (and only at the right times) - when the battery is draining +2014-03-06 Simon Steinbeiß -2014-07-21 14:15:28 -0500 Charles Kerr (8c4b964) + * Add xfce4-powermanager as alternative recommend (0e381b4) - * copyediting +2014-03-06 Y.C cheng -2014-07-21 13:48:18 -0500 Charles Kerr (f5bf7f9) + * refine and use default value as initial brightness value (a67018f) - * don't show clickable actions if the Notify server doesn't support - them. +2014-03-05 Y.C cheng -2014-07-21 12:32:49 -0500 Charles Kerr (125f6f6) + * add GCancellable and cancel it before free (a046fce) + * brightness parameters as necessary condition to use powerd + (237ba71) + * clean up / wrong code fix (6a577e1) - * copy the dbus-test-runner/dbusmock scaffolding for freedesktop - Notifications from the indicator-datetime tests +2014-03-04 Charles Kerr -2014-07-21 12:21:54 -0500 Charles Kerr (d5b4275) + * slightly better comments (065169e) + * update the header / menuitem text / accessible text to reflect the + changes in + https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title + (0f47066) - * add dbus-test-runner as a build dependency for tests +2014-03-03 Y.C cheng -2014-07-21 12:10:41 -0500 Charles Kerr (7b3b8a2) + * set brightness via powerd if it exist (using dbus) (18fd0fa) - * fix build issues +2014-02-26 Ted Gould -2014-07-21 12:03:44 -0500 Charles Kerr (bc32a96) + * Update for gnome-fallback (e8635c2) - * sync with lp:indicator-power +2014-02-20 Ted Gould -2014-07-21 11:25:16 -0500 Charles Kerr (1902911) + * Make sure to go into that subdirectory (d7f93a7) + * Add the Upstart override (6f4bbf0) + * Make it only show in Unity (87f8929) + * Make the Upstart job match (bf09f85) - * remove DeviceProvider from Notifier +2014-02-18 Simon Steinbeiß -2014-07-21 00:50:24 -0500 Charles Kerr (b08f9b0) + * Add xfce4-powermanager as alternative recommend (8c0a214) - * second draft of low battery power notifications, still a work in - progress +2014-02-07 CI bot -2014-07-18 21:33:31 +0000 CI bot (967a547) + * Releasing 12.10.6+14.04.20140207-0ubuntu1 (8c96b02) + * Adding acceptance tests and merge review policies (aea3f06) - * Releasing 12.10.6+14.10.20140718-0ubuntu1 +2014-01-31 Ted Gould -2014-07-18 21:33:19 +0000 Charles Kerr (512426b) + * Adding acceptance tests and merge review policies. (e447a75) + * Adding merge review policy (5efc941) + * Adding basic acceptance tests (dfa6753) - * Switch from automake/autoconf to CMake. Approved by: Ted Gould, PS - Jenkins bot +2014-01-27 Automatic PS uploader -2014-07-17 14:46:23 -0500 Charles Kerr (9f1ebe8) + * Releasing 12.10.6+14.04.20140127-0ubuntu1 (revision 224 from + lp:indicator-power). (02cef6a) + * Releasing 12.10.6+14.04.20140127-0ubuntu1, based on r224 (831ba77) - * replace 'std::vector' with 'std::vector' - for readability +2014-01-27 Ricardo Salveti de Araujo -2014-07-16 19:25:12 -0500 Charles Kerr (e187f6f) + * device.c: pending_charge means not charging. (a98a7c1) - * none of the current tests require dbustest-1, so remove it from - pkg_check_modules +2014-01-24 Ricardo Salveti de Araujo -2014-07-16 18:59:29 -0500 Charles Kerr (082a47c) + * device.c: pending_charge means not charging (90bce0b) - * add dh-translations to Build-Depends +2014-01-24 Automatic PS uploader -2014-07-16 18:29:24 -0500 Charles Kerr (1f2f165) + * Releasing 12.10.6+14.04.20140124-0ubuntu1 (revision 222 from + lp:indicator-power). (2d54e43) + * Releasing 12.10.6+14.04.20140124-0ubuntu1, based on r222 (898e6b8) - * add po/CMakeLists.txt +2014-01-22 Lars Uebernickel -2014-07-16 18:28:24 -0500 Charles Kerr (69081d4) + * Run xfce-powermanager-settings when in an Xubuntu session. + (eab4835) + * service.c: cache the control center command (e10669b) + * service.c: execute unity-control-center on desktops other than + unity as well (12febda) + * service.c: remove free() on uninitialized pointer (2f5e7c9) - * in debian/rules, remove autotool-specific bits +2014-01-21 Simon Steinbeiß -2014-07-16 01:08:54 -0500 Charles Kerr (6ea2db5) + * Add support for opening xfce4-powermanager-settings when in a + Xubuntu-session (fd8313f) - * add first draft of low battery notifications +2014-01-21 Robert Ancell -2014-07-16 01:07:29 -0500 Charles Kerr (74b8522) + * Use unity-control-center if it is available. + Fixes: + https://bugs.launchpad.net/bugs/1257505. (10c22e3) - * in debian/control and CMake files, add libnotify +2014-01-14 Robert Ancell -2014-07-16 01:06:59 -0500 Charles Kerr (066f1fb) + * Recommend unity-control-center before gnome-control-center + (b118fa5) - * in device.h, add #include to pick up needed GIcon - declaration +2014-01-10 Robert Ancell -2014-07-13 23:43:41 -0500 Charles Kerr (35a8b17) + * Use unity-control-center if it is available (1bd93b0) - * replace autoconf/automake with cmake +2013-12-05 Calum Lind -2014-07-13 23:33:16 -0500 Charles Kerr (3f29c1a) + * From bug 1255655: "focus[es] the correct tab upon opening + gnome-power-statistics when clicking the indicator + battery.". + Fixes: https://bugs.launchpad.net/bugs/1255655. + (a253b42) - * fix some compiler warnings generated by clang static analyzer +2013-12-04 Calum Lind -2014-06-24 09:45:57 +0000 CI bot (2d06cbb) + * merge from trunk (5a957ff) + * Focus to battery tab when opening in gnome-power-statistics + (84d26b8) - * Releasing 12.10.6+14.10.20140624-0ubuntu1 +2013-12-03 Lars Uebernickel -2014-06-24 09:45:47 +0000 Iain Lane (724900e) + * gcov.m4: add 1.10 to the lcov version list. (b2c58f6) + * gcov.m4: add 1.10 to the lcov version list (c596b45) - * Drop powerd and u-s-c to suggests, since the code handles them not - being present and we don't need them on desktop (and they - are in universe). +2013-11-29 Automatic PS uploader -2014-06-24 09:45:34 +0000 Alberto Aguirre (049c09d) + * Releasing 12.10.6+14.04.20131129-0ubuntu1 (revision 217 from + lp:indicator-power). (3ff43b0) + * Releasing 12.10.6+14.04.20131129-0ubuntu1, based on r217 (f7a1777) - * Changes to address setBrightness interface moving from powerd to - unity-system-compositor +2013-11-29 Lars Uebernickel -2014-06-24 09:39:13 +0100 Iain Lane (b6da254) + * Use GSettingsActions instead of g_settings_bind (1d5aed9) + * Don't keep GSettingsActions around (87f6a0f) - * Change powerd/u-s-c dependency to a suggests +2013-11-28 Lars Uebernickel -2014-06-20 14:56:37 -0500 Alberto Aguirre (0e5ceb9) + * Use GSettingsActions instead of g_settings_bind (e9b6509) - * Specify required unity-system-compositor version +2013-11-27 Calum Lind -2014-06-19 15:55:54 -0500 Alberto Aguirre (89f187f) + * Focus to battery tab when opening in gnome-power-statistics + (5468416) - * Add 1.11 as allowed version for lcov +2013-11-25 Automatic PS uploader -2014-06-19 10:32:17 -0500 Alberto Aguirre (ed6ad9d) + * Releasing 12.10.6+14.04.20131125-0ubuntu1 (revision 215 from + lp:indicator-power). (d531422) + * Releasing 12.10.6+14.04.20131125-0ubuntu1, based on r215 (25e3ff0) - * Add powerd and unity-system-compositor to Depends +2013-11-08 Charles Kerr -2014-06-19 10:23:42 -0500 Alberto Aguirre (cd9a40f) + * fix a minor memory leak that was caused by treating the variant + returned by g_icon_serialize() as floating. (c608bd8) + * fix a minor memory leak that was caused by treating the variant + returned by g_icon_serialize() as floating. (32c637b) - * Remove powerd reference in message +2013-11-04 Charles Kerr -2014-06-19 10:04:01 -0500 Alberto Aguirre (9e9a0da) + * We really only need to keep a handful of properties up-to-date for + each 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. (bde1f5d) - * Remove references to powerd since the brightness interface is now - provided by Unity.Screen +2013-11-03 Charles Kerr -2014-06-16 22:58:17 -0500 Alberto Aguirre (2769c7f) + * in on_bus_ready(), use g_error_matches(). (7dd7640) + * in on_device_properties_ready(), improve the g_warning() text to be + more useful. (65fa65f) + * in on_device_properties_ready(), use g_error_matches (adfd4c6) - * Changes to address setBrightness interface moving from powerd to - unity-system-compositor +2013-10-31 Ted Gould -2014-06-11 17:21:30 +0000 CI bot (3982a33) + * Switching DBus service to an Upstart Job. + Fixes: + https://bugs.launchpad.net/bugs/1185565. (7066fed) - * Releasing 12.10.6+14.10.20140611-0ubuntu1 +2013-10-30 Nick Dedekind -2014-06-11 17:21:20 +0000 Charles Kerr (defec1d) + * Removed Label from brightness slider. + Fixes: + https://bugs.launchpad.net/bugs/1240756. (1ca27d4) + * Use NULL for empty string (cd42d9e) - * Prefer the 'battery-XXX-charging' (eg, 'battery-020-charging') - icons over the 'battery-low-charging' ones because the - former are more precise and likely closer to the actual - battery level. Fixes: 1186181 +2013-10-29 Nick Dedekind -2014-06-11 17:21:08 +0000 Iain Lane (34ba55d) + * Removed brigtness label from indicator menu (833e7fc) - * Remove the brightness slider from the phone menu. Fixes: 1289470 +2013-10-29 Ted Gould -2014-06-05 10:15:32 -0500 Ted Gould (cc51d0f) + * Add in the autostart config (4913289) + * Updating to trunk (fb13441) - * Adding lcov 1.11 +2013-10-29 Automatic PS uploader -2014-05-05 10:21:42 -0500 Charles Kerr (8c874cb) + * Releasing 12.10.6+14.04.20131029.1-0ubuntu1 (revision 210 from + lp:indicator-power). (1a9e81a) + * Releasing 12.10.6+14.04.20131029.1-0ubuntu1, based on r210 + (52f40f1) - * prefer the 'battery-020-charging' icon to the - 'battery-low-charging' one because the former is more - precise so its icon is more likely to be close to the - actual actual battery level. +2013-10-28 Ted Gould -2014-04-28 23:25:54 +0000 CI bot (34cda47) + * Adding a phone_greeter profile. (7f7e1ab) + * Adding a phone_greeter profile (30747fc) - * Releasing 12.10.6+14.10.20140428-0ubuntu1 +2013-10-24 Sebastien Bacher -2014-04-28 23:25:45 +0000 Ricardo Salveti de Araujo (7aaf31b) + * Don't leak the g_file_get_contents value, reported by valgrind . + (f4cbf51) + * Don't leak the g_file_get_contents value, reported by valgrind + (e1e4997) - * Updating code to reflect latest powerd dbus API changes +2013-10-15 Marcus Tomlinson -2014-04-28 16:15:18 -0700 Ricardo Salveti de Araujo (bab79c8) + * Added torch icons to either end of brightness slider. + Fixes: + https://bugs.launchpad.net/bugs/1227250. (6c9f30f) - * updating code to reflect latest powerd dbus API changes +2013-10-10 Marcus Tomlinson -2014-04-15 14:43:09 +0100 Iain Lane (fb4c324) + * Added "torch-on" and "torch-off" icons to brightness slider menu + item. (f192ac0) - * Don't build the tests when cross compiling, they fail to build +2013-10-08 Automatic PS uploader -2014-04-15 14:16:44 +0100 Iain Lane (db02577) + * Releasing 12.10.6+13.10.20131008-0ubuntu1 (revision 206 from + lp:indicator-power). (b3d3cbe) + * Releasing 12.10.6+13.10.20131008-0ubuntu1, based on r206 (2d02157) - * Build-Depend on python:any, for cross building. +2013-10-04 Ted Gould -2014-04-15 14:08:08 +0100 Iain Lane (b36744e) + * Adding an additional slash to the settings URL. + Fixes: + https://bugs.launchpad.net/bugs/1231444. (150e04c) + * Adding an additional slash to the settings URL (5cc73ec) - * Don't add the brightness entry to the phone profile; it's been - removed by design +2013-10-04 Automatic PS uploader -2014-04-11 14:01:37 +0000 CI bot (58ed2f8) + * Releasing 12.10.6+13.10.20131004-0ubuntu1 (revision 204 from + lp:indicator-power). (b872bf2) + * Releasing 12.10.6+13.10.20131004-0ubuntu1, based on r204 (cca3975) - * Releasing 12.10.6+14.04.20140411-0ubuntu1 +2013-10-03 Charles Kerr -2014-04-11 14:01:27 +0000 Sebastien Bacher (d12706e) + * don't create proxies for each upower device. (7c2a156) - * export an ubiquity profile, reusing the desktop_greeter object - Fixes: 1306604 +2013-10-02 Charles Kerr -2014-04-11 15:47:39 +0200 Sebastien Bacher (a76095e) + * Listen for the "Resuming" signal from upower to refresh devices + when resuming from suspend/hibernate. + Fixes: + https://bugs.launchpad.net/bugs/1224931. (29eb8c2) - * export an ubiquity profile, reusing the desktop_greeter object +2013-10-01 Charles Kerr -2014-04-09 04:28:37 -0500 Cody Garver (27fa892) + * Listen for the 'Resuming' signal from upower. When it's received, + refresh all our devices. (76c6292) + * replace a g_print() call with g_debug() (5a739fd) + * Revert bug #824629 code -- use the correct charge % when deciding + what icon to use. + Fixes: + https://bugs.launchpad.net/bugs/1215520. (a16d123) + * use the correct battery icon when charging/discharging (3fe1d26) - * Uppercase Pantheon +2013-09-18 Automatic PS uploader -2014-04-09 03:28:01 -0500 Cody Garver (96b4124) + * Releasing 12.10.6+13.10.20130918.2-0ubuntu1 (revision 201 from + lp:indicator-power). (6c04d1a) + * Releasing 12.10.6+13.10.20130918.2-0ubuntu1, based on r201 + (9b17a6b) - * Use XDG_CURRENT_DESKTOP instead +2013-09-18 Łukasz 'sil2100' Zemczak -2014-04-09 01:42:05 -0500 Cody Garver (3a9c255) + * Add the FFe bug number to the last changelog entry (LP: #1215980) + (97e7e6d) - * Correct packaging +2013-09-18 Timo Jyrinki -2014-03-28 16:10:45 +0000 CI bot (ca89fdd) + * Manual changelog entry to indicate why the reverting of the revert + is ok now. (7b46f6c) - * Releasing 12.10.6+14.04.20140328-0ubuntu1 +2013-09-17 Ted Gould -2014-03-28 16:10:35 +0000 Lars Uebernickel (fc86e4d) + * Use URL dispatcher to show settings on the phone. (0344077) - * Use com.canonical.indicator.basic menu item for device items +2013-09-15 Ted Gould -2014-03-28 16:10:23 +0000 Charles Kerr (71ef362) + * Don't do the revert (bb9e728) + * Update to trunk before revert (22f3ee8) - * If there are two batteries detected, combine their percentages and - their time-remainings as per the revised spec. Fixes: - 880881, 1297466 +2013-09-14 Stéphane Graber -2014-03-27 13:17:22 +0100 Lars Uebernickel (0b58eeb) + * Revert previous upload. (5fbb8ed) - * Use com.canonical.indicator.basic menu item for device items +2013-09-13 Stéphane Graber -2014-03-26 18:50:46 +0000 CI bot (39ab6b3) + * Revert the previous upload as it caused 10 extra packages to be + installed on all Ubuntu desktop machines and as a result + caused a FeatureFreeze violation. (8d05805) - * Releasing 12.10.6+14.04.20140326-0ubuntu1 +2013-09-13 Automatic PS uploader -2014-03-26 18:50:37 +0000 Y.C cheng (ebf3030) + * Releasing 12.10.6+13.10.20130913-0ubuntu1 (revision 196 from + lp:indicator-power). (830e6a6) + * Releasing 12.10.6+13.10.20130913-0ubuntu1, based on r196 (a14a925) - * Set brightness via powerd if it exist (using dbus) Fixes: 1287599 +2013-09-11 Charles Kerr -2014-03-26 12:58:56 +0800 Y.C cheng (20aa7e1) + * Adds a title in the header's action state. + Fixes: + https://bugs.launchpad.net/bugs/1223635. (f853cb2) + * use g_variant_new_take_string() where appropriate (4ca541c) + * add a title entry to the header action's state (ce4067c) - * remove modificaiton in changelog for CI +2013-09-09 Ted Gould -2014-03-25 14:48:57 -0500 Charles Kerr (8fcb63c) + * Use URL Dispatcher for settings on the phone. (5507ff9) - * sync to lp:indicator-power +2013-09-04 Ted Gould -2014-03-25 14:35:17 -0500 Charles Kerr (9b33101) + * Adding a phone settings action (5ec4944) + * Grabbing the URL dispatcher build (627005e) + * Adding a build dep on URL dispatcher (a3bfe6c) - * add translator comments to the new translatable strings. +2013-08-30 Automatic PS uploader -2014-03-24 15:29:01 -0500 Cody Garver (d08ca44) + * Releasing 12.10.6+13.10.20130830.2-0ubuntu1 (revision 193 from + lp:indicator-power). (f4ae2d0) + * Releasing 12.10.6+13.10.20130830.2-0ubuntu1, based on r193 + (81d519f) - * Add switchboard-plug-power as an alternative recommendation in - packaging +2013-08-30 Sebastien Bacher -2014-03-19 14:35:12 -0500 Charles Kerr (0ea6d3d) + * revert previous commit, liburl-dispatcher1 depends on + upstart-app-launch which is in universe, that's blocking + indicators from landing. (eae8289) + * revert previous commit, liburl-dispatcher1 depends on + upstart-app-launch which is in universe, that's blocking + indicators from landing. (7b1c7e8) - * add a courtesy message to let observers know that test-device isn't - stuck, it's just slow. +2013-08-30 Ted Gould -2014-03-19 14:15:54 -0500 Charles Kerr (b3ec90e) + * Make settings work on the phone. (4179a81) - * when choosing a primary device and more than one battery is found, - accumulate their percentages and time-remaining properties - as per the spec revisions in bug #880881. +2013-08-29 Sebastien Bacher -2014-03-15 03:30:23 -0500 Cody Garver (4ba6d06) + * don't depends on gnome-control-center, recommends is enough, since + it's only required for the preferences menu item. Let + ubuntu-system-settings replace it as an alternative, + that's needed on the touch image. (cb21c21) - * Add support for Switchboard when in Pantheon session to fix bug - #1291051 +2013-08-29 Ted Gould -2014-03-14 14:14:07 +0000 CI bot (6b9e3d4) + * Merging seb128's branch (0becc25) + * Add a new action for phone settings and call the dispatcher + (2dc4a6e) + * Adding build items on url dispatcher (0f4852e) + * Fix dependendencies to include url-dispatcher and allow + system-settings (4b27302) - * Releasing 12.10.6+14.04.20140314-0ubuntu1 +2013-08-29 Sebastien Bacher -2014-03-14 14:13:58 +0000 Charles Kerr (fe4849e) + * don't depends on gnome-control-center, recommends is enough, since + it's only required for the preferences menu item. Let + ubuntu-system-settings replace it as an alternative, + that's needed on the touch image. (ae2fc2d) - * Change the implementation of the title text / title accessible text - / menuitem text to follow the spec changes in - https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title - and update the tests accordingly. Fixes: 1234458 +2013-08-27 Ted Gould -2014-03-13 17:27:29 -0500 Charles Kerr (d615980) + * Dropping debugging for system-wide support (812ac9a) + * Switching the dvus service to an upstart job (667bae7) - * add lp:~charlesk/indicator-power/lp-1256872 +2013-08-23 Automatic PS uploader -2014-03-13 10:32:04 -0500 Charles Kerr (b1f0d40) + * Releasing 12.10.6+13.10.20130823-0ubuntu1 (revision 189 from + lp:indicator-power). (7c271b3) + * Releasing 12.10.6+13.10.20130823-0ubuntu1, based on r189 (dfebb76) - * when expecting a NULL string, use EXPECT_EQ(NULL, str) +2013-08-23 Charles Kerr -2014-03-13 10:31:33 -0500 Charles Kerr (bee4794) + * Don't show the time remaining for a discharging battery if it + exceeds 24 hours because it's probably an erroneous time + estimate. + Fixes: https://bugs.launchpad.net/bugs/1216030. + (2e46eb4) + * update the tests to look at the 24 hour threshold (90f4785) + * as per the changes in + https://wiki.ubuntu.com/Power?action=diff&rev2=39&rev1=38, + hide the discharge time remaining if it's > 24 hours + (b1f32d5) + * Updates the power indicator to match the spec changes at + . + (e079d4b) + * copyediting: some newly-dead code should have been removed instead + of just commented out (ad28ae2) + * copyediting: more descriptive comments when building + label/header/a11y text (b84432b) - * in the new indicator_power_device_get_*() functions, use - g_return_val_if_fail(foo, NULL) rather than - g_return_if_fail(foo) +2013-08-22 Charles Kerr -2014-03-13 09:16:54 -0500 Charles Kerr (a49c013) + * copyediting: remove trailing spaces in source code (cfda45b) + * don't use deprecated GSimpleActionGroup APIs (65b6f06) + * add show-percentage feature, basing off Haw Loeung's patch. + (c15ff1e) + * add schema changes from hloeung's branch (3c2e7c8) - * copyediting: add const, fix misaligned whitespace +2013-08-21 Automatic PS uploader -2014-03-13 09:15:27 -0500 Charles Kerr (3c4a789) + * Releasing 12.10.6+13.10.20130821-0ubuntu1 (revision 186 from + lp:indicator-power). (f22849a) + * Releasing 12.10.6+13.10.20130821-0ubuntu1, based on r186 (bc7c071) - * remove INDICATOR_IS_POWER_DEVICE(device) tests from private - functions +2013-08-20 Charles Kerr -2014-03-13 09:05:34 -0500 Charles Kerr (9936e22) + * Add a brightness slider to indicator-power's phone menu. (cf9f238) - * in the new indicator_power_device_get_*() functions, use - heap-allocated strings rather than relying on - g_snprintf(). +2013-08-19 Charles Kerr -2014-03-11 18:33:10 +0000 CI bot (2596b05) + * copyediting: trivial dead code removal (7121aeb) + * make the brightness slider work correctly in both unity8 and ido + (21871f8) + * in ib_brightness_control_set_value(), log the strerror when write() + fails. (1b56431) + * add ib-brightness-control for phone menu (ffaf526) - * Releasing 12.10.6+14.04.20140311-0ubuntu1 +2013-08-08 Automatic PS uploader -2014-03-11 18:33:00 +0000 Lars Uebernickel (c67067b) + * Releasing 12.10.6+13.10.20130808-0ubuntu1 (revision 184 from + lp:indicator-power). (63e89ea) + * Releasing 12.10.6+13.10.20130808-0ubuntu1, based on r184 (f56cb9f) - * Add desktop_lockscreen profile +2013-08-07 Allan LeSage -2014-03-11 14:27:17 +0100 Lars Uebernickel (12cf8a5) + * This restores coverage reporting; we could alternately add the + COVERAGE_CFLAGS to SHARED_CFLAGS instead. + Fixes: + https://bugs.launchpad.net/bugs/1204127. (ad584c1) + * Restore coverage flags. (5f1524a) - * Add desktop_lockscreen profile +2013-07-25 Automatic PS uploader -2014-03-06 11:51:54 +0000 CI bot (24f2ab3) + * Releasing 12.10.6+13.10.20130725-0ubuntu1 (revision 182 from + lp:indicator-power). (02ddec5) + * Releasing 12.10.6+13.10.20130725-0ubuntu1, based on r182 (e84ea95) - * Releasing 12.10.6+14.04.20140306-0ubuntu1 +2013-07-24 Charles Kerr -2014-03-06 11:51:46 +0000 Simon Steinbeiß (0e381b4) + * Set the battery-level action's 'sensitive' flag to false so that it + will not be clickable, as per the phone spec. (e5d2ea5) + * set the phone menu's battery-level action's 'enabled' flag to false + so that it won't be clickable, as per the spec. (9fd02d4) + * Add a phone profile and menu. (6cca65e) + * add a profile for the phone's power indicator + https://wiki.ubuntu.com/Power#Phone (2d6f099) - * Add xfce4-powermanager as alternative recommend +2013-07-23 Charles Kerr -2014-03-06 11:27:12 +0800 Y.C cheng (a67018f) + * rename create_devices_section as create_desktop_devices_section + since we're about to add a sibling + create_phone_devices_section (6e63cf5) - * refine and use default value as initial brightness value +2013-07-08 Automatic PS uploader -2014-03-05 17:16:36 +0800 Y.C cheng (a046fce) + * Releasing 12.10.6+13.10.20130708-0ubuntu1 (revision 179 from + lp:indicator-power). (a6db14f) + * Releasing 12.10.6+13.10.20130708-0ubuntu1, based on r179 (2e21a4f) - * add GCancellable and cancel it before free +2013-07-05 Lars Uebernickel -2014-03-05 16:09:10 +0800 Y.C cheng (237ba71) + * Put service into libexecir. (cfbd125) + * indicator file: rename greeter to desktop_greeter. (e1166c9) - * brightness parameters as necessary condition to use powerd +2013-07-04 Lars Uebernickel -2014-03-05 13:32:26 +0800 Y.C cheng (6a577e1) + * Put service into libexecdir (2ca78c7) + * indicator file: greeter -> desktop_greeter (51182d1) - * clean up / wrong code fix +2013-07-03 Automatic PS uploader -2014-03-04 23:09:42 -0600 Charles Kerr (065169e) + * Releasing 12.10.6+13.10.20130703.1-0ubuntu1 to ubuntu. (91878b5) + * Releasing 12.10.6+13.10.20130703.1-0ubuntu1, based on r176 + (e825a65) - * slightly better comments +2013-07-02 Charles Kerr -2014-03-04 22:57:52 -0600 Charles Kerr (0f47066) + * add a Position entry in the .indicator file. + Fixes: + https://bugs.launchpad.net/bugs/1196650. (b227201) + * in the .indicator file, add a Position entry (15ee6e1) + * make the greeter menu key consistent with indicator-session. + (0f046a6) - * update the header / menuitem text / accessible text to reflect the - changes in - https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title +2013-07-02 Automatic PS uploader -2014-03-03 17:18:05 +0800 Y.C cheng (18fd0fa) + * Releasing 12.10.6+13.10.20130702-0ubuntu1 to ubuntu. (61fb99c) + * Releasing 12.10.6+13.10.20130702-0ubuntu1, based on r173 (ce51165) - * set brightness via powerd if it exist (using dbus) +2013-07-01 Charles Kerr -2014-02-26 10:39:18 -0600 Ted Gould (e8635c2) + * in service.c's menu_names array, use 'desktop_greeter' as the key + instead of 'greeter' (ce05101) - * Update for gnome-fallback +2013-07-01 Sebastien Bacher -2014-02-20 10:01:34 -0600 Ted Gould (d7f93a7) + * backport the changelog from the manual distro upload. (09635bc) + * backport the changelog from the manual distro upload (04b32b4) - * Make sure to go into that subdirectory +2013-06-29 Charles Kerr -2014-02-20 08:59:27 -0600 Ted Gould (6f4bbf0) + * don't rely on the dbus pkg-config variable to know where to install + .service files. (5fb3644) - * Add the Upstart override +2013-06-28 Charles Kerr -2014-02-20 08:57:02 -0600 Ted Gould (87f8929) + * since we're removing localinstall mode, no need to pass it as an + arg here either (f6329d6) + * remove 'local install' mode (8bfff65) + * similar to the i-datetime change, use the unicode ellipsis + directly. (9ba857d) - * Make it only show in Unity +2013-06-28 Automatic PS uploader -2014-02-20 08:56:38 -0600 Ted Gould (bf09f85) + * Releasing 12.10.6+13.10.20130628-0ubuntu1 to ubuntu. (ae08ab6) - * Make the Upstart job match +2013-06-28 Charles Kerr -2014-02-18 20:20:57 +0100 Simon Steinbeiß (8c0a214) + * use … directly in strings instead of the C octal escaped UTF-8. + (54b4afe) - * Add xfce4-powermanager as alternative recommend +2013-06-28 Automatic PS uploader -2014-02-07 16:32:36 +0000 CI bot (8c96b02) + * Releasing 12.10.6+13.10.20130628-0ubuntu1, based on r169 (ada376a) - * Releasing 12.10.6+14.04.20140207-0ubuntu1 +2013-06-20 Łukasz 'sil2100' Zemczak -2014-02-07 16:32:26 +0000 CI bot (aea3f06) + * Add a build-dep on python. This is required as we're using + gdbus-codegen from libglib2.0-dev which only 'recommends' + python. We don't install recommends, so to get things + working, this build-dep is needed. (30b8b27) + * Add a build-dep on python. This is required as we're using + gdbus-codegen from libglib2.0-dev which only 'recommends' + python. We don't install recommends, so to get things + working, this build-dep is needed (6811e6b) - * Adding acceptance tests and merge review policies +2013-06-19 Charles Kerr -2014-01-31 20:44:40 +0000 Ted Gould (e447a75) + * Convert the power indicator into a service that exports GMenus and + GActions in accordance with our indicator-ng design. + (0ce78de) + * adjust device-provider-upower's timer to reduce how many times we + pull the device's properties over the bus. (258f3ad) + * remove the '--replace' command line argument; process management + will be handled by Upstart (8f74477) + * in indicator_power_device_provider_get_devices, confirm that the + get_devices function pointer isn't NULL before we call it. + (e2431a9) + * in provider-upower.c, clear its private hashtable in dispose() and + destroy it in finalize() (0ec4365) + * lower the interval on the upower timer to make our updates more + responsive (dec4af4) + * in configure.ac, add AM_PROG_AR to silence an autotools warning + caused by the temporary static libraries created in src/ + (eeb91e4) + * fix build issue in indicator_power_device_provider_get_devices(), + reported by CI... (34161b3) + * put the service on the production busname (9cb5ad0) + * add a dbus service file for indicator-power... (f566ca0) + * bump NEWS for 'make dist' (1b56362) + +2013-06-18 Charles Kerr + + * install the .indicator file into share/unity/indicators/ (eeb37d1) + * remove the short-term TODO (34cffae) + * remove INDICATORDIR and INDICATORICONSDIR from configure.ac + (8e052ae) + +2013-06-17 Charles Kerr + + * get test-devices building and passing again. (bef4229) + * update POTFILES.in to reflect the new files in src/ (b3a23dc) + * remove the gtest-xorg dependency, we're no longer using gui + elements in the tests (9990582) + * tighten the -Wextra screws a little tighter (aa625b0) + * in device-provider-upower's dispose(), disconnect from our proxy's + signal before we unref the proxy (72d74f4) + * copyediting: group common functions together, fix line wrap, better + commenting (a4d5e56) + +2013-06-16 Charles Kerr + + * add a short-term TODO file (37051c1) + * first steps at fixing the tests that broke during GMenuification + (545b341) + * update indicator-power build rules to reflect the changes in source + code and in dependencies (1ad51b4) + * update build rules: remove now-unneeded build dependencies for + libindicator, gtk, gnome-settings-daemon-dev, + libupower-glib, libdbus-1-dev (b8f5e07) + * add power.indicator (1d8adeb) + * explicitly use gio; remove unused glib-upower.h calls (f5c93cd) + * add a main() wrapper to create a service and pass a + device-provider-upower to it (cbbf63c) + * remove the old IndicatorObject code (997a109) + * add the heart of the service (ee13ae6) + * add device-provider-upower, a UPower implementation of + device-provider (da79f94) + * add device-provider, an interface class for an object that provides + IndicatorPowerDevices. This could be given a UPower + implementation, or a mock implementation, or a + whatever-replaces-upower-on-phones implementation. + (ebde9c5) + * remove the org.gnome.SettingsDaemon listener; we'll use UPower + directly (f3deb18) + * add UPower xml files for gdbus-codegen (d67d887) - * Adding acceptance tests and merge review policies. +2013-03-07 Automatic PS uploader -2014-01-31 14:27:02 -0600 Ted Gould (5efc941) + * Releasing 12.10.6daily13.03.07-0ubuntu1 to ubuntu. (0b05855) + * Releasing 12.10.6daily13.03.07-0ubuntu1, based on r166 (bdb55d2) - * Adding merge review policy +2013-03-06 Mathieu Trudel-Lapierre -2014-01-31 14:27:02 -0600 Ted Gould (dfa6753) + * Do the linking with -lpthread correctly. + Fixes: + https://bugs.launchpad.net/bugs/1126362. (17c0ead) - * Adding basic acceptance tests +2013-03-05 Mathieu Trudel-Lapierre -2014-01-27 17:34:20 +0000 Automatic PS uploader (02cef6a) + * Make use of XORG_GTEST_LDFLAGS that xorg-gtest can export to know + whether there are extra libraries we should link against. + (6922c6a) - * Releasing 12.10.6+14.04.20140127-0ubuntu1 (revision 224 from - lp:indicator-power). +2013-01-25 Automatic PS uploader -2014-01-27 13:17:49 +0000 Automatic PS uploader (831ba77) + * Releasing 12.10.6daily13.01.25-0ubuntu1 to ubuntu. (f9e5ac4) + * Releasing 12.10.6daily13.01.25-0ubuntu1, based on r164 (0589b7d) - * Releasing 12.10.6+14.04.20140127-0ubuntu1, based on r224 +2013-01-23 Mathieu Trudel-Lapierre -2014-01-27 05:58:04 +0000 Ricardo Salveti de Araujo (a98a7c1) + * Fix path to gtest source. (4b2a473) - * device.c: pending_charge means not charging. +2013-01-22 Mathieu Trudel-Lapierre -2014-01-24 23:35:28 -0200 Ricardo Salveti de Araujo (90bce0b) + * Fix path to gtest sources. (72ba52e) - * device.c: pending_charge means not charging +2013-01-18 Automatic PS uploader -2014-01-24 14:34:39 +0000 Automatic PS uploader (2d54e43) + * Releasing 12.10.6daily13.01.18-0ubuntu1 to ubuntu. (e9e5df9) + * Releasing 12.10.6daily13.01.18-0ubuntu1, based on r162 (838849d) - * Releasing 12.10.6+14.04.20140124-0ubuntu1 (revision 222 from - lp:indicator-power). +2013-01-17 Mathieu Trudel-Lapierre -2014-01-24 10:59:49 +0000 Automatic PS uploader (898e6b8) + * releasing version 12.10.6daily13.01.17-0ubuntu1 (040e7a8) - * Releasing 12.10.6+14.04.20140124-0ubuntu1, based on r222 +2013-01-17 Charles Kerr -2014-01-22 11:30:25 +0000 Lars Uebernickel (eab4835) + * g_type_init() is deprecated as of glib 2.35.4, so bump our glib + minimum requirement and remove the g_type_init() call. + (a399017) + * remove g_type_init() calls and bump glib minimum to 2.35.4, where + g_type_init() is deprecated (5535cc5) - * Run xfce-powermanager-settings when in an Xubuntu session. +2013-01-17 Automatic PS uploader -2014-01-22 11:54:01 +0100 Lars Uebernickel (e10669b) + * Releasing 12.10.6daily13.01.17-0ubuntu1, based on r160 (35cadc9) - * service.c: cache the control center command +2013-01-15 Phillip Susi -2014-01-22 11:46:36 +0100 Lars Uebernickel (12febda) + * This is Phillip Susi's patch from + lp:~psusi/ubuntu/raring/indicator-power/show-ups, proposed + here for trunk. + Fixes: + https://bugs.launchpad.net/bugs/1007095. (06c8a32) - * service.c: execute unity-control-center on desktops other than - unity as well +2013-01-14 Phillip Susi -2014-01-22 11:43:00 +0100 Lars Uebernickel (2f5e7c9) + * merge lp:~psusi/ubuntu/raring/indicator-power/show-ups (181b366) - * service.c: remove free() on uninitialized pointer +2012-11-21 Didier Roche -2014-01-21 18:40:02 +0100 Simon Steinbeiß (fd8313f) + * Releasing 12.10.6daily12.11.21.1-0ubuntu1 to ubuntu (7281308) - * Add support for opening xfce4-powermanager-settings when in a - Xubuntu-session +2012-11-21 unknown -2014-01-21 16:42:22 +0000 Robert Ancell (10c22e3) + * Releasing 12.10.6daily12.11.21.1-0ubuntu1, based on r158 (e05edf4) - * Use unity-control-center if it is available. Fixes: - https://bugs.launchpad.net/bugs/1257505. +2012-11-16 Charles Kerr -2014-01-14 17:40:27 +1300 Robert Ancell (b118fa5) + * explicitly cast integral values to the correct type when passing + them to a varargs function. + Fixes: + https://bugs.launchpad.net/bugs/1079795. (9d92445) + * explicitly cast integral values to the correct type when passing + them to a varargs function. (1d3272d) - * Recommend unity-control-center before gnome-control-center +2012-11-16 Didier Roche -2014-01-10 15:02:31 +1300 Robert Ancell (1bd93b0) + * Report missing changes in indicator-power trunk from trunk.12.10. + (a911ab8) + * remove the duplicated case (cc47ec0) + * report accidently revert fixes when inline packaging was merged in + (c9912e1) + * add bootstrap message. (378d1e1) + * add bootstrap message (bedc8ea) - * Use unity-control-center if it is available +2012-11-15 Ken VanDine -2013-12-05 17:51:35 +0000 Calum Lind (a253b42) + * Import debian/. (81f2ecd) - * From bug 1255655: "focus[es] the correct tab upon opening - gnome-power-statistics when clicking the indicator - battery.". Fixes: https://bugs.launchpad.net/bugs/1255655. +2012-11-15 Mathieu Trudel-Lapierre -2013-12-04 12:44:25 +0000 Calum Lind (5a957ff) + * make sure we call dh_install --fail-missing in the dh_install + override, to be consistent with other indicator packages. + (721e3c4) + * Add libgtest-dev to Build-Depends for unit tests. (d82a5a9) + * Add libxorg-gtest-dev to Build-Depends for unit tests. (43db0f0) + * Add autopoint to Build-Depends. (78fa11f) + +2012-11-14 Mathieu Trudel-Lapierre + + * debian/rules: it's dh_autoreconf, not dh-autoreconf. (8989d86) + * use DPKG_GENSYMBOLS_CHECK_LEVEL=4. (11b06f3) + * debian/rules: - use the dh sequencer with --with autoreconf. + - override dh_autoreconf to call autogen.sh from upstream. + (b4f0934) + * Update Vcs-Bzr and Vcs-Browser fields, add notice to uploaders. + (db6421c) + * - Reorganize Build-Depends for clarity; build system b-deps + first. - Use trailing commas for dep lists, as per other + indicator packages. (c3848e4) + * debian/compat: bump to compat level 9. (d8f0f89) + * debian/control: - Bump Build-Depends on debhelper to (>= 9). + (d18b6c2) + * Specify to bzr-builddeb that the package should be built using + split mode. (baa58fe) + * Open new changelog entry. (9287192) + * Import debian/ from lp:~ubuntu-desktop/indicator-power/ubuntu. + (aae9eaa) + +2012-11-14 Sebastien Bacher + + * releasing version 12.10.5-0ubuntu1 (78e1bc5) + * New upstream release: - Fix a device display bug introduced in + 12.10.3 (LP: #1075192) (7ef9fc9) + * Import upstream version 12.10.5 (fb0e7bd) + +2012-11-13 Charles Kerr + + * bump NEWS (17629a4) + * 12.10.5 (7c335dd) + * backport the 'AC Adapter shown in panel' bugfix from trunk/13.04 + (f6075f0) + +2012-11-08 Charles Kerr + + * add 'check-news' to AM_INIT_AUTOMAKE (727b8ca) + +2012-11-07 Charles Kerr + + * Handle choosing a primary device when no device is charging nor + discharging. + Fixes: + https://bugs.launchpad.net/bugs/1075192. (7b7b36e) + * change indicator_power_device_get_time_details() s.t. the 'short + details' for an AC Adapter is an empty string. (f446e2f) + * modify DeviceTest.Labels s.t. it fails (currently failing) if the + 'short' string for an AC Adapter is nonempty. (a499914) - * merge from trunk +2012-11-06 Charles Kerr -2013-12-04 11:59:21 +0000 Calum Lind (84d26b8) + * when choosing a primary device from devices that are neither + charging nor discharging, prefer batteries, then + everything except line-power, then line power (a2e4245) + * in TestDevice.ChoosePrimary, add another test (currently failing) + to confirm that when indicator-datetime is choosing from + devices that are neither charging nor discharging, + batteries are more interesting than other devices, and + other devices are more interesting than + UP_DEVICE_KIND_LINE_POWER (7b37016) + * when choosing between two devices, always pick the one that's not a + UP_DEVICE_KIND_LINE_POWER (75636fb) + * add unit test (currently failing) to test for the bug reported in + LP bug #1075192 (e555496) + +2012-11-05 Sebastien Bacher + + * releasing version 12.10.4-0ubuntu1 (74bed2a) + * New upstream release. - Show the proper icon for mice and ups + devices. (LP: #1066208) (0c14d7b) + * Import upstream version 12.10.4 (a3b85f4) - * Focus to battery tab when opening in gnome-power-statistics +2012-11-04 Charles Kerr -2013-12-03 18:47:22 +0000 Lars Uebernickel (b2c58f6) + * 12.10.4 (014fbc2) + * fix logic error in primary device selection; add unit tests to + confirm the fix. (lp:~charlesk/indicator-power/lp-1071757) + (2fa0264) - * gcov.m4: add 1.10 to the lcov version list. +2012-10-29 Charles Kerr -2013-12-03 15:00:14 +0100 Lars Uebernickel (c596b45) + * Fix the logic error. Add tests to confirm the fix. + Fixes: + https://bugs.launchpad.net/bugs/1071757. (1e5b83d) + * copyediting: fix comment text (7d558ff) - * gcov.m4: add 1.10 to the lcov version list +2012-10-28 Charles Kerr -2013-11-29 22:03:27 +0000 Automatic PS uploader (3ff43b0) + * in TestDevice, make the log variable names a little more consistent + (a76e474) + * set DeviceTest's gwarning/gcritical log func to one that prints no + messages but accumulates the log count. This way we can + both (a) silence in-console warnings that look like bugs + in the test but are actually desirable warnings generated + by fuzz testing, and (b) assert that we get exactly as + many warnings/criticals as we expect to get. (8867ec9) + * expand DeviceTest.ChoosePrimary to test choosing from a wider + variety of device states. (7c0d274) + +2012-10-26 Charles Kerr + + * fix logic error when deciding which primary device to select. + (0189c72) + * add test (currently failing) to detect the logic error reported in + bug #1071757 (cd8e633) + * 12.10.3 (681e4e9) + * choose the correct primary device, and choose the correct icon for + it. (880f44e) + * choose the correct primary device, and choose the correct icon for + it. (6d19670) + * fix copy-paste comment error (e246512) + * fix comment typo (a842e7b) + * Select the primary device based on the spec's criteria. Add tests + to confirm. (b7b7ffd) + * silence the known/nonbug gtk and glib warnings (a8d3382) + * add unit tests to confirm the device refcounts are correct s.t. + IndicatorPower isn't leaking devices (92b48e8) + * fix leaked icon and label; found by running valgrind on + tests/test-indicator (8659889) + * Fix unhandled enum 'unknown device' that was smoked out by the unit + tests. (90af0bf) + +2012-10-25 Charles Kerr - * Releasing 12.10.6+14.04.20131129-0ubuntu1 (revision 217 from - lp:indicator-power). + * the device kind string wasn't being used in some icon names. + (46f92ba) -2013-11-29 18:36:27 +0000 Automatic PS uploader (f7a1777) +2012-10-03 Sebastien Bacher - * Releasing 12.10.6+14.04.20131129-0ubuntu1, based on r217 + * releasing version 12.10.2-0ubuntu1 (a42d1cd) + * New upstream release. - Show a more accurate view of + discharging batteries (LP: #1054146) - Fix a GIcon + memory leak - In device.c, include gi18n-lib.h instead + of gi18n.h (c302843) + * Import upstream version 12.10.2 (0fa9b26) -2013-11-29 16:18:03 +0000 Lars Uebernickel (1d5aed9) +2012-10-03 Charles Kerr - * Use GSettingsActions instead of g_settings_bind + * 12.10.2 (3a0758a) + * merge lp:~charlesk/indicator-power/lp-1054146 to give a more + accurate view of discharging batteries (af699e1) + * when discharging the battery, prefer the percent-charged icons over + the full,good,low icons because the former show a more + accurate view of the charge. (2b046e7) -2013-11-29 16:37:22 +0100 Lars Uebernickel (87f6a0f) +2012-09-26 Lars Uebernickel - * Don't keep GSettingsActions around + * Merge lp:~/larsu/indicator-power/plug-get-icon-memory-leak + (b226f3f) -2013-11-28 14:20:08 +0100 Lars Uebernickel (e9b6509) +2012-09-25 Lars Uebernickel - * Use GSettingsActions instead of g_settings_bind + * get_icon: Plug memory leak (e4002d5) -2013-11-27 19:44:55 +0000 Calum Lind (5468416) +2012-09-20 Didier Roche - * Focus to battery tab when opening in gnome-power-statistics + * releasing version 12.10.1-0ubuntu2 (938cb5d) + * Cherry-pick: - Ensure the power indicator string translations + are loaded. Thanks lars (002ce20) -2013-11-25 15:36:31 +0000 Automatic PS uploader (d531422) +2012-09-20 Lars Uebernickel - * Releasing 12.10.6+14.04.20131125-0ubuntu1 (revision 215 from - lp:indicator-power). + * device.c: include gi18n-lib.h instead of gi18n.h (a94288f) -2013-11-25 03:55:08 +0000 Automatic PS uploader (25e3ff0) +2012-09-05 Charles Kerr - * Releasing 12.10.6+14.04.20131125-0ubuntu1, based on r215 + * copyediting: text formatting to make the icon list more readable + (75e9a60) -2013-11-08 19:33:03 +0000 Charles Kerr (c608bd8) +2012-08-22 Sebastien Bacher - * fix a minor memory leak that was caused by treating the variant - returned by g_icon_serialize() as floating. + * releasing version 12.10.1-0ubuntu1 (d90c644) + * New upstream release. (1286a19) + * Import upstream version 12.10.1 (c752cbe) -2013-11-08 11:23:15 -0600 Charles Kerr (32c637b) +2012-08-21 Charles Kerr - * fix a minor memory leak that was caused by treating the variant - returned by g_icon_serialize() as floating. + * 12.10.1 (fb058d4) + * merge lp:~charlesk/indicator-power/lp-1023533 to bump the glib + prerequisite (300b1cc) -2013-11-04 15:01:58 +0000 Charles Kerr (bde1f5d) +2012-07-13 Charles Kerr - * We really only need to keep a handful of properties up-to-date for - each 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. + * raise glib minimum to 2.33 (b2b5176) -2013-11-03 17:59:28 -0600 Charles Kerr (7dd7640) +2012-07-11 Sebastien Bacher - * in on_bus_ready(), use g_error_matches(). + * releasing version 12.10.0-0ubuntu1 (79146a3) + * New upstream release.; debian/control: updated glib requirement + (2e4ec4a) + * Import upstream version 12.10.0 (4af0bd2) -2013-11-03 17:57:10 -0600 Charles Kerr (65fa65f) +2012-07-11 Charles Kerr - * in on_device_properties_ready(), improve the g_warning() text to be - more useful. + * bump version to 12.10.0 (7bc1a48) + * merge lp:~charlesk/indicator-power/coverage (6401fdd) -2013-11-03 17:47:10 -0600 Charles Kerr (adfd4c6) +2012-07-03 Charles Kerr - * in on_device_properties_ready(), use g_error_matches + * disable test-dbus-listener for now (2343edb) -2013-10-31 17:59:48 +0000 Ted Gould (7066fed) +2012-06-07 Charles Kerr - * Switching DBus service to an Upstart Job. Fixes: - https://bugs.launchpad.net/bugs/1185565. + * remove some dead code. (867f9fe) + * improve the variant sanity tests in + indicator_power_device_new_from_variant() (8b31b76) -2013-10-30 17:46:44 +0000 Nick Dedekind (1ca27d4) +2012-06-06 Charles Kerr - * Removed Label from brightness slider. Fixes: - https://bugs.launchpad.net/bugs/1240756. + * reimplement indicator_power_device_get_icon_names() since our CA is + incompatible with reusing code from GSD. (9091bba) + * remove superfluous #include (137b2e1) + * simplify the Device properties' name strings (bca7ca9) + * For GTK-Doc, reference functions with function_name() instead of + #function_name (0acce23) + * In indicator_power_device_new_from_variant(), check whether the + input variant has the correct type before using it. + (73bef48) + * add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case + in Device's get/set property methods (50fb08d) + * IndicatorObjectDevice's finalize() function needs to chain up to + the parent class. (de56d59) + * in IndicatorPowerDevice's class init function, use + g_object_class_install_properties() instead of installing + each property separately. (da3c570) + * remove prototype for indicator_power_dbus_listener_new() since it's + not needed/used (42caee4) + * simplify the devices-enumerated signal's name (65f33de) + * if self->cancellable is non-NULL in dispose(), pass it to + g_cancellable_cancel() before clearing the listener's + reference (fcd052a) + * remove trailing whitespace (5cac4eb) + * add g_bus_unwatch_name() to watcher's dispose() method (79d37d6) + * add a GTK-Doc signal comment block for + indictor-power-dbus-listener's enumerated signal (f2310de) + * move the header files from noinst_HEADERS to libpower_la_SOURCES + (15d6b25) + +2012-06-01 Charles Kerr + + * In indicator-power.c's put_primary_device(), remove dead code. + (66ba8ed) + * copyediting: fix tab damage in dbus-listener.[ch] (99a719a) + * copyediting: fix tab damage in device.[ch] (52d1979) + * use C++-style comments in test-device.cc (b108010) + * In indicator_power_device_get_time_details(), add a test for + non-devices being passed in. (0b46d08) + * Fix edge case in indicator_power_device_get_icon_names() that + returned a bad value if the caller passed in a NULL + pointer as a device. Added regression test. (5b17593) + * In indicator_power_device_get_time_details(), use g_strdup(foo) + instead of g_strdup_printf("%s",foo) (4c433bf) + * Add coverage test for AC Adapters in + indicator_power_device_get_time_details() (560aa0e) + * capitalize the second word in 'AC Adapter' (7c3ac19) + * in indicator_power_device_get_time_details(), don't list 'not + present' for AC Adapters that have no % and no time + estimate (9937a07) + * Add unit tests for indicator_power_device_get_time_details() + (ea0293e) + * In indicator_power_device_get_time_details(), remove an unlikely + branch that could result in time/detail strings not being + set. (53d9c7e) + * Add gcda/gcno to CLEANFILES s.t. 'make clean' will cover them + (624a1f3) -2013-10-30 09:51:05 -0700 Nick Dedekind (cd42d9e) +2012-05-31 Charles Kerr - * Use NULL for empty string + * in indicator_power_device_get_time_details(), limit the scope of + variables short_timestring and detailed_timestring + (9a753ec) + * Move private indicator-power function build_device_time_details() + to device.c to public function + indicator_power_device_get_time_details() so that we can + unit test the user-visible strings. (8476e80) + * remove IndicatorPowerDevice's now-unused device icon string. + (97867c3) + * Add indicator_power_device_get_icon_names(). (b18b586) + * remove some g_message() calls that shouldn't've been committed. + (89c515d) + +2012-05-29 Charles Kerr + + * add a test to make sure that the listener responds to a + PropertiesChanged signal (ab87d8f) + * t^Cak to indicator_set_power_differences() (5786eca) + * use g_clear_pointer() where useful (1c35339) + * add tests for gsd GetDevices returning (a) no devices and (b) an + error (8a37ae2) + * exclude G_DEFINE_TYPE from coverage testing in dbus-listener.c + (7f08c9a) + +2012-05-28 Charles Kerr + + * add more tests to improve coverage: different device types, no + primary device (7b8cd09) + * add a mock GSD.Power to handle the GetPower requests (b9a6194) + +2012-05-27 Charles Kerr + + * use signals to decouple i-power and dbus-listener (23a2672) + * Add skeleton test for IndicatorPowerDbusListener (675cc79) + +2012-05-26 Charles Kerr + + * add coverage for charging with >1 minute but <1 hour left (2f1281d) + * add coverage for DBusListener get_property() (eda15ff) + * try adding LCOV_EXCL_{START,STOP} for unreachable conditions (glib + looking for subclasses of IndicatorPowerDevic. + unreachables in G_DEFINE_TYPE) (194cfbc) + * call g_object_run_dispose() in a standalone test to get coverage on + the NULL / non-NULL branches of dispose()'s + g_clear_pointer() calls (aeb6ab5) + * nope, LCOV_EXCL_LINE doesn't work on macros (21656d9) + * try adding LCOV_EXCL_LINE for unreachable conditions (glib looking + for subclasses of IndicatorPowerDevice; unreachables in + G_DEFINE_TYPE) (83aee49) + * reuse the same cancellable across multiple non-concurrent dbus + calls (5937352) + * avoid a cyclical refcount dependency between IndicatorPower and its + DBusListener (b3a1b20) + * extract-method to simplify testing the accessible text (29ec6d2) + * separate the dbus org.gnome.SettingsDaemon.Power logic into a + separate class (9ee74a3) + * add coverage for various charging/discharging/charged states + (e0d1b32) + * first draft of adding tests for a discharging battery (676aef0) + +2012-05-25 Charles Kerr + + * make indicator_power_set_devices() safe for passing in the same + devices more than once (7ac2b78) + * fix negated logic in menu_add_device() introduced in r160 (73d31da) + * indicator_power_set_devices() should fail gracefully when no + devices are available (ce82684) + * make Jenkins happy (6bbfe3a) + * modify IndicatorPower to use IndicatorPowerDevices internally + (34c756a) + * put IndicatorPower's fields back inside a priv struct (33f4e3d) + +2012-05-24 Charles Kerr + + * ah, c++ is too smart for the last commit's implicit conversion. + (4d1bb11) + * test passing bad non-NULL pointers to Device's accessors (ebf2eda) + * add unit tests confirming that the device accessor functions won't + crash when you pass NULL for the device (88d4861) + * remove the 'default' clause from get_property() and set_property(). + (9e188d4) + * remove some unnecessary type compatibilty tests... + g_object_get_property() does these tests for us (2643aa2) + * remove the tests that attempted to exercise the code removed in + r151 (d2ba05c) + * don't include the unit tests' code in coverage metrics (fd7ad85) + * remove some unnecessary type compatibilty tests... + g_object_set_property() does these tests for us (f023be5) + * add unit tests for getting/setting device properties (4c95f0b) + * first draft of getting GSettings working in the unit tests before + the schema is installed. (d8484ce) + * remove the g_clear_pointer() calls s.t. things will build and run + on alesage's Jenkins setup running Precise (caae424) + * remove the g_clear_pointer() calls s.t. things will build and run + on alesage's Jenkins setup running Precise (f18b60b) + * add test-indicator.cc (4f74252) + * add a 'hello world' test for instantiating IndicatorPower (f434dc2) + * add private container struct IndicatorPowerDevice (622c185) + +2012-05-23 Charles Kerr + + * replace 'Power Settings...' with 'Power Settings…' (71a3e53) + * move libpower's automake rules into src/ (122e56d) + +2012-04-26 Charles Kerr + + * fix a handful of string and GVariant leaks in indicator-power. + (8e7ee28) + +2012-04-15 Charles Kerr + + * tweak: in put_primary_device(), peek at the variant's strings + instead of dup'ing them (820cc22) + * sync with lp:indicator-power (3e92639) + * fix leaked strings in menu_add_device when (kind == + UP_DEVICE_KIND_LINE_POWER) (fd5fac8) -2013-10-29 11:23:29 -0700 Nick Dedekind (833e7fc) +2012-04-11 Ken VanDine - * Removed brigtness label from indicator menu + * releasing version 2.0-0ubuntu1 (bd7a606) + * New upstream release. * Make menu items accessible with Orca + Screen reader (LP: #953176) * Plug memory leaks when + updating our icons (387890e) -2013-10-29 09:29:22 -0700 Ted Gould (4913289) +2012-04-11 Charles Kerr - * Add in the autostart config + * releasing version 2.0-0ubuntu1~ppa1 (6e6011e) + * New upstream release. * Make menu items accessible with Orca + Screen reader (LP: #953176) * Plug memory leaks when + updating our icons (c88bf4d) + * Import upstream version 2.0 (109d4fe) + * Sync from Ubuntu Desktop (9868757) + * 2.0 (3242c72) (tag: 2.0) -2013-10-29 09:25:02 -0700 Ted Gould (fb13441) +2012-04-10 Charles Kerr - * Updating to trunk + * merge lp:~allanlesage/indicator-power/TDD to improve our gcov fules + in autotools (f1c836c) -2013-10-29 12:04:22 +0000 Automatic PS uploader (1a9e81a) +2012-04-09 Charles Kerr - * Releasing 12.10.6+14.04.20131029.1-0ubuntu1 (revision 210 from - lp:indicator-power). + * use atk_object_set_name(foo,bar)" instead of + g_object_set(foo,"accessible-name",bar,NULL)" (a24e06c) + * leak fix 3 of 3: don't leak the GIcons returned by + get_device_icon() (45bc12d) + * leak fix 2 of 3: fix leaky fallback GIcon in get_device_icon() + (7a5b5a6) + * leak fix 1 of 3: don't leak object_path and device_icon if kind == + UP_DEVICE_KIND_LINE_POWER (6305fe3) + * if possible, set the device menuitems' accessible names. (8e0baaf) -2013-10-29 10:31:05 +0000 Automatic PS uploader (52f40f1) +2012-03-27 Allan LeSage - * Releasing 12.10.6+14.04.20131029.1-0ubuntu1, based on r210 + * Pedantic name change for gcovr xml results. (13e52ee) + * Added gcov coverage tooling. (3db9585) -2013-10-28 18:13:21 +0000 Ted Gould (7f7e1ab) +2012-03-21 Ken VanDine - * Adding a phone_greeter profile. + * releasing version 1.93-0ubuntu1 (4e4a839) + * New upstream release. * Fix for translatable strings not being + extracted for i18n (LP: #957542) (fddb19e) -2013-10-28 10:24:11 -0700 Ted Gould (30747fc) +2012-03-21 Charles Kerr - * Adding a phone_greeter profile + * releasing version 1.93-0ubuntu1~ppa1 (abc3faf) + * New upstream release. * Fix for translatable strings not being + extracted for i18n (LP: #957542) (b8ba3be) + * Import upstream version 1.93 (4c91eb5) + * Sync from Ubuntu Desktop (e9f8e72) + * 1.93 (aec0158) (tag: 1.93) -2013-10-24 22:01:02 +0000 Sebastien Bacher (f4cbf51) +2012-03-17 Charles Kerr - * Don't leak the g_file_get_contents value, reported by valgrind . + * Fix memory leaks in get_primary_device(). (22a82f6) + * Fix variant leak in count_batteries() -- the returned value of + g_variant_get_child_value() needs to be freed with + g_variant_unref() when we're done with it. (a9ab1c3) + * fix variant leaks in menu_add_devices() (0489149) + * merge lp:~kelemeng/indicator-power/bug957542 to fix extracting + translatable strings from ipower (Bug #957542) (0ef46e1) -2013-10-24 16:13:57 -0400 Sebastien Bacher (e1e4997) +2012-03-17 Gabor Kelemen - * Don't leak the g_file_get_contents value, reported by valgrind + * Add g_dngettext to the list of known keywords. LP: #957542 + (f1ad17d) -2013-10-15 00:34:24 +0000 Marcus Tomlinson (6c9f30f) +2012-03-14 Sebastien Bacher - * Added torch icons to either end of brightness slider. Fixes: - https://bugs.launchpad.net/bugs/1227250. + * releasing version 1.92-0ubuntu1 (82e7ef0) + * New upstream release. (6b63458) + * Import upstream version 1.92 (fdf4d4c) -2013-10-10 16:24:18 +0200 Marcus Tomlinson (f192ac0) +2012-03-14 Charles Kerr - * Added "torch-on" and "torch-off" icons to brightness slider menu - item. + * 1.91 (af5642f) (tag: 1.92) -2013-10-08 07:48:39 +0000 Automatic PS uploader (b3d3cbe) +2012-02-23 Ken VanDine - * Releasing 12.10.6+13.10.20131008-0ubuntu1 (revision 206 from - lp:indicator-power). + * releasing version 1.91-0ubuntu1 (eecdfb2) + * New upstream release. * Fix for the icon not changing when + state changes (LP: #933466) * Fix accessible + descriptions (LP: #891932) (1d09e63) -2013-10-08 02:34:02 +0000 Automatic PS uploader (2d02157) +2012-02-23 Ted Gould - * Releasing 12.10.6+13.10.20131008-0ubuntu1, based on r206 + * releasing version 1.91-0ubuntu1~ppa1 (9539d05) + * New upstream release. * Fix for the icon not changing when + state changes (LP: #933466) * Fix accessible + descriptions (LP: #891932) (b1bc105) + * Import upstream version 1.91 (fd038ed) + * Merging with U. Desktop (f775f62) + * 1.91 (f1c5931) (tag: 1.91) + +2012-02-22 Ted Gould + + * Fix accessible descriptions (500b6ee) + +2012-02-22 Charles Kerr + + * when a new entry is added, ensure that its accessible_string is + properly set (5396553) + * fix trivial indentation error (92c0175) + * fix trivial misspelling (f688c48) + * fix set_accessible_desc() to update the entries' accessible_desc + fields and emit the accessible-desc-changed signal + (947e415) -2013-10-04 15:03:53 +0000 Ted Gould (150e04c) +2012-02-17 Ken VanDine - * Adding an additional slash to the settings URL. Fixes: - https://bugs.launchpad.net/bugs/1231444. + * releasing version 1.90-0ubuntu2 (c80b2c6) -2013-10-04 09:36:34 -0500 Ted Gould (5cc73ec) +2012-02-17 Charles Kerr - * Adding an additional slash to the settings URL + * Listen for the "g-properties-changed" signal instead of the + "g-signal" signal from its GDBusProxy to fix bug #933466. + (e1c4456) -2013-10-04 10:18:52 +0000 Automatic PS uploader (b872bf2) +2012-02-16 Charles Kerr - * Releasing 12.10.6+13.10.20131004-0ubuntu1 (revision 204 from - lp:indicator-power). + * register for g-properties-changed rather than g-signal (94398e2) -2013-10-04 02:28:43 +0000 Automatic PS uploader (cca3975) +2012-02-14 Sebastien Bacher - * Releasing 12.10.6+13.10.20131004-0ubuntu1, based on r204 + * releasing version 1.90-0ubuntu1 (4dcb232) -2013-10-03 15:42:50 -0500 Charles Kerr (7c2a156) +2012-02-14 Ted Gould - * don't create proxies for each upower device. + * releasing version 1.90-0ubuntu1~ppa1 (b33fcf3) + * New upstream release. * Support for hiding of icon and settings + for it as well * Adding a name hint (527b493) + * Import upstream version 1.90 (55cbd83) + * 1.90 (1651ec1) (tag: 1.90) + * Fixing distcheck (e9cd101) + * Make data have it's own makefile so the GSettings rules work + properly on distcheck (612662f) + * Style and performance fixes (ea4f2d8) -2013-10-02 14:10:58 +0000 Charles Kerr (29eb8c2) +2012-02-14 Javier Jardón - * Listen for the "Resuming" signal from upower to refresh devices - when resuming from suspend/hibernate. Fixes: - https://bugs.launchpad.net/bugs/1224931. + * Use G_GNUC_CONST for indicator_power_get_type() to improve + performance (207267a) + * Code style fixes (4a60cd5) -2013-10-01 13:50:48 -0500 Charles Kerr (76c6292) +2012-02-13 Charles Kerr - * Listen for the 'Resuming' signal from upower. When it's received, - refresh all our devices. + * add icon-policy from branch + lp:~charlesk/indicator-power/icon-policy (16fb53f) + * ensure that we don't have a reference to the proxy or proxy_cancel + fields in indicator_power_dispose(). (aee1300) + * move POWER_INDICATOR_ICON_POLICY_* enum to the top of the file + (8be6c2d) + * remove unncessary private field 'visible' (0c1e774) + * consistent use of ICON_POLICY_KEY (cb4bd9d) + * remove unnecessary G_OBJECT() cast (f7d828a) + * make prototypes for update_visibility() and should_be_visible() + align with the neighboring forward declarations (695ba1e) -2013-10-01 13:50:10 -0500 Charles Kerr (5a739fd) +2012-02-10 Ted Gould - * replace a g_print() call with g_debug() + * Support building coverage targets (c8ccec6) -2013-10-01 17:04:52 +0000 Charles Kerr (a16d123) +2012-02-01 Charles Kerr - * Revert bug #824629 code -- use the correct charge % when deciding - what icon to use. Fixes: - https://bugs.launchpad.net/bugs/1215520. + * add support for icon-policy setting (4b5ec3d) + * create the menu at init time s.t. we don't have to keep checking to + see if it exists (f9dc8cc) + * use g_settings_bind() for the show-time checkbox (33beea0) + * better error reporting if g_spawn_command_line_async() fails + (da453ec) + * remove redundant #include of glib.h (98a2abe) + * use g_clear_object() on the proxy_cancel field (aacad61) + * remove unnecessary Priv struct -- the =entire class= is private + (4a6c629) + * remove unused struct names (7cc07d1) + * group the indicator_power lifecycle funcs together (7c8371d) + * unref+clear Priv's variant fields in _dispose() (85a04b4) + * don't leak priv->settings (17626e1) + * don't leak priv->accessible_desc (c63e1db) + * remove redundant prototypes (aa089d4) -2013-10-01 09:05:32 -0500 Charles Kerr (3fe1d26) +2012-01-25 Ken VanDine - * use the correct battery icon when charging/discharging + * releasing version 0.10-0ubuntu2 (1566633) -2013-09-18 14:33:48 +0000 Automatic PS uploader (6c04d1a) +2012-01-24 Ken VanDine - * Releasing 12.10.6+13.10.20130918.2-0ubuntu1 (revision 201 from - lp:indicator-power). + * no change rebuild for libindicator7 (ba7c3ca) -2013-09-18 13:57:00 +0000 Automatic PS uploader (9b17a6b) +2011-12-06 Allan LeSage - * Releasing 12.10.6+13.10.20130918.2-0ubuntu1, based on r201 + * Added coverage reporting via gcov config and targets. (b93d786) -2013-09-18 15:51:46 +0200 Łukasz 'sil2100' Zemczak (97e7e6d) +2011-11-30 Marco Trevisan (Treviño) - * Add the FFe bug number to the last changelog entry (LP: #1215980) + * Add name-hint. (5e74455) -2013-09-18 12:54:08 +0300 Timo Jyrinki (7b46f6c) +2011-11-08 Marco Trevisan (Treviño) - * Manual changelog entry to indicate why the reverting of the revert - is ok now. + * Add name-hint. (c4a85b1) -2013-09-17 13:07:57 +0000 Ted Gould (0344077) +2011-10-24 Ken VanDine - * Use URL dispatcher to show settings on the phone. + * releasing version 0.10-0ubuntu1 (36b6a7b) + * Import upstream version 0.10 (8541fa2) -2013-09-15 20:51:58 -0500 Ted Gould (bb9e728) +2011-10-13 Javier Jardón - * Don't do the revert + * 0.10 (31651dd) (tag: 0.10) + * Do not hardcode icon percentage when discharging (15c23be) + * Add support for old name icons (29f2613) + * Fix icon creation for UP_DEVICE_STATE_CHARGING state (305a069) -2013-09-15 20:51:11 -0500 Ted Gould (22f3ee8) +2011-10-04 Javier Jardón - * Update to trunk before revert + * Only show a red icon when we have less than 30 minutes of battery + remainig (129c0c9) -2013-09-14 03:22:27 +0000 Stéphane Graber (5fbb8ed) +2011-10-03 Javier Jardón - * Revert previous upload. + * Use battery-with-a-plug when the batttery is fully charged but + still on AC (e1abe62) -2013-09-13 22:43:47 -0400 Stéphane Graber (8d05805) +2011-10-03 Ken VanDine - * Revert the previous upload as it caused 10 extra packages to be - installed on all Ubuntu desktop machines and as a result - caused a FeatureFreeze violation. + * releasing version 0.9-0ubuntu2 (4518758) -2013-09-13 19:40:21 +0000 Automatic PS uploader (830e6a6) +2011-10-03 Javier Jardón - * Releasing 12.10.6+13.10.20130913-0ubuntu1 (revision 196 from - lp:indicator-power). + * Show non present batteries in the menu (2d4b6f0) -2013-09-13 15:15:32 +0000 Automatic PS uploader (a14a925) +2011-10-02 Javier Jardón - * Releasing 12.10.6+13.10.20130913-0ubuntu1, based on r196 + * Add a workaround to fix the case when we get a empty bay as a real + battery (f87057a) -2013-09-11 18:48:18 +0000 Charles Kerr (f853cb2) +2011-09-23 Ken VanDine - * Adds a title in the header's action state. Fixes: - https://bugs.launchpad.net/bugs/1223635. + * releasing version 0.9-0ubuntu1 (f0c76b8) + * po/POTFILES.in - Fixed gsettings schema filename (861bc3a) + * Fix POTFILES.in to reflect new gsettings schema filename (c550405) + * fixed filename for gsettings schema (7b20f91) + * New upstream release. - Use correct dgettext and g_dngettext + calls (LP: #846895) - Ensure we use the same icon for + all charge levels if we are in the charging status + (LP: #824629) - Fix gap when the power indicator is not + show (LP: #842188) - Do not show (charged) in menu title + when fully charged (LP: #850011) - Do not activate + g-s-d, but just watch dbus for g-s-d to appear (LP: + #854717) (4596344) + * Import upstream version 0.9 (56dd8ea) -2013-09-11 11:40:40 -0500 Charles Kerr (4ca541c) +2011-09-23 Javier Jardón - * use g_variant_new_take_string() where appropriate + * 0.9 (a93ea52) (tag: 0.9) -2013-09-11 11:39:45 -0500 Charles Kerr (ce4067c) +2011-09-21 Javier Jardón - * add a title entry to the header action's state + * Do not activate g-s-d, but just watch dbus for g-s-d to appear + (50bee91) -2013-09-09 14:28:07 +0000 Ted Gould (5507ff9) +2011-09-14 Javier Jardón - * Use URL Dispatcher for settings on the phone. + * Do not show (charged) in menu title when fully charged (8be5a9d) -2013-09-04 10:32:43 -0500 Ted Gould (5ec4944) +2011-09-12 Javier Jardón - * Adding a phone settings action + * 0.8 (8c55038) (tag: 0.8) + * Fix a gap in the indicators region when the power indicator is not + show (0c0a7b0) + * Use the same icon for all charge levels if we are in the charging + status (49ac0f5) -2013-09-04 10:32:28 -0500 Ted Gould (627005e) +2011-09-11 Gabor Kelemen - * Grabbing the URL dispatcher build + * Use correct dgettext and g_dngettext calls. LP: #846895 (0a74520) + * Use correct dgettext and g_dngettext calls. LP: #846895 (8736942) -2013-09-04 10:32:09 -0500 Ted Gould (a3bfe6c) +2011-09-08 Javier Jardón - * Adding a build dep on URL dispatcher + * Handle the case with broken batteries (14adfe5) -2013-08-30 12:51:19 +0000 Automatic PS uploader (f4ae2d0) +2011-09-07 Javier Jardón - * Releasing 12.10.6+13.10.20130830.2-0ubuntu1 (revision 193 from - lp:indicator-power). + * indicator-power.c: Add padding between the icon and the text in the + menu items (2fb4685) -2013-08-30 10:07:39 +0000 Automatic PS uploader (81d519f) +2011-08-25 Javier Jardón - * Releasing 12.10.6+13.10.20130830.2-0ubuntu1, based on r193 + * Use consistent location for gsettings schema (1c9c777) -2013-08-30 09:48:33 +0000 Sebastien Bacher (eae8289) +2011-08-25 Ken VanDine - * revert previous commit, liburl-dispatcher1 depends on - upstart-app-launch which is in universe, that's blocking - indicators from landing. + * releasing version 0.7-0ubuntu2 (589843c) -2013-08-30 11:22:59 +0200 Sebastien Bacher (7b1c7e8) +2011-08-24 Javier Jardón - * revert previous commit, liburl-dispatcher1 depends on - upstart-app-launch which is in universe, that's blocking - indicators from landing. + * Fix a memory leak (bc4d8d4) -2013-08-30 04:00:49 +0000 Ted Gould (4179a81) +2011-08-23 Ken VanDine - * Make settings work on the phone. + * releasing version 0.7-0ubuntu1 (a244894) -2013-08-29 21:56:50 +0000 Sebastien Bacher (cb21c21) +2011-08-23 Javier Jardón - * don't depends on gnome-control-center, recommends is enough, since - it's only required for the preferences menu item. Let - ubuntu-system-settings replace it as an alternative, - that's needed on the touch image. + * Makefile.am: fix typo to include .gschema.xml.in to the dist + (8f2d9f2) -2013-08-29 16:42:17 -0500 Ted Gould (0becc25) +2011-08-23 Ken VanDine - * Merging seb128's branch + * New upstream release. - Use gsettings to store the status of + "Show time in Menu Bar" option (LP: #829853) - + Follow standard alignment of icons in menus (LP: #829697) + - Do not use a space before an ellipsis at the end of a + string.; debian/control - Added build depends for + libglib2.0-dev (b72dbbd) + * Import upstream version 0.7 (3751cc4) -2013-08-29 16:27:16 -0500 Ted Gould (2dc4a6e) +2011-08-23 Javier Jardón - * Add a new action for phone settings and call the dispatcher + * Fix typo in the gsettings schema: show_time -> show-time (bfa69e3) + * Release 0.7 (b1a5f6e) (tag: 0.7) + * Makefile.am: some autotools fixes (e7e437b) -2013-08-29 16:26:41 -0500 Ted Gould (0f4852e) +2011-08-22 Javier Jardón - * Adding build items on url dispatcher + * Add gsettings schema to the translatable files (ad80098) + * Fix typo in the gsettings schema: show_time -> show-time (b2aec5e) + * Use gsettings to store the status of "Show time in Menu Bar" option + (84735ec) + * Follow standard alignment of icons in menus (94b05b3) + * Do not use a space before an ellipsis at the end of a string. + (bd9dc3e) -2013-08-29 16:26:13 -0500 Ted Gould (4b27302) +2011-08-12 Ken VanDine - * Fix dependendencies to include url-dispatcher and allow - system-settings + * releasing version 0.6-0ubuntu2 (62b88ad) -2013-08-29 22:46:34 +0200 Sebastien Bacher (ae2fc2d) +2011-08-12 Javier Jardón - * don't depends on gnome-control-center, recommends is enough, since - it's only required for the preferences menu item. Let - ubuntu-system-settings replace it as an alternative, - that's needed on the touch image. + * Do not show the default icon by default (37d7b33) -2013-08-27 15:12:36 -0500 Ted Gould (812ac9a) +2011-08-12 Ken VanDine - * Dropping debugging for system-wide support + * releasing version 0.6-0ubuntu1 (593e1b7) -2013-08-27 11:46:32 -0500 Ted Gould (667bae7) +2011-08-12 Javier Jardón - * Switching the dvus service to an upstart job + * Free memory in the correct place (d88054a) -2013-08-23 19:07:00 +0000 Automatic PS uploader (7c271b3) +2011-08-12 Ken VanDine - * Releasing 12.10.6+13.10.20130823-0ubuntu1 (revision 189 from - lp:indicator-power). + * New upstream release. - Show time left to use without brackets, + time left to charge with brackets. (LP: #824629) - + Fix some memory leaks - Don't show settings links when + used in a greeter - Use a string when the energy source + is not present instead of 0% - only batteries status + icons are allowed in the menu title; debian/rules: - + run intltool-update to update the translations template + (lp: #820705) (e6361de) + * Import upstream version 0.6 (edfb2ab) -2013-08-23 18:07:29 +0000 Automatic PS uploader (dfebb76) +2011-08-12 Javier Jardón - * Releasing 12.10.6+13.10.20130823-0ubuntu1, based on r189 + * Release 0.6 (d5c1b2c) (tag: 0.6) + * Show time left to use without brackets, time left to charge with + brackets. (9c1a5e9) -2013-08-23 17:56:56 +0000 Charles Kerr (2e46eb4) +2011-08-11 Javier Jardón - * Don't show the time remaining for a discharging battery if it - exceeds 24 hours because it's probably an erroneous time - estimate. Fixes: https://bugs.launchpad.net/bugs/1216030. + * Fix some memory leaks (6322445) -2013-08-23 12:10:26 -0500 Charles Kerr (90f4785) +2011-08-11 Michael Terry - * update the tests to look at the 24 hour threshold + * Don't show settings links when used in a greeter (7a2c59a) -2013-08-23 12:07:06 -0500 Charles Kerr (b1f32d5) +2011-08-11 Javier Jardón - * as per the changes in - https://wiki.ubuntu.com/Power?action=diff&rev2=39&rev1=38, - hide the discharge time remaining if it's > 24 hours + * Use a string when the energy source is not present (b36ac87) + * Only batteries can be primary devices (329ed97) + * Fix some memory leaks (68ee93b) -2013-08-23 14:45:19 +0000 Charles Kerr (e079d4b) +2011-08-03 Michael Terry - * Updates the power indicator to match the spec changes at - . + * don't show settings links when used in a greeter (b62772e) -2013-08-23 08:57:47 -0500 Charles Kerr (ad28ae2) +2011-08-03 Ken VanDine - * copyediting: some newly-dead code should have been removed instead - of just commented out + * releasing version 0.5-0ubuntu1 (28e2acb) + * New upstream release. - Set GETTEXT_PACKAGE to generate proper + templates - Dropped support for gnome-power-manage. + debian/patches/fix_defines.patch - removed, merged + upstream (2cb1445) + * Import upstream version 0.5 (e705925) -2013-08-23 08:57:22 -0500 Charles Kerr (b84432b) +2011-08-03 Javier Jardón - * copyediting: more descriptive comments when building - label/header/a11y text + * Release 0.5 (1ad8d1f) (tag: 0.5) + * Do not support the gnome-power-manager dbus interface anymore + (7d7b78e) -2013-08-22 23:58:00 -0500 Charles Kerr (cfda45b) +2011-08-03 Ken VanDine - * copyediting: remove trailing spaces in source code + * Fixed typos on checking for GSD and set the HAVE_GSD defines at + build time (d58b6ad) -2013-08-22 23:52:27 -0500 Charles Kerr (65b6f06) +2011-08-03 Javier Jardón - * don't use deprecated GSimpleActionGroup APIs + * configure.ac: Set GETTEXT_PACKAGE correctly to generate the expect + template (5a3da6b) -2013-08-22 23:51:20 -0500 Charles Kerr (c15ff1e) +2011-08-01 Ken VanDine - * add show-percentage feature, basing off Haw Loeung's patch. + * Set GETTEXT_PACKAGE to generate the expect template (df3af54) -2013-08-22 18:36:37 -0500 Charles Kerr (3c2e7c8) +2011-07-28 Ken VanDine - * add schema changes from hloeung's branch + * releasing version 0.4-0ubuntu3 (6b8997c) + * fixed a syntax error on checking for GSD and set the HAVE_GSD + defines at build time (534616d) + * releasing version 0.4-0ubuntu2 (20013a8) -2013-08-21 08:34:13 +0000 Automatic PS uploader (f22849a) +2011-07-26 Ken VanDine - * Releasing 12.10.6+13.10.20130821-0ubuntu1 (revision 186 from - lp:indicator-power). + * releasing version 0.4-0ubuntu1 (f459bee) -2013-08-21 06:06:50 +0000 Automatic PS uploader (bc7c071) +2011-07-19 Ken VanDine - * Releasing 12.10.6+13.10.20130821-0ubuntu1, based on r186 + * - Always select a device (LP: #810872) - Use the dbus interface + provided in g-s-d 3.1.4; debian/control - Added build + depends for gnome-settings-daemon-dev >= 3.1.4 (f982b44) + * New upstream release. (dc8de37) + * Import upstream version 0.4 (e9d8efc) -2013-08-20 15:00:46 +0000 Charles Kerr (cf9f238) +2011-07-18 Javier Jardón - * Add a brightness slider to indicator-power's phone menu. + * Do not draw a separator between the configuration options in the + menu (13d993e) + * Use the new D-Bus interface if gnome-settings-daemon is new enough + (99c94ac) -2013-08-19 22:47:23 -0500 Charles Kerr (7121aeb) +2011-07-15 Javier Jardón - * copyediting: trivial dead code removal + * Always select a device, doesnt matter Its charging/discharging or + not (8b03674) + * Makefile.am: Pass upower _FLAGS and _LIBS (9a7ee8c) -2013-08-19 22:43:15 -0500 Charles Kerr (21871f8) +2011-07-14 Ken VanDine - * make the brightness slider work correctly in both unity8 and ido - -2013-08-19 22:41:09 -0500 Charles Kerr (1b56431) - - * in ib_brightness_control_set_value(), log the strerror when write() - fails. - -2013-08-19 20:03:01 -0500 Charles Kerr (ffaf526) - - * add ib-brightness-control for phone menu - -2013-08-08 02:33:16 +0000 Automatic PS uploader (63e89ea) - - * Releasing 12.10.6+13.10.20130808-0ubuntu1 (revision 184 from - lp:indicator-power). - -2013-08-08 02:02:11 +0000 Automatic PS uploader (f56cb9f) - - * Releasing 12.10.6+13.10.20130808-0ubuntu1, based on r184 - -2013-08-07 22:44:07 +0000 Allan LeSage (ad584c1) - - * This restores coverage reporting; we could alternately add the - COVERAGE_CFLAGS to SHARED_CFLAGS instead. Fixes: - https://bugs.launchpad.net/bugs/1204127. - -2013-08-07 15:56:13 -0500 Allan LeSage (5f1524a) - - * Restore coverage flags. - -2013-07-25 08:04:56 +0000 Automatic PS uploader (02ddec5) - - * Releasing 12.10.6+13.10.20130725-0ubuntu1 (revision 182 from - lp:indicator-power). - -2013-07-25 02:03:03 +0000 Automatic PS uploader (e84ea95) - - * Releasing 12.10.6+13.10.20130725-0ubuntu1, based on r182 - -2013-07-24 15:09:49 +0000 Charles Kerr (e5d2ea5) - - * Set the battery-level action's 'sensitive' flag to false so that it - will not be clickable, as per the phone spec. - -2013-07-24 08:30:22 -0500 Charles Kerr (9fd02d4) - - * set the phone menu's battery-level action's 'enabled' flag to false - so that it won't be clickable, as per the spec. - -2013-07-24 09:44:37 +0000 Charles Kerr (6cca65e) - - * Add a phone profile and menu. - -2013-07-24 00:10:17 -0500 Charles Kerr (2d6f099) - - * add a profile for the phone's power indicator - https://wiki.ubuntu.com/Power#Phone - -2013-07-23 11:50:41 -0500 Charles Kerr (6e63cf5) - - * rename create_devices_section as create_desktop_devices_section - since we're about to add a sibling - create_phone_devices_section - -2013-07-08 13:49:40 +0000 Automatic PS uploader (a6db14f) - - * Releasing 12.10.6+13.10.20130708-0ubuntu1 (revision 179 from - lp:indicator-power). - -2013-07-08 02:01:53 +0000 Automatic PS uploader (2e21a4f) - - * Releasing 12.10.6+13.10.20130708-0ubuntu1, based on r179 - -2013-07-05 04:14:13 +0000 Lars Uebernickel (cfbd125) - - * Put service into libexecir. - -2013-07-05 03:09:14 +0000 Lars Uebernickel (e1166c9) - - * indicator file: rename greeter to desktop_greeter. - -2013-07-04 16:14:54 -0400 Lars Uebernickel (2ca78c7) - - * Put service into libexecdir - -2013-07-04 14:58:59 -0400 Lars Uebernickel (51182d1) - - * indicator file: greeter -> desktop_greeter - -2013-07-03 17:34:35 +0000 Automatic PS uploader (91878b5) - - * Releasing 12.10.6+13.10.20130703.1-0ubuntu1 to ubuntu. - -2013-07-03 14:16:58 +0000 Automatic PS uploader (e825a65) - - * Releasing 12.10.6+13.10.20130703.1-0ubuntu1, based on r176 - -2013-07-02 16:44:24 +0000 Charles Kerr (b227201) - - * add a Position entry in the .indicator file. Fixes: - https://bugs.launchpad.net/bugs/1196650. - -2013-07-02 11:07:02 -0500 Charles Kerr (15ee6e1) - - * in the .indicator file, add a Position entry - -2013-07-02 13:16:12 +0000 Charles Kerr (0f046a6) - - * make the greeter menu key consistent with indicator-session. - -2013-07-02 09:35:50 +0000 Automatic PS uploader (61fb99c) - - * Releasing 12.10.6+13.10.20130702-0ubuntu1 to ubuntu. - -2013-07-02 02:02:36 +0000 Automatic PS uploader (ce51165) - - * Releasing 12.10.6+13.10.20130702-0ubuntu1, based on r173 - -2013-07-01 15:52:27 -0500 Charles Kerr (ce05101) - - * in service.c's menu_names array, use 'desktop_greeter' as the key - instead of 'greeter' - -2013-07-01 09:05:13 +0000 Sebastien Bacher (09635bc) - - * backport the changelog from the manual distro upload. - -2013-07-01 10:25:59 +0200 Sebastien Bacher (04b32b4) - - * backport the changelog from the manual distro upload - -2013-06-29 00:05:32 +0000 Charles Kerr (5fb3644) - - * don't rely on the dbus pkg-config variable to know where to install - .service files. - -2013-06-28 16:33:39 -0500 Charles Kerr (f6329d6) - - * since we're removing localinstall mode, no need to pass it as an - arg here either - -2013-06-28 16:15:24 -0500 Charles Kerr (8bfff65) - - * remove 'local install' mode - -2013-06-28 16:46:04 +0000 Charles Kerr (9ba857d) - - * similar to the i-datetime change, use the unicode ellipsis - directly. - -2013-06-28 15:20:17 +0000 Automatic PS uploader (ae08ab6) - - * Releasing 12.10.6+13.10.20130628-0ubuntu1 to ubuntu. - -2013-06-28 09:55:00 -0500 Charles Kerr (54b4afe) - - * use … directly in strings instead of the C octal escaped UTF-8. - -2013-06-28 02:02:40 +0000 Automatic PS uploader (ada376a) - - * Releasing 12.10.6+13.10.20130628-0ubuntu1, based on r169 - -2013-06-20 16:12:44 +0000 Łukasz 'sil2100' Zemczak (30b8b27) - - * Add a build-dep on python. This is required as we're using - gdbus-codegen from libglib2.0-dev which only 'recommends' - python. We don't install recommends, so to get things - working, this build-dep is needed. - -2013-06-20 17:57:23 +0200 Łukasz 'sil2100' Zemczak (6811e6b) - - * Add a build-dep on python. This is required as we're using - gdbus-codegen from libglib2.0-dev which only 'recommends' - python. We don't install recommends, so to get things - working, this build-dep is needed - -2013-06-19 21:13:09 +0000 Charles Kerr (0ce78de) - - * Convert the power indicator into a service that exports GMenus and - GActions in accordance with our indicator-ng design. - -2013-06-19 14:47:23 -0500 Charles Kerr (258f3ad) - - * adjust device-provider-upower's timer to reduce how many times we - pull the device's properties over the bus. - -2013-06-19 10:10:50 -0500 Charles Kerr (8f74477) - - * remove the '--replace' command line argument; process management - will be handled by Upstart - -2013-06-19 10:01:19 -0500 Charles Kerr (e2431a9) - - * in indicator_power_device_provider_get_devices, confirm that the - get_devices function pointer isn't NULL before we call it. - -2013-06-19 09:52:36 -0500 Charles Kerr (0ec4365) - - * in provider-upower.c, clear its private hashtable in dispose() and - destroy it in finalize() - -2013-06-19 09:43:11 -0500 Charles Kerr (dec4af4) - - * lower the interval on the upower timer to make our updates more - responsive - -2013-06-19 07:29:43 -0500 Charles Kerr (eeb91e4) - - * in configure.ac, add AM_PROG_AR to silence an autotools warning - caused by the temporary static libraries created in src/ - -2013-06-19 01:29:37 -0500 Charles Kerr (34161b3) - - * fix build issue in indicator_power_device_provider_get_devices(), - reported by CI... - -2013-06-19 00:45:50 -0500 Charles Kerr (9cb5ad0) - - * put the service on the production busname - -2013-06-19 00:29:55 -0500 Charles Kerr (f566ca0) - - * add a dbus service file for indicator-power... - -2013-06-19 00:00:33 -0500 Charles Kerr (1b56362) - - * bump NEWS for 'make dist' - -2013-06-18 21:28:30 -0500 Charles Kerr (eeb37d1) - - * install the .indicator file into share/unity/indicators/ - -2013-06-18 21:15:59 -0500 Charles Kerr (34cffae) - - * remove the short-term TODO - -2013-06-18 20:59:56 -0500 Charles Kerr (8e052ae) - - * remove INDICATORDIR and INDICATORICONSDIR from configure.ac - -2013-06-17 18:01:51 -0500 Charles Kerr (bef4229) - - * get test-devices building and passing again. - -2013-06-17 18:01:26 -0500 Charles Kerr (b3a23dc) - - * update POTFILES.in to reflect the new files in src/ - -2013-06-17 18:01:04 -0500 Charles Kerr (9990582) - - * remove the gtest-xorg dependency, we're no longer using gui - elements in the tests - -2013-06-17 12:00:41 -0500 Charles Kerr (aa625b0) - - * tighten the -Wextra screws a little tighter - -2013-06-17 11:53:41 -0500 Charles Kerr (72d74f4) - - * in device-provider-upower's dispose(), disconnect from our proxy's - signal before we unref the proxy - -2013-06-17 08:30:39 -0500 Charles Kerr (a4d5e56) - - * copyediting: group common functions together, fix line wrap, better - commenting - -2013-06-16 23:33:30 -0500 Charles Kerr (37051c1) - - * add a short-term TODO file - -2013-06-16 23:32:58 -0500 Charles Kerr (545b341) - - * first steps at fixing the tests that broke during GMenuification - -2013-06-16 23:32:29 -0500 Charles Kerr (1ad51b4) - - * update indicator-power build rules to reflect the changes in source - code and in dependencies - -2013-06-16 23:31:41 -0500 Charles Kerr (b8f5e07) - - * update build rules: remove now-unneeded build dependencies for - libindicator, gtk, gnome-settings-daemon-dev, - libupower-glib, libdbus-1-dev - -2013-06-16 23:18:11 -0500 Charles Kerr (1d8adeb) - - * add power.indicator - -2013-06-16 23:16:19 -0500 Charles Kerr (f5c93cd) - - * explicitly use gio; remove unused glib-upower.h calls - -2013-06-16 23:10:06 -0500 Charles Kerr (cbbf63c) - - * add a main() wrapper to create a service and pass a - device-provider-upower to it - -2013-06-16 23:09:29 -0500 Charles Kerr (997a109) - - * remove the old IndicatorObject code - -2013-06-16 23:09:09 -0500 Charles Kerr (ee13ae6) - - * add the heart of the service - -2013-06-16 23:08:21 -0500 Charles Kerr (da79f94) - - * add device-provider-upower, a UPower implementation of - device-provider - -2013-06-16 23:07:59 -0500 Charles Kerr (ebde9c5) - - * add device-provider, an interface class for an object that provides - IndicatorPowerDevices. This could be given a UPower - implementation, or a mock implementation, or a - whatever-replaces-upower-on-phones implementation. - -2013-06-16 23:05:40 -0500 Charles Kerr (f3deb18) - - * remove the org.gnome.SettingsDaemon listener; we'll use UPower - directly - -2013-06-16 23:03:23 -0500 Charles Kerr (d67d887) - - * add UPower xml files for gdbus-codegen - -2013-03-07 15:59:13 +0000 Automatic PS uploader (0b05855) - - * Releasing 12.10.6daily13.03.07-0ubuntu1 to ubuntu. - -2013-03-07 02:01:57 +0000 Automatic PS uploader (bdb55d2) - - * Releasing 12.10.6daily13.03.07-0ubuntu1, based on r166 - -2013-03-06 15:18:42 +0000 Mathieu Trudel-Lapierre (17c0ead) - - * Do the linking with -lpthread correctly. Fixes: - https://bugs.launchpad.net/bugs/1126362. - -2013-03-05 10:17:39 -0500 Mathieu Trudel-Lapierre (6922c6a) - - * Make use of XORG_GTEST_LDFLAGS that xorg-gtest can export to know - whether there are extra libraries we should link against. - -2013-01-25 12:26:58 +0000 Automatic PS uploader (f9e5ac4) - - * Releasing 12.10.6daily13.01.25-0ubuntu1 to ubuntu. - -2013-01-25 02:01:11 +0000 Automatic PS uploader (0589b7d) - - * Releasing 12.10.6daily13.01.25-0ubuntu1, based on r164 - -2013-01-23 15:33:51 +0000 Mathieu Trudel-Lapierre (4b2a473) - - * Fix path to gtest source. - -2013-01-22 15:00:25 -0500 Mathieu Trudel-Lapierre (72ba52e) - - * Fix path to gtest sources. - -2013-01-18 23:13:06 +0000 Automatic PS uploader (e9e5df9) - - * Releasing 12.10.6daily13.01.18-0ubuntu1 to ubuntu. - -2013-01-18 02:01:19 +0000 Automatic PS uploader (838849d) - - * Releasing 12.10.6daily13.01.18-0ubuntu1, based on r162 - -2013-01-17 18:15:56 -0500 Mathieu Trudel-Lapierre (040e7a8) - - * releasing version 12.10.6daily13.01.17-0ubuntu1 - -2013-01-17 23:01:37 +0000 Charles Kerr (a399017) - - * g_type_init() is deprecated as of glib 2.35.4, so bump our glib - minimum requirement and remove the g_type_init() call. - -2013-01-17 15:07:08 -0600 Charles Kerr (5535cc5) - - * remove g_type_init() calls and bump glib minimum to 2.35.4, where - g_type_init() is deprecated - -2013-01-17 02:01:39 +0000 Automatic PS uploader (35cadc9) - - * Releasing 12.10.6daily13.01.17-0ubuntu1, based on r160 - -2013-01-15 13:00:46 +0000 Phillip Susi (06c8a32) - - * This is Phillip Susi's patch from - lp:~psusi/ubuntu/raring/indicator-power/show-ups, proposed - here for trunk. Fixes: - https://bugs.launchpad.net/bugs/1007095. - -2013-01-14 10:21:01 -0600 Phillip Susi (181b366) - - * merge lp:~psusi/ubuntu/raring/indicator-power/show-ups - -2012-11-21 12:44:39 +0100 Didier Roche (7281308) - - * Releasing 12.10.6daily12.11.21.1-0ubuntu1 to ubuntu - -2012-11-21 10:41:37 +0000 unknown (e05edf4) - - * Releasing 12.10.6daily12.11.21.1-0ubuntu1, based on r158 - -2012-11-16 20:40:54 +0000 Charles Kerr (9d92445) - - * explicitly cast integral values to the correct type when passing - them to a varargs function. Fixes: - https://bugs.launchpad.net/bugs/1079795. - -2012-11-16 11:58:24 -0600 Charles Kerr (1d3272d) - - * explicitly cast integral values to the correct type when passing - them to a varargs function. - -2012-11-16 13:42:49 +0000 Didier Roche (a911ab8) - - * Report missing changes in indicator-power trunk from trunk.12.10. - -2012-11-16 14:20:55 +0100 Didier Roche (cc47ec0) - - * remove the duplicated case - -2012-11-16 13:21:47 +0100 Didier Roche (c9912e1) - - * report accidently revert fixes when inline packaging was merged in - -2012-11-16 09:41:27 +0000 Didier Roche (378d1e1) - - * add bootstrap message. - -2012-11-16 10:18:04 +0100 Didier Roche (bedc8ea) - - * add bootstrap message - -2012-11-15 20:15:51 +0000 Ken VanDine (81f2ecd) - - * Import debian/. - -2012-11-15 12:20:50 -0500 Mathieu Trudel-Lapierre (721e3c4) - - * make sure we call dh_install --fail-missing in the dh_install - override, to be consistent with other indicator packages. - -2012-11-15 12:14:24 -0500 Mathieu Trudel-Lapierre (d82a5a9) - - * Add libgtest-dev to Build-Depends for unit tests. - -2012-11-15 12:05:00 -0500 Mathieu Trudel-Lapierre (43db0f0) - - * Add libxorg-gtest-dev to Build-Depends for unit tests. - -2012-11-15 11:56:16 -0500 Mathieu Trudel-Lapierre (78fa11f) - - * Add autopoint to Build-Depends. - -2012-11-14 16:58:54 -0500 Mathieu Trudel-Lapierre (8989d86) - - * debian/rules: it's dh_autoreconf, not dh-autoreconf. - -2012-11-14 16:51:39 -0500 Mathieu Trudel-Lapierre (11b06f3) - - * use DPKG_GENSYMBOLS_CHECK_LEVEL=4. - -2012-11-14 16:46:50 -0500 Mathieu Trudel-Lapierre (b4f0934) - - * * debian/rules: - use the dh sequencer with --with autoreconf. - - override dh_autoreconf to call autogen.sh from upstream. - -2012-11-14 16:45:27 -0500 Mathieu Trudel-Lapierre (db6421c) - - * Update Vcs-Bzr and Vcs-Browser fields, add notice to uploaders. - -2012-11-14 16:40:39 -0500 Mathieu Trudel-Lapierre (c3848e4) - - * - Reorganize Build-Depends for clarity; build system b-deps - first. - Use trailing commas for dep lists, as per other - indicator packages. - -2012-11-14 16:39:04 -0500 Mathieu Trudel-Lapierre (d8f0f89) - - * debian/compat: bump to compat level 9. - -2012-11-14 16:38:42 -0500 Mathieu Trudel-Lapierre (d18b6c2) - - * * debian/control: - Bump Build-Depends on debhelper to (>= 9). - -2012-11-14 13:55:48 -0500 Mathieu Trudel-Lapierre (baa58fe) - - * Specify to bzr-builddeb that the package should be built using - split mode. - -2012-11-14 13:55:13 -0500 Mathieu Trudel-Lapierre (9287192) - - * Open new changelog entry. - -2012-11-14 13:54:41 -0500 Mathieu Trudel-Lapierre (aae9eaa) - - * Import debian/ from lp:~ubuntu-desktop/indicator-power/ubuntu. - -2012-11-14 11:14:13 +0100 Sebastien Bacher (78e1bc5) - - * releasing version 12.10.5-0ubuntu1 - -2012-11-14 11:09:49 +0100 Sebastien Bacher (7ef9fc9) - - * * New upstream release: - Fix a device display bug introduced in - 12.10.3 (LP: #1075192) - -2012-11-14 11:08:13 +0100 Sebastien Bacher (fb0e7bd) - - * Import upstream version 12.10.5 - -2012-11-13 14:50:29 -0600 Charles Kerr (17629a4) - - * bump NEWS - -2012-11-13 14:44:16 -0600 Charles Kerr (7c335dd) - - * 12.10.5 - -2012-11-13 14:40:47 -0600 Charles Kerr (f6075f0) - - * backport the 'AC Adapter shown in panel' bugfix from trunk/13.04 - -2012-11-08 11:35:21 -0600 Charles Kerr (727b8ca) - - * add 'check-news' to AM_INIT_AUTOMAKE - -2012-11-07 17:56:07 +0000 Charles Kerr (7b7b36e) - - * Handle choosing a primary device when no device is charging nor - discharging. Fixes: - https://bugs.launchpad.net/bugs/1075192. - -2012-11-07 11:29:51 -0600 Charles Kerr (f446e2f) - - * change indicator_power_device_get_time_details() s.t. the 'short - details' for an AC Adapter is an empty string. - -2012-11-07 11:25:41 -0600 Charles Kerr (a499914) - - * modify DeviceTest.Labels s.t. it fails (currently failing) if the - 'short' string for an AC Adapter is nonempty. - -2012-11-06 14:56:52 -0600 Charles Kerr (a2e4245) - - * when choosing a primary device from devices that are neither - charging nor discharging, prefer batteries, then - everything except line-power, then line power - -2012-11-06 14:54:57 -0600 Charles Kerr (7b37016) - - * in TestDevice.ChoosePrimary, add another test (currently failing) - to confirm that when indicator-datetime is choosing from - devices that are neither charging nor discharging, - batteries are more interesting than other devices, and - other devices are more interesting than - UP_DEVICE_KIND_LINE_POWER - -2012-11-06 13:59:36 -0600 Charles Kerr (75636fb) - - * when choosing between two devices, always pick the one that's not a - UP_DEVICE_KIND_LINE_POWER - -2012-11-06 13:42:53 -0600 Charles Kerr (e555496) - - * add unit test (currently failing) to test for the bug reported in - LP bug #1075192 - -2012-11-05 18:03:10 +0100 Sebastien Bacher (74bed2a) - - * releasing version 12.10.4-0ubuntu1 - -2012-11-05 12:41:24 +0100 Sebastien Bacher (0c14d7b) - - * * New upstream release. - Show the proper icon for mice and ups - devices. (LP: #1066208) - -2012-11-05 12:38:14 +0100 Sebastien Bacher (a3b85f4) - - * Import upstream version 12.10.4 - -2012-11-04 11:48:11 -0600 Charles Kerr (014fbc2) - - * 12.10.4 - -2012-11-04 11:46:50 -0600 Charles Kerr (2fa0264) - - * fix logic error in primary device selection; add unit tests to - confirm the fix. (lp:~charlesk/indicator-power/lp-1071757) - -2012-10-29 11:17:19 +0000 Charles Kerr (1e5b83d) - - * Fix the logic error. Add tests to confirm the fix. Fixes: - https://bugs.launchpad.net/bugs/1071757. - -2012-10-29 11:59:09 +0100 Charles Kerr (7d558ff) - - * copyediting: fix comment text - -2012-10-28 08:40:44 +0100 Charles Kerr (a76e474) - - * in TestDevice, make the log variable names a little more consistent - -2012-10-28 01:54:45 +0200 Charles Kerr (8867ec9) - - * set DeviceTest's gwarning/gcritical log func to one that prints no - messages but accumulates the log count. This way we can - both (a) silence in-console warnings that look like bugs - in the test but are actually desirable warnings generated - by fuzz testing, and (b) assert that we get exactly as - many warnings/criticals as we expect to get. - -2012-10-28 01:48:30 +0200 Charles Kerr (7c0d274) - - * expand DeviceTest.ChoosePrimary to test choosing from a wider - variety of device states. - -2012-10-26 18:04:43 +0200 Charles Kerr (0189c72) - - * fix logic error when deciding which primary device to select. - -2012-10-26 18:03:46 +0200 Charles Kerr (cd8e633) - - * add test (currently failing) to detect the logic error reported in - bug #1071757 - -2012-10-26 15:20:16 +0200 Charles Kerr (681e4e9) - - * 12.10.3 - -2012-10-26 15:14:30 +0200 Charles Kerr (880f44e) - - * choose the correct primary device, and choose the correct icon for - it. - -2012-10-26 14:48:54 +0200 Charles Kerr (6d19670) - - * choose the correct primary device, and choose the correct icon for - it. - -2012-10-26 10:53:51 +0200 Charles Kerr (e246512) - - * fix copy-paste comment error - -2012-10-26 10:53:32 +0200 Charles Kerr (a842e7b) - - * fix comment typo - -2012-10-26 10:02:14 +0200 Charles Kerr (b7b7ffd) - - * Select the primary device based on the spec's criteria. Add tests - to confirm. - -2012-10-26 09:14:11 +0200 Charles Kerr (a8d3382) - - * silence the known/nonbug gtk and glib warnings - -2012-10-26 09:08:59 +0200 Charles Kerr (92b48e8) - - * add unit tests to confirm the device refcounts are correct s.t. - IndicatorPower isn't leaking devices - -2012-10-26 09:05:25 +0200 Charles Kerr (8659889) - - * fix leaked icon and label; found by running valgrind on - tests/test-indicator - -2012-10-26 09:00:50 +0200 Charles Kerr (90af0bf) - - * Fix unhandled enum 'unknown device' that was smoked out by the unit - tests. - -2012-10-25 14:55:48 +0200 Charles Kerr (46f92ba) - - * the device kind string wasn't being used in some icon names. - -2012-10-03 21:31:41 +0200 Sebastien Bacher (a42d1cd) - - * releasing version 12.10.2-0ubuntu1 - -2012-10-03 21:26:45 +0200 Sebastien Bacher (c302843) - - * * New upstream release. - Show a more accurate view of - discharging batteries (LP: #1054146) - Fix a GIcon - memory leak - In device.c, include gi18n-lib.h instead - of gi18n.h - -2012-10-03 21:25:19 +0200 Sebastien Bacher (0fa9b26) - - * Import upstream version 12.10.2 - -2012-10-03 11:51:08 -0500 Charles Kerr (3a0758a) - - * 12.10.2 - -2012-10-03 11:46:15 -0500 Charles Kerr (af699e1) - - * merge lp:~charlesk/indicator-power/lp-1054146 to give a more - accurate view of discharging batteries - -2012-10-03 11:30:18 -0500 Charles Kerr (2b046e7) - - * when discharging the battery, prefer the percent-charged icons over - the full,good,low icons because the former show a more - accurate view of the charge. - -2012-09-26 17:00:52 +0200 Lars Uebernickel (b226f3f) - - * Merge lp:~/larsu/indicator-power/plug-get-icon-memory-leak - -2012-09-25 09:58:35 +0200 Lars Uebernickel (e4002d5) - - * get_icon: Plug memory leak - -2012-09-20 11:04:57 +0200 Didier Roche (938cb5d) - - * releasing version 12.10.1-0ubuntu2 - -2012-09-20 11:04:39 +0200 Didier Roche (002ce20) - - * * Cherry-pick: - Ensure the power indicator string translations - are loaded. Thanks lars - -2012-09-20 10:25:00 +0200 Lars Uebernickel (a94288f) - - * device.c: include gi18n-lib.h instead of gi18n.h - -2012-09-05 16:20:25 -0500 Charles Kerr (75e9a60) - - * copyediting: text formatting to make the icon list more readable - -2012-08-22 11:29:36 +0200 Sebastien Bacher (d90c644) - - * releasing version 12.10.1-0ubuntu1 - -2012-08-22 11:29:14 +0200 Sebastien Bacher (1286a19) - - * New upstream release. - -2012-08-22 11:28:47 +0200 Sebastien Bacher (c752cbe) - - * Import upstream version 12.10.1 - -2012-08-21 23:44:51 -0500 Charles Kerr (fb058d4) - - * 12.10.1 - -2012-08-21 21:05:49 -0500 Charles Kerr (300b1cc) - - * merge lp:~charlesk/indicator-power/lp-1023533 to bump the glib - prerequisite - -2012-07-13 11:13:37 -0500 Charles Kerr (b2b5176) - - * raise glib minimum to 2.33 - -2012-07-11 21:46:44 +0200 Sebastien Bacher (79146a3) - - * releasing version 12.10.0-0ubuntu1 - -2012-07-11 21:46:25 +0200 Sebastien Bacher (2e4ec4a) - - * * New upstream release. * debian/control: updated glib requirement - -2012-07-11 21:39:51 +0200 Sebastien Bacher (4af0bd2) - - * Import upstream version 12.10.0 - -2012-07-11 12:12:35 -0500 Charles Kerr (7bc1a48) - - * bump version to 12.10.0 - -2012-07-11 12:10:21 -0500 Charles Kerr (6401fdd) - - * merge lp:~charlesk/indicator-power/coverage - -2012-07-03 17:20:35 -0500 Charles Kerr (2343edb) - - * disable test-dbus-listener for now - -2012-06-07 10:36:13 -0500 Charles Kerr (867f9fe) - - * remove some dead code. - -2012-06-07 08:57:15 -0500 Charles Kerr (8b31b76) - - * improve the variant sanity tests in - indicator_power_device_new_from_variant() - -2012-06-06 16:00:06 -0500 Charles Kerr (9091bba) - - * reimplement indicator_power_device_get_icon_names() since our CA is - incompatible with reusing code from GSD. - -2012-06-06 15:24:53 -0500 Charles Kerr (137b2e1) - - * remove superfluous #include - -2012-06-06 15:22:38 -0500 Charles Kerr (bca7ca9) - - * simplify the Device properties' name strings - -2012-06-06 15:21:35 -0500 Charles Kerr (0acce23) - - * For GTK-Doc, reference functions with function_name() instead of - #function_name - -2012-06-06 15:19:26 -0500 Charles Kerr (73bef48) - - * In indicator_power_device_new_from_variant(), check whether the - input variant has the correct type before using it. - -2012-06-06 15:06:59 -0500 Charles Kerr (50fb08d) - - * add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case - in Device's get/set property methods - -2012-06-06 15:04:05 -0500 Charles Kerr (de56d59) - - * IndicatorObjectDevice's finalize() function needs to chain up to - the parent class. - -2012-06-06 15:02:55 -0500 Charles Kerr (da3c570) - - * in IndicatorPowerDevice's class init function, use - g_object_class_install_properties() instead of installing - each property separately. - -2012-06-06 14:51:22 -0500 Charles Kerr (42caee4) - - * remove prototype for indicator_power_dbus_listener_new() since it's - not needed/used - -2012-06-06 14:50:39 -0500 Charles Kerr (65f33de) - - * simplify the devices-enumerated signal's name - -2012-06-06 14:47:08 -0500 Charles Kerr (fcd052a) - - * if self->cancellable is non-NULL in dispose(), pass it to - g_cancellable_cancel() before clearing the listener's - reference - -2012-06-06 14:43:11 -0500 Charles Kerr (5cac4eb) - - * remove trailing whitespace - -2012-06-06 14:42:23 -0500 Charles Kerr (79d37d6) - - * add g_bus_unwatch_name() to watcher's dispose() method - -2012-06-06 14:39:51 -0500 Charles Kerr (f2310de) - - * add a GTK-Doc signal comment block for - indictor-power-dbus-listener's enumerated signal - -2012-06-06 14:30:34 -0500 Charles Kerr (15d6b25) - - * move the header files from noinst_HEADERS to libpower_la_SOURCES - -2012-06-01 14:48:05 -0500 Charles Kerr (66ba8ed) - - * In indicator-power.c's put_primary_device(), remove dead code. - -2012-06-01 14:24:17 -0500 Charles Kerr (99a719a) - - * copyediting: fix tab damage in dbus-listener.[ch] - -2012-06-01 14:19:27 -0500 Charles Kerr (52d1979) - - * copyediting: fix tab damage in device.[ch] - -2012-06-01 13:58:43 -0500 Charles Kerr (b108010) - - * use C++-style comments in test-device.cc - -2012-06-01 13:57:03 -0500 Charles Kerr (0b46d08) - - * In indicator_power_device_get_time_details(), add a test for - non-devices being passed in. - -2012-06-01 13:43:40 -0500 Charles Kerr (5b17593) - - * Fix edge case in indicator_power_device_get_icon_names() that - returned a bad value if the caller passed in a NULL - pointer as a device. Added regression test. - -2012-06-01 13:39:10 -0500 Charles Kerr (4c433bf) - - * In indicator_power_device_get_time_details(), use g_strdup(foo) - instead of g_strdup_printf("%s",foo) - -2012-06-01 13:38:16 -0500 Charles Kerr (560aa0e) - - * Add coverage test for AC Adapters in - indicator_power_device_get_time_details() - -2012-06-01 13:37:24 -0500 Charles Kerr (7c3ac19) - - * capitalize the second word in 'AC Adapter' - -2012-06-01 13:37:05 -0500 Charles Kerr (9937a07) - - * in indicator_power_device_get_time_details(), don't list 'not - present' for AC Adapters that have no % and no time - estimate - -2012-06-01 13:21:08 -0500 Charles Kerr (ea0293e) - - * Add unit tests for indicator_power_device_get_time_details() - -2012-06-01 13:20:02 -0500 Charles Kerr (53d9c7e) - - * In indicator_power_device_get_time_details(), remove an unlikely - branch that could result in time/detail strings not being - set. - -2012-06-01 12:39:15 -0500 Charles Kerr (624a1f3) - - * Add gcda/gcno to CLEANFILES s.t. 'make clean' will cover them - -2012-05-31 14:07:14 -0500 Charles Kerr (9a753ec) - - * in indicator_power_device_get_time_details(), limit the scope of - variables short_timestring and detailed_timestring - -2012-05-31 14:00:12 -0500 Charles Kerr (8476e80) - - * Move private indicator-power function build_device_time_details() - to device.c to public function - indicator_power_device_get_time_details() so that we can - unit test the user-visible strings. - -2012-05-31 13:08:27 -0500 Charles Kerr (97867c3) - - * remove IndicatorPowerDevice's now-unused device icon string. - -2012-05-31 13:00:31 -0500 Charles Kerr (b18b586) - - * Add indicator_power_device_get_icon_names(). - -2012-05-31 12:59:24 -0500 Charles Kerr (89c515d) - - * remove some g_message() calls that shouldn't've been committed. - -2012-05-29 17:28:15 -0500 Charles Kerr (ab87d8f) - - * add a test to make sure that the listener responds to a - PropertiesChanged signal - -2012-05-29 14:41:27 -0500 Charles Kerr (5786eca) - - * t^Cak to indicator_set_power_differences() - -2012-05-29 13:35:52 -0500 Charles Kerr (1c35339) - - * use g_clear_pointer() where useful - -2012-05-29 13:29:32 -0500 Charles Kerr (8a37ae2) - - * add tests for gsd GetDevices returning (a) no devices and (b) an - error - -2012-05-29 13:28:47 -0500 Charles Kerr (7f08c9a) - - * exclude G_DEFINE_TYPE from coverage testing in dbus-listener.c - -2012-05-28 19:37:43 -0500 Charles Kerr (7b8cd09) - - * add more tests to improve coverage: different device types, no - primary device - -2012-05-28 11:33:07 -0500 Charles Kerr (b9a6194) - - * add a mock GSD.Power to handle the GetPower requests - -2012-05-27 09:22:28 -0500 Charles Kerr (23a2672) - - * use signals to decouple i-power and dbus-listener - -2012-05-27 08:35:52 -0500 Charles Kerr (675cc79) - - * Add skeleton test for IndicatorPowerDbusListener - -2012-05-26 17:49:13 -0500 Charles Kerr (2f1281d) - - * add coverage for charging with >1 minute but <1 hour left - -2012-05-26 17:10:48 -0500 Charles Kerr (eda15ff) - - * add coverage for DBusListener get_property() - -2012-05-26 16:57:13 -0500 Charles Kerr (194cfbc) - - * try adding LCOV_EXCL_{START,STOP} for unreachable conditions (glib - looking for subclasses of IndicatorPowerDevice; - unreachables in G_DEFINE_TYPE) - -2012-05-26 16:26:02 -0500 Charles Kerr (aeb6ab5) - - * call g_object_run_dispose() in a standalone test to get coverage on - the NULL / non-NULL branches of dispose()'s - g_clear_pointer() calls - -2012-05-26 16:22:51 -0500 Charles Kerr (21656d9) - - * nope, LCOV_EXCL_LINE doesn't work on macros - -2012-05-26 16:19:05 -0500 Charles Kerr (83aee49) - - * try adding LCOV_EXCL_LINE for unreachable conditions (glib looking - for subclasses of IndicatorPowerDevice; unreachables in - G_DEFINE_TYPE) - -2012-05-26 16:11:03 -0500 Charles Kerr (5937352) - - * reuse the same cancellable across multiple non-concurrent dbus - calls - -2012-05-26 15:56:10 -0500 Charles Kerr (b3a1b20) - - * avoid a cyclical refcount dependency between IndicatorPower and its - DBusListener - -2012-05-26 15:42:58 -0500 Charles Kerr (29ec6d2) - - * extract-method to simplify testing the accessible text - -2012-05-26 15:19:38 -0500 Charles Kerr (9ee74a3) - - * separate the dbus org.gnome.SettingsDaemon.Power logic into a - separate class - -2012-05-26 14:35:22 -0500 Charles Kerr (e0d1b32) - - * add coverage for various charging/discharging/charged states - -2012-05-26 14:16:26 -0500 Charles Kerr (676aef0) - - * first draft of adding tests for a discharging battery - -2012-05-25 17:10:52 -0500 Charles Kerr (7ac2b78) - - * make indicator_power_set_devices() safe for passing in the same - devices more than once - -2012-05-25 16:00:56 -0500 Charles Kerr (73d31da) - - * fix negated logic in menu_add_device() introduced in r160 - -2012-05-25 15:31:16 -0500 Charles Kerr (ce82684) - - * indicator_power_set_devices() should fail gracefully when no - devices are available - -2012-05-25 15:02:03 -0500 Charles Kerr (6bbfe3a) - - * make Jenkins happy - -2012-05-25 14:58:56 -0500 Charles Kerr (34c756a) - - * modify IndicatorPower to use IndicatorPowerDevices internally - -2012-05-25 09:26:06 -0500 Charles Kerr (33f4e3d) - - * put IndicatorPower's fields back inside a priv struct - -2012-05-24 19:27:59 -0500 Charles Kerr (4d1bb11) - - * ah, c++ is too smart for the last commit's implicit conversion. - -2012-05-24 19:24:11 -0500 Charles Kerr (ebf2eda) - - * test passing bad non-NULL pointers to Device's accessors - -2012-05-24 19:06:58 -0500 Charles Kerr (88d4861) - - * add unit tests confirming that the device accessor functions won't - crash when you pass NULL for the device - -2012-05-24 19:00:51 -0500 Charles Kerr (9e188d4) - - * remove the 'default' clause from get_property() and set_property(). - -2012-05-24 18:56:15 -0500 Charles Kerr (2643aa2) - - * remove some unnecessary type compatibilty tests... - g_object_get_property() does these tests for us - -2012-05-24 18:51:51 -0500 Charles Kerr (d2ba05c) - - * remove the tests that attempted to exercise the code removed in - r151 - -2012-05-24 18:48:04 -0500 Charles Kerr (fd7ad85) - - * don't include the unit tests' code in coverage metrics - -2012-05-24 18:47:38 -0500 Charles Kerr (f023be5) - - * remove some unnecessary type compatibilty tests... - g_object_set_property() does these tests for us - -2012-05-24 18:21:34 -0500 Charles Kerr (4c95f0b) - - * add unit tests for getting/setting device properties - -2012-05-24 16:50:58 -0500 Charles Kerr (d8484ce) - - * first draft of getting GSettings working in the unit tests before - the schema is installed. - -2012-05-24 11:50:38 -0500 Charles Kerr (caae424) - - * remove the g_clear_pointer() calls s.t. things will build and run - on alesage's Jenkins setup running Precise - -2012-05-24 11:32:16 -0500 Charles Kerr (f18b60b) - - * remove the g_clear_pointer() calls s.t. things will build and run - on alesage's Jenkins setup running Precise - -2012-05-24 10:15:28 -0500 Charles Kerr (4f74252) - - * add test-indicator.cc - -2012-05-24 10:00:15 -0500 Charles Kerr (f434dc2) - - * add a 'hello world' test for instantiating IndicatorPower - -2012-05-24 09:49:30 -0500 Charles Kerr (622c185) - - * add private container struct IndicatorPowerDevice - -2012-05-23 22:11:51 -0500 Charles Kerr (71a3e53) - - * replace 'Power Settings...' with 'Power Settings…' - -2012-05-23 10:42:13 -0500 Charles Kerr (122e56d) - - * move libpower's automake rules into src/ - -2012-04-26 08:42:37 -0500 Charles Kerr (8e7ee28) - - * fix a handful of string and GVariant leaks in indicator-power. - -2012-04-15 09:23:24 -0500 Charles Kerr (820cc22) - - * tweak: in put_primary_device(), peek at the variant's strings - instead of dup'ing them - -2012-04-15 09:20:51 -0500 Charles Kerr (3e92639) - - * sync with lp:indicator-power - -2012-04-15 09:17:21 -0500 Charles Kerr (fd5fac8) - - * fix leaked strings in menu_add_device when (kind == - UP_DEVICE_KIND_LINE_POWER) - -2012-04-11 14:16:23 -0400 Ken VanDine (bd7a606) - - * releasing version 2.0-0ubuntu1 - -2012-04-11 13:13:28 -0400 Ken VanDine (387890e) - - * * New upstream release. * Make menu items accessible with Orca - Screen reader (LP: #953176) * Plug memory leaks when - updating our icons - -2012-04-11 10:13:01 -0500 Charles Kerr (6e6011e) - - * releasing version 2.0-0ubuntu1~ppa1 - -2012-04-11 10:12:03 -0500 Charles Kerr (c88bf4d) - - * * New upstream release. * Make menu items accessible with Orca - Screen reader (LP: #953176) * Plug memory leaks when - updating our icons - -2012-04-11 10:10:15 -0500 Charles Kerr (109d4fe) - - * Import upstream version 2.0 - -2012-04-11 10:09:38 -0500 Charles Kerr (9868757) - - * Sync from Ubuntu Desktop - -2012-04-11 10:02:18 -0500 Charles Kerr (3242c72) - - * 2.0 (tag: 2.0) - -2012-04-10 14:54:47 -0500 Charles Kerr (f1c836c) - - * merge lp:~allanlesage/indicator-power/TDD to improve our gcov fules - in autotools - -2012-04-09 14:32:39 -0500 Charles Kerr (a24e06c) - - * use atk_object_set_name(foo,bar)" instead of - g_object_set(foo,"accessible-name",bar,NULL)" - -2012-04-09 14:16:07 -0500 Charles Kerr (45bc12d) - - * leak fix 3 of 3: don't leak the GIcons returned by - get_device_icon() - -2012-04-09 14:14:20 -0500 Charles Kerr (7a5b5a6) - - * leak fix 2 of 3: fix leaky fallback GIcon in get_device_icon() - -2012-04-09 14:13:25 -0500 Charles Kerr (6305fe3) - - * leak fix 1 of 3: don't leak object_path and device_icon if kind == - UP_DEVICE_KIND_LINE_POWER - -2012-04-09 14:10:51 -0500 Charles Kerr (8e0baaf) - - * if possible, set the device menuitems' accessible names. - -2012-03-27 16:22:53 -0500 Allan LeSage (13e52ee) - - * Pedantic name change for gcovr xml results. - -2012-03-27 15:34:42 -0500 Allan LeSage (3db9585) - - * Added gcov coverage tooling. - -2012-03-21 15:29:32 -0400 Ken VanDine (4e4a839) - - * releasing version 1.93-0ubuntu1 - -2012-03-21 15:22:09 -0400 Ken VanDine (fddb19e) - - * * New upstream release. * Fix for translatable strings not being - extracted for i18n (LP: #957542) - -2012-03-21 12:47:39 -0500 Charles Kerr (abc3faf) - - * releasing version 1.93-0ubuntu1~ppa1 - -2012-03-21 12:46:42 -0500 Charles Kerr (b8ba3be) - - * * New upstream release. * Fix for translatable strings not being - extracted for i18n (LP: #957542) - -2012-03-21 12:45:36 -0500 Charles Kerr (4c91eb5) - - * Import upstream version 1.93 - -2012-03-21 12:44:43 -0500 Charles Kerr (e9f8e72) - - * Sync from Ubuntu Desktop - -2012-03-21 12:34:38 -0500 Charles Kerr (aec0158) - - * 1.93 (tag: 1.93) - -2012-03-17 14:48:58 -0500 Charles Kerr (22a82f6) - - * Fix memory leaks in get_primary_device(). - -2012-03-17 14:45:06 -0500 Charles Kerr (a9ab1c3) - - * Fix variant leak in count_batteries() -- the returned value of - g_variant_get_child_value() needs to be freed with - g_variant_unref() when we're done with it. - -2012-03-17 14:42:05 -0500 Charles Kerr (0489149) - - * fix variant leaks in menu_add_devices() - -2012-03-17 14:00:20 -0500 Charles Kerr (0ef46e1) - - * merge lp:~kelemeng/indicator-power/bug957542 to fix extracting - translatable strings from ipower (Bug #957542) - -2012-03-17 00:35:49 +0100 Gabor Kelemen (f1ad17d) - - * Add g_dngettext to the list of known keywords. LP: #957542 - -2012-03-14 19:44:02 +0100 Sebastien Bacher (82e7ef0) - - * releasing version 1.92-0ubuntu1 - -2012-03-14 19:43:52 +0100 Sebastien Bacher (6b63458) - - * New upstream release. - -2012-03-14 19:43:43 +0100 Sebastien Bacher (fdf4d4c) - - * Import upstream version 1.92 - -2012-03-14 10:41:52 -0500 Charles Kerr (af5642f) - - * 1.91 (tag: 1.92) - -2012-02-23 02:47:47 -0500 Ken VanDine (eecdfb2) - - * releasing version 1.91-0ubuntu1 - -2012-02-23 02:21:00 -0500 Ken VanDine (1d09e63) - - * * New upstream release. * Fix for the icon not changing when - state changes (LP: #933466) * Fix accessible - descriptions (LP: #891932) - -2012-02-23 00:35:34 -0600 Ted Gould (9539d05) - - * releasing version 1.91-0ubuntu1~ppa1 - -2012-02-23 00:34:06 -0600 Ted Gould (b1bc105) - - * * New upstream release. * Fix for the icon not changing when - state changes (LP: #933466) * Fix accessible - descriptions (LP: #891932) - -2012-02-23 00:28:30 -0600 Ted Gould (fd038ed) - - * Import upstream version 1.91 - -2012-02-23 00:28:11 -0600 Ted Gould (f775f62) - - * Merging with U. Desktop - -2012-02-23 00:19:11 -0600 Ted Gould (f1c5931) - - * 1.91 (tag: 1.91) - -2012-02-22 23:07:44 -0600 Ted Gould (500b6ee) - - * Fix accessible descriptions - -2012-02-22 17:39:50 -0600 Charles Kerr (5396553) - - * when a new entry is added, ensure that its accessible_string is - properly set - -2012-02-22 15:44:05 -0600 Charles Kerr (92c0175) - - * fix trivial indentation error - -2012-02-22 15:27:56 -0600 Charles Kerr (f688c48) - - * fix trivial misspelling - -2012-02-22 15:25:29 -0600 Charles Kerr (947e415) - - * fix set_accessible_desc() to update the entries' accessible_desc - fields and emit the accessible-desc-changed signal - -2012-02-17 10:46:54 -0500 Ken VanDine (c80b2c6) - - * releasing version 1.90-0ubuntu2 - -2012-02-17 08:34:26 -0600 Charles Kerr (e1c4456) - - * Listen for the "g-properties-changed" signal instead of the - "g-signal" signal from its GDBusProxy to fix bug #933466. - -2012-02-16 15:37:03 -0600 Charles Kerr (94398e2) - - * register for g-properties-changed rather than g-signal - -2012-02-14 23:42:19 +0100 Sebastien Bacher (4dcb232) - - * releasing version 1.90-0ubuntu1 - -2012-02-14 16:26:51 -0600 Ted Gould (b33fcf3) - - * releasing version 1.90-0ubuntu1~ppa1 - -2012-02-14 16:26:21 -0600 Ted Gould (527b493) - - * * New upstream release. * Support for hiding of icon and settings - for it as well * Adding a name hint - -2012-02-14 16:25:10 -0600 Ted Gould (55cbd83) - - * Import upstream version 1.90 - -2012-02-14 16:11:20 -0600 Ted Gould (1651ec1) - - * 1.90 (tag: 1.90) - -2012-02-14 16:11:10 -0600 Ted Gould (e9cd101) - - * Fixing distcheck - -2012-02-14 16:06:04 -0600 Ted Gould (612662f) - - * Make data have it's own makefile so the GSettings rules work - properly on distcheck - -2012-02-14 15:57:17 -0600 Ted Gould (ea4f2d8) - - * Style and performance fixes - -2012-02-14 13:06:16 +0000 Javier Jardón (207267a) - - * Use G_GNUC_CONST for indicator_power_get_type() to improve - performance - -2012-02-14 13:05:41 +0000 Javier Jardón (4a60cd5) - - * Code style fixes - -2012-02-13 16:41:52 -0600 Charles Kerr (16fb53f) - - * add icon-policy from branch - lp:~charlesk/indicator-power/icon-policy - -2012-02-13 14:26:23 -0600 Charles Kerr (aee1300) - - * ensure that we don't have a reference to the proxy or proxy_cancel - fields in indicator_power_dispose(). - -2012-02-13 14:20:34 -0600 Charles Kerr (8be6c2d) - - * move POWER_INDICATOR_ICON_POLICY_* enum to the top of the file - -2012-02-13 14:18:56 -0600 Charles Kerr (0c1e774) - - * remove unncessary private field 'visible' - -2012-02-13 14:15:28 -0600 Charles Kerr (cb4bd9d) - - * consistent use of ICON_POLICY_KEY - -2012-02-13 14:14:09 -0600 Charles Kerr (f7d828a) - - * remove unnecessary G_OBJECT() cast - -2012-02-13 14:10:22 -0600 Charles Kerr (695ba1e) - - * make prototypes for update_visibility() and should_be_visible() - align with the neighboring forward declarations - -2012-02-10 15:51:42 -0600 Ted Gould (c8ccec6) - - * Support building coverage targets - -2012-02-01 23:00:03 -0600 Charles Kerr (4b5ec3d) - - * add support for icon-policy setting - -2012-02-01 22:53:16 -0600 Charles Kerr (f9dc8cc) - - * create the menu at init time s.t. we don't have to keep checking to - see if it exists - -2012-02-01 22:51:26 -0600 Charles Kerr (33beea0) - - * use g_settings_bind() for the show-time checkbox - -2012-02-01 19:33:47 -0600 Charles Kerr (da453ec) - - * better error reporting if g_spawn_command_line_async() fails - -2012-02-01 19:28:39 -0600 Charles Kerr (98a2abe) - - * remove redundant #include of glib.h - -2012-02-01 19:26:30 -0600 Charles Kerr (aacad61) - - * use g_clear_object() on the proxy_cancel field - -2012-02-01 19:24:34 -0600 Charles Kerr (4a6c629) - - * remove unnecessary Priv struct -- the =entire class= is private - -2012-02-01 19:05:08 -0600 Charles Kerr (7cc07d1) - - * remove unused struct names - -2012-02-01 18:58:48 -0600 Charles Kerr (7c8371d) - - * group the indicator_power lifecycle funcs together - -2012-02-01 18:55:19 -0600 Charles Kerr (85a04b4) - - * unref+clear Priv's variant fields in _dispose() - -2012-02-01 18:51:17 -0600 Charles Kerr (17626e1) - - * don't leak priv->settings - -2012-02-01 18:50:19 -0600 Charles Kerr (c63e1db) - - * don't leak priv->accessible_desc - -2012-02-01 18:46:00 -0600 Charles Kerr (aa089d4) - - * remove redundant prototypes - -2012-01-25 09:58:45 -0500 Ken VanDine (1566633) - - * releasing version 0.10-0ubuntu2 - -2012-01-24 22:20:08 -0500 Ken VanDine (ba7c3ca) - - * no change rebuild for libindicator7 - -2011-12-06 19:04:27 -0600 Allan LeSage (b93d786) - - * Added coverage reporting via gcov config and targets. - -2011-11-30 16:03:54 +0000 Marco Trevisan (Treviño) (5e74455) - - * Add name-hint. - -2011-11-08 22:38:58 +0100 Marco Trevisan (Treviño) (c4a85b1) - - * Add name-hint. - -2011-10-24 12:27:33 -0400 Ken VanDine (36b6a7b) - - * releasing version 0.10-0ubuntu1 - -2011-10-24 11:07:53 -0400 Ken VanDine (8541fa2) - - * Import upstream version 0.10 - -2011-10-13 16:15:35 +0100 Javier Jardón (31651dd) - - * 0.10 (tag: 0.10) - -2011-10-13 15:58:27 +0100 Javier Jardón (15c23be) - - * Do not hardcode icon percentage when discharging - -2011-10-13 15:23:49 +0100 Javier Jardón (29f2613) - - * Add support for old name icons - -2011-10-13 14:58:14 +0100 Javier Jardón (305a069) - - * Fix icon creation for UP_DEVICE_STATE_CHARGING state - -2011-10-04 18:51:45 +0100 Javier Jardón (129c0c9) - - * Only show a red icon when we have less than 30 minutes of battery - remainig - -2011-10-03 17:31:35 +0100 Javier Jardón (e1abe62) - - * Use battery-with-a-plug when the batttery is fully charged but - still on AC - -2011-10-03 10:44:23 -0400 Ken VanDine (4518758) - - * releasing version 0.9-0ubuntu2 - -2011-10-03 15:11:52 +0100 Javier Jardón (2d4b6f0) - - * Show non present batteries in the menu - -2011-10-02 18:29:24 +0100 Javier Jardón (f87057a) - - * Add a workaround to fix the case when we get a empty bay as a real - battery - -2011-09-23 14:13:13 -0400 Ken VanDine (f0c76b8) - - * releasing version 0.9-0ubuntu1 - -2011-09-23 13:59:55 -0400 Ken VanDine (861bc3a) - - * * po/POTFILES.in - Fixed gsettings schema filename - -2011-09-23 19:25:33 +0200 Ken VanDine (c550405) - - * Fix POTFILES.in to reflect new gsettings schema filename - -2011-09-23 13:13:42 -0400 Ken VanDine (7b20f91) - - * fixed filename for gsettings schema - -2011-09-23 13:10:03 -0400 Ken VanDine (4596344) - - * * New upstream release. - Use correct dgettext and g_dngettext - calls (LP: #846895) - Ensure we use the same icon for - all charge levels if we are in the charging status - (LP: #824629) - Fix gap when the power indicator is not - show (LP: #842188) - Do not show (charged) in menu title - when fully charged (LP: #850011) - Do not activate - g-s-d, but just watch dbus for g-s-d to appear (LP: - #854717) - -2011-09-23 13:03:11 -0400 Ken VanDine (56dd8ea) - - * Import upstream version 0.9 - -2011-09-23 17:35:01 +0200 Javier Jardón (a93ea52) - - * 0.9 (tag: 0.9) - -2011-09-21 13:55:02 +0200 Javier Jardón (50bee91) - - * Do not activate g-s-d, but just watch dbus for g-s-d to appear - -2011-09-14 15:58:22 +0100 Javier Jardón (8be5a9d) - - * Do not show (charged) in menu title when fully charged - -2011-09-12 14:15:57 +0100 Javier Jardón (8c55038) - - * 0.8 (tag: 0.8) - -2011-09-12 14:13:18 +0100 Javier Jardón (0c0a7b0) - - * Fix a gap in the indicators region when the power indicator is not - show - -2011-09-12 13:59:15 +0100 Javier Jardón (49ac0f5) - - * Use the same icon for all charge levels if we are in the charging - status - -2011-09-11 21:56:51 +0100 Gabor Kelemen (0a74520) - - * Use correct dgettext and g_dngettext calls. LP: #846895 - -2011-09-11 11:32:53 +0200 Gabor Kelemen (8736942) - - * Use correct dgettext and g_dngettext calls. LP: #846895 - -2011-09-08 14:43:46 +0100 Javier Jardón (14adfe5) - - * Handle the case with broken batteries - -2011-09-07 17:21:15 +0100 Javier Jardón (2fb4685) - - * indicator-power.c: Add padding between the icon and the text in the - menu items - -2011-08-25 18:46:15 +0100 Javier Jardón (1c9c777) - - * Use consistent location for gsettings schema - -2011-08-25 09:58:40 -0400 Ken VanDine (589843c) - - * releasing version 0.7-0ubuntu2 - -2011-08-24 11:55:44 +0100 Javier Jardón (bc4d8d4) - - * Fix a memory leak - -2011-08-23 14:44:09 -0400 Ken VanDine (a244894) - - * releasing version 0.7-0ubuntu1 - -2011-08-23 19:39:30 +0100 Javier Jardón (8f2d9f2) - - * Makefile.am: fix typo to include .gschema.xml.in to the dist - -2011-08-23 12:50:05 -0400 Ken VanDine (b72dbbd) - - * * New upstream release. - Use gsettings to store the status of - "Show time in Menu Bar" option (LP: #829853) - - Follow standard alignment of icons in menus (LP: #829697) - - Do not use a space before an ellipsis at the end of a - string. * debian/control - Added build depends for - libglib2.0-dev - -2011-08-23 12:44:57 -0400 Ken VanDine (3751cc4) - - * Import upstream version 0.7 - -2011-08-23 17:40:33 +0100 Javier Jardón (bfa69e3) - - * Fix typo in the gsettings schema: show_time -> show-time - -2011-08-23 14:16:20 +0100 Javier Jardón (b1a5f6e) - - * Release 0.7 (tag: 0.7) - -2011-08-23 14:05:38 +0100 Javier Jardón (e7e437b) - - * Makefile.am: some autotools fixes - -2011-08-22 21:39:04 +0100 Javier Jardón (ad80098) - - * Add gsettings schema to the translatable files - -2011-08-22 20:49:31 +0100 Javier Jardón (b2aec5e) - - * Fix typo in the gsettings schema: show_time -> show-time - -2011-08-22 20:38:36 +0100 Javier Jardón (84735ec) - - * Use gsettings to store the status of "Show time in Menu Bar" option - -2011-08-22 15:40:07 +0100 Javier Jardón (94b05b3) - - * Follow standard alignment of icons in menus - -2011-08-22 12:27:56 +0100 Javier Jardón (bd9dc3e) - - * Do not use a space before an ellipsis at the end of a string. - -2011-08-12 16:19:16 -0400 Ken VanDine (62b88ad) - - * releasing version 0.6-0ubuntu2 - -2011-08-12 21:03:44 +0100 Javier Jardón (37d7b33) - - * Do not show the default icon by default - -2011-08-12 16:00:59 -0400 Ken VanDine (593e1b7) - - * releasing version 0.6-0ubuntu1 - -2011-08-12 20:33:12 +0100 Javier Jardón (d88054a) - - * Free memory in the correct place - -2011-08-12 10:03:39 -0400 Ken VanDine (e6361de) - - * * New upstream release. - Show time left to use without brackets, - time left to charge with brackets. (LP: #824629) - - Fix some memory leaks - Don't show settings links when - used in a greeter - Use a string when the energy source - is not present instead of 0% - only batteries status - icons are allowed in the menu title * debian/rules: - - run intltool-update to update the translations template - (lp: #820705) - -2011-08-12 09:57:46 -0400 Ken VanDine (edfb2ab) - - * Import upstream version 0.6 - -2011-08-12 12:05:04 +0100 Javier Jardón (d5c1b2c) - - * Release 0.6 (tag: 0.6) - -2011-08-12 12:03:14 +0100 Javier Jardón (9c1a5e9) - - * Show time left to use without brackets, time left to charge with - brackets. - -2011-08-11 17:39:21 +0100 Javier Jardón (6322445) - - * Fix some memory leaks - -2011-08-11 17:10:29 +0100 Michael Terry (7a2c59a) - - * Don't show settings links when used in a greeter - -2011-08-11 16:17:29 +0100 Javier Jardón (b36ac87) - - * Use a string when the energy source is not present - -2011-08-11 15:52:41 +0100 Javier Jardón (329ed97) - - * Only batteries can be primary devices - -2011-08-11 14:48:20 +0100 Javier Jardón (68ee93b) - - * Fix some memory leaks - -2011-08-03 13:49:17 -0400 Michael Terry (b62772e) - - * don't show settings links when used in a greeter - -2011-08-03 13:29:34 -0400 Ken VanDine (28e2acb) - - * releasing version 0.5-0ubuntu1 - -2011-08-03 09:59:49 -0400 Ken VanDine (2cb1445) - - * * New upstream release. - Set GETTEXT_PACKAGE to generate proper - templates - Dropped support for gnome-power-manager * - debian/patches/fix_defines.patch - removed, merged - upstream - -2011-08-03 09:30:08 -0400 Ken VanDine (e705925) - - * Import upstream version 0.5 - -2011-08-03 11:42:06 +0100 Javier Jardón (1ad8d1f) - - * Release 0.5 (tag: 0.5) - -2011-08-03 11:39:57 +0100 Javier Jardón (7d7b78e) - - * Do not support the gnome-power-manager dbus interface anymore - -2011-08-03 11:26:00 +0100 Ken VanDine (d58b6ad) - - * Fixed typos on checking for GSD and set the HAVE_GSD defines at - build time - -2011-08-03 11:15:29 +0100 Javier Jardón (5a3da6b) - - * configure.ac: Set GETTEXT_PACKAGE correctly to generate the expect - template - -2011-08-01 08:29:42 -0400 Ken VanDine (df3af54) - - * Set GETTEXT_PACKAGE to generate the expect template - -2011-07-28 15:02:58 -0400 Ken VanDine (6b8997c) - - * releasing version 0.4-0ubuntu3 - -2011-07-28 13:02:28 -0400 Ken VanDine (534616d) - - * fixed a syntax error on checking for GSD and set the HAVE_GSD - defines at build time - -2011-07-28 13:01:35 -0400 Ken VanDine (20013a8) - - * releasing version 0.4-0ubuntu2 - -2011-07-26 16:35:23 -0400 Ken VanDine (f459bee) - - * releasing version 0.4-0ubuntu1 - -2011-07-19 13:02:25 -0400 Ken VanDine (f982b44) - - * - Always select a device (LP: #810872) - Use the dbus interface - provided in g-s-d 3.1.4 * debian/control - Added build - depends for gnome-settings-daemon-dev >= 3.1.4 - -2011-07-19 12:51:34 -0400 Ken VanDine (dc8de37) - - * New upstream release. - -2011-07-19 12:12:26 -0400 Ken VanDine (e9d8efc) - - * Import upstream version 0.4 - -2011-07-18 16:09:41 +0200 Javier Jardón (13d993e) - - * Do not draw a separator between the configuration options in the - menu - -2011-07-18 15:40:17 +0200 Javier Jardón (99c94ac) - - * Use the new D-Bus interface if gnome-settings-daemon is new enough - -2011-07-15 11:43:00 +0200 Javier Jardón (8b03674) - - * Always select a device, doesnt matter Its charging/discharging or - not - -2011-07-15 11:26:50 +0200 Javier Jardón (9a7ee8c) - - * Makefile.am: Pass upower _FLAGS and _LIBS - -2011-07-14 13:00:38 -0400 Ken VanDine (a847f5b) - - * releasing version 0.3-0ubuntu1 - -2011-07-14 11:10:43 -0400 Ken VanDine (f4706f0) - - * * New upstream release. - Refine the text of the items in the + * releasing version 0.3-0ubuntu1 (a847f5b) + * New upstream release. - Refine the text of the items in the menu to follow the specification - Draw option checkbox as check, not radio - Show the apropiate icon depending of the status of the devices Create new function to - store the logic to put the primary device - -2011-07-14 11:04:21 -0400 Ken VanDine (b891e8b) - - * Import upstream version 0.3 - -2011-07-14 16:25:14 +0200 Javier Jardón (d442569) - - * Do not show the device name in the menu title - -2011-07-14 16:22:10 +0200 Javier Jardón (74a0c13) - - * Release 0.3 (tag: 0.3) - -2011-07-14 16:19:55 +0200 Javier Jardón (0cdc5de) - - * Show "X (charged)" if it is fully charged and not discharging - -2011-07-14 15:13:29 +0200 Javier Jardón (ad01db7) - - * Only show the remaining time if it is discharging with less than 12 - hours left - -2011-07-14 15:03:26 +0200 Javier Jardón (cabdda6) - - * Refine the text of the items in the menu to follow the - specification - -2011-07-14 13:19:24 +0200 Michael Terry (f152ea5) - - * Draw option checkbox as check, not radio - -2011-07-14 12:52:28 +0200 Javier Jardón (d104cd9) - - * Show the apropiate icon depending of the status of the devices - -2011-07-13 15:13:46 -0400 Michael Terry (af2a417) - - * draw option checkbox as check, not radio - -2011-07-13 15:56:25 +0200 Javier Jardón (4bd6548) - - * Create new function to store the logic to put the primary device - -2011-07-08 10:05:25 -0400 Ken VanDine (f3fe8b3) - - * releasing version 0.2-0ubuntu1 - -2011-07-08 09:59:03 -0400 Ken VanDine (539a65b) - - * New upstream release. - -2011-07-08 09:58:13 -0400 Ken VanDine (502f3f9) - - * Import upstream version 0.2 - -2011-07-08 14:39:48 +0100 Javier Jardón (7652767) - - * configure.ac: Add support for the new indicator3-0.4 - -2011-07-08 14:34:45 +0100 Javier Jardón (aefbd30) - - * configure.ac: Remove dbus service stuff - -2011-07-07 14:22:03 -0400 Ken VanDine (7c7458b) - - * releasing version 0.1-0ubuntu1 - -2011-07-07 14:12:06 -0400 Ken VanDine (0ad0de3) - - * Import upstream version 0.1 - -2011-07-07 18:55:03 +0100 unknown (4713039) - - * Packaging fixes - -2011-07-07 13:34:52 -0400 Ken VanDine (d215c71) - - * include creating .tar.gz dists as well, we still use these for - packaging - -2011-07-07 13:34:29 -0400 Ken VanDine (843a1ad) - - * Added COPYING file - -2011-07-07 13:23:00 -0400 Ken VanDine (5464206) - - * Removed cruft, we don't include a service - -2011-07-07 18:12:36 +0100 Javier Jardón (45f9aac) - - * Do not use indicator_image_helper() - -2011-07-07 14:43:57 +0100 Javier Jardón (9b83f48) - - * Add support for multiple devices in the menu - -2011-07-07 14:15:23 +0100 Javier Jardón (864d4bd) - - * configure.ac: We only support GTK+3 - -2011-07-07 13:42:12 +0100 Javier Jardón (86e4b38) - - * Get all the available devices instead the primary one - -2011-07-06 11:47:30 +0100 Javier Jardon (5db47ca) - - * Use the 'missing' icon instead the 'empty' icon by default - -2011-07-06 11:12:34 +0100 Ted Gould (2cfdbd8) - - * Little things to make distcheck pass. - -2011-07-05 11:25:50 -0500 Ted Gould (0ba5df9) - - * Getting missing out of build-aux - -2011-07-05 10:46:29 -0500 Ted Gould (28a27ee) - - * Dropping missing because it's missing - -2011-07-05 10:35:36 -0500 Ted Gould (e6ea966) - - * Putting in Dummy files for the build scripts - -2011-07-05 10:35:24 -0500 Ted Gould (0ee90af) - - * Fixing a cut-and-paste error on POTFILES.in - -2011-07-05 16:27:25 +0100 Javier Jardon (8168150) - - * Always show 2 digits for the minutes - -2011-07-05 15:58:26 +0100 Javier Jardon (2957a0b) - - * Fix typo - -2011-07-05 15:57:49 +0100 Javier Jardon (fb991e3) - - * Use a bigger icon for the menu items - -2011-07-05 15:56:19 +0100 Javier Jardon (e0806a7) - - * Use the correct string for the menu item icon - -2011-07-05 15:49:19 +0100 Javier Jardon (70ebe79) - - * Do not create a new GtkMenu instance with every change - -2011-07-05 15:47:24 +0100 Javier Jardon (fed51c1) - - * Do not use the notify:visible signal to update the menu - -2011-07-05 14:44:26 +0100 Javier Jardon (0dce7db) - - * Add po/Makevars file - -2011-07-05 13:34:20 +0100 Javier Jardon (b24a9bd) - - * Add translatable files to POTFILES.in - -2011-07-05 12:50:30 +0100 Javier Jardón (7c3ed59) - - * Remove debug output - -2011-07-05 11:47:31 +0100 Javier Jardón (4de5875) - - * Store the current device in the private structure - -2011-07-05 11:47:28 +0100 Javier Jardón (fe2b41f) - - * notify signal - -2011-07-04 16:48:53 +0100 Javier Jardón (453148a) - - * Add real info in the menu item - -2011-07-04 16:45:40 +0100 Javier Jardón (40b045d) - - * Rebuild menu when there is a change in the DBUS interface - -2011-07-04 16:41:09 +0100 Javier Jardón (a6b0041) - - * Move callbacks to the beginning of the file - -2011-07-04 15:45:01 +0100 Javier Jardón (dd26fa3) - - * Construct the time details in a separate function - -2011-07-04 12:47:09 +0100 Javier Jardón (f29bcda) - - * Build menu dynamically - -2011-07-01 23:48:23 +0100 Javier Jardón (420e84d) - - * Bump version to 0.1 - -2011-07-01 23:48:23 +0100 Javier Jardón (499a09e) - - * configure.ac: advertise if this is a local build - -2011-07-01 23:48:23 +0100 Javier Jardón (73d6282) - - * configure.ac: Remove the GTK+2 support - -2011-07-01 15:22:50 +0100 Javier Jardón (a3ebc78) - - * configure.ac: Remove not used ido dependency - -2011-07-01 15:03:41 +0100 Javier Jardón (95eb2b5) - - * Add some more kind of devices - -2011-07-01 13:27:15 +0100 Javier Jardón (942311b) - - * Do not show the device name in the menu title - -2011-07-01 12:20:00 +0100 Javier Jardón (c38905e) - - * Activate the use of icons in the menu - -2011-07-01 12:01:09 +0100 Javier Jardón (637b5cd) - - * Use "Battery" instead "Laptop Battery" - -2011-07-01 11:51:12 +0100 Javier Jardón (866c7d3) - - * Return the correct accessible description - -2011-07-01 11:37:31 +0100 Javier Jardón (6d4b1e0) - - * Use the short time string in the label - -2011-07-01 11:23:33 +0100 Javier Jardón (353d27d) - - * Get also a short time string - -2011-07-01 10:53:42 +0100 Javier Jardón (10050d9) - - * Add device name to the label - -2011-06-30 17:45:22 +0100 Javier Jardón (2d3206b) - - * Show the real information about the remaining charge time - -2011-06-30 17:14:44 +0100 Javier Jardón (ad775de) - - * Show the remaining time in the status icon depending of the check - menu item status - -2011-06-30 16:16:21 +0100 Javier Jardón (07ef8e0) - - * Remove "Icon Only" option - -2011-06-30 13:10:00 +0100 Javier Jardón (0f3b20e) - - * gnome-power-preferences has been moved to gnome-control-center - -2011-06-30 12:11:30 +0100 Javier Jardón (7df8806) - - * Specify what icon we want to show - -2011-06-30 11:49:20 +0100 Javier Jardón (950c5a0) - - * Update the icon, not create a new one - -2011-06-30 11:28:21 +0100 Javier Jardón (10313d3) - - * Fix default icon - -2011-06-30 11:01:24 +0100 Javier Jardón (59ac588) - - * Use device_icon name consistently - -2011-06-30 00:18:37 +0100 Javier Jardón (363df28) + store the logic to put the primary device (f4706f0) + * Import upstream version 0.3 (b891e8b) - * Change the status icon when the charge changes +2011-07-14 Javier Jardón -2011-06-29 17:12:37 +0100 Javier Jardón (5b5a987) + * Do not show the device name in the menu title (d442569) + * Release 0.3 (74a0c13) (tag: 0.3) + * Show "X (charged)" if it is fully charged and not discharging + (0cdc5de) + * Only show the remaining time if it is discharging with less than 12 + hours left (ad01db7) + * Refine the text of the items in the menu to follow the + specification (cabdda6) - * Make the check menu items look like a radio menu item. +2011-07-14 Michael Terry -2011-06-29 17:11:40 +0100 Javier Jardón (d049d2f) + * Draw option checkbox as check, not radio (f152ea5) - * Add options to the indicator menu +2011-07-14 Javier Jardón -2011-06-29 16:43:38 +0100 Javier Jardón (b701513) + * Show the apropiate icon depending of the status of the devices + (d104cd9) - * Show the power statistics when click on the device menu item +2011-07-13 Michael Terry -2011-06-29 16:43:38 +0100 Javier Jardón (b1d0f0e) + * draw option checkbox as check, not radio (af2a417) - * Populate menu: Add preferences menu item +2011-07-13 Javier Jardón -2011-06-28 17:23:05 +0100 Javier Jardón (3774122) + * Create new function to store the logic to put the primary device + (4bd6548) - * Fix typo +2011-07-08 Ken VanDine -2011-06-28 16:49:09 +0100 Javier Jardón (88ee892) + * releasing version 0.2-0ubuntu1 (f3fe8b3) + * New upstream release. (539a65b) + * Import upstream version 0.2 (502f3f9) - * Process the data received from the gnome-power-manager service +2011-07-08 Javier Jardón -2011-06-28 16:05:23 +0100 Javier Jardón (8c9abf2) + * configure.ac: Add support for the new indicator3-0.4 (7652767) + * configure.ac: Remove dbus service stuff (aefbd30) - * indicator-power: connect to the gnome-power-manager service - directly +2011-07-07 Ken VanDine -2011-06-28 16:03:17 +0100 Javier Jardón (1e55136) + * releasing version 0.1-0ubuntu1 (7c7458b) + * Import upstream version 0.1 (0ad0de3) - * Remove dbus interface in the client side +2011-07-07 unknown -2011-06-28 16:03:17 +0100 Javier Jardón (ce435ff) + * Packaging fixes (4713039) - * Remove libido dependency +2011-07-07 Ken VanDine -2011-06-28 16:03:17 +0100 Javier Jardón (a749786) + * include creating .tar.gz dists as well, we still use these for + packaging (d215c71) + * Added COPYING file (843a1ad) + * Removed cruft, we don't include a service (5464206) - * Remove power service for now +2011-07-07 Javier Jardón -2011-06-28 09:33:39 +0100 Javier Jardón (dcec51a) + * Do not use indicator_image_helper() (45f9aac) + * Add support for multiple devices in the menu (9b83f48) + * configure.ac: We only support GTK+3 (864d4bd) + * Get all the available devices instead the primary one (86e4b38) - * indicator-power: Create the proxy for the service +2011-07-06 Javier Jardon -2011-06-27 17:43:33 +0100 Javier Jardón (6be2b92) + * Use the 'missing' icon instead the 'empty' icon by default + (5db47ca) - * configure.ac: Remove vala dependency +2011-07-06 Ted Gould -2011-06-27 17:41:09 +0100 Javier Jardón (8775e20) + * Little things to make distcheck pass. (2cfdbd8) - * Change copyright to Canonical Ltd +2011-07-05 Ted Gould -2011-06-27 16:45:26 +0100 Javier Jardón (65ab8e5) + * Getting missing out of build-aux (0ba5df9) + * Dropping missing because it's missing (28a27ee) + * Putting in Dummy files for the build scripts (e6ea966) + * Fixing a cut-and-paste error on POTFILES.in (0ee90af) - * Implement power dbus service interface +2011-07-05 Javier Jardon -2011-06-27 12:19:09 +0100 Javier Jardón (e9f91cf) + * Always show 2 digits for the minutes (8168150) + * Fix typo (2957a0b) + * Use a bigger icon for the menu items (fb991e3) + * Use the correct string for the menu item icon (e0806a7) + * Do not create a new GtkMenu instance with every change (70ebe79) + * Do not use the notify:visible signal to update the menu (fed51c1) + * Add po/Makevars file (0dce7db) + * Add translatable files to POTFILES.in (b24a9bd) - * power-service: Add more items to the menu +2011-07-05 Javier Jardón -2011-06-27 11:55:30 +0100 Javier Jardón (998509e) + * Remove debug output (7c3ed59) + * Store the current device in the private structure (4de5875) + * notify signal (fe2b41f) - * power-service: No need for a global variable +2011-07-04 Javier Jardón -2011-06-27 09:53:33 +0100 Javier Jardón (f348430) + * Add real info in the menu item (453148a) + * Rebuild menu when there is a change in the DBUS interface (40b045d) + * Move callbacks to the beginning of the file (a6b0041) + * Construct the time details in a separate function (dd26fa3) + * Build menu dynamically (f29bcda) - * Fix some typos +2011-07-01 Javier Jardón -2011-06-27 04:09:40 +0100 Javier Jardón (10f1e36) + * Bump version to 0.1 (420e84d) + * configure.ac: advertise if this is a local build (499a09e) + * configure.ac: Remove the GTK+2 support (73d6282) + * configure.ac: Remove not used ido dependency (a3ebc78) + * Add some more kind of devices (95eb2b5) + * Do not show the device name in the menu title (942311b) + * Activate the use of icons in the menu (c38905e) + * Use "Battery" instead "Laptop Battery" (637b5cd) + * Return the correct accessible description (866c7d3) + * Use the short time string in the label (6d4b1e0) + * Get also a short time string (353d27d) + * Add device name to the label (10050d9) - * power-service: Add an item to the menu +2011-06-30 Javier Jardón -2011-06-27 04:00:08 +0100 Javier Jardón (09c4a91) + * Show the real information about the remaining charge time (2d3206b) + * Show the remaining time in the status icon depending of the check + menu item status (ad775de) + * Remove "Icon Only" option (07ef8e0) + * gnome-power-preferences has been moved to gnome-control-center + (0f3b20e) + * Specify what icon we want to show (7df8806) + * Update the icon, not create a new one (950c5a0) + * Fix default icon (10313d3) + * Use device_icon name consistently (59ac588) + * Change the status icon when the charge changes (363df28) - * Implement skeleton of power-service +2011-06-29 Javier Jardón -2011-06-27 03:32:11 +0100 Javier Jardón (c6c1156) + * Make the check menu items look like a radio menu item. (5b5a987) + * Add options to the indicator menu (d049d2f) + * Show the power statistics when click on the device menu item + (b701513) + * Populate menu: Add preferences menu item (b1d0f0e) - * Implement skeleton of indicator-power +2011-06-28 Javier Jardón -2011-06-24 15:42:53 +0100 Javier Jardón (05c4272) + * Fix typo (3774122) + * Process the data received from the gnome-power-manager service + (88ee892) + * indicator-power: connect to the gnome-power-manager service + directly (8c9abf2) + * Remove dbus interface in the client side (1e55136) + * Remove libido dependency (ce435ff) + * Remove power service for now (a749786) + * indicator-power: Create the proxy for the service (dcec51a) - * Some build fixes +2011-06-27 Javier Jardón -2011-06-24 15:25:17 +0100 Javier Jardón (e2d0b04) + * configure.ac: Remove vala dependency (6be2b92) + * Change copyright to Canonical Ltd (8775e20) + * Implement power dbus service interface (65ab8e5) + * power-service: Add more items to the menu (e9f91cf) + * power-service: No need for a global variable (998509e) + * Fix some typos (f348430) + * power-service: Add an item to the menu (10f1e36) + * Implement skeleton of power-service (09c4a91) + * Implement skeleton of indicator-power (c6c1156) - * Initial commit +2011-06-24 Javier Jardón + * Some build fixes (05c4272) + * Initial commit (e2d0b04) diff -Nru ayatana-indicator-power-2.1.2/cmake/GdbusCodegen.cmake ayatana-indicator-power-2.2.0/cmake/GdbusCodegen.cmake --- ayatana-indicator-power-2.1.2/cmake/GdbusCodegen.cmake 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/cmake/GdbusCodegen.cmake 2021-11-17 15:50:02.000000000 +0000 @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.13) if(POLICY CMP0011) cmake_policy(SET CMP0011 NEW) endif(POLICY CMP0011) diff -Nru ayatana-indicator-power-2.1.2/cmake/UseGSettings.cmake ayatana-indicator-power-2.2.0/cmake/UseGSettings.cmake --- ayatana-indicator-power-2.1.2/cmake/UseGSettings.cmake 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/cmake/UseGSettings.cmake 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -# GSettings.cmake, CMake macros written for Marlin, feel free to re-use them. - -macro(add_schema SCHEMA_NAME) - - set(PKG_CONFIG_EXECUTABLE pkg-config) - set(GSETTINGS_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/glib-2.0/schemas") - - # Run the validator and error if it fails - execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE _glib_compile_schemas OUTPUT_STRIP_TRAILING_WHITESPACE) - execute_process (COMMAND ${_glib_compile_schemas} --dry-run --schema-file=${SCHEMA_NAME} ERROR_VARIABLE _schemas_invalid OUTPUT_STRIP_TRAILING_WHITESPACE) - - if (_schemas_invalid) - message (SEND_ERROR "Schema validation error: ${_schemas_invalid}") - endif (_schemas_invalid) - - # Actually install and recomple schemas - message (STATUS "${GSETTINGS_DIR} is the GSettings install dir") - install (FILES ${SCHEMA_NAME} DESTINATION ${GSETTINGS_DIR} OPTIONAL) - - install (CODE "message (STATUS \"Compiling GSettings schemas\")") - install (CODE "execute_process (COMMAND ${_glib_compile_schemas} ${GSETTINGS_DIR})") -endmacro() - diff -Nru ayatana-indicator-power-2.1.2/CMakeLists.txt ayatana-indicator-power-2.2.0/CMakeLists.txt --- ayatana-indicator-power-2.1.2/CMakeLists.txt 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/CMakeLists.txt 2021-11-17 15:50:02.000000000 +0000 @@ -1,12 +1,31 @@ project(ayatana-indicator-power C CXX) -cmake_minimum_required(VERSION 2.8.9) +cmake_minimum_required(VERSION 3.13) + +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE) +endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) -set(PROJECT_VERSION "2.1.2") +set(PROJECT_VERSION "2.2.0") set(PACKAGE ${CMAKE_PROJECT_NAME}) -option (enable_tests "Build the package's automatic tests." ON) +# Options +option(ENABLE_TESTS "Enable all tests and checks" OFF) +option(ENABLE_COVERAGE "Enable coverage reports (includes enabling all tests and checks)" OFF) +option(ENABLE_WERROR "Treat all build warnings as errors" OFF) + +if(ENABLE_COVERAGE) + set(ENABLE_TESTS ON) + set(CMAKE_BUILD_TYPE "Coverage") +else() + set(CMAKE_BUILD_TYPE "Release") +endif() + +if(ENABLE_WERROR) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") +endif() ## ## GNU standard installation directories @@ -21,13 +40,21 @@ ## set(GETTEXT_PACKAGE "ayatana-indicator-power") -add_definitions (-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" - -DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}") +add_definitions( + -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" + -DG_LOG_DOMAIN="${GETTEXT_PACKAGE}" + -DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}" + -DLOW_BATTERY_SOUND="Low battery.ogg" +) ## ## Check for prerequisites ## +set(SERVICE_LIB "ayatanaindicatorpowerservice") +set(SERVICE_EXEC "ayatana-indicator-power-service") +add_definitions(-DSERVICE_EXEC="${SERVICE_EXEC}") + find_package (PkgConfig REQUIRED) include (CheckIncludeFile) include (FindPkgConfig) @@ -36,16 +63,17 @@ glib-2.0>=2.36 gio-2.0>=2.36 gio-unix-2.0>=2.36 - libnotify>=0.7.6) + libnotify>=0.7.6 + libayatana-common>=0.9.1) include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS}) -set(URL_DISPATCHER_1_REQUIRED_VERSION 1) -pkg_check_modules( - URLDISPATCHER - url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION} -) -include_directories(${URLDISPATCHER_INCLUDE_DIRS}) +if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml") + set (HAS_LOMIRI_ACCTSERVICE_SOUND ON) + add_definitions ( -DHAS_LOMIRI_ACCTSERVICE_SOUND ) +else() + set (HAS_LOMIRI_ACCTSERVICE_SOUND OFF) +endif() ## ## custom targets @@ -84,13 +112,21 @@ # testing & coverage -if (${enable_tests}) +if (ENABLE_TESTS) enable_testing () add_subdirectory(tests) - find_package(CoverageReport) - ENABLE_COVERAGE_REPORT( - TARGETS ${SERVICE_LIB} ${SERVICE_EXEC} - TESTS ${COVERAGE_TEST_TARGETS} - FILTER /usr/include ${CMAKE_BINARY_DIR}/* - ) + if (ENABLE_COVERAGE) + find_package(CoverageReport) + ENABLE_COVERAGE_REPORT( + TARGETS ${SERVICE_LIB} ${SERVICE_EXEC} + TESTS ${COVERAGE_TEST_TARGETS} + FILTER /usr/include ${CMAKE_BINARY_DIR}/* + ) + endif () endif () + +# Display config info + +message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}") +message(STATUS "Unit tests: ${ENABLE_TESTS}") +message(STATUS "Build with -Werror: ${ENABLE_WERROR}") diff -Nru ayatana-indicator-power-2.1.2/data/CMakeLists.txt ayatana-indicator-power-2.2.0/data/CMakeLists.txt --- ayatana-indicator-power-2.1.2/data/CMakeLists.txt 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/data/CMakeLists.txt 2021-11-17 15:50:02.000000000 +0000 @@ -2,17 +2,18 @@ ## GSettings schema ## -include (UseGSettings) set (SCHEMA_NAME "org.ayatana.indicator.power.gschema.xml") set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}") set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in") # generate the .xml file using intltool +find_package(Intltool REQUIRED) set (ENV{LC_ALL} "C") -execute_process (COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${SCHEMA_FILE_IN}" "${SCHEMA_FILE}") +intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) -# let UseGSettings do the rest -add_schema (${SCHEMA_FILE}) +# let GSettings do the rest +find_package(GSettings REQUIRED) +add_schema (${SCHEMA_NAME}) ## ## Systemd Unit File @@ -68,3 +69,12 @@ install (FILES "${AYATANA_INDICATOR_FILE}" DESTINATION "${AYATANA_INDICATOR_DIR}") + +## +## Sounds +## + +# where to install +set (DATA_HOME "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}") +message (STATUS "${DATA_HOME} is the sounds/ install dir") +install (DIRECTORY sounds DESTINATION ${DATA_HOME}) Binary files /tmp/tmpz2b0foi2/aNMySZRoec/ayatana-indicator-power-2.1.2/data/sounds/Low battery.ogg and /tmp/tmpz2b0foi2/abrntwJkHG/ayatana-indicator-power-2.2.0/data/sounds/Low battery.ogg differ diff -Nru ayatana-indicator-power-2.1.2/debian/changelog ayatana-indicator-power-2.2.0/debian/changelog --- ayatana-indicator-power-2.1.2/debian/changelog 2021-02-03 10:21:20.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/changelog 2021-11-18 14:49:02.000000000 +0000 @@ -1,3 +1,25 @@ +ayatana-indicator-power (2.2.0-1) unstable; urgency=medium + + * New upstream release. + * debian/patches: + + Drop 0001_lomiri-url-dispatcher.patch. Replaced otherwise in this + upstream release. + * debian/copyright: + + Update auto-generated copyright.in reference file. + + Update copyright attributions. + + Drop comment for po/*.po. Not applicable anymore. + * debian/rules: + + Adjust for upstream release 2.2.0. + * debian/control: + + Bump Standards-Version: to 4.6.0. No changes needed. + + Drop B-D on liblomiri-url-dispatcher-dev. + + Add B-D on libayatana-common-dev instead. + + Update S: field (for XFCE, for Budgie). + * debian/upstream/metadata: + + Update points of contact, put UBports Foundation in Donation: field. + + -- Mike Gabriel Thu, 18 Nov 2021 15:49:02 +0100 + ayatana-indicator-power (2.1.2-1) unstable; urgency=medium * New upstream release. diff -Nru ayatana-indicator-power-2.1.2/debian/control ayatana-indicator-power-2.2.0/debian/control --- ayatana-indicator-power-2.1.2/debian/control 2021-02-03 10:21:20.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/control 2021-11-18 14:12:05.000000000 +0000 @@ -11,7 +11,7 @@ lcov, libnotify-dev (>= 0.7.6), libglib2.0-dev (>= 2.36), - liblomiri-url-dispatcher-dev (>= 0.1), + libayatana-common-dev (>= 0.9.5), # for packaging debhelper-compat (= 13), dpkg-dev (>= 1.16.1.1), @@ -25,7 +25,7 @@ libdbustest1-dev, # for systemd unit systemd [linux-any], -Standards-Version: 4.5.1 +Standards-Version: 4.6.0 Rules-Requires-Root: no Homepage: https://github.com/AyatanaIndicators/ayatana-indicator-power Vcs-Git: https://salsa.debian.org/debian-ayatana-team/ayatana-indicator-power.git @@ -41,8 +41,8 @@ zenity, Suggests: powerd, unity-system-compositor (>= 0.0.4), - unity-control-center | mate-control-center | ubuntu-system-settings, - switchboard-plug-power | xfce4-power-manager | mate-power-manager, + mate-control-center | xfce4-settings | unity-control-center | gnome-control-center (>= 3.1), + mate-power-manager | xfce4-power-manager | switchboard-plug-power | gnome-power-statistics, Breaks: indicator-power, Replaces: indicator-power, Description: Ayatana Indicator showing power state diff -Nru ayatana-indicator-power-2.1.2/debian/copyright ayatana-indicator-power-2.2.0/debian/copyright --- ayatana-indicator-power-2.1.2/debian/copyright 2021-02-03 10:21:20.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/copyright 2021-11-18 14:49:02.000000000 +0000 @@ -3,14 +3,16 @@ Upstream-Contact: Ayatana Indicator Power Source: https://github.com/AyatanaIndicators/ayatana-indicator-power -Files: AUTHORS +Files: .build.yml + .travis.yml + AUTHORS CMakeLists.txt ChangeLog - MERGE-REVIEW + INSTALL.md NEWS NEWS.Canonical + README.md cmake/GdbusCodegen.cmake - cmake/UseGSettings.cmake data/CMakeLists.txt data/ayatana-indicator-power.desktop.in data/ayatana-indicator-power.service.in @@ -18,12 +20,13 @@ data/org.ayatana.indicator.power.Battery.xml data/org.ayatana.indicator.power.Testing.xml data/org.ayatana.indicator.power.gschema.xml.in + data/sounds/Low*battery.ogg po/CMakeLists.txt + po/LINGUAS po/Makevars po/POTFILES.in - po/LINGUAS src/CMakeLists.txt - src/com.canonical.powerd.xml + src/com.lomiri.Repowerd.xml tests/CMakeLists.txt tests/manual Copyright: 2011-2016, Canonical Ltd. @@ -36,13 +39,10 @@ po/ayatana-indicator-power.pot Copyright: 2017, THE PACKAGE'S COPYRIGHT HOLDER License: GPL-3 -Comment: - The po/Makevars file alludes that the Arctica Project is copyright holder. - This is false and got amended on the upstream side with commit: - https://github.com/AyatanaIndicators/ayatana-indicator-power/commit/5fac6a9beffa5ba50dd72c9e2e2054dc25785fb6 -Files: src/brightness.c - src/brightness.h +Files: src/brightness.h + src/datafiles.c + src/datafiles.h src/dbus-shared.h src/device-provider-mock.c src/device-provider-mock.h @@ -51,21 +51,23 @@ src/device-provider.c src/device-provider.h src/main.c - src/notifier.c + src/device.h src/notifier.h - src/service.c src/service.h src/testing.c src/testing.h tests/glib-fixture.h tests/test-dbus-listener.cc tests/test-device.cc - tests/test-notify.cc + tests/test-service.cc Copyright: 2011, Canonical Ltd. 2012, Canonical Ltd. 2012-2016, Canonical Ltd. 2013, Canonical Ltd. + 2013-2016, Canonical Ltd. 2014, Canonical Ltd. + 2014-2016, Canonical Ltd. + 2016, Canonical Ltd. License: GPL-3 Files: src/flashlight.c @@ -76,20 +78,28 @@ Files: src/utils.c Copyright: 2013, Canonical Ltd. 2018, Mike Gabriel + 2021, Robert Tari License: GPL-3 Files: src/utils.h Copyright: 2018, Mike Gabriel + 2021, Robert Tari License: GPL-3 -Files: src/device.c - src/device.h -Copyright: 2012, Canonical Ltd. +Files: src/service.c +Copyright: 2013-2016, Canonical Ltd. + 2021, AyatanaIndicators License: GPL-3 -Files: tests/test-service.cc -Copyright: 2013, Canonical Ltd. -License: GPL-3 +Files: src/brightness.c + src/device.c + src/notifier.c + tests/test-notify.cc +Copyright: 2012, Canonical Ltd. + 2014, Canonical Ltd. + 2014-2016, Canonical Ltd. + 2021, Robert Tari +License: GPL-3 Files: update-po.sh update-pot.sh @@ -98,7 +108,7 @@ Files: debian/* Copyright: 2011 Ken VanDine - 2015-2017, Mike Gabriel + 2015-2021, Mike Gabriel License: GPL-2+ License: GPL-2+ diff -Nru ayatana-indicator-power-2.1.2/debian/copyright.in ayatana-indicator-power-2.2.0/debian/copyright.in --- ayatana-indicator-power-2.1.2/debian/copyright.in 2019-11-21 10:23:18.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/copyright.in 2021-11-18 14:12:38.000000000 +0000 @@ -127,21 +127,17 @@ Files: CMakeLists.txt ChangeLog - MERGE-REVIEW + INSTALL.md NEWS NEWS.Canonical cmake/GdbusCodegen.cmake - cmake/UseGSettings.cmake data/CMakeLists.txt - data/ayatana-indicator-power.conf.in data/ayatana-indicator-power.desktop.in - data/ayatana-indicator-power.override data/ayatana-indicator-power.service.in data/org.ayatana.indicator.power data/org.ayatana.indicator.power.Battery.xml data/org.ayatana.indicator.power.Testing.xml data/org.ayatana.indicator.power.gschema.xml.in - debian/compat debian/control debian/files debian/patches/README @@ -153,14 +149,17 @@ po/CMakeLists.txt po/LINGUAS po/POTFILES.in - src/com.canonical.powerd.xml + src/CMakeLists.txt + src/com.lomiri.Repowerd.xml + tests/CMakeLists.txt tests/manual Copyright: NONE License: UNKNOWN FIXME -Files: src/brightness.c - src/brightness.h +Files: src/brightness.h + src/datafiles.c + src/datafiles.h src/dbus-shared.h src/device-provider-mock.c src/device-provider-mock.h @@ -168,8 +167,8 @@ src/device-provider-upower.h src/device-provider.c src/device-provider.h + src/device.h src/main.c - src/notifier.c src/notifier.h src/service.c src/service.h @@ -179,46 +178,64 @@ tests/glib-fixture.h tests/test-dbus-listener.cc tests/test-device.cc - tests/test-notify.cc + tests/test-service.cc Copyright: 2012, Canonical Ltd. 2012-2016, Canonical Ltd. 2013, Canonical Ltd. + 2013-2016, Canonical Ltd. 2014, Canonical Ltd. -License: GPL (v3) + 2014-2016, Canonical Ltd. + 2016, Canonical Ltd. +License: GNU General Public License, Version 3 + FIXME + +Files: po/aa.po + po/as.po + po/ayatana-indicator-power.pot + po/csb.po + po/dv.po + po/fur.po + po/gv.po + po/it_CARES.po + po/kmr.po + po/mk.po + po/ny.po + po/sdh.po + po/ta_LK.po + po/tt.po + po/vec.po + po/wo.po + po/zh_LATN@pinyin.po +Copyright: YEAR THE PACKAGE'S COPYRIGHT HOLDER +License: UNKNOWN FIXME -Files: src/CMakeLists.txt - tests/CMakeLists.txt -Copyright: NONE -License: GENERATED FILE +Files: src/brightness.c + src/device.c + src/notifier.c + tests/test-notify.cc +Copyright: 2012, Canonical Ltd. + 2014, Canonical Ltd. + 2014-2016, Canonical Ltd. + 2021, Robert Tari +License: GNU General Public License, Version 3 FIXME Files: update-po.sh update-pot.sh Copyright: 2017, Mike Gabriel -License: GPL (v3) +License: GNU General Public License, Version 3 FIXME Files: src/flashlight.c src/flashlight.h Copyright: 2017, The UBports project -License: GPL (v3) - FIXME - -Files: src/device.c - src/device.h -Copyright: 2012, Canonical Ltd. -License: GPL (v3.0) +License: GNU General Public License, Version 3 FIXME Files: src/utils.h Copyright: NONE -License: GPL (v3) - FIXME - -Files: tests/test-service.cc -Copyright: 2013, Canonical Ltd. -License: GPL (v3) GENERATED FILE +License: GNU General Public License, Version 3 FIXME Files: COPYING @@ -231,8 +248,8 @@ License: UNKNOWN FIXME -Files: po/ayatana-indicator-power.pot -Copyright: YEAR THE PACKAGE'S COPYRIGHT HOLDER +Files: README.md +Copyright: See COPYING and AUTHORS file in this project. / License: UNKNOWN FIXME @@ -246,3 +263,8 @@ License: UNKNOWN FIXME +Files: AUTHORS +Copyright: rcio Cordeiro +License: UNKNOWN + FIXME + diff -Nru ayatana-indicator-power-2.1.2/debian/patches/0001_lomiri-url-dispatcher.patch ayatana-indicator-power-2.2.0/debian/patches/0001_lomiri-url-dispatcher.patch --- ayatana-indicator-power-2.1.2/debian/patches/0001_lomiri-url-dispatcher.patch 2021-02-03 10:17:52.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/patches/0001_lomiri-url-dispatcher.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -From 828e139dac7d72be2dc8e1b3757393a52189fd1e Mon Sep 17 00:00:00 2001 -From: Mike Gabriel -Date: Wed, 3 Feb 2021 10:30:09 +0100 -Subject: [PATCH 1/2] Port from URL Dispatcher to Lomiri URL Dispatcher. - ---- - CMakeLists.txt | 4 ++-- - src/utils.c | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e7c62c7..b78a69e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -40,10 +40,10 @@ pkg_check_modules(SERVICE_DEPS REQUIRED - - include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS}) - --set(URL_DISPATCHER_1_REQUIRED_VERSION 1) -+set(URL_DISPATCHER_REQUIRED_VERSION 0) - pkg_check_modules( - URLDISPATCHER -- url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION} -+ lomiri-url-dispatcher>=${URL_DISPATCHER_REQUIRED_VERSION} - ) - include_directories(${URLDISPATCHER_INCLUDE_DIRS}) - -diff --git a/src/utils.c b/src/utils.c -index 96a9b1b..82c5cf7 100644 ---- a/src/utils.c -+++ b/src/utils.c -@@ -22,7 +22,7 @@ - #include "utils.h" - - #ifdef HAS_URLDISPATCHER --# include -+# include - #endif - - /* Run a particular program based on an activation */ -@@ -96,7 +96,7 @@ utils_handle_settings_request (void) - #ifdef HAS_URLDISPATCHER - if (g_getenv ("MIR_SOCKET") != NULL) - { -- url_dispatch_send("settings:///system/battery", NULL, NULL); -+ lomiri_url_dispatch_send("settings:///system/battery", NULL, NULL); - return; - } - else --- -2.30.0 diff -Nru ayatana-indicator-power-2.1.2/debian/patches/series ayatana-indicator-power-2.2.0/debian/patches/series --- ayatana-indicator-power-2.1.2/debian/patches/series 2021-02-03 10:17:57.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -0001_lomiri-url-dispatcher.patch diff -Nru ayatana-indicator-power-2.1.2/debian/rules ayatana-indicator-power-2.2.0/debian/rules --- ayatana-indicator-power-2.1.2/debian/rules 2018-08-20 14:48:12.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/rules 2021-11-18 14:03:08.000000000 +0000 @@ -10,9 +10,17 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +DEB_CMAKE_EXTRA_FLAGS = \ + -DENABLE_TESTS=ON \ + -DENABLE_COVERAGE=OFF \ + $(NULL) + %: dh $@ +override_dh_auto_configure: + dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) + override_dh_install: find debian/ayatana-indicator-power -name \*.la -delete find debian/ayatana-indicator-power -name \*.a -delete diff -Nru ayatana-indicator-power-2.1.2/debian/upstream/metadata ayatana-indicator-power-2.2.0/debian/upstream/metadata --- ayatana-indicator-power-2.1.2/debian/upstream/metadata 2018-08-31 19:29:22.000000000 +0000 +++ ayatana-indicator-power-2.2.0/debian/upstream/metadata 2021-11-18 14:49:02.000000000 +0000 @@ -1,9 +1,7 @@ -Name: Ayatana Indicator Power Bug-Database: https://github.com/AyatanaIndicators/ayatana-indicator-power/issues Bug-Submit: https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/new -Contact: devs@lists.arctica-project.org -Donation: http://www.ffis.de/Verein/Assoc/arctica.html +Donation: https://ubports.com/donate Repository: https://github.com/AyatanaIndicators/ayatana-indicator-power Repository-Browse: https://github.com/AyatanaIndicators/ayatana-indicator-power -Security-Contact: security@arctica-project.org +Security-Contact: security@ayatana-indicators.org diff -Nru ayatana-indicator-power-2.1.2/INSTALL.md ayatana-indicator-power-2.2.0/INSTALL.md --- ayatana-indicator-power-2.1.2/INSTALL.md 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/INSTALL.md 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,50 @@ +# Build and installation instructions + +## Compile-time build dependencies + + - cmake (>= 3.13) + - cmake-extras + - libayatana-common (>= 0.9.3) + - glib-2.0 (>= 2.36) + - libnotify (>=0.7.6) + - gettext (>= 0.18) + - systemd + - gcovr (>= 2.4) + - lcov (>= 1.9) + - gtest (>= 1.6.0) + +## For end-users and packagers + +``` +cd ayatana-indicator-power-X.Y.Z +mkdir build +cd build +cmake .. +make +sudo make install +``` + +**The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`** + +## For testers - unit tests only + +``` +cd ayatana-indicator-power-X.Y.Z +mkdir build +cd build +cmake .. -DENABLE_TESTS=ON +make +make test +make cppcheck +``` + +## For testers - both unit tests and code coverage + +``` +cd ayatana-indicator-power-X.Y.Z +mkdir build-coverage +cd build-coverage +cmake .. -DENABLE_COVERAGE=ON +make +make coverage-html +``` diff -Nru ayatana-indicator-power-2.1.2/MERGE-REVIEW ayatana-indicator-power-2.2.0/MERGE-REVIEW --- ayatana-indicator-power-2.1.2/MERGE-REVIEW 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/MERGE-REVIEW 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ - -This documents the expections that the project has on what both submitters -and reviewers should ensure that they've done for a merge into the project. - -== Submitter Responsibilities == - - * Ensure the project compiles and the test suite executes without error - * Ensure that non-obvious code has comments explaining it - * If the change works on specific profiles, please include those in the merge description. - -== Reviewer Responsibilities == - - * Did the Jenkins build compile? Pass? Run unit tests successfully? - * Are there appropriate tests to cover any new functionality? - * If the description says this effects the phone profile: - * Run tests indicator-power/unity8* - * If the description says this effects the desktop profile: - * Run tests indicator-power/unity7* - diff -Nru ayatana-indicator-power-2.1.2/NEWS ayatana-indicator-power-2.2.0/NEWS --- ayatana-indicator-power-2.1.2/NEWS 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/NEWS 2021-11-17 15:50:02.000000000 +0000 @@ -1,3 +1,22 @@ +Overview of changes in ayatana-indicator-power 2.2.0 + + - Rename Lomiri-specific properties to x-lomiri. + - Rename com.ubuntu.touch.AccountsService.Sound to + com.lomiri.touch.AccountsService.Sound. + - Rename com.ubuntu.touch.system to com.lomiri.touch.system. + - Rename x-canonical properties to x-ayatana. + - Drop lomiri-url-dispatcher as a build requirement. + - Fix Lomiri power setting. + - Rename com.canonical.powerd -> com.lomiri.Repowerd. + - flashlight: Add support for PM8998 based SoCs. + - flashlight: Add support for simpler sysfs toggles. + - Pay attention to $SNAP prefix. + - Give sorting priority to devices with power supplies. + - Update/add documentation. + - Port to CMake. + - Add Travis CI configuration. + - Translation updates. + Overview of changes in ayatana-indicator-power 2.1.2 - service.c: Drop indicator settings items. diff -Nru ayatana-indicator-power-2.1.2/po/cs.po ayatana-indicator-power-2.2.0/po/cs.po --- ayatana-indicator-power-2.1.2/po/cs.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/cs.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,8 +9,8 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2020-10-29 23:26+0000\n" -"Last-Translator: Milan Korecky \n" +"PO-Revision-Date: 2021-05-02 16:32+0000\n" +"Last-Translator: Tomáš Marný \n" "Language-Team: Czech \n" "Language: cs\n" @@ -18,23 +18,23 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.3.2-dev\n" +"X-Generator: Weblate 4.7-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" -msgstr "Zobrazit čas v liště nabídek" +msgstr "Zobrazovat čas v panelu nabídek" #: ../data/org.ayatana.indicator.power.gschema.xml.in:2 msgid "Whether or not to show the time in the menu bar." -msgstr "Zda se má či ne zobrazovat čas v panelu nabídek." +msgstr "Zda zobrazovat čas v panelu nabídek." #: ../data/org.ayatana.indicator.power.gschema.xml.in:3 msgid "Show percentage in Menu Bar" -msgstr "Zobrazit procenta v panelu nabídek" +msgstr "Zobrazovat procenta v panelu nabídek" #: ../data/org.ayatana.indicator.power.gschema.xml.in:4 msgid "Whether or not to show the percentage in the menu bar." -msgstr "Zda se mají či ne, zobrazovat procenta v panelu nabídek." +msgstr "Zda se mají v panelu nabídek zobrazovat procenta." #: ../data/org.ayatana.indicator.power.gschema.xml.in:5 msgid "When to show the battery status in the menu bar?" diff -Nru ayatana-indicator-power-2.1.2/po/de.po ayatana-indicator-power-2.2.0/po/de.po --- ayatana-indicator-power-2.1.2/po/de.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/de.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,8 +9,8 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2020-06-25 13:41+0000\n" -"Last-Translator: Milo Ivir \n" +"PO-Revision-Date: 2021-02-20 01:50+0000\n" +"Last-Translator: J. Lavoie \n" "Language-Team: German \n" "Language: de\n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.2-dev\n" +"X-Generator: Weblate 4.5\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -252,7 +252,7 @@ #: ../src/service.c:689 msgid "Battery settings…" -msgstr "Akkueinstellungen…" +msgstr "Akkueinstellungen …" #: ../src/service.c:840 ../src/utils.c:132 msgid "Warning" diff -Nru ayatana-indicator-power-2.1.2/po/el.po ayatana-indicator-power-2.2.0/po/el.po --- ayatana-indicator-power-2.1.2/po/el.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/el.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,8 +9,8 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2020-04-17 16:11+0000\n" -"Last-Translator: george k \n" +"PO-Revision-Date: 2021-02-05 22:42+0000\n" +"Last-Translator: Michalis \n" "Language-Team: Greek \n" "Language: el\n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.0.1-dev\n" +"X-Generator: Weblate 4.5-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -216,7 +216,7 @@ #: ../src/notifier.c:251 msgid "OK" -msgstr "ΟΚ" +msgstr "Εντάξει" #: ../src/notifier.c:252 msgid "Battery settings" diff -Nru ayatana-indicator-power-2.1.2/po/fi.po ayatana-indicator-power-2.2.0/po/fi.po --- ayatana-indicator-power-2.1.2/po/fi.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/fi.po 2021-11-17 15:50:02.000000000 +0000 @@ -6,17 +6,19 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/ayatana-indicator-" -"power/issues\n" +"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" +"ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2017-07-21 14:55+0200\n" -"Last-Translator: Mike Gabriel \n" -"Language-Team: Finnish\n" +"PO-Revision-Date: 2021-02-20 01:50+0000\n" +"Last-Translator: J. Lavoie \n" +"Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.5\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -72,7 +74,7 @@ #. TRANSLATORS: wireless keyboard with internal battery #: ../src/device.c:544 msgid "Keyboard" -msgstr "" +msgstr "Näppäimistö" #. TRANSLATORS: portable device #: ../src/device.c:548 diff -Nru ayatana-indicator-power-2.1.2/po/fr.po ayatana-indicator-power-2.2.0/po/fr.po --- ayatana-indicator-power-2.1.2/po/fr.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/fr.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,8 +9,8 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2020-04-16 00:11+0000\n" -"Last-Translator: Jeannette L \n" +"PO-Revision-Date: 2021-02-20 01:50+0000\n" +"Last-Translator: J. Lavoie \n" "Language-Team: French \n" "Language: fr\n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.0-dev\n" +"X-Generator: Weblate 4.5\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -248,7 +248,7 @@ #: ../src/service.c:683 msgid "Warning: Heavy use can damage the LED!" -msgstr "Attention : Un usage intensif peut endommager la DEL !" +msgstr "Attention : un usage intensif peut endommager la DEL !" #: ../src/service.c:689 msgid "Battery settings…" diff -Nru ayatana-indicator-power-2.1.2/po/he.po ayatana-indicator-power-2.2.0/po/he.po --- ayatana-indicator-power-2.1.2/po/he.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/he.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,7 +9,7 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: 2020-10-01 22:41+0000\n" +"PO-Revision-Date: 2021-05-23 11:32+0000\n" "Last-Translator: Yaron Shahrabani \n" "Language-Team: Hebrew \n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 4.3-dev\n" +"X-Generator: Weblate 4.7-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -74,7 +74,7 @@ #. TRANSLATORS: wireless keyboard with internal battery #: ../src/device.c:544 msgid "Keyboard" -msgstr "" +msgstr "מקלדת" #. TRANSLATORS: portable device #: ../src/device.c:548 diff -Nru ayatana-indicator-power-2.1.2/po/hu.po ayatana-indicator-power-2.2.0/po/hu.po --- ayatana-indicator-power-2.1.2/po/hu.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/hu.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,7 +9,7 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:21+0200\n" -"PO-Revision-Date: 2020-11-27 14:29+0000\n" +"PO-Revision-Date: 2021-08-28 07:34+0000\n" "Last-Translator: Ács Zoltán \n" "Language-Team: Hungarian \n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.4-dev\n" +"X-Generator: Weblate 4.8.1-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -259,7 +259,6 @@ msgstr "Figyelmeztetés" #: ../src/service.c:841 -#, fuzzy msgid "" "The Ayatana Power Indicator does not support evoking the\n" "power statistics application of your desktop environment, yet.\n" @@ -268,7 +267,7 @@ "https://github.com/ArcticaProject/ayatana-indicator-power/issues" msgstr "" "Az Ayatana energia-indikátor eddig nem támogatja a\n" -"az asztali környezet teljesítménystatisztikai alkalmazása.\n" +"az asztali környezet teljesítménystatisztikai alkalmazásának meghívását.\n" "\n" "Jelentse ezt a fejlesztőknek a következő címen:\n" "https://github.com/ArcticaProject/ayatana-indicator-power/issues" @@ -281,3 +280,8 @@ "Please report this to the developers at:\n" "https://github.com/ArcticaProject/ayatana-indicator-power/issues" msgstr "" +"Az Ayatana energia-indikátor eddig nem támogatja a\n" +"az asztali környezet energiabeállítások párbeszédablak meghívását.\n" +"\n" +"Jelentse ezt a fejlesztőknek a következő címen:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" diff -Nru ayatana-indicator-power-2.1.2/po/id.po ayatana-indicator-power-2.2.0/po/id.po --- ayatana-indicator-power-2.1.2/po/id.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/id.po 2021-11-17 15:50:02.000000000 +0000 @@ -6,21 +6,23 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/ayatana-indicator-" -"power/issues\n" +"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" +"ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:21+0200\n" -"PO-Revision-Date: 2017-07-21 14:55+0200\n" -"Last-Translator: Mike Gabriel \n" -"Language-Team: Indonesian\n" +"PO-Revision-Date: 2021-05-21 05:33+0000\n" +"Last-Translator: Jacque Fresco \n" +"Language-Team: Indonesian \n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.7-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" -msgstr "" +msgstr "Tampilkan waktu di Bilah Menu" #: ../data/org.ayatana.indicator.power.gschema.xml.in:2 msgid "Whether or not to show the time in the menu bar." @@ -52,27 +54,27 @@ #. TRANSLATORS: laptop primary battery #: ../src/device.c:528 ../src/service.c:442 msgid "Battery" -msgstr "" +msgstr "Baterai" #. TRANSLATORS: battery-backed AC power source #: ../src/device.c:532 msgid "UPS" -msgstr "" +msgstr "UPS" #. TRANSLATORS: a monitor is a device to measure voltage and current #: ../src/device.c:536 msgid "Monitor" -msgstr "" +msgstr "Monitor" #. TRANSLATORS: wireless mice with internal batteries #: ../src/device.c:540 msgid "Mouse" -msgstr "" +msgstr "Tetikus" #. TRANSLATORS: wireless keyboard with internal battery #: ../src/device.c:544 msgid "Keyboard" -msgstr "" +msgstr "Papan tik" #. TRANSLATORS: portable device #: ../src/device.c:548 @@ -102,7 +104,7 @@ #. TRANSLATORS: unknown device #: ../src/device.c:568 msgid "Unknown" -msgstr "" +msgstr "Tidak diketahui" #: ../src/device.c:608 #, c-format @@ -124,7 +126,7 @@ #: ../src/device.c:646 #, c-format msgid "%0d:%02d left" -msgstr "" +msgstr "tinggal %0d:%02d" #. TRANSLATORS: "X (hour,hours) Y (minute,minutes) to charge" the battery. #. Example: "1 hour 10 minutes to charge" @@ -183,7 +185,7 @@ #: ../src/device.c:853 #, c-format msgid "(%s, %.0lf%%)" -msgstr "" +msgstr "(%s, %.0lf%%)" #. TRANSLATORS: after the icon, a time-remaining string Example: "(0:59)" #: ../src/device.c:858 @@ -195,7 +197,7 @@ #: ../src/device.c:863 #, c-format msgid "(%.0lf%%)" -msgstr "" +msgstr "(%.0lf%%)" #: ../src/notifier.c:231 msgid "Battery Low" @@ -212,7 +214,7 @@ #: ../src/notifier.c:251 msgid "OK" -msgstr "" +msgstr "Oke" #: ../src/notifier.c:252 msgid "Battery settings" diff -Nru ayatana-indicator-power-2.1.2/po/kmr.po ayatana-indicator-power-2.2.0/po/kmr.po --- ayatana-indicator-power-2.1.2/po/kmr.po 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/kmr.po 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,273 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" +"ayatana-indicator-power/issues\n" +"POT-Creation-Date: 2019-08-28 20:20+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: kmr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:1 +msgid "Show time in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:2 +msgid "Whether or not to show the time in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:3 +msgid "Show percentage in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:4 +msgid "Whether or not to show the percentage in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:5 +msgid "When to show the battery status in the menu bar?" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:6 +msgid "" +"Options for when to show battery status. Valid options are \"present\", " +"\"charge\", and \"never\"." +msgstr "" + +#. TRANSLATORS: system power cord +#: ../src/device.c:524 +msgid "AC Adapter" +msgstr "" + +#. TRANSLATORS: laptop primary battery +#: ../src/device.c:528 ../src/service.c:442 +msgid "Battery" +msgstr "" + +#. TRANSLATORS: battery-backed AC power source +#: ../src/device.c:532 +msgid "UPS" +msgstr "" + +#. TRANSLATORS: a monitor is a device to measure voltage and current +#: ../src/device.c:536 +msgid "Monitor" +msgstr "" + +#. TRANSLATORS: wireless mice with internal batteries +#: ../src/device.c:540 +msgid "Mouse" +msgstr "" + +#. TRANSLATORS: wireless keyboard with internal battery +#: ../src/device.c:544 +msgid "Keyboard" +msgstr "" + +#. TRANSLATORS: portable device +#: ../src/device.c:548 +msgid "PDA" +msgstr "" + +#. TRANSLATORS: cell phone (mobile...) +#: ../src/device.c:552 +msgid "Cell phone" +msgstr "" + +#. TRANSLATORS: media player, mp3 etc +#: ../src/device.c:556 +msgid "Media player" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:560 +msgid "Tablet" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:564 +msgid "Computer" +msgstr "" + +#. TRANSLATORS: unknown device +#: ../src/device.c:568 +msgid "Unknown" +msgstr "" + +#: ../src/device.c:608 +#, c-format +msgid "estimating…" +msgstr "" + +#: ../src/device.c:612 +#, c-format +msgid "unknown" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to charge the battery. Example: "1:30 to charge" +#: ../src/device.c:641 +#, c-format +msgid "%0d:%02d to charge" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to discharge the battery. Example: "1:30 left" +#: ../src/device.c:646 +#, c-format +msgid "%0d:%02d left" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) to charge" the battery. +#. Example: "1 hour 10 minutes to charge" +#: ../src/device.c:681 +#, c-format +msgid "%d %s %d %s to charge" +msgstr "" + +#: ../src/device.c:682 ../src/device.c:700 +msgid "hour" +msgid_plural "hours" +msgstr[0] "" +msgstr[1] "" + +#: ../src/device.c:683 ../src/device.c:690 ../src/device.c:701 +#: ../src/device.c:708 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "" +msgstr[1] "" + +#. TRANSLATORS: "Y (minute,minutes) to charge" the battery. +#. Example: "59 minutes to charge" +#: ../src/device.c:689 +#, c-format +msgid "%d %s to charge" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) left" until the battery's empty. +#. Example: "1 hour 10 minutes left" +#: ../src/device.c:699 +#, c-format +msgid "%d %s %d %s left" +msgstr "" + +#. TRANSLATORS: "Y (minute,minutes) left" until the battery's empty. +#. Example: "59 minutes left" +#: ../src/device.c:707 +#, c-format +msgid "%d %s left" +msgstr "" + +#. TRANSLATORS: example: "battery (charged)" +#: ../src/device.c:764 +#, c-format +msgid "%s (charged)" +msgstr "" + +#. TRANSLATORS: example: "battery (time remaining)" +#: ../src/device.c:781 +#, c-format +msgid "%s (%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string + battery %. Example: "(0:59, 33%)" +#: ../src/device.c:853 +#, c-format +msgid "(%s, %.0lf%%)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string Example: "(0:59)" +#: ../src/device.c:858 +#, c-format +msgid "(%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a battery %. Example: "(33%)" +#: ../src/device.c:863 +#, c-format +msgid "(%.0lf%%)" +msgstr "" + +#: ../src/notifier.c:231 +msgid "Battery Low" +msgstr "" + +#: ../src/notifier.c:232 +msgid "Battery Critical" +msgstr "" + +#: ../src/notifier.c:234 +#, c-format +msgid "%.0f%% charge remaining" +msgstr "" + +#: ../src/notifier.c:251 +msgid "OK" +msgstr "" + +#: ../src/notifier.c:252 +msgid "Battery settings" +msgstr "" + +#: ../src/service.c:567 +msgid "Charge level" +msgstr "" + +#: ../src/service.c:635 +msgid "Show Time in Menu Bar" +msgstr "" + +#: ../src/service.c:639 +msgid "Show Percentage in Menu Bar" +msgstr "" + +#: ../src/service.c:643 +msgid "Power Settings…" +msgstr "" + +#: ../src/service.c:669 +msgid "Adjust brightness automatically" +msgstr "" + +#: ../src/service.c:677 +msgid "Flashlight" +msgstr "" + +#: ../src/service.c:683 +msgid "Warning: Heavy use can damage the LED!" +msgstr "" + +#: ../src/service.c:689 +msgid "Battery settings…" +msgstr "" + +#: ../src/service.c:840 ../src/utils.c:132 +msgid "Warning" +msgstr "" + +#: ../src/service.c:841 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power statistics application of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" + +#: ../src/utils.c:133 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power settings dialog of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" diff -Nru ayatana-indicator-power-2.1.2/po/LINGUAS ayatana-indicator-power-2.2.0/po/LINGUAS --- ayatana-indicator-power-2.1.2/po/LINGUAS 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/LINGUAS 2021-11-17 15:50:02.000000000 +0000 @@ -114,7 +114,6 @@ wae zh_CN zh_HK -zh_TW ny aa as @@ -128,3 +127,7 @@ csb tt ta_LK +zh_LATN@pinyin +zh_TW +kmr +sdh diff -Nru ayatana-indicator-power-2.1.2/po/mk.po ayatana-indicator-power-2.2.0/po/mk.po --- ayatana-indicator-power-2.1.2/po/mk.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/mk.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,18 +9,20 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:20+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"PO-Revision-Date: 2021-11-04 17:34+0000\n" +"Last-Translator: ElectrifiedSpeed \n" +"Language-Team: Macedonian \n" "Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n==1 || n%10==1 ? 0 : 1;\n" +"X-Generator: Weblate 4.9-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" -msgstr "" +msgstr "Покажи го времето во менито" #: ../data/org.ayatana.indicator.power.gschema.xml.in:2 msgid "Whether or not to show the time in the menu bar." diff -Nru ayatana-indicator-power-2.1.2/po/oc.po ayatana-indicator-power-2.2.0/po/oc.po --- ayatana-indicator-power-2.1.2/po/oc.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/oc.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,7 +9,7 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:21+0200\n" -"PO-Revision-Date: 2020-11-08 21:26+0000\n" +"PO-Revision-Date: 2021-04-24 18:32+0000\n" "Last-Translator: Quentin PAGÈS \n" "Language-Team: Occitan \n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.3.2\n" +"X-Generator: Weblate 4.7-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -111,12 +111,12 @@ #: ../src/device.c:608 #, c-format msgid "estimating…" -msgstr "Estimacion…" +msgstr "estimacion…" #: ../src/device.c:612 #, c-format msgid "unknown" -msgstr "Desconegut" +msgstr "desconegut" #. TRANSLATORS: H:MM (hours, minutes) to charge the battery. Example: "1:30 to charge" #: ../src/device.c:641 @@ -212,15 +212,15 @@ #: ../src/notifier.c:234 #, c-format msgid "%.0f%% charge remaining" -msgstr "%.0f%% restants" +msgstr "%.0f%% de carga restanta" #: ../src/notifier.c:251 msgid "OK" -msgstr "D'ACÒRDI" +msgstr "D’acòrdi" #: ../src/notifier.c:252 msgid "Battery settings" -msgstr "Paramètres batariá" +msgstr "Paramètres de batariá" #: ../src/service.c:567 msgid "Charge level" diff -Nru ayatana-indicator-power-2.1.2/po/sdh.po ayatana-indicator-power-2.2.0/po/sdh.po --- ayatana-indicator-power-2.1.2/po/sdh.po 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/sdh.po 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,273 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" +"ayatana-indicator-power/issues\n" +"POT-Creation-Date: 2019-08-28 20:20+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: sdh\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:1 +msgid "Show time in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:2 +msgid "Whether or not to show the time in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:3 +msgid "Show percentage in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:4 +msgid "Whether or not to show the percentage in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:5 +msgid "When to show the battery status in the menu bar?" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:6 +msgid "" +"Options for when to show battery status. Valid options are \"present\", " +"\"charge\", and \"never\"." +msgstr "" + +#. TRANSLATORS: system power cord +#: ../src/device.c:524 +msgid "AC Adapter" +msgstr "" + +#. TRANSLATORS: laptop primary battery +#: ../src/device.c:528 ../src/service.c:442 +msgid "Battery" +msgstr "" + +#. TRANSLATORS: battery-backed AC power source +#: ../src/device.c:532 +msgid "UPS" +msgstr "" + +#. TRANSLATORS: a monitor is a device to measure voltage and current +#: ../src/device.c:536 +msgid "Monitor" +msgstr "" + +#. TRANSLATORS: wireless mice with internal batteries +#: ../src/device.c:540 +msgid "Mouse" +msgstr "" + +#. TRANSLATORS: wireless keyboard with internal battery +#: ../src/device.c:544 +msgid "Keyboard" +msgstr "" + +#. TRANSLATORS: portable device +#: ../src/device.c:548 +msgid "PDA" +msgstr "" + +#. TRANSLATORS: cell phone (mobile...) +#: ../src/device.c:552 +msgid "Cell phone" +msgstr "" + +#. TRANSLATORS: media player, mp3 etc +#: ../src/device.c:556 +msgid "Media player" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:560 +msgid "Tablet" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:564 +msgid "Computer" +msgstr "" + +#. TRANSLATORS: unknown device +#: ../src/device.c:568 +msgid "Unknown" +msgstr "" + +#: ../src/device.c:608 +#, c-format +msgid "estimating…" +msgstr "" + +#: ../src/device.c:612 +#, c-format +msgid "unknown" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to charge the battery. Example: "1:30 to charge" +#: ../src/device.c:641 +#, c-format +msgid "%0d:%02d to charge" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to discharge the battery. Example: "1:30 left" +#: ../src/device.c:646 +#, c-format +msgid "%0d:%02d left" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) to charge" the battery. +#. Example: "1 hour 10 minutes to charge" +#: ../src/device.c:681 +#, c-format +msgid "%d %s %d %s to charge" +msgstr "" + +#: ../src/device.c:682 ../src/device.c:700 +msgid "hour" +msgid_plural "hours" +msgstr[0] "" +msgstr[1] "" + +#: ../src/device.c:683 ../src/device.c:690 ../src/device.c:701 +#: ../src/device.c:708 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "" +msgstr[1] "" + +#. TRANSLATORS: "Y (minute,minutes) to charge" the battery. +#. Example: "59 minutes to charge" +#: ../src/device.c:689 +#, c-format +msgid "%d %s to charge" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) left" until the battery's empty. +#. Example: "1 hour 10 minutes left" +#: ../src/device.c:699 +#, c-format +msgid "%d %s %d %s left" +msgstr "" + +#. TRANSLATORS: "Y (minute,minutes) left" until the battery's empty. +#. Example: "59 minutes left" +#: ../src/device.c:707 +#, c-format +msgid "%d %s left" +msgstr "" + +#. TRANSLATORS: example: "battery (charged)" +#: ../src/device.c:764 +#, c-format +msgid "%s (charged)" +msgstr "" + +#. TRANSLATORS: example: "battery (time remaining)" +#: ../src/device.c:781 +#, c-format +msgid "%s (%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string + battery %. Example: "(0:59, 33%)" +#: ../src/device.c:853 +#, c-format +msgid "(%s, %.0lf%%)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string Example: "(0:59)" +#: ../src/device.c:858 +#, c-format +msgid "(%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a battery %. Example: "(33%)" +#: ../src/device.c:863 +#, c-format +msgid "(%.0lf%%)" +msgstr "" + +#: ../src/notifier.c:231 +msgid "Battery Low" +msgstr "" + +#: ../src/notifier.c:232 +msgid "Battery Critical" +msgstr "" + +#: ../src/notifier.c:234 +#, c-format +msgid "%.0f%% charge remaining" +msgstr "" + +#: ../src/notifier.c:251 +msgid "OK" +msgstr "" + +#: ../src/notifier.c:252 +msgid "Battery settings" +msgstr "" + +#: ../src/service.c:567 +msgid "Charge level" +msgstr "" + +#: ../src/service.c:635 +msgid "Show Time in Menu Bar" +msgstr "" + +#: ../src/service.c:639 +msgid "Show Percentage in Menu Bar" +msgstr "" + +#: ../src/service.c:643 +msgid "Power Settings…" +msgstr "" + +#: ../src/service.c:669 +msgid "Adjust brightness automatically" +msgstr "" + +#: ../src/service.c:677 +msgid "Flashlight" +msgstr "" + +#: ../src/service.c:683 +msgid "Warning: Heavy use can damage the LED!" +msgstr "" + +#: ../src/service.c:689 +msgid "Battery settings…" +msgstr "" + +#: ../src/service.c:840 ../src/utils.c:132 +msgid "Warning" +msgstr "" + +#: ../src/service.c:841 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power statistics application of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" + +#: ../src/utils.c:133 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power settings dialog of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" diff -Nru ayatana-indicator-power-2.1.2/po/tr.po ayatana-indicator-power-2.2.0/po/tr.po --- ayatana-indicator-power-2.1.2/po/tr.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/tr.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,7 +9,7 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:21+0200\n" -"PO-Revision-Date: 2020-11-12 20:28+0000\n" +"PO-Revision-Date: 2021-01-28 17:32+0000\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish \n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.4-dev\n" +"X-Generator: Weblate 4.5-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -76,7 +76,7 @@ #. TRANSLATORS: wireless keyboard with internal battery #: ../src/device.c:544 msgid "Keyboard" -msgstr "Dahili pilli kablosuz klavye" +msgstr "Klavye" #. TRANSLATORS: portable device #: ../src/device.c:548 diff -Nru ayatana-indicator-power-2.1.2/po/zh_CN.po ayatana-indicator-power-2.2.0/po/zh_CN.po --- ayatana-indicator-power-2.1.2/po/zh_CN.po 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/zh_CN.po 2021-11-17 15:50:02.000000000 +0000 @@ -9,8 +9,8 @@ "Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" "ayatana-indicator-power/issues\n" "POT-Creation-Date: 2019-08-28 20:21+0200\n" -"PO-Revision-Date: 2020-05-25 06:41+0000\n" -"Last-Translator: wdggg \n" +"PO-Revision-Date: 2021-07-16 20:34+0000\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -18,7 +18,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.1-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: ../data/org.ayatana.indicator.power.gschema.xml.in:1 msgid "Show time in Menu Bar" @@ -104,7 +104,7 @@ #. TRANSLATORS: unknown device #: ../src/device.c:568 msgid "Unknown" -msgstr "未知设备" +msgstr "未知" #: ../src/device.c:608 #, c-format diff -Nru ayatana-indicator-power-2.1.2/po/zh_LATN@pinyin.po ayatana-indicator-power-2.2.0/po/zh_LATN@pinyin.po --- ayatana-indicator-power-2.1.2/po/zh_LATN@pinyin.po 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/po/zh_LATN@pinyin.po 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,273 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: https://github.com/AyatanaIndicators/" +"ayatana-indicator-power/issues\n" +"POT-Creation-Date: 2019-08-28 20:20+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: zh_LATN@pinyin\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:1 +msgid "Show time in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:2 +msgid "Whether or not to show the time in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:3 +msgid "Show percentage in Menu Bar" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:4 +msgid "Whether or not to show the percentage in the menu bar." +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:5 +msgid "When to show the battery status in the menu bar?" +msgstr "" + +#: ../data/org.ayatana.indicator.power.gschema.xml.in:6 +msgid "" +"Options for when to show battery status. Valid options are \"present\", " +"\"charge\", and \"never\"." +msgstr "" + +#. TRANSLATORS: system power cord +#: ../src/device.c:524 +msgid "AC Adapter" +msgstr "" + +#. TRANSLATORS: laptop primary battery +#: ../src/device.c:528 ../src/service.c:442 +msgid "Battery" +msgstr "" + +#. TRANSLATORS: battery-backed AC power source +#: ../src/device.c:532 +msgid "UPS" +msgstr "" + +#. TRANSLATORS: a monitor is a device to measure voltage and current +#: ../src/device.c:536 +msgid "Monitor" +msgstr "" + +#. TRANSLATORS: wireless mice with internal batteries +#: ../src/device.c:540 +msgid "Mouse" +msgstr "" + +#. TRANSLATORS: wireless keyboard with internal battery +#: ../src/device.c:544 +msgid "Keyboard" +msgstr "" + +#. TRANSLATORS: portable device +#: ../src/device.c:548 +msgid "PDA" +msgstr "" + +#. TRANSLATORS: cell phone (mobile...) +#: ../src/device.c:552 +msgid "Cell phone" +msgstr "" + +#. TRANSLATORS: media player, mp3 etc +#: ../src/device.c:556 +msgid "Media player" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:560 +msgid "Tablet" +msgstr "" + +#. TRANSLATORS: tablet device +#: ../src/device.c:564 +msgid "Computer" +msgstr "" + +#. TRANSLATORS: unknown device +#: ../src/device.c:568 +msgid "Unknown" +msgstr "" + +#: ../src/device.c:608 +#, c-format +msgid "estimating…" +msgstr "" + +#: ../src/device.c:612 +#, c-format +msgid "unknown" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to charge the battery. Example: "1:30 to charge" +#: ../src/device.c:641 +#, c-format +msgid "%0d:%02d to charge" +msgstr "" + +#. TRANSLATORS: H:MM (hours, minutes) to discharge the battery. Example: "1:30 left" +#: ../src/device.c:646 +#, c-format +msgid "%0d:%02d left" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) to charge" the battery. +#. Example: "1 hour 10 minutes to charge" +#: ../src/device.c:681 +#, c-format +msgid "%d %s %d %s to charge" +msgstr "" + +#: ../src/device.c:682 ../src/device.c:700 +msgid "hour" +msgid_plural "hours" +msgstr[0] "" +msgstr[1] "" + +#: ../src/device.c:683 ../src/device.c:690 ../src/device.c:701 +#: ../src/device.c:708 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "" +msgstr[1] "" + +#. TRANSLATORS: "Y (minute,minutes) to charge" the battery. +#. Example: "59 minutes to charge" +#: ../src/device.c:689 +#, c-format +msgid "%d %s to charge" +msgstr "" + +#. TRANSLATORS: "X (hour,hours) Y (minute,minutes) left" until the battery's empty. +#. Example: "1 hour 10 minutes left" +#: ../src/device.c:699 +#, c-format +msgid "%d %s %d %s left" +msgstr "" + +#. TRANSLATORS: "Y (minute,minutes) left" until the battery's empty. +#. Example: "59 minutes left" +#: ../src/device.c:707 +#, c-format +msgid "%d %s left" +msgstr "" + +#. TRANSLATORS: example: "battery (charged)" +#: ../src/device.c:764 +#, c-format +msgid "%s (charged)" +msgstr "" + +#. TRANSLATORS: example: "battery (time remaining)" +#: ../src/device.c:781 +#, c-format +msgid "%s (%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string + battery %. Example: "(0:59, 33%)" +#: ../src/device.c:853 +#, c-format +msgid "(%s, %.0lf%%)" +msgstr "" + +#. TRANSLATORS: after the icon, a time-remaining string Example: "(0:59)" +#: ../src/device.c:858 +#, c-format +msgid "(%s)" +msgstr "" + +#. TRANSLATORS: after the icon, a battery %. Example: "(33%)" +#: ../src/device.c:863 +#, c-format +msgid "(%.0lf%%)" +msgstr "" + +#: ../src/notifier.c:231 +msgid "Battery Low" +msgstr "" + +#: ../src/notifier.c:232 +msgid "Battery Critical" +msgstr "" + +#: ../src/notifier.c:234 +#, c-format +msgid "%.0f%% charge remaining" +msgstr "" + +#: ../src/notifier.c:251 +msgid "OK" +msgstr "" + +#: ../src/notifier.c:252 +msgid "Battery settings" +msgstr "" + +#: ../src/service.c:567 +msgid "Charge level" +msgstr "" + +#: ../src/service.c:635 +msgid "Show Time in Menu Bar" +msgstr "" + +#: ../src/service.c:639 +msgid "Show Percentage in Menu Bar" +msgstr "" + +#: ../src/service.c:643 +msgid "Power Settings…" +msgstr "" + +#: ../src/service.c:669 +msgid "Adjust brightness automatically" +msgstr "" + +#: ../src/service.c:677 +msgid "Flashlight" +msgstr "" + +#: ../src/service.c:683 +msgid "Warning: Heavy use can damage the LED!" +msgstr "" + +#: ../src/service.c:689 +msgid "Battery settings…" +msgstr "" + +#: ../src/service.c:840 ../src/utils.c:132 +msgid "Warning" +msgstr "" + +#: ../src/service.c:841 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power statistics application of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" + +#: ../src/utils.c:133 +msgid "" +"The Ayatana Power Indicator does not support evoking the\n" +"power settings dialog of your desktop environment, yet.\n" +"\n" +"Please report this to the developers at:\n" +"https://github.com/ArcticaProject/ayatana-indicator-power/issues" +msgstr "" diff -Nru ayatana-indicator-power-2.1.2/README.md ayatana-indicator-power-2.2.0/README.md --- ayatana-indicator-power-2.1.2/README.md 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/README.md 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,49 @@ +# Ayatana System Indicator — Power [![Build Status](https://api.travis-ci.com/AyatanaIndicators/ayatana-indicator-power.svg)](https://travis-ci.com/github/AyatanaIndicators/ayatana-indicator-power) + +## About Ayatana Indicators + +The Ayatana Indicators project is the continuation of Application +Indicators and System Indicators, two technologies developed by Canonical +Ltd. for the Unity7 desktop. + +Application Indicators are a GTK implementation of the StatusNotifierItem +Specification (SNI) that was originally submitted to freedesktop.org by +KDE. + +System Indicators are an extensions to the Application Indicators idea. +System Indicators allow for far more widgets to be displayed in the +indicator's menu. + +The Ayatana Indicators project is the new upstream for application +indicators, system indicators and associated projects with a focus on +making Ayatana Indicators a desktop agnostic technology. + +On GNU/Linux, Ayatana Indicators are currently available for desktop +envinronments like MATE (used by default in [Ubuntu +MATE](https://ubuntu-mate.com)), XFCE (used by default in +[Xubuntu](https://bluesabre.org/2021/02/25/xubuntu-21-04-progress-update/), +LXDE, and the Budgie Desktop). + +The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly +known as Unity8) uses Ayatana Indicators for rendering its notification +area and the [UBports](https://ubports.com) project is a core contributor +to the Ayatana Indicators project. + +For further info, please visit: +https://ayatana-indicators.org + + +## The Power Ayatana System Indicator + +The -power Ayatana System Indicator is the power menu indicator for +Unity7, MATE and Lomiri (optionally for others, e.g. XFCE, LXDE). Its +behavior and features are listed at +https://wiki.ayatana-indicators.org/AyatanaIndicatorPower + +## License and Copyright + +See COPYING and AUTHORS file in this project. + +## Building and Testing + +For instructions on building and running built-in tests, see the INSTALL.md file. diff -Nru ayatana-indicator-power-2.1.2/src/brightness.c ayatana-indicator-power-2.2.0/src/brightness.c --- ayatana-indicator-power-2.1.2/src/brightness.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/brightness.c 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,6 @@ /* * Copyright 2014 Canonical Ltd. + * Copyright 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,14 +16,15 @@ * * Authors: * Charles Kerr + * Robert Tari */ #include "brightness.h" -#include "dbus-powerd.h" +#include "dbus-repowerd.h" #include -#define SCHEMA_NAME "com.ubuntu.touch.system" +#define SCHEMA_NAME "com.lomiri.touch.system" #define KEY_AUTO "auto-brightness" #define KEY_AUTO_SUPPORTED "auto-brightness-supported" #define KEY_BRIGHTNESS "brightness" @@ -46,7 +48,7 @@ GSettings * settings; - DbusPowerd * powerd_proxy; + DbusRepowerd * powerd_proxy; char * powerd_name_owner; double percentage; @@ -198,7 +200,7 @@ } /** - * DBus Chatter: com.canonical.powerd + * DBus Chatter: com.lomiri.Repowerd * * This is used to get default value, and upper and lower bounds, * of the brightness setting @@ -217,7 +219,7 @@ v = NULL; error = NULL; - if (dbus_powerd_call_get_brightness_params_finish(DBUS_POWERD(oproxy), &v, res, &error)) + if (dbus_repowerd_call_get_brightness_params_finish(DBUS_REPOWERD(oproxy), &v, res, &error)) { IndicatorPowerBrightness * self = INDICATOR_POWER_BRIGHTNESS(gself); priv_t * p = get_priv(self); @@ -235,12 +237,12 @@ p->powerd_max, p->powerd_default_value, (int)p->powerd_ab_supported); - + if (old_ab_supported != p->powerd_ab_supported) g_object_notify_by_pspec(G_OBJECT(self), properties[PROP_AUTO_SUPPORTED]); if (p->settings != NULL) - { + { if (g_settings_get_boolean(p->settings, KEY_NEED_DEFAULT)) { /* user's first session, so init the schema's default @@ -282,7 +284,7 @@ if (owner != NULL) { - dbus_powerd_call_get_brightness_params(DBUS_POWERD(powerd_proxy), + dbus_repowerd_call_get_brightness_params(DBUS_REPOWERD(powerd_proxy), p->cancellable, on_powerd_brightness_params_ready, gself); @@ -294,11 +296,11 @@ } static void -on_powerd_brightness_changed(DbusPowerd * powerd_proxy, +on_powerd_brightness_changed(DbusRepowerd * powerd_proxy, GParamSpec * pspec G_GNUC_UNUSED, gpointer gself) { - set_brightness_local(gself, dbus_powerd_get_brightness(powerd_proxy)); + set_brightness_local(gself, dbus_repowerd_get_brightness(powerd_proxy)); } static void @@ -307,10 +309,10 @@ gpointer gself) { GError * error; - DbusPowerd * powerd_proxy; + DbusRepowerd * powerd_proxy; error = NULL; - powerd_proxy = dbus_powerd_proxy_new_for_bus_finish(res, &error); + powerd_proxy = dbus_repowerd_proxy_new_for_bus_finish(res, &error); if (powerd_proxy != NULL) { @@ -461,10 +463,10 @@ g_settings_schema_unref(schema); } - dbus_powerd_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, + dbus_repowerd_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES, - "com.canonical.powerd", - "/com/canonical/powerd", + "com.lomiri.Repowerd", + "/com/lomiri/Repowerd", p->cancellable, on_powerd_proxy_ready, self); diff -Nru ayatana-indicator-power-2.1.2/src/CMakeLists.txt ayatana-indicator-power-2.2.0/src/CMakeLists.txt --- ayatana-indicator-power-2.1.2/src/CMakeLists.txt 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/CMakeLists.txt 2021-11-17 15:50:02.000000000 +0000 @@ -1,15 +1,7 @@ -set (SERVICE_LIB "ayatanaindicatorpowerservice") -set (SERVICE_EXEC "ayatana-indicator-power-service") - -add_definitions(-DG_LOG_DOMAIN="ayatana-indicator-power") - -if(URLDISPATCHER_FOUND) - add_definitions( -DHAS_URLDISPATCHER ) -endif() - # handwritten sources set(SERVICE_MANUAL_SOURCES brightness.c + datafiles.c device-provider-mock.c device-provider-upower.c device-provider.c @@ -23,10 +15,10 @@ # generated sources include(GdbusCodegen) set(SERVICE_GENERATED_SOURCES) -add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-powerd - com.canonical +add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-repowerd + com.lomiri Dbus - ${CMAKE_SOURCE_DIR}/src/com.canonical.powerd.xml) + ${CMAKE_SOURCE_DIR}/src/com.lomiri.Repowerd.xml) add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-battery org.ayatana.indicator.power Dbus @@ -35,6 +27,14 @@ org.ayatana.indicator.power Dbus ${CMAKE_SOURCE_DIR}/data/org.ayatana.indicator.power.Testing.xml) + +if (HAS_LOMIRI_ACCTSERVICE_SOUND) + add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-accounts-sound + com.lomiri.touch + Dbus + /usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml) +endif() + # add the bin dir to our include path so the code can find the generated header files include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -44,7 +44,7 @@ set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-bad-function-cast") # g_clear_object() set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-switch-enum") set_source_files_properties(${SERVICE_MANUAL_SOURCES} - PROPERTIES COMPILE_FLAGS "${C_WARNING_ARGS} -g -std=c99") + PROPERTIES COMPILE_FLAGS "${C_WARNING_ARGS} -std=c99") # the service library for tests to link against (basically, everything except main()) add_library(${SERVICE_LIB} STATIC ${SERVICE_MANUAL_SOURCES} ${SERVICE_GENERATED_SOURCES}) @@ -54,5 +54,5 @@ # the executable: lib + main() add_executable (${SERVICE_EXEC} main.c) set_source_files_properties(${SERVICE_SOURCES} main.c PROPERTIES COMPILE_FLAGS "${C_WARNING_ARGS} -std=c99") -target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${URLDISPATCHER_LIBRARIES}) +target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES}) install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}) diff -Nru ayatana-indicator-power-2.1.2/src/com.canonical.powerd.xml ayatana-indicator-power-2.2.0/src/com.canonical.powerd.xml --- ayatana-indicator-power-2.1.2/src/com.canonical.powerd.xml 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/com.canonical.powerd.xml 1970-01-01 00:00:00.000000000 +0000 @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ayatana-indicator-power-2.1.2/src/com.lomiri.Repowerd.xml ayatana-indicator-power-2.2.0/src/com.lomiri.Repowerd.xml --- ayatana-indicator-power-2.1.2/src/com.lomiri.Repowerd.xml 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/com.lomiri.Repowerd.xml 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -Nru ayatana-indicator-power-2.1.2/src/datafiles.c ayatana-indicator-power-2.2.0/src/datafiles.c --- ayatana-indicator-power-2.1.2/src/datafiles.c 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/datafiles.c 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,71 @@ +/* + * Copyright 2016 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published + * by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + * + * Authors: + * Charles Kerr + */ + +#include "datafiles.h" + +static const gchar* +get_directory_prefix_for_type (DatafileType type) +{ + switch (type) + { + case DATAFILE_TYPE_SOUND: + return "sounds"; + + default: + g_critical("unknown type"); + return ""; + } +} + +static gchar* +test_directory_for_file(const char* dir, DatafileType type, const char* basename) +{ + gchar* filename = g_build_filename(dir, + GETTEXT_PACKAGE, + get_directory_prefix_for_type(type), + basename, + NULL); + + g_debug("looking for \"%s\" at \"%s\"", basename, filename); + if (g_file_test(filename, G_FILE_TEST_EXISTS)) + return filename; + + g_free(filename); + return NULL; +} + +gchar* +datafile_find(DatafileType type, const char * basename) +{ + gchar * filename; + const gchar * user_data_dir; + const gchar * const * system_data_dirs; + gsize i; + + user_data_dir = g_get_user_data_dir(); + if ((filename = test_directory_for_file(user_data_dir, type, basename))) + return filename; + + system_data_dirs = g_get_system_data_dirs(); + for (i=0; system_data_dirs && system_data_dirs[i]; ++i) + if ((filename = test_directory_for_file(system_data_dirs[i], type, basename))) + return filename; + + return NULL; +} diff -Nru ayatana-indicator-power-2.1.2/src/datafiles.h ayatana-indicator-power-2.2.0/src/datafiles.h --- ayatana-indicator-power-2.1.2/src/datafiles.h 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/datafiles.h 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,37 @@ +/* + * Copyright 2016 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published + * by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + * + * Authors: + * Charles Kerr + */ + +#ifndef __INDICATOR_POWER_DATAFILES_H__ +#define __INDICATOR_POWER_DATAFILES_H__ + +#include + +G_BEGIN_DECLS + +typedef enum +{ + DATAFILE_TYPE_SOUND +} +DatafileType; + +gchar* datafile_find(DatafileType type, const char * basename); + +G_END_DECLS + +#endif /* __INDICATOR_POWER_DATAFILES_H__ */ diff -Nru ayatana-indicator-power-2.1.2/src/device.c ayatana-indicator-power-2.2.0/src/device.c --- ayatana-indicator-power-2.1.2/src/device.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/device.c 2021-11-17 15:50:02.000000000 +0000 @@ -3,9 +3,11 @@ A simple Device structure used internally by indicator-power Copyright 2012 Canonical Ltd. +Copyright 2021 Robert Tari Authors: Charles Kerr + Robert Tari This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff -Nru ayatana-indicator-power-2.1.2/src/flashlight.c ayatana-indicator-power-2.2.0/src/flashlight.c --- ayatana-indicator-power-2.1.2/src/flashlight.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/flashlight.c 2021-11-17 15:50:02.000000000 +0000 @@ -26,17 +26,29 @@ #define QCOM_ENABLE "255" #define QCOM_DISABLE "0" +#define SIMPLE_ENABLE "1" +#define SIMPLE_DISABLE "0" -const size_t qcom_sysfs_size = 5; +const size_t qcom_sysfs_size = 7; const char* const qcom_sysfs[] = {"/sys/class/leds/torch-light/brightness", "/sys/class/leds/led:flash_torch/brightness", "/sys/class/leds/flashlight/brightness", "/sys/class/leds/torch-light0/brightness", - "/sys/class/leds/torch-light1/brightness"}; - -const char* qcom_torch_enable = "/sys/class/leds/led:switch/brightness"; + "/sys/class/leds/torch-light1/brightness", + "/sys/class/leds/led:torch_0/brightness", + "/sys/class/leds/led:torch_1/brightness"}; +const size_t qcom_switch_size = 2; +const char* const qcom_switch[] = {"/sys/class/leds/led:switch/brightness", + "/sys/class/leds/led:switch_0/brightness"}; + +const size_t simple_sysfs_size = 2; +const char* const simple_sysfs[] = {"/sys/class/flashlight_core/flashlight/flashlight_torch", + "/sys/class/leds/white:flash/brightness"}; char* flash_sysfs_path = NULL; +char* qcom_switch_path = NULL; + +enum TorchType torch_type = SIMPLE; gboolean activated = 0; int @@ -45,6 +57,18 @@ for (size_t i = 0; i < qcom_sysfs_size; i++) { if (access(qcom_sysfs[i], F_OK ) != -1){ flash_sysfs_path = (char*)qcom_sysfs[i]; + torch_type = QCOM; + /* Qualcomm torch; determine switch file (if one is needed) */ + for (size_t i = 0; i < qcom_switch_size; i++) { + if (access(qcom_switch[i], F_OK ) != -1) + qcom_switch_path = (char*)qcom_switch[i]; + } + return 1; + } + } + for (size_t i = 0; i < simple_sysfs_size; i++) { + if (access(simple_sysfs[i], F_OK ) != -1){ + flash_sysfs_path = (char*)simple_sysfs[i]; return 1; } } @@ -57,27 +81,17 @@ return activated; } -void -toggle_flashlight_action(GAction *action, - GVariant *parameter G_GNUC_UNUSED, - gpointer data G_GNUC_UNUSED) +int +toggle_flashlight_action_qcom() { - GVariant *state; FILE *fd1 = NULL, *fd2 = NULL; - int needs_enable; - if (!set_sysfs_path()) - return; - - state = g_action_get_state(action); - activated = g_variant_get_boolean(state); - g_variant_unref(state); fd1 = fopen(flash_sysfs_path, "w"); if (fd1 != NULL) { - needs_enable = access(qcom_torch_enable, F_OK ) != -1; + needs_enable = access(qcom_switch_path, F_OK ) != -1; if (needs_enable) - fd2 = fopen(qcom_torch_enable, "w"); + fd2 = fopen(qcom_switch_path, "w"); if (activated) if (needs_enable && fd2 != NULL) fprintf(fd2, "0"); @@ -91,8 +105,47 @@ fclose(fd1); if (fd2 !=NULL) fclose(fd2); - g_action_change_state(action, g_variant_new_boolean(!activated)); + return 1; } + return 0; +} + +int +toggle_flashlight_action_simple() +{ + FILE *fd = NULL; + + fd = fopen(flash_sysfs_path, "w"); + if (fd != NULL) { + fprintf(fd, activated ? SIMPLE_DISABLE : SIMPLE_ENABLE); + fclose(fd); + return 1; + } + return 0; +} + +void +toggle_flashlight_action(GAction *action, + GVariant *parameter G_GNUC_UNUSED, + gpointer data G_GNUC_UNUSED) +{ + GVariant *state; + int toggled; + + if (!set_sysfs_path()) + return; + + state = g_action_get_state(action); + activated = g_variant_get_boolean(state); + g_variant_unref(state); + + if (torch_type == QCOM) + toggled = toggle_flashlight_action_qcom(); + else + toggled = toggle_flashlight_action_simple(); + + if (toggled) + g_action_change_state(action, g_variant_new_boolean(!activated)); } int diff -Nru ayatana-indicator-power-2.1.2/src/flashlight.h ayatana-indicator-power-2.2.0/src/flashlight.h --- ayatana-indicator-power-2.1.2/src/flashlight.h 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/flashlight.h 2021-11-17 15:50:02.000000000 +0000 @@ -24,6 +24,12 @@ G_BEGIN_DECLS +int +toggle_flashlight_action_qcom(); + +int +toggle_flashlight_action_simple(); + void toggle_flashlight_action(GAction *action, GVariant *parameter G_GNUC_UNUSED, @@ -35,6 +41,9 @@ gboolean flashlight_activated(); +enum +TorchType { SIMPLE = 1, QCOM }; + G_END_DECLS #endif /* INDICATOR_POWER_FLASHLIGHT__H */ diff -Nru ayatana-indicator-power-2.1.2/src/main.c ayatana-indicator-power-2.2.0/src/main.c --- ayatana-indicator-power-2.1.2/src/main.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/main.c 2021-11-17 15:50:02.000000000 +0000 @@ -1,8 +1,5 @@ /* - * Copyright 2013 Canonical Ltd. - * - * Authors: - * Charles Kerr + * Copyright 2013-2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +12,9 @@ * * You should have received a copy of the GNU General Public License along * with this program. If not, see . + * + * Authors: + * Charles Kerr */ #include @@ -23,6 +23,7 @@ #include #include "device.h" +#include "notifier.h" #include "service.h" #include "testing.h" @@ -40,6 +41,7 @@ int main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) { + IndicatorPowerNotifier * notifier; IndicatorPowerService * service; IndicatorPowerTesting * testing; GMainLoop * loop; @@ -50,7 +52,8 @@ textdomain (GETTEXT_PACKAGE); /* run */ - service = indicator_power_service_new (NULL); + notifier = indicator_power_notifier_new(); + service = indicator_power_service_new(NULL, notifier); testing = indicator_power_testing_new (service); loop = g_main_loop_new (NULL, FALSE); g_signal_connect (service, INDICATOR_POWER_SERVICE_SIGNAL_NAME_LOST, @@ -59,7 +62,8 @@ /* cleanup */ g_main_loop_unref (loop); - g_clear_object (&service); g_clear_object (&testing); + g_clear_object (&service); + g_clear_object (¬ifier); return 0; } diff -Nru ayatana-indicator-power-2.1.2/src/notifier.c ayatana-indicator-power-2.2.0/src/notifier.c --- ayatana-indicator-power-2.1.2/src/notifier.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/notifier.c 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,6 @@ /* - * Copyright 2014 Canonical Ltd. + * Copyright 2014-2016 Canonical Ltd. + * Copyright 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,8 +16,15 @@ * * Authors: * Charles Kerr + * Robert Tari */ +#include "datafiles.h" + +#ifdef HAS_LOMIRI_ACCTSERVICE_SOUND +#include "dbus-accounts-sound.h" +#endif + #include "dbus-battery.h" #include "dbus-shared.h" #include "notifier.h" @@ -76,6 +84,12 @@ gboolean caps_queried; gboolean actions_supported; + + GCancellable * cancellable; + #ifdef HAS_LOMIRI_ACCTSERVICE_SOUND + DbusAccountsServiceSound * accounts_service_sound_proxy; + gboolean accounts_service_sound_proxy_pending; + #endif } IndicatorPowerNotifierPrivate; @@ -130,6 +144,58 @@ } /*** +**** Sounds +***/ + +#ifdef HAS_LOMIRI_ACCTSERVICE_SOUND +static void +on_sound_proxy_ready (GObject * source_object G_GNUC_UNUSED, + GAsyncResult * res, + gpointer gself) +{ + GError * error; + error = NULL; + + DbusAccountsServiceSound * proxy; + proxy = dbus_accounts_service_sound_proxy_new_for_bus_finish (res, &error); + + if (error != NULL) + { + if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) + { + get_priv(gself)->accounts_service_sound_proxy_pending = FALSE; + g_debug("%s Couldn't find accounts service sound proxy: %s", G_STRLOC, error->message); + } + + g_clear_error(&error); + } + else + { + IndicatorPowerNotifier * const self = INDICATOR_POWER_NOTIFIER(gself); + priv_t * const p = get_priv (self); + g_clear_object (&p->accounts_service_sound_proxy); + p->accounts_service_sound_proxy = proxy; + p->accounts_service_sound_proxy_pending = FALSE; + } +} + + +static gboolean +silent_mode (IndicatorPowerNotifier * self) +{ + priv_t * const p = get_priv (self); + + /* if we don't have a proxy yet, assume we're in silent mode + as a "do no harm" level of response */ + if (p->accounts_service_sound_proxy_pending) + return TRUE; + + return (p->accounts_service_sound_proxy != NULL) + && dbus_accounts_service_sound_get_silent_mode(p->accounts_service_sound_proxy); +} +#endif + +/*** **** Notifications ***/ @@ -243,10 +309,27 @@ if (are_actions_supported(self)) { - notify_notification_set_hint(nn, "x-canonical-snap-decisions", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-canonical-non-shaped-icon", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-canonical-private-affirmative-tint", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-canonical-snap-decisions-timeout", g_variant_new_int32(INT32_MAX)); + #ifdef HAS_LOMIRI_ACCTSERVICE_SOUND + if (!silent_mode(self)) + #endif + { + gchar* filename = datafile_find(DATAFILE_TYPE_SOUND, LOW_BATTERY_SOUND); + if (filename != NULL) + { + gchar * uri = g_filename_to_uri(filename, NULL, NULL); + notify_notification_set_hint(nn, "sound-file", g_variant_new_take_string(uri)); + g_clear_pointer(&filename, g_free); + } + else + { + g_warning("Unable to find '%s' in XDG data dirs", LOW_BATTERY_SOUND); + } + } + + notify_notification_set_hint(nn, "x-lomiri-snap-decisions", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-non-shaped-icon", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-private-affirmative-tint", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-snap-decisions-timeout", g_variant_new_int32(INT32_MAX)); notify_notification_set_timeout(nn, NOTIFY_EXPIRES_NEVER); notify_notification_add_action(nn, "dismiss", _("OK"), on_dismiss_clicked, NULL, NULL); notify_notification_add_action(nn, "settings", _("Battery settings"), on_battery_settings_clicked, NULL, NULL); @@ -359,18 +442,28 @@ IndicatorPowerNotifier * const self = INDICATOR_POWER_NOTIFIER(o); priv_t * const p = get_priv (self); + if (p->cancellable != NULL) + { + g_cancellable_cancel(p->cancellable); + g_clear_object(&p->cancellable); + } + indicator_power_notifier_set_bus (self, NULL); notification_clear (self); indicator_power_notifier_set_battery (self, NULL); g_clear_object (&p->dbus_battery); + #ifdef HAS_LOMIRI_ACCTSERVICE_SOUND + g_clear_object (&p->accounts_service_sound_proxy); + #endif + G_OBJECT_CLASS (indicator_power_notifier_parent_class)->dispose (o); } static void my_finalize (GObject * o G_GNUC_UNUSED) { - /* FIXME: This is an awkward place to put this. + /* FIXME: This is an awkward place to put this. Ordinarily something like this would go in main(), but we need libnotify to clean itself up before shutting down the bus in the unit tests as well. */ if (!--instance_count) @@ -381,7 +474,6 @@ **** Instantiation ***/ - static void indicator_power_notifier_init (IndicatorPowerNotifier * self) { @@ -393,8 +485,24 @@ p->power_level = POWER_LEVEL_OK; - if (!instance_count++ && !notify_init("ayatana-indicator-power-service")) + p->cancellable = g_cancellable_new(); + + if (!instance_count++ && !notify_init(SERVICE_EXEC)) g_critical("Unable to initialize libnotify! Notifications might not be shown."); + + #ifdef HAS_LOMIRI_ACCTSERVICE_SOUND + p->accounts_service_sound_proxy_pending = TRUE; + gchar* object_path = g_strdup_printf("/org/freedesktop/Accounts/User%lu", (gulong)getuid()); + dbus_accounts_service_sound_proxy_new_for_bus( + G_BUS_TYPE_SYSTEM, + G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES, + "org.freedesktop.Accounts", + object_path, + p->cancellable, + on_sound_proxy_ready, + self); + g_clear_pointer(&object_path, g_free); + #endif } static void @@ -425,7 +533,6 @@ indicator_power_notifier_new (void) { GObject * o = g_object_new (INDICATOR_TYPE_POWER_NOTIFIER, NULL); - return INDICATOR_POWER_NOTIFIER (o); } diff -Nru ayatana-indicator-power-2.1.2/src/notifier.h ayatana-indicator-power-2.2.0/src/notifier.h --- ayatana-indicator-power-2.1.2/src/notifier.h 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/notifier.h 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright 2014 Canonical Ltd. + * Copyright 2014-2016 Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published diff -Nru ayatana-indicator-power-2.1.2/src/service.c ayatana-indicator-power-2.2.0/src/service.c --- ayatana-indicator-power-2.1.2/src/service.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/service.c 2021-11-17 15:50:02.000000000 +0000 @@ -1,9 +1,6 @@ /* - * Copyright 2013 Canonical Ltd. - * - * Authors: - * Charles Kerr - * Ted Gould + * Copyright 2013-2016 Canonical Ltd. + * Copytight 2021 AyatanaIndicators * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -16,11 +13,16 @@ * * You should have received a copy of the GNU General Public License along * with this program. If not, see . + * + * Authors: + * Charles Kerr + * Ted Gould + * Robert Tari */ #include #include - +#include #include "brightness.h" #include "dbus-shared.h" #include "device.h" @@ -50,6 +52,7 @@ PROP_0, PROP_BUS, PROP_DEVICE_PROVIDER, + PROP_NOTIFIER, LAST_PROP }; @@ -197,6 +200,14 @@ } state = UP_DEVICE_STATE_DISCHARGING; + + /* discharging items with more than 10% remaining always lose */ + if (!ret && (((a_state == state) && !a_time && (a_percentage > 10)))) + ret = 1; + + if (!ret && (((b_state == state) && !b_time && (b_percentage > 10)))) + ret = -1; + if (!ret && (((a_state == state) && a_time) || ((b_state == state) && b_time))) { @@ -399,6 +410,11 @@ static gboolean should_be_visible (IndicatorPowerService * self) { + if (!ayatana_common_utils_is_lomiri()) + { + return TRUE; + } + gboolean visible = TRUE; priv_t * p = self->priv; @@ -584,7 +600,7 @@ GMenuItem * item; item = g_menu_item_new(NULL, "indicator.brightness"); - g_menu_item_set_attribute(item, "x-ayatana-type", "s", "org.ayatana.unity.slider"); + g_menu_item_set_attribute(item, "x-ayatana-type", "s", "org.ayatana.indicator.slider"); g_menu_item_set_attribute(item, "min-value", "d", 0.0); g_menu_item_set_attribute(item, "max-value", "d", 1.0); @@ -810,23 +826,23 @@ GVariant * param, gpointer gself G_GNUC_UNUSED) { - if (is_mate()) + if (ayatana_common_utils_is_mate()) { char *cmd = g_strconcat ("mate-power-statistics", " --device ", g_variant_get_string (param, NULL), NULL); - execute_command (cmd); + ayatana_common_utils_execute_command (cmd); g_free (cmd); } - else if (is_gnome() || is_unity()) + else if (ayatana_common_utils_is_budgie() || ayatana_common_utils_is_gnome() || ayatana_common_utils_is_unity()) { char *cmd = g_strconcat ("gnome-power-statistics", " --device ", g_variant_get_string (param, NULL), NULL); - execute_command (cmd); + ayatana_common_utils_execute_command (cmd); g_free (cmd); } else { - zenity_warning ("dialog-warning", + ayatana_common_utils_zenity_warning ("dialog-warning", _("Warning"), _("The Ayatana Power Indicator does not support evoking the\npower statistics application of your desktop environment, yet.\n\nPlease report this to the developers at:\nhttps://github.com/ArcticaProject/ayatana-indicator-power/issues")); } @@ -961,7 +977,8 @@ g_object_notify_by_pspec (G_OBJECT(self), properties[PROP_BUS]); /* export the battery properties */ - indicator_power_notifier_set_bus (p->notifier, connection); + if (p->notifier != NULL) + indicator_power_notifier_set_bus (p->notifier, connection); /* export the actions */ if ((id = g_dbus_connection_export_action_group (connection, @@ -1103,6 +1120,10 @@ g_value_set_object (value, p->device_provider); break; + case PROP_NOTIFIER: + g_value_set_object (value, p->notifier); + break; + default: G_OBJECT_WARN_INVALID_PROPERTY_ID (o, property_id, pspec); } @@ -1122,6 +1143,10 @@ indicator_power_service_set_device_provider (self, g_value_get_object (value)); break; + case PROP_NOTIFIER: + indicator_power_service_set_notifier (self, g_value_get_object (value)); + break; + default: G_OBJECT_WARN_INVALID_PROPERTY_ID (o, property_id, pspec); } @@ -1164,6 +1189,7 @@ g_clear_object (&p->conn); indicator_power_service_set_device_provider (self, NULL); + indicator_power_service_set_notifier (self, NULL); G_OBJECT_CLASS (indicator_power_service_parent_class)->dispose (o); } @@ -1185,8 +1211,6 @@ p->settings = g_settings_new ("org.ayatana.indicator.power"); - p->notifier = indicator_power_notifier_new (); - p->brightness = indicator_power_brightness_new(); g_signal_connect_swapped(p->brightness, "notify::percentage", G_CALLBACK(update_brightness_action_state), self); @@ -1246,6 +1270,13 @@ G_TYPE_OBJECT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + properties[PROP_NOTIFIER] = g_param_spec_object ( + "notifier", + "Notifier", + "Notifies user of important battery changes", + G_TYPE_OBJECT, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + g_object_class_install_properties (object_class, LAST_PROP, properties); } @@ -1254,10 +1285,12 @@ ***/ IndicatorPowerService * -indicator_power_service_new (IndicatorPowerDeviceProvider * device_provider) +indicator_power_service_new (IndicatorPowerDeviceProvider * device_provider, + IndicatorPowerNotifier * notifier) { GObject * o = g_object_new (INDICATOR_TYPE_POWER_SERVICE, "device-provider", device_provider, + "notifier", notifier, NULL); return INDICATOR_POWER_SERVICE (o); @@ -1296,6 +1329,29 @@ } } +void +indicator_power_service_set_notifier (IndicatorPowerService * self, + IndicatorPowerNotifier * notifier) +{ + priv_t * p; + + g_return_if_fail (INDICATOR_IS_POWER_SERVICE (self)); + g_return_if_fail (!notifier || INDICATOR_IS_POWER_NOTIFIER (notifier)); + p = self->priv; + + if (p->notifier == notifier) + return; + + g_clear_object (&p->notifier); + + if (notifier != NULL) + { + p->notifier = g_object_ref (notifier); + indicator_power_notifier_set_bus (p->notifier, p->conn); + } +} + + /* If a device has multiple batteries and uses only one of them at a time, they should be presented as separate items inside the battery menu, but everywhere else they should be aggregated (bug 880881). diff -Nru ayatana-indicator-power-2.1.2/src/service.h ayatana-indicator-power-2.2.0/src/service.h --- ayatana-indicator-power-2.1.2/src/service.h 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/service.h 2021-11-17 15:50:02.000000000 +0000 @@ -24,6 +24,7 @@ #include #include "device-provider.h" +#include "notifier.h" G_BEGIN_DECLS @@ -64,11 +65,15 @@ GType indicator_power_service_get_type (void); -IndicatorPowerService * indicator_power_service_new (IndicatorPowerDeviceProvider * provider); +IndicatorPowerService * indicator_power_service_new (IndicatorPowerDeviceProvider * provider, + IndicatorPowerNotifier * notifier); void indicator_power_service_set_device_provider (IndicatorPowerService * self, IndicatorPowerDeviceProvider * provider); +void indicator_power_service_set_notifier (IndicatorPowerService * self, + IndicatorPowerNotifier * notifier); + IndicatorPowerDevice * indicator_power_service_choose_primary_device (GList * devices); diff -Nru ayatana-indicator-power-2.1.2/src/utils.c ayatana-indicator-power-2.2.0/src/utils.c --- ayatana-indicator-power-2.1.2/src/utils.c 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/utils.c 2021-11-17 15:50:02.000000000 +0000 @@ -1,6 +1,7 @@ /* * Copyright 2013 Canonical Ltd. * Copytight 2018 Mike Gabriel + * Copytight 2021 Robert Tari * * Authors (@Canonical): * Charles Kerr @@ -19,102 +20,37 @@ * with this program. If not, see . */ +#include #include "utils.h" -#ifdef HAS_URLDISPATCHER -# include -#endif - -/* Run a particular program based on an activation */ -void -execute_command (const gchar * cmd) -{ - GError * err = NULL; - - g_debug ("Issuing command '%s'", cmd); - - if (!g_spawn_command_line_async (cmd, &err)) - { - g_warning ("Unable to start %s: %s", cmd, err->message); - g_error_free (err); - } -} - -gboolean -zenity_warning (const char * icon_name, - const char * title, - const char * text) -{ - char * command_line; - int exit_status; - GError * error; - gboolean confirmed; - char * zenity; - - confirmed = FALSE; - zenity = g_find_program_in_path ("zenity"); - - if (zenity) - { - command_line = g_strdup_printf ("%s" - " --warning" - " --icon-name=\"%s\"" - " --title=\"%s\"" - " --text=\"%s\"" - " --no-wrap", - zenity, - icon_name, - title, - text); - - /* Treat errors as user confirmation. - Otherwise how will the user ever log out? */ - exit_status = -1; - error = NULL; - if (!g_spawn_command_line_sync (command_line, NULL, NULL, &exit_status, &error)) - { - confirmed = TRUE; - } - else - { - confirmed = g_spawn_check_exit_status (exit_status, &error); - } - - g_free (command_line); - } - g_free (zenity); - return confirmed; -} - void utils_handle_settings_request (void) { static const gchar *control_center_cmd = NULL; + if (ayatana_common_utils_is_lomiri()) + { + ayatana_common_utils_open_url("settings:///system/battery"); + + return; + } + if (control_center_cmd == NULL) { -#ifdef HAS_URLDISPATCHER - if (g_getenv ("MIR_SOCKET") != NULL) - { - url_dispatch_send("settings:///system/battery", NULL, NULL); - return; - } - else -#endif /* XFCE does not set XDG_CURRENT_DESKTOP, it seems... */ - if (is_xfce()) + if (ayatana_common_utils_is_xfce()) { control_center_cmd = "xfce4-power-manager-settings"; } - else if (is_mate()) + else if (ayatana_common_utils_is_mate()) { control_center_cmd = "mate-power-preferences"; } - else if (is_pantheon()) + else if (ayatana_common_utils_is_pantheon()) { control_center_cmd = "switchboard --open-plug system-pantheon-power"; } - else if (is_unity() || is_gnome()) + else if (ayatana_common_utils_is_budgie() || ayatana_common_utils_is_unity() || ayatana_common_utils_is_gnome()) { gchar *path; @@ -128,7 +64,7 @@ } else { - zenity_warning ("dialog-warning", + ayatana_common_utils_zenity_warning ("dialog-warning", _("Warning"), _("The Ayatana Power Indicator does not support evoking the\npower settings dialog of your desktop environment, yet.\n\nPlease report this to the developers at:\nhttps://github.com/ArcticaProject/ayatana-indicator-power/issues")); } @@ -136,111 +72,6 @@ if (control_center_cmd) { - execute_command(control_center_cmd); - } -} - -gboolean -is_unity () -{ - const gchar *xdg_current_desktop; - gchar **desktop_names; - int i; - - xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_names = g_strsplit (xdg_current_desktop, ":", 0); - for (i = 0; desktop_names[i]; ++i) { - if (!g_strcmp0 (desktop_names[i], "Unity")) { - g_strfreev (desktop_names); - return TRUE; - } - } - g_strfreev (desktop_names); - } - return FALSE; -} - -gboolean -is_gnome () -{ - const gchar *xdg_current_desktop; - gchar **desktop_names; - int i; - - xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_names = g_strsplit (xdg_current_desktop, ":", 0); - for (i = 0; desktop_names[i]; ++i) { - if (!g_strcmp0 (desktop_names[i], "GNOME")) { - g_strfreev (desktop_names); - return TRUE; - } - } - g_strfreev (desktop_names); - } - return FALSE; -} - -gboolean -is_mate () -{ - const gchar *xdg_current_desktop; - gchar **desktop_names; - int i; - - xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_names = g_strsplit (xdg_current_desktop, ":", 0); - for (i = 0; desktop_names[i]; ++i) { - if (!g_strcmp0 (desktop_names[i], "MATE")) { - g_strfreev (desktop_names); - return TRUE; - } - } - g_strfreev (desktop_names); - } - return FALSE; -} - -gboolean -is_xfce () -{ - const gchar *xdg_current_desktop; - gchar **desktop_names; - int i; - - xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_names = g_strsplit (xdg_current_desktop, ":", 0); - for (i = 0; desktop_names[i]; ++i) { - if (!g_strcmp0 (desktop_names[i], "XFCE")) { - g_strfreev (desktop_names); - return TRUE; - } + ayatana_common_utils_execute_command(control_center_cmd); } - g_strfreev (desktop_names); - } - return FALSE; -} - -gboolean -is_pantheon () -{ - const gchar *xdg_current_desktop; - gchar **desktop_names; - int i; - - xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP"); - if (xdg_current_desktop != NULL) { - desktop_names = g_strsplit (xdg_current_desktop, ":", 0); - for (i = 0; desktop_names[i]; ++i) { - if (!g_strcmp0 (desktop_names[i], "Pantheon")) { - g_strfreev (desktop_names); - return TRUE; - } - } - g_strfreev (desktop_names); - } - return FALSE; } diff -Nru ayatana-indicator-power-2.1.2/src/utils.h ayatana-indicator-power-2.2.0/src/utils.h --- ayatana-indicator-power-2.1.2/src/utils.h 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/src/utils.h 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,6 @@ /* * Copytight 2018 Mike Gabriel + * Copytight 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -21,15 +22,6 @@ #include #include -void execute_command (const gchar * cmd); void utils_handle_settings_request(void); -gboolean zenity_warning (const char * icon_name, const char * title, const char * text); - -gboolean is_unity(); -gboolean is_gnome(); -gboolean is_mate(); -gboolean is_pantheon(); -gboolean is_xfce(); - #endif /* __INDICATOR_POWER_UTILS_H__ */ diff -Nru ayatana-indicator-power-2.1.2/tests/CMakeLists.txt ayatana-indicator-power-2.2.0/tests/CMakeLists.txt --- ayatana-indicator-power-2.1.2/tests/CMakeLists.txt 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/tests/CMakeLists.txt 2021-11-17 15:50:02.000000000 +0000 @@ -14,6 +14,11 @@ ADDITIONAL_MAKE_CLEAN_FILES gschemas.compiled) set_source_files_properties (gschemas.compiled GENERATED) +# make a XDG_DATA_HOME for sounds/ +set(XDG_DATA_HOME "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}") +add_definitions(-DXDG_DATA_HOME="${XDG_DATA_HOME}") +file(COPY "${CMAKE_SOURCE_DIR}/data/sounds" DESTINATION "${XDG_DATA_HOME}/${CMAKE_PROJECT_NAME}") + # GSettings: # compile the ayatana-indicator-power schema into a gschemas.compiled file in this directory, # and help the tests to find that file by setting -DSCHEMA_DIR @@ -43,9 +48,10 @@ set (TEST_NAME ${name}) set (COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME} PARENT_SCOPE) add_executable (${TEST_NAME} ${TEST_NAME}.cc) + target_link_options(${TEST_NAME} PRIVATE -no-pie) add_test (${TEST_NAME} ${TEST_NAME}) - add_dependencies (${TEST_NAME} ayatanaindicatorpowerservice gschemas-compiled) - target_link_libraries (${TEST_NAME} ayatanaindicatorpowerservice gtest ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS} ${URLDISPATCHER_LIBRARIES} ${GMOCK_LIBRARIES}) + add_dependencies (${TEST_NAME} ${SERVICE_LIB} gschemas-compiled) + target_link_libraries (${TEST_NAME} ${SERVICE_LIB} ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GMOCK_LIBRARIES}) endfunction() add_test_by_name(test-notify) add_test(NAME dear-reader-the-next-test-takes-80-seconds COMMAND true) diff -Nru ayatana-indicator-power-2.1.2/tests/glib-fixture.h ayatana-indicator-power-2.2.0/tests/glib-fixture.h --- ayatana-indicator-power-2.1.2/tests/glib-fixture.h 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/tests/glib-fixture.h 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,8 @@ /* - * Copyright 2014 Canonical Ltd. + * Copyright 2013-2016 Canonical Ltd. + * + * Authors: + * Charles Kerr * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -12,12 +15,14 @@ * * You should have received a copy of the GNU General Public License along * with this program. If not, see . - * - * Authors: - * Charles Kerr */ +#pragma once + +#include +#include // std::function #include +#include // std::shared_ptr #include #include @@ -29,79 +34,48 @@ class GlibFixture : public ::testing::Test { - private: - - GLogFunc realLogHandler; - - std::map expected_log; - std::map> log; - - void test_log_counts() - { - const GLogLevelFlags levels_to_test[] = { G_LOG_LEVEL_ERROR, - G_LOG_LEVEL_CRITICAL, - G_LOG_LEVEL_MESSAGE, - G_LOG_LEVEL_WARNING }; - - for(const auto& level : levels_to_test) - { - const auto& v = log[level]; - const auto n = v.size(); - - EXPECT_EQ(expected_log[level], n); - - if (expected_log[level] != n) - for (size_t i=0; i(self)->log[log_level].push_back(tmp); - g_free(tmp); - } + virtual ~GlibFixture() =default; protected: - void increment_expected_errors(GLogLevelFlags level, size_t n=1) - { - expected_log[level] += n; - } - - virtual void SetUp() + virtual void SetUp() override { setlocale(LC_ALL, "C.UTF-8"); loop = g_main_loop_new(nullptr, false); - g_log_set_default_handler(default_log_handler, this); + // only use local, temporary settings + g_assert(g_setenv("GSETTINGS_SCHEMA_DIR", SCHEMA_DIR, true)); + g_assert(g_setenv("GSETTINGS_BACKEND", "memory", true)); + g_debug("SCHEMA_DIR is %s", SCHEMA_DIR); + + // fail on unexpected messages from this domain + g_log_set_fatal_mask(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING); g_unsetenv("DISPLAY"); + } - virtual void TearDown() + virtual void TearDown() override { - test_log_counts(); - - g_log_set_default_handler(realLogHandler, this); + g_test_assert_expected_messages (); g_clear_pointer(&loop, g_main_loop_unref); } + void expectLogMessage (const gchar *domain, GLogLevelFlags level, const gchar *pattern) + { + g_test_expect_message (domain, level, pattern); + } + private: static gboolean wait_for_signal__timeout(gpointer name) { - g_error("%s: timed out waiting for signal '%s'", G_STRLOC, static_cast(name)); + g_error("%s: timed out waiting for signal '%s'", G_STRLOC, (char*)name); return G_SOURCE_REMOVE; } @@ -115,7 +89,7 @@ protected: /* convenience func to loop while waiting for a GObject's signal */ - void wait_for_signal(gpointer o, const gchar * signal, const guint timeout_seconds=5) + void wait_for_signal(gpointer o, const gchar * signal, const int timeout_seconds=5) { // wait for the signal or for timeout, whichever comes first const auto handler_id = g_signal_connect_swapped(o, signal, @@ -130,12 +104,125 @@ } /* convenience func to loop for N msec */ - void wait_msec(guint msec=50) + void wait_msec(int msec=50) { const auto id = g_timeout_add(msec, wait_msec__timeout, loop); g_main_loop_run(loop); g_source_remove(id); } - GMainLoop * loop; + bool wait_for(std::function test_function, guint timeout_msec=1000) + { + auto timer = std::shared_ptr(g_timer_new(), [](GTimer* t){g_timer_destroy(t);}); + const auto timeout_sec = timeout_msec / 1000.0; + for (;;) { + if (test_function()) + return true; + //g_message("%f ... %f", g_timer_elapsed(timer.get(), nullptr), timeout_sec); + if (g_timer_elapsed(timer.get(), nullptr) >= timeout_sec) + return false; + wait_msec(); + } + } + + bool wait_for_name_owned( + GDBusConnection* connection, + const gchar* name, + guint timeout_msec=1000, + GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) + { + struct Data { + GMainLoop* loop = nullptr; + bool owned = false; + }; + Data data; + + auto on_name_appeared = [](GDBusConnection* /*connection*/, + const gchar* /*name_*/, + const gchar* name_owner, + gpointer gdata){ + if (name_owner == nullptr) + return; + auto tmp = static_cast(gdata); + tmp->owned = true; + g_main_loop_quit(tmp->loop); + }; + + const auto timeout_id = g_timeout_add(timeout_msec, wait_msec__timeout, loop); + data.loop = loop; + const auto watch_id = g_bus_watch_name_on_connection( + connection, + name, + flags, + on_name_appeared, + nullptr, // name_vanished + &data, + nullptr // user_data_free_func + ); + + g_main_loop_run(loop); + + g_bus_unwatch_name(watch_id); + g_source_remove(timeout_id); + + return data.owned; + } + + void EXPECT_NAME_OWNED_EVENTUALLY(GDBusConnection* connection, + const gchar* name, + guint timeout_msec=1000, + GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) + { + EXPECT_TRUE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; + } + + void EXPECT_NAME_NOT_OWNED_EVENTUALLY(GDBusConnection* connection, + const gchar* name, + guint timeout_msec=1000, + GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) + { + EXPECT_FALSE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; + } + + void ASSERT_NAME_OWNED_EVENTUALLY(GDBusConnection* connection, + const gchar* name, + guint timeout_msec=1000, + GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) + { + ASSERT_TRUE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; + } + + void ASSERT_NAME_NOT_OWNED_EVENTUALLY(GDBusConnection* connection, + const gchar* name, + guint timeout_msec=1000, + GBusNameWatcherFlags flags=G_BUS_NAME_WATCHER_FLAGS_AUTO_START) + { + ASSERT_FALSE(wait_for_name_owned(connection, name, timeout_msec, flags)) << "name: " << name; + } + + using source_func = std::function; + + guint idle_add(source_func&& func) + { + return g_idle_add_full( + G_PRIORITY_DEFAULT_IDLE, + [](gpointer gf){return (*static_cast(gf))();}, + new std::function(func), + [](gpointer gf){delete static_cast(gf);} + ); + } + + guint timeout_add(source_func&& func, std::chrono::milliseconds msec) + { + return g_timeout_add_full( + G_PRIORITY_DEFAULT, + msec.count(), + [](gpointer gf){return (*static_cast(gf))();}, + new std::function(func), + [](gpointer gf){delete static_cast(gf);} + ); + } + + GMainLoop* loop {}; }; + diff -Nru ayatana-indicator-power-2.1.2/tests/test-device.cc ayatana-indicator-power-2.2.0/tests/test-device.cc --- ayatana-indicator-power-2.1.2/tests/test-device.cc 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/tests/test-device.cc 2021-11-17 15:50:02.000000000 +0000 @@ -53,7 +53,7 @@ virtual void SetUp() { const GLogLevelFlags flags = GLogLevelFlags(G_LOG_LEVEL_CRITICAL|G_LOG_LEVEL_WARNING); - log_handler_id = g_log_set_handler ("ayatana-indicator-power", flags, log_count_func, this); + log_handler_id = g_log_set_handler(G_LOG_DOMAIN, flags, log_count_func, this); log_count_ipower_expected = 0; log_count_ipower_actual = 0; } @@ -61,7 +61,7 @@ virtual void TearDown() { ASSERT_EQ (log_count_ipower_expected, log_count_ipower_actual); - g_log_remove_handler ("ayatana-indicator-power", log_handler_id); + g_log_remove_handler (G_LOG_DOMAIN, log_handler_id); } protected: diff -Nru ayatana-indicator-power-2.1.2/tests/test-notify.cc ayatana-indicator-power-2.2.0/tests/test-notify.cc --- ayatana-indicator-power-2.1.2/tests/test-notify.cc 2021-01-28 16:22:05.000000000 +0000 +++ ayatana-indicator-power-2.2.0/tests/test-notify.cc 2021-11-17 15:50:02.000000000 +0000 @@ -1,5 +1,6 @@ /* - * Copyright 2014 Canonical Ltd. + * Copyright 2014-2016 Canonical Ltd. + * Copyright 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +16,7 @@ * * Authors: * Charles Kerr + * Robert Tari */ @@ -61,15 +63,13 @@ static constexpr int NOTIFICATION_CLOSED_API {3}; static constexpr int NOTIFICATION_CLOSED_UNDEFINED {4}; - static constexpr char const * APP_NAME {"ayatana-indicator-power-service"}; - static constexpr char const * METHOD_CLOSE {"CloseNotification"}; static constexpr char const * METHOD_NOTIFY {"Notify"}; static constexpr char const * METHOD_GET_CAPS {"GetCapabilities"}; static constexpr char const * METHOD_GET_INFO {"GetServerInformation"}; static constexpr char const * SIGNAL_CLOSED {"NotificationClosed"}; - static constexpr char const * HINT_TIMEOUT {"x-canonical-snap-decisions-timeout"}; + static constexpr char const * HINT_TIMEOUT {"x-lomiri-snap-decisions-timeout"}; protected: @@ -77,6 +77,8 @@ { super::SetUp(); + g_setenv ("XDG_DATA_HOME", XDG_DATA_HOME, TRUE); + // init DBusMock / dbus-test-runner service = dbus_test_service_new(nullptr); @@ -133,7 +135,7 @@ g_dbus_connection_set_exit_on_close(bus, FALSE); g_object_add_weak_pointer(G_OBJECT(bus), reinterpret_cast(&bus)); - notify_init(APP_NAME); + notify_init(SERVICE_EXEC); } virtual void TearDown() @@ -157,6 +159,50 @@ super::TearDown(); } + + /*** + **** + ***/ + + int get_notify_call_count() const + { + guint len {0u}; + GError* error {nullptr}; + dbus_test_dbus_mock_object_get_method_calls(mock, obj, METHOD_NOTIFY, &len, &error); + g_assert_no_error(error); + return len; + } + + std::string get_notify_call_sound_file(int call_number) + { + std::string ret; + + guint len {0u}; + GError* error {nullptr}; + auto calls = dbus_test_dbus_mock_object_get_method_calls(mock, obj, METHOD_NOTIFY, &len, &error); + g_return_val_if_fail(int(len) > call_number, ret); + g_assert_no_error(error); + + constexpr int HINTS_PARAM_POSITION {6}; + const auto& call = calls[call_number]; + g_return_val_if_fail(g_variant_n_children(call.params) > HINTS_PARAM_POSITION, ret); + auto hints = g_variant_get_child_value(call.params, HINTS_PARAM_POSITION); + const gchar* sound_file = nullptr; + auto success = g_variant_lookup(hints, "sound-file", "&s", &sound_file); + g_return_val_if_fail(success, ret); + if (sound_file != nullptr) + ret = sound_file; + g_clear_pointer(&hints, g_variant_unref); + + return ret; + } + + void clear_method_calls() + { + GError* error{nullptr}; + ASSERT_TRUE(dbus_test_dbus_mock_object_clear_method_calls(mock, obj, &error)); + g_assert_no_error(error); + } }; /*** @@ -317,8 +363,8 @@ // cleanup g_dbus_connection_signal_unsubscribe (bus, sub_tag); - g_object_unref (notifier); g_object_unref (battery); + g_object_unref (notifier); } /*** @@ -346,6 +392,12 @@ 30, TRUE); + // the file we expect to play on a low battery notification... + const char* expected_file = XDG_DATA_HOME "/" GETTEXT_PACKAGE "/sounds/" LOW_BATTERY_SOUND; + char* tmp = g_filename_to_uri(expected_file, nullptr, nullptr); + const std::string low_power_uri {tmp}; + g_clear_pointer(&tmp, g_free); + // set up a notifier and give it the battery so changing the battery's // charge should show up on the bus. auto notifier = indicator_power_notifier_new (); @@ -376,6 +428,9 @@ EXPECT_EQ (FIELD_POWER_LEVEL|FIELD_IS_WARNING, changed_params.fields); EXPECT_EQ (indicator_power_notifier_get_power_level(battery), changed_params.power_level); EXPECT_TRUE (changed_params.is_warning); + EXPECT_EQ (1, get_notify_call_count()); + EXPECT_EQ (low_power_uri, get_notify_call_sound_file(0)); + clear_method_calls(); // now test that the warning changes if the level goes down even lower... changed_params = ChangedParams(); @@ -383,6 +438,9 @@ wait_msec(); EXPECT_EQ (FIELD_POWER_LEVEL, changed_params.fields); EXPECT_STREQ (POWER_LEVEL_STR_VERY_LOW, changed_params.power_level.c_str()); + EXPECT_EQ (1, get_notify_call_count()); + EXPECT_EQ (low_power_uri, get_notify_call_sound_file(0)); + clear_method_calls(); // ...and that the warning is taken down if the battery is plugged back in... changed_params = ChangedParams(); @@ -390,6 +448,7 @@ wait_msec(); EXPECT_EQ (FIELD_IS_WARNING, changed_params.fields); EXPECT_FALSE (changed_params.is_warning); + EXPECT_EQ (0, get_notify_call_count()); // ...and that it comes back if we unplug again... changed_params = ChangedParams(); @@ -397,6 +456,9 @@ wait_msec(); EXPECT_EQ (FIELD_IS_WARNING, changed_params.fields); EXPECT_TRUE (changed_params.is_warning); + EXPECT_EQ (1, get_notify_call_count()); + EXPECT_EQ (low_power_uri, get_notify_call_sound_file(0)); + clear_method_calls(); // ...and that it's taken down if the power level is OK changed_params = ChangedParams(); @@ -405,6 +467,7 @@ EXPECT_EQ (FIELD_POWER_LEVEL|FIELD_IS_WARNING, changed_params.fields); EXPECT_STREQ (POWER_LEVEL_STR_OK, changed_params.power_level.c_str()); EXPECT_FALSE (changed_params.is_warning); + EXPECT_EQ (0, get_notify_call_count()); // cleanup g_dbus_connection_signal_unsubscribe (bus, sub_tag); diff -Nru ayatana-indicator-power-2.1.2/.travis.yml ayatana-indicator-power-2.2.0/.travis.yml --- ayatana-indicator-power-2.1.2/.travis.yml 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-power-2.2.0/.travis.yml 2021-11-17 15:50:02.000000000 +0000 @@ -0,0 +1,43 @@ +# vim: set ts=2 sts=2 sw=2 expandtab : +dist: bionic +language: shell +os: linux + +arch: + - amd64 +# - ppc64le + +services: + - docker + +addons: + apt: + packages: + - python3-pip + - python3-setuptools + +before_install: + # let's use the MATE project's docker build script... + - curl -Ls -o docker-build https://github.com/AyatanaIndicators/ayatana-dev-scripts/raw/main/travis/docker-build + - chmod +x docker-build + +install: + - pip3 install wheel + - pip3 install PyGithub + - ./docker-build --name ${DISTRO} --config .build.yml --install + +script: + - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts + +env: +# temp disable of archlinux builds, see https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/56 +# - DISTRO="archlinux:latest" + - DISTRO="debian:testing" + - DISTRO="debian:stable" +# - DISTRO="ubuntu:rolling" + - DISTRO="ubuntu:focal" + +jobs: + exclude: + - env: DISTRO="archlinux:latest" + arch: ppc64le