Commit graph

394 commits

Author SHA1 Message Date
Charles Le (cle-air-m3)
13f98475a2 fix: remove ClipboardSending handler in proxy destructors (UAF)
fixes: #9842
2026-06-17 12:28:51 +01:00
sithlord48
eb6930a062 refactor(Settings): move defaultLockToScreenState to general settings 2026-06-16 09:59:51 +01:00
sithlord48
b665c730b7 refactor(Settings): move disableLockToComputer to general settings 2026-06-16 09:59:51 +01:00
sithlord48
69b9baaaeb refactor(Settings): move win32keepForeground to general settings 2026-06-16 09:59:51 +01:00
sithlord48
46e90e12ff refactor(Settings): move relative Mouse movement setting to general settings 2026-06-16 09:59:51 +01:00
sithlord48
261335d6c3 refactor(Settings): move switchDoubleTap to general settings 2026-06-16 09:59:51 +01:00
sithlord48
ea8f3881fe refactor(Settings): move switchDelay to general settings 2026-06-16 09:59:51 +01:00
sithlord48
488d620b3b refactor(Settings): Move heartbeat to general settings 2026-06-16 09:59:51 +01:00
sithlord48
516f24a0ba refactor(Settings): add helper method to get network protocol as NetworkProtocol directly 2026-06-10 17:37:56 +01:00
sithlord48
b91a39492f refactor(settings): exclusively read proto from the general settings 2026-06-10 17:37:56 +01:00
Nick Bolton
4e121dac30 chore: update 'Synergy App Ltd' copyright (company renamed) 2026-06-09 00:06:11 -04:00
sithlord48
8e469379e8 refactor(log): Squash all Debug1 And Debug2 logs into Verbose
fixes: #9725
BREAKING_CHANGE: log level values have changed settings for log level may need to be reset
2026-05-15 11:47:10 +01:00
sithlord48
b198681311 refactor(log): Remove LOG_NOTE, use LOG_INFO for all previous notes
BREAKING_CHANGE: LOG Levels maybe wrong when starting the app
2026-05-15 11:47:10 +01:00
sithlord48
050397f5b3 refactor: use QStrings for exceptions whats 2026-05-05 13:11:00 +01:00
sithlord48
77a97f815a refactor: move protocol from serverConfig => Settings::Server::Protocol 2026-04-22 15:35:20 -04:00
sithlord48
dff81e62fe chore: move base/NetworkProtocol -> common/NetworkProtocol 2026-04-22 15:35:20 -04: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
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
Tomaz Canabrava
18220a7847 chore: Fix Typo 2026-03-16 12:33:45 +00:00
Luiz Sardinha
d392547fd8 fix: ClientProxyUnknownFailure should also remove its client socket 2026-02-26 12:02:28 +00:00
Luiz Sardinha
220bf3178c fix: correctly deletes sockets that failed to become clients 2026-02-26 12:02:28 +00:00
Luiz Sardinha
99da66dbf7 fix: using a proper std::string to store KeyInfo buffers 2026-02-16 12:13:58 +00:00
evolvomind
403c4ad9b9 fix: log protocol mismatch at INFO level
fixes: #7800
2026-01-30 13:07:04 +00:00
sithlord48
dbed37e9ba refactor: networkprotocol, add string / enum conversion methods use them in config and elsewhere 2026-01-26 13:30:24 +00:00
sithlord48
1ed394e3ef refactor: remove DEBUG3 and move DEBUG3 messages to DEBUG2 2026-01-26 12:35:00 +00:00
sithlord48
2cf4fc8d0a refactor: remove DEBUG4 level and move any DEBUG4 messages to DEBUG3 2026-01-26 12:35:00 +00:00
sithlord48
1163cb842c refactor: do not initilize already initilized screen when not sent with KeyboardbroadCastInfo 2026-01-19 21:22:18 +00:00
sithlord48
15db716f04 refactor: Server::handleSwitchToScreen use const for our info 2026-01-19 21:22:18 +00:00
sithlord48
aca274e9ee refactor: add (C) to copyright header where missing 2026-01-18 15:38:59 +00:00
Gittensor Miner
938db301f0 refactor: modernize Server info structs to use C++ RAII
- Convert LockCursorToScreenInfo, SwitchToScreenInfo, SwitchInDirectionInfo,
  and KeyboardBroadcastInfo from C-style malloc/free structs to proper C++
  classes inheriting from EventData
- Replace char arrays with std::string for safer string handling
- Remove obsolete alloc() static methods in favor of constructors
- Update all call sites to use 'new' with constructors and getDataObject()
  instead of malloc with alloc() and getData()
- Add 'do nothing' comments to empty constructors for SonarQube scans
- Maintain EventFlags::DeliverImmediately for proper event delivery
- Reduces code by 48 lines and eliminates manual memory management
- Improves type safety and follows modern C++20 practices

This change makes the code more maintainable and less prone to memory leaks
by leveraging C++ destructors for automatic cleanup.
2026-01-16 09:38:29 +00:00
PseudoResonance
d35716f574 feat: Configure default screen lock state
fixes: #7907
2025-11-27 08:22:13 -05:00
sithlord48
8256a3ba43 refactor: allow for movable events
based on: 2f5c612ade
2025-11-14 09:05:37 -05:00
sithlord48
cbc74d99b0 refactor: server Store button info by value
based on: 55e727be14
2025-11-14 09:05:37 -05:00
sithlord48
0a5b39be7a chore: OptionTypes removed unused includes 2025-11-07 15:54:19 -05:00
sithlord48
65a7fbb90b chore: Server remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
c2ae5eae08 chore:InputFilter remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
06ac0a747f chore: ClientProxyUnknown remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e2a78ac5ac chore: ClientProxy1_7 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
9f213fa1dd chore: ClientProxy1_5 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
6924c4f09d chore: ClientProxy1_4 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
58bb8a0fcf chore: ClientProxy1_3 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e8702cd716 chore: ClientProxy1_1 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
fb5e532ff6 chore: ClientProxy remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
1e371ad84a chore: ClientListener remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
72496548de chore: PrimaryClient remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
e130cbb706 chore: server/Config remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
6ab1579d38 refactor: Log remove unneeded includes 2025-11-04 10:47:14 -05:00
sithlord48
e1fbcb379e chore: Sub classes and overloads not usings parameters of the base methods have the varible names removed 2025-10-17 09:07:21 +01:00
sithlord48
8b489b8301 chore: remove unneeded semi colons from several places 2025-10-17 09:07:21 +01:00