sithlord48
4f9b042f5a
refactor: explicit constructor for PlatformScreen, FileTail, FunctionJob, FunctionEventJob, ServerConfig, ScreenSettingsDialog, KeySequenceWidget, NetworkAddress, AddClientDialog, ConfigReadContext, LockCursorToScreenAction, RestartServer And KeyboardBroadcastAction
2025-08-04 13:46:27 +01:00
Christian Schmidt
1236fa4cab
fix: server: initialize the m_protocol member with a default value
...
It is likely random whether the server works or not without
a manually configured protocol option, which is neither documented
nor enforced to be set.
With a random uninitialized value in m_protocol, this can happen:
[2025-08-03T12:39:57] NOTE: accepted client connection
[2025-08-03T12:39:57] FATAL: a runtime error occurred: XInvalidProtocol
Reports of "it works with debug enabled" are likely due to having
parts of the memory space the server object is allocated into being
cleared, and thus having a 0 (Synergy) startup value.
2025-08-04 12:47:13 +01:00
sithlord48
e69be64773
refactor: remove redundant != operators c++20 std will generate the !=operator as long as the class has an ==operator
2025-08-01 13:03:51 -04:00
sithlord48
c2db28a624
refactor: ServerProxy::setActiveServerLanguage take std::string_view
2025-08-01 13:03:51 -04:00
sithlord48
1f92f2a2ed
chore: XWindowsScreen declare vars on seperate lines
2025-08-01 13:03:51 -04:00
sithlord48
74bbd5af25
chore: Fingerprint, remove unneed private label in struct
2025-08-01 13:03:51 -04:00
sithlord48
023037f7ee
refactor: XWindowsClipboard, user std::format_to_n in place of snprintf
2025-08-01 13:03:51 -04:00
sithlord48
fe19f4de66
refactor: ServerProxy::setActiveServerLanguage, use std::string size method to get string in place of strlen
2025-08-01 13:03:51 -04:00
sithlord48
d120cc853d
refactor: InputFilter, user std::ranges::partial_sort in == operator
2025-08-01 13:03:51 -04:00
sithlord48
c78665dc35
refactor: XWindowsKeyState, updateKeysymMap use std::ranges::fill to fill modifier array
2025-08-01 13:03:51 -04:00
sithlord48
c4c4c09eb2
refactor: XwindowsClipboard , use std::ranges::for_each in sendReply
2025-08-01 13:03:51 -04:00
sithlord48
2cccc3d0c8
refactor: use std::ranges::find_if when possible
2025-08-01 13:03:51 -04:00
sithlord48
59c414ebad
refactor: IKeyState: use emplace in place of insert for set addition
2025-08-01 13:03:51 -04:00
sithlord48
1e7143b85e
refactor: IKeyState, remove name from unused IEventQueue in constructor
2025-08-01 13:03:51 -04:00
sithlord48
a6068ad6f6
refactor: Log use std::format in place of snprintf, when not running on macOS...
2025-08-01 13:03:51 -04:00
Corentin Rossignon
11caf55522
fix: Wrong m_buttons vector size in case of maxButton inferior to numButtons
2025-08-01 08:18:57 -04:00
sithlord48
f73d098b1f
refactor: Unify ENetworkProtocol and ServerProtocol into new enum Class NetworkProtocol in new file base/NetworkProtocol.h
2025-07-31 13:41:29 +01:00
sithlord48
9673943556
refactor: OptionTypes, Remove corner related enums and uses static items for corner masks instead
2025-07-31 13:41:29 +01:00
sithlord48
7c06ae39ef
refactor: AddResults => enum class ScreenAddResults
2025-07-31 13:41:29 +01:00
sithlord48
ffa5b88cdf
refactor: ServerApp::EServerState => Enum class ServerApp::ServerState
2025-07-31 13:41:29 +01:00
sithlord48
8977d70dd9
refactor: IClipboard::EFormat => enum class Clipboard::Format
2025-07-31 13:41:29 +01:00
sithlord48
943141d65c
chore: use Deskflow name in copy text sample, rename ClipboardTest::text285 -> longerText
2025-07-31 13:41:29 +01:00
sithlord48
49e36cfdc6
refactor: Event, make non default constructors explicit
2025-07-29 13:41:34 +01:00
sithlord48
283e0c6367
refactor: KeyMap EType => enum class KeyType
2025-07-29 13:41:34 +01:00
sithlord48
902f5823f2
refactor: KeyMap::keysToRestoreModifiers, use ranged for loops
2025-07-29 13:41:34 +01:00
sithlord48
7785c954d5
refactor: KeyMap::mapCommandKey to use ranged loop
2025-07-29 13:41:34 +01:00
sithlord48
db841f71bd
refactor: PriorityQueue, Use std::ranges version of heap methods
2025-07-29 13:41:34 +01:00
sithlord48
84c2234869
refactor: ActionDialog use proper ActionDialog::itemToggled in place of lambda
2025-07-29 13:41:34 +01:00
Nick Bolton
51e467d45e
feat: Enable 'MouseKeys' on screen setup and never restore old settings
...
Previously we were toggling the 'MouseKeys' Windows accessibility feature on and off, but this was causing many bugs; cursor show delay while Windows brings up the mouse stack(?) and often forever lost mouse cursor when toggling off the 'MouseKeys' feature. After a few days of hacking away at this, it seems safest to just leave it on.
2025-07-28 21:45:05 +01:00
Nick Bolton
e184475a24
feat: Add logging in MSWindowsScreen for setup and cursor centering
2025-07-28 21:45:05 +01:00
Nick Bolton
1fb2789cb1
fix: Prevent flicker on desk leave with 30ms delay
2025-07-28 21:45:05 +01:00
Nick Bolton
8979d7f94f
feat: Cursor visibility retry mechanism
...
The `ShowCursor` function does not directly show/hide the cursor; it increments or decrements the internal display counter. When that counter reaches a certain positive/negative number, then the cursor is shown or hidden at a particular threshold.
2025-07-28 21:45:05 +01:00
Nick Bolton
9033198aed
refactor: Change mouse keys functions names to expose actual behavior
2025-07-28 21:45:05 +01:00
Nick Bolton
db55c3f0e7
build: remove unused includes from MSWindowsDesks.cpp|h
2025-07-28 21:45:05 +01:00
sithlord48
ba4375a28b
build: fix cmake error with git version if no tags / git repo
2025-07-28 09:52:21 +01:00
sithlord48
56f7a0d7b5
Release 1.23.0
2025-07-23 09:27:06 -04:00
sithlord48
3b27fa5771
build: windows, do not deploy software opengl library
2025-07-21 15:59:24 +01:00
sithlord48
72ddcdb7f5
build: windows do not deploy dxil.dll or dxcompiler.dll
2025-07-21 15:59:24 +01:00
sithlord48
4a7d031bc6
build: windows deploy qt plugins in plugin folder
2025-07-21 15:59:24 +01:00
sithlord48
45fcdde636
build: Windows, run deploy tool only once, use install to install qt depends
...
Remove unneed . in Qt deploy message
2025-07-21 15:59:24 +01:00
sithlord48
9a799294f7
build: fail sooner on windows / mac if unable to find Qt deploy tool
2025-07-21 10:39:00 -04:00
sithlord48
46db468ede
chore: use arrays to group files with same override info in REUSE.toml
2025-07-21 10:39:00 -04:00
sithlord48
28957a3fa8
build: generate vcpkg.json on windows
...
do not allow vcpkg.json to be added to the repo
provide a new option VCPKG_QT (default is OFF), to build Qt via vcpkg
2025-07-21 10:39:00 -04:00
sithlord48
2c55f4fe06
refactor: windows write daemon log in ProgramData\Deskflow
...
remove old log file on update
2025-07-21 12:41:46 +01:00
sithlord48
a4c82869a6
fix: split version info in new header
...
a new file src/lib/VersionInfo.h.in now holds our version info vars
fixes #8657
2025-07-21 12:06:01 +01:00
sithlord48
f33848f9b8
fix: setWindowIcon explicitly, fixes #8756
2025-07-21 11:10:19 +01:00
sithlord48
f497b6886a
ci: use Qt 6.9.0 for x64 windows to avoid random build failures with 6.9.1
2025-07-19 10:52:43 -04:00
sithlord48
21d38ff444
Revert "ci: force ninja update on windows"
...
This reverts commit 28c690074c .
2025-07-18 10:51:50 -04:00
sithlord48
e828563190
chore: MainWindow, use system correct monospace font for log
2025-07-18 10:51:50 -04:00
sithlord48
c7873f2f81
refactor: DisplayInvalidExecption pass const ref to string
2025-07-17 18:47:50 +01:00