aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/rotation-lock.cpp: Add display setting menu itemRobert Tari2022-10-041-1/+32
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/54
* Fix failing cppcheckRobert Tari2022-10-021-1/+3
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/58
* src/rotation-lock.cpp: Add tooltip, rename indicator title from 'Rotation' ↵Mike Gabriel2022-07-222-1/+4
| | | | to 'Display' on desktops.
* src/adbd-client.cpp: Fix cppcheckJami Kettunen2022-07-051-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 configurationRobert Tari2022-02-161-1/+1
|
* GSettings: Use org.ayatana.display.gschema.xml for non-Lomiri sessions and ↵Mike Gabriel2021-11-191-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-lomiriRobert Tari2021-11-091-3/+3
|
* Drop HAS_LOMIRI_TOUCH_SCHEMA, use native schema insteadRobert Tari2021-11-012-12/+32
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/8
* Rename com.ubuntu.touch.system to com.lomiri.touch.systemRobert Tari2021-11-012-4/+4
|
* Raname x-canonical properties to x-ayatanaRobert Tari2021-10-271-3/+3
|
* Fix schema pathRobert Tari2021-08-131-1/+1
|
* Check for ADBD socket before creating UsbManagerRobert Tari2021-08-131-7/+25
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/13
* Revert "Fix schema path"Mike Gabriel2021-08-131-1/+1
| | | | This reverts commit fb3029c0a3121b83f1bca05006e5f95512c709e2.
* Fix schema pathRobert Tari2021-08-131-1/+1
|
* Fix failing buildRobert Tari2021-08-121-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 displayRobert Tari2021-08-101-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 profileRobert Tari2021-08-102-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
* cppcheck: Add several missing override statements to make cppcheck happy ↵Mike Gabriel2021-08-042-6/+6
| | | | (which is one of our unit tests).
* src/adbd-client.cpp: Fix several type warnings in g_debug calls() by casting ↵Mike Gabriel2021-08-041-5/+5
| | | | to (void*).
* Replace x-canonical attributesRobert Tari2020-08-112-6/+6
|
* Rename GNOMELOCALEDIR -> LOCALEDIR.Mike Gabriel2017-12-061-1/+1
|
* Fork from Ubuntus' indicator-display project.Mike Gabriel2017-11-287-32/+37
|
* add block braces as suggested by dobeyCharles Kerr2016-10-213-9/+17
|
* remove dead codeCharles Kerr2016-10-191-2/+0
|
* remove the temporary tracers from r34 and r35Charles Kerr2016-10-193-113/+1
|
* use a std::atomic for adbd-client's m_pkresponse_readyCharles Kerr2016-09-221-1/+2
|
* fix tyopCharles Kerr2016-09-222-14/+4
|
* sync with lp:~charlesk/indicator-display/lp-1572545-prompt-in-lockscreenCharles Kerr2016-09-224-138/+185
|\
| * always send a response to adb even in edge cases; e.g. send an auto-NO if ↵Charles Kerr2016-05-031-45/+47
| | | | | | | | the usb connection is broken while the prompt is up
| * don't clear the snap decision when the greeter changes stateCharles Kerr2016-04-291-1/+0
| |
| * fix two trivial 'unused parameter' warnings in glib callbacksCharles Kerr2016-04-271-2/+2
| |
| * remove the temporary tracersCharles Kerr2016-04-273-19/+1
| |
| * choosing an action in the snap decision closes the notification, so when ↵Charles Kerr2016-04-271-1/+3
| | | | | | | | that happens clear our notification_id s.t. our dtor doesn't try to remove a notification that no longer exists
| * add tracers for the notification warningCharles Kerr2016-04-272-2/+15
| |
| * add tracer log messagesCharles Kerr2016-04-253-9/+25
| |
| * don't prompt when the greeter's not running yet: change greeter's payload ↵Charles Kerr2016-04-223-15/+23
| | | | | | | | from an 'is_active' bool to a three-value state of active, inactive, and unavailable
| * code cleanup to prepare for MRCharles Kerr2016-04-212-10/+7
| |
| * don't pass a GDBusConnection to the Greeter ctorCharles Kerr2016-04-213-55/+70
| |
| * remove tracersCharles Kerr2016-04-202-10/+1
| |
| * watch for the Greeter to appear on the busCharles Kerr2016-04-203-64/+96
| |
| * more tracersCharles Kerr2016-04-201-0/+4
| |
| * debug tracersCharles Kerr2016-04-202-1/+9
| |
* | keep piling 'em onCharles Kerr2016-09-221-0/+2
| |
* | tweak the debug tracersCharles Kerr2016-09-223-136/+136
| |
* | The notifying thread does not need to hold the lock on the same mutex as the ↵Charles Kerr2016-09-221-1/+1
| | | | | | | | one held by the waiting thread(s); in fact doing so is a pessimization.
* | fix r25 copypaste error, lock on the correct mutexCharles Kerr2016-09-221-1/+1
| |
* | GAdbdClient::Impl::on_public_key_response() doesn't need a condition ↵Charles Kerr2016-09-222-6/+8
| | | | | | | | variable wait, so use std::lock_guard rather than std::unique_lock
* | add a plethora of log statements to help figure out what's causing the silo ↵Charles Kerr2016-09-222-0/+135
| | | | | | | | test failures
* | adbd-client's std::condition_variable::wait() call seems to be the ↵Charles Kerr2016-09-212-7/+12
| | | | | | | | system_error culprit, so wrapping in try-catch to be cautious
* | in adbd-client's dtor, check the worker thread's joinable() state before ↵Charles Kerr2016-09-211-2/+7
| | | | | | | | calling join() on it