Commit graph

7247 commits

Author SHA1 Message Date
Daniel Albers
7d78e55fcc fix: Enable TCP keepalive by default
Deskflow previously lacked support for TCP keepalive, which meant that
dead connections (such as those resulting from a terminated SSH tunnel
or an ungraceful network interruption) could remain in the system's
connection table indefinitely.

This commit adds the setKeepAliveOnSocket method to the IArchNetwork
abstraction and implements it for both BSD/Unix and Winsock/Windows
backends. Keepalive is now enabled by default in TCPSocket::init,
allowing the operating system to eventually detect and clean up
stale connections.
2026-04-22 07:12:02 -04:00
sithlord48
acd02a01e6 fix: use Maximum for the high of the mode selection to prevent being cut off 2026-04-21 07:36:48 -04:00
Luiz Sardinha
5a028c12d4 fix(mac): quit core if accessibility permissions are revoked 2026-04-21 06:54:05 -04:00
Luiz Sardinha
9025ab8fb7 refactor: allow exit event to provide an exit code 2026-04-21 06:54:05 -04:00
Luiz Sardinha
71c25b3ab9 refactor: bringing error code from the application thread to the main thread (and using its exit code to exit) 2026-04-21 06:54:05 -04:00
Luiz Sardinha
1854e469f4 refactor: making core a QApplication (so it runs cocoa loop on macOS) 2026-04-21 06:54:05 -04:00
sithlord48
c4f11942e4 ci: replace old msvc action with TheMrMilchmann/setup-msvc-dev@v4 enable spectre mitigations for msvc used 2026-04-20 13:05:59 +01:00
sithlord48
7a37f02bee ci: update cache to v5 2026-04-20 11:12:17 +01:00
sithlord48
68e9ec74a8 ci: upgrade to download-action v8 2026-04-20 11:12:17 +01:00
sithlord48
a344daa25f ci: upgrade to checkout v6 2026-04-20 11:12:17 +01:00
sithlord48
97578fb68b ci: update remaining upload-artifacts to v7 2026-04-20 11:12:17 +01:00
alizane
42b824a8db fix: enforce C locale in LogTests for decimal formatting
fixes: #7466
2026-04-17 12:12:47 -04:00
sithlord48
f07c6b3d03 ci: update upload-action to v7 2026-04-16 17:31:32 -04:00
sithlord48
1c81886643 fix: clipboard buffer overrun using propose solution from kitknox 2026-04-16 08:03:06 -04:00
sithlord48
c8e0feab4e build(arch): remove ArchDaemonNone and do not subclass Arch from ARCH_DAEMON on unix 2026-04-13 09:48:12 +01:00
sithlord48
e33bef1b95 build(arch): remove unneeded links to ${libs} 2026-04-13 09:48:12 +01:00
sithlord48
d6a935b5e9 build(common): expose the include dirs from the common library as public 2026-04-13 09:48:12 +01:00
sithlord48
1922f916af refactor: Move -> deskflow/languages/LanguageManager -> deskflow/KeyboardLayoutManager
rename methods to relfect its use for keyboard layouts not languages
2026-04-08 09:47:23 +01:00
sithlord48
e293d4eb8c refactor(ipc): add missing use of at for lists 2026-04-08 09:47:23 +01:00
sithlord48
d1074f64ae refactor(ipc): use more QStringLiterals 2026-04-08 09:47:23 +01:00
sithlord48
bdb7309778 refactor(ipcClient): declare values in if statement where possible 2026-04-08 09:47:23 +01:00
sithlord48
7f2953d422 ci: Remove stale action 2026-04-07 08:42:33 -04:00
Nick Bolton
7c30add2a1 feat(ipc): Error handling for missing version in IPC handshake 2026-04-07 13:09:29 +01:00
Nick Bolton
77bee2ddf3 feat(ipc): Log more detail on IPC error handling 2026-04-07 13:09:29 +01:00
Nick Bolton
25f3eb3f22 feat(ipc): Differentiate between Daemon and Core IPC logs 2026-04-07 13:09:29 +01:00
Nick Bolton
682966fec0 feat(ipc): Handle missing keyboard layouts with IPC 2026-04-07 13:09:29 +01:00
Nick Bolton
59a4747113 feat(ipc): Unrecognised IPC client, retry messages, and TLS fingerprint
Also adds version checking for IPC server and client
2026-04-07 13:09:29 +01:00
Nick Bolton
66c9b6607c feat(ipc): Messaging for connection states via IPC (async client) 2026-04-07 13:09:29 +01:00
Nick Bolton
62ccb543dc feat(ipc): Core IPC server and connected client 2026-04-07 13:09:29 +01:00
Nick Bolton
1ec36645e1 refactor(ipc): Abstract IPC client logic 2026-04-07 13:09:29 +01:00
Nick Bolton
2e13074580 refactor(ipc): Abstract IPC server logic 2026-04-07 13:09:29 +01:00
Nick Bolton
e4bafaf88f refactor(win32): More consistent Windows desk switch log line 2026-04-07 13:09:29 +01:00
Nick Bolton
eebe5fd55f refactor(win32): Rename Windows thread finding methods for consistency 2026-04-07 13:09:29 +01:00
Nick Bolton
b0985a2740 fix(unix): Add foreign Qt threds in legacy POSIX thread impl 2026-04-07 13:09:29 +01:00
Nick Bolton
aaef600ffa fix(mac): Remove Cocoa app loop and fix macOS event tap for Qt threading 2026-04-07 13:09:29 +01:00
Nick Bolton
29352d97b3 fix(core): Destroy temporary QCoreApplication before creating the real one 2026-04-07 13:09:29 +01:00
Nick Bolton
8a77e5f130 refactor(core): Convert app to Qt app 2026-04-07 13:09:29 +01:00
sithlord48
d8e9ac27f5 refactor: Messages::showNewClientPrompt check if server auth is needed when the message is shown not in the signal 2026-04-07 11:09:58 +01:00
sithlord48
047451696a refactor: Messages::showFirstConnectionMessage check the settings for the values 2026-04-07 11:09:58 +01:00
sithlord48
632b64f12f chore: MainWindow remove unused forward declariations 2026-04-07 11:09:58 +01:00
sithlord48
6a1e8f3edb chore: remove unused QMessageBox includes and Foward Declaration 2026-04-07 11:09:58 +01:00
sithlord48
a53c0fd96e ci(release.yml): remove stray label entry 2026-04-02 12:46:24 +01:00
sithlord48
5536f98da3 fix(LogDock): Scroll the log widget to the bottom if the log is visible and the find widget is not expanded when appending new log lines
fixes: #9622
2026-04-02 12:26:13 +01:00
sithlord48
b17883618c feat(LogWidget): new scrollToBottom method to scroll the log to to the bottom 2026-04-02 12:26:13 +01:00
sithlord48
4f377d97ff feat(SearchWidget): new isExpanded method true when widget is showing the find line 2026-04-02 12:26:13 +01:00
sithlord48
b1a71be6b3 ci: Add .github/release.yml to make auto generated release notes for v release easier to sort 2026-04-02 12:05:13 +01:00
Nick Bolton
4d4bd7f190 fix: Use stale bread label 2026-03-31 06:13:13 -04:00
sithlord48
41fcc1e815 refactor: add [[no_unique_address]] hint for XWindowsScreen::m_powerManager 2026-03-30 10:36:15 +01:00
sithlord48
15bae79bf4 refactor: correctly use [[maybe_unused]] 2026-03-30 10:36:15 +01:00
sithlord48
ca6220ad30 refactor: remove redundant c_str when setting logError 2026-03-30 10:36:15 +01:00