Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/service.cpp: Look up schemas recursively | OPNA2608 | 2024-05-20 | 1 | -6/+6 |
| | | | | | | g_settings_schema_source_get_default(void) documentation says that the returned source may consist of multiple sources from different directories, and that lookups against the default source should be done recursively to cover this situation. | ||||
* | cppcheck: Replace C-style casts by C++-style static_cast<> casts. | Mike Gabriel | 2024-05-17 | 1 | -4/+4 |
| | | | | See: https://stackoverflow.com/questions/40899581/is-it-always-safe-to-change-a-c-style-cast-to-a-static-cast | ||||
* | cppcheck: Fix missingOverride complaints. | Mike Gabriel | 2024-05-17 | 2 | -2/+2 |
| | |||||
* | src/main.cpp: Initialize LC_NUMERIC with 'POSIX'. | Mike Gabriel | 2024-05-15 | 1 | -0/+14 |
| | | | | | | | | | | | | | This assures that float number conversions (from float to string via e.g. g_strdup_sprintf()) always use a dot in decimal numbers. This resolves blackening of the screen if users with e.g. de_DE.UTF-8 use the brightness slider and hand over a komma-decimal to the xsct executable (which only understands dot-decimals). As we don't use numbers / number conversions anywhere else in the display indicator, this global setting of LC_NUMERIC seems to be the easiest approach. | ||||
* | src/service.cpp: Fix slider step and precision | Robert Tari | 2024-04-05 | 1 | -2/+4 |
| | |||||
* | Fix access of unitialized variables in DisplayIndicator destructor | Guido Berhoerster | 2024-03-04 | 1 | -2/+2 |
| | | | | | | In the constructor nGreeterSubscription and pConnection are only initialized if bGreeter is true whereas the destructor always accesses them and possibly passes uninitialized values to functions. | ||||
* | Remove USB manager and corresponding tests | Ratchanan Srirattanamet | 2023-12-14 | 12 | -1364/+0 |
| | | | | | | | | Since this is renamed, it has never worked correctly anyway. I've forked this part of code as "adbd-approver" [1], so this part can now be removed. [1] https://gitlab.com/ubports/development/core/adbd-approver | ||||
* | src/service.cpp: Add AccountsService support | Robert Tari | 2023-12-04 | 1 | -15/+212 |
| | |||||
* | Whitespace fix | Robert Tari | 2023-12-04 | 1 | -1/+1 |
| | |||||
* | src/service.cpp: Fix build with ENABLE_COLOR_TEMP off | Robert Tari | 2023-12-03 | 1 | -11/+25 |
| | |||||
* | src/service.cpp: Also switch metacity, icon and cursor themes when changing ↵ | Robert Tari | 2023-11-21 | 1 | -0/+177 |
| | | | | | | theme fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/87 | ||||
* | src/service.cpp: Hide theme profiles and settings in the greeter | Robert Tari | 2023-11-20 | 1 | -126/+158 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/83 | ||||
* | src/service.cpp: Handle missing org.gnome.desktop.interface::color-scheme | Robert Tari | 2023-11-11 | 1 | -2/+11 |
| | |||||
* | src/service.cpp: Fix string array translation | Robert Tari | 2023-11-11 | 1 | -6/+7 |
| | |||||
* | src/indicator.h: Fix multiple definitions of header property | Robert Tari | 2023-10-09 | 1 | -4/+4 |
| | |||||
* | Rename indicator class and service source files | Robert Tari | 2023-10-09 | 4 | -25/+25 |
| | |||||
* | Remove orphan notify-osd remnants | Robert Tari | 2023-09-10 | 1 | -3/+2 |
| | |||||
* | src/rotation-lock.cpp: Save last geographic location and use that at startup | Robert Tari | 2023-09-07 | 1 | -2/+6 |
| | |||||
* | src/exporter.cpp: Drop unused variable | Robert Tari | 2023-09-06 | 1 | -2/+1 |
| | |||||
* | src/rotation-lock.cpp: Add theme profiles | Robert Tari | 2023-09-06 | 1 | -16/+182 |
| | |||||
* | src/rotation-lock.cpp: Use singular profile in menu label | Robert Tari | 2023-09-06 | 1 | -1/+1 |
| | |||||
* | src/rotation-lock.cpp: Simplify code and keep updater callback running | Robert Tari | 2023-09-06 | 1 | -53/+32 |
| | |||||
* | src/rotation-lock.cpp: Add brightness action, slider and handlers | Robert Tari | 2023-03-08 | 1 | -3/+33 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/72 | ||||
* | src/rotation-lock.cpp: Replace gclue_simple_new_with_thresholds functions | Robert Tari | 2023-03-08 | 1 | -2/+2 |
| | |||||
* | Skip geoclue calls during the rotation lock test | Robert Tari | 2023-02-04 | 1 | -1/+6 |
| | |||||
* | Implement adaptive colour temperature profiles | Robert Tari | 2023-02-04 | 2 | -77/+239 |
| | |||||
* | src/solar.*: Add solar elevation calculation from Redshift | Robert Tari | 2023-02-04 | 2 | -0/+238 |
| | |||||
* | src/rotation-lock.cpp: make MenuItem QMenuModel-compatible | Ratchanan Srirattanamet | 2022-12-15 | 1 | -2/+2 |
| | | | | | | | In a similar way as [1], make the rotation lock MenuItem QMenuModel- compatible by specifying a target in it. [1] https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/40 | ||||
* | Allow building with(out) Lomiri features | Robert Tari | 2022-12-15 | 2 | -14/+31 |
| | |||||
* | src/rotation-lock.cpp: Hide the rotation switch on desktops | Robert Tari | 2022-11-17 | 1 | -8/+11 |
| | |||||
* | Add colour temperature changing functionality | Robert Tari | 2022-11-07 | 1 | -1/+106 |
| | |||||
* | src/rotation-lock.cpp: Prefer a symbolic panel icon | Robert Tari | 2022-11-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | This changes the icon search order from display, [no icon] to display-panel, display, [no icon] | ||||
* | src/exporter.cpp: Add missing tooltip to header | Robert Tari | 2022-10-09 | 1 | -0/+3 |
| | |||||
* | src/rotation-lock.cpp: Add display setting menu item | Robert Tari | 2022-10-04 | 1 | -1/+32 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/54 | ||||
* | Fix failing cppcheck | Robert Tari | 2022-10-02 | 1 | -1/+3 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/58 | ||||
* | src/rotation-lock.cpp: Add tooltip, rename indicator title from 'Rotation' ↵ | Mike Gabriel | 2022-07-22 | 2 | -1/+4 |
| | | | | to 'Display' on desktops. | ||||
* | src/adbd-client.cpp: Fix cppcheck | Jami Kettunen | 2022-07-05 | 1 | -5/+5 |
| | | | | | | | | cppcheck test was failing both locally for me and on CI: .../src/adbd-client.cpp:128:80: style: C-style pointer casting [cstyleCast] g_debug("%s thread %p creating a client socket to '%s'", G_STRLOC, (void*)g_thread_self(), socket_path.c_str()); ^ | ||||
* | Drop pkglibexecdir and use native CMake file configuration | Robert Tari | 2022-02-16 | 1 | -1/+1 |
| | |||||
* | GSettings: Use org.ayatana.display.gschema.xml for non-Lomiri sessions and ↵ | Mike Gabriel | 2021-11-19 | 1 | -8/+17 |
| | | | | | | | | unit tests. Additionally, internationalize the org.ayatana.display GSettings schema. Fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/39 | ||||
* | Rename Lomiri-specific properties to x-lomiri | Robert Tari | 2021-11-09 | 1 | -3/+3 |
| | |||||
* | Drop HAS_LOMIRI_TOUCH_SCHEMA, use native schema instead | Robert Tari | 2021-11-01 | 2 | -12/+32 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/8 | ||||
* | Rename com.ubuntu.touch.system to com.lomiri.touch.system | Robert Tari | 2021-11-01 | 2 | -4/+4 |
| | |||||
* | Raname x-canonical properties to x-ayatana | Robert Tari | 2021-10-27 | 1 | -3/+3 |
| | |||||
* | Fix schema path | Robert Tari | 2021-08-13 | 1 | -1/+1 |
| | |||||
* | Check for ADBD socket before creating UsbManager | Robert Tari | 2021-08-13 | 1 | -7/+25 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/13 | ||||
* | Revert "Fix schema path" | Mike Gabriel | 2021-08-13 | 1 | -1/+1 |
| | | | | This reverts commit fb3029c0a3121b83f1bca05006e5f95512c709e2. | ||||
* | Fix schema path | Robert Tari | 2021-08-13 | 1 | -1/+1 |
| | |||||
* | Fix failing build | Robert Tari | 2021-08-12 | 1 | -15/+0 |
| | | | | | | | | - src/rotation-lock.cpp: Fix double declaration of create_desktop_menu - tests/CMakeLists.txt: Add uninitDerivedMemberVar and unmatchedSuppression suppressions to cppcheck - tests/unit/rotation-lock-test.cpp: Fix and expand test fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/24 | ||||
* | Fix rotation lock switch display | Robert Tari | 2021-08-10 | 1 | -2/+25 |
| | | | | | | | | - src/rotation-lock.cpp: Add missing rotation lock section to menu Fix wrong action parameter type - src/rotation-lock.cpp: Add missing GVariantType to g_simple_action_new_stateful | ||||
* | Create desktop profile | Robert Tari | 2021-08-10 | 2 | -10/+61 |
| | | | | | | | - data/org.ayatana.indicator.rotation_lock: Add desktop profile - src/rotation-lock.cpp: Create separate functions and icon for Desktop - CMakeLists.txt: Add libayatana-common dependency - src/main.cpp: Run the ADBD handler on Lomiri only |