sithlord48
a6dc455477
fix: Settings reset on windows, create new profile dir when not in native mode
...
fixes : #8916
2025-09-01 17:22:15 +01:00
sithlord48
138ede0536
refactor: use If in place of switch that looks for single case
2025-09-01 16:57:39 +01:00
sithlord48
eae089d3ec
chore: ServerConfigDialog, conform to naming standards for members
2025-09-01 16:57:39 +01:00
sithlord48
340df69ca2
refactor: ServerConfigDialog, set members in alphbetical order, correct initlization order
2025-09-01 16:57:39 +01:00
sithlord48
507c98adff
refactor: EIKeyState::fakeKey use if in place of a switch that cares only about a single case
2025-09-01 16:57:39 +01:00
sithlord48
0501f2892d
chore: Messages::showClientError remove unneeded capture from lambda
2025-09-01 16:57:39 +01:00
Kris
104d2facdb
feat: add switchToNextScreen hotkey to cycle through computers
2025-09-01 11:39:52 -04:00
Kris
398c9726f3
fix: fixes the mouse label issue
2025-09-01 11:39:52 -04:00
sithlord48
eb2f885983
chore: conform CoreProcess to naming standards
2025-09-01 16:18:02 +01:00
Nick Bolton
4a16931c5d
refactor: Remove QProcessProxy and simplify CoreProcess
...
Making a proxy class for QProcess to make GTest work is an excellent example of over-abstraction making simple things hard to do. I just wanted to call a function on QProcess and had to jump through hoops to do it.
Bye bye QProcessProxy! We can do much better with QTest.
2025-09-01 16:18:02 +01:00
Nick Bolton
78b83c5639
fix: Use correct log function for process exit status in onProcessFinished
2025-09-01 08:05:07 -04:00
sithlord48
9cf25c4caf
feat: Allow suppression of generic client connection dialog
...
fixes 8907
2025-09-01 10:57:59 +01:00
sithlord48
f0e02724ee
refactor: CoreProcess::onProcessFinished add using for ProcessState enum
2025-09-01 10:04:52 +01:00
sithlord48
60e71aad38
fix: missing IPC messages
...
fixes #8905
2025-09-01 10:04:52 +01:00
sithlord48
d1897efa8b
chore: LogTests, Fix codeQL issue with args in the printTestWithArgs test
2025-08-30 10:07:41 +01:00
sithlord48
490dac5048
refactor: LogTests use private log member
2025-08-30 10:07:41 +01:00
sithlord48
549133e619
refactor: LogTests, read buffer capture before release
2025-08-28 08:20:14 +01:00
sithlord48
323d011476
chore: remove unused include for ArchString
2025-08-28 08:20:14 +01:00
sithlord48
4e8a67925f
refactor: Add Tooltip to log levels and show a label with info about debug level affecting performance
...
fixes : #8889
2025-08-28 00:45:40 +01:00
sithlord48
cba3881f41
refactor: Move all messages that are checked for by GUI in the log to new IPC Level so the gui can work with any filter level
2025-08-28 00:45:40 +01:00
sithlord48
78eb353985
refactor: Settings Allow all log levels to be shown in the Gui
2025-08-28 00:45:40 +01:00
sithlord48
e7880b72f1
chore: Mainwindow convert comments for regenerateLocalFingerprint to doxygen comments
2025-08-27 19:18:59 -04:00
sithlord48
d864361085
feat: Improve fingerprint comparison dialog, to show both remote and local prints (server is always on left of dialog)
...
fixes : #8866
2025-08-27 19:18:59 -04:00
sithlord48
66366dd95b
refactor: Fingerprintprevew, Add optional title text, remove label for cypher type and add option to toggle the sha mode so art or hash is visible
2025-08-27 19:18:59 -04:00
sithlord48
2c6c65f71e
refactor: MainWindow new localFingerprint method to read the local fingerprint from the db, this is split from showMyFingerprint
2025-08-27 19:18:59 -04:00
sithlord48
9eede5470c
refactor: TLSUtil do not check it tls is enabled before regenerating the certificate
...
fixes #8890
2025-08-27 05:51:15 -04:00
Nick Bolton
07edccb469
fix: Add 'Hyper' key handling
...
In the X11 code, we mapped hyper to super, so perhaps it makes sense to do that here too:
`src/lib/platform/XWindowsUtil.cpp`
```
case XK_Super_L:
case XK_Super_R:
case XK_Hyper_L:
case XK_Hyper_R:
return kKeyModifierBitSuper;
```
2025-08-26 09:52:43 -04:00
Zhuofeng Wang
927075688c
fix: Pass ClientScrollDirection to EiScreen
2025-08-26 09:08:45 -04:00
sithlord48
b18c3b588f
refactor: EIKeyState, compare to the current state when seeing if modifiers are inactive, suggested by wismill
2025-08-26 11:23:29 +01:00
sithlord48
fb144a5e66
refactor: LogTests are now built with QTest
2025-08-26 05:20:34 -04:00
Nick Bolton
34c439b3de
refactor: Use single case to ignore mods in EI mod mask
2025-08-22 17:04:16 +01:00
Nick Bolton
934ddf1499
fix: Disable meta mod (fixes alt key bug)
2025-08-22 17:04:16 +01:00
Nick Bolton
4302d50a42
feat: Use xkb_keymap_mod_get_mask in EiKeyState if available
...
Introduced in xkbcommon v1.10.0
2025-08-22 16:06:03 +01:00
sithlord48
3e96c4d0aa
refactor: Include breeze fallback icons for connect and disconnect
2025-08-22 09:54:20 +01:00
sithlord48
53f787d6ea
refactor: deskflow-core adjust already running message
2025-08-22 09:54:20 +01:00
sithlord48
d368b92165
refactor: CoreProcess::onProcessFinished Stop trying to restart the core process if its already running
2025-08-22 09:54:20 +01:00
sithlord48
97e3524a24
build: SecureSocket, include io/FileSystem in SecureSocket.cpp
2025-08-22 09:54:20 +01:00
sithlord48
299ebea0e2
refactor: replace QString::toStdString().c_str with qPrintable(...)
2025-08-22 09:54:20 +01:00
sithlord48
3a66969dec
refactor: add XdpRestoreToken to list of valid keys so its not removed if cleansettings is run
2025-08-21 07:54:21 -04:00
sithlord48
65c5d3673d
refactor: add header info to deskflow-core help message
2025-08-21 12:34:50 +01:00
sithlord48
e2b4bc45bd
feat: add --version option to deskflow-core
2025-08-21 12:34:50 +01:00
sithlord48
d3c0ce8895
refactor: move all exit codes to new ExitCodes
...
add new exitcode s_exitDuplicate for when exiting because of already running instance
2025-08-21 12:34:50 +01:00
sithlord48
2b3e7adc0b
feat: Prevent core, client and or server from running at the same time
...
fixes : #8258
2025-08-21 12:34:50 +01:00
sithlord48
26983dc0e4
refactor MainWindow, move start and restart inline with mode options
...
update labels for the mode buttons actions and menu actions
use callstart / callstop for connect and disconect icons
2025-08-20 16:09:08 -04:00
sithlord48
a0d75b28ba
refactor: SettingsDialog, group client options together into a groupClientOptions
2025-08-20 15:50:26 -04:00
sithlord48
e9cec877f2
fix: SettingDialog, only lock the check peers checkbox in updateTlsControls when in client mode
...
fixes #8870
2025-08-20 15:50:26 -04:00
sithlord48
0bb8ff646a
refactor: SettingsDialog, prevent updateControls from being called twice at startup
2025-08-20 15:50:26 -04:00
sithlord48
9268fef89d
refactor: SettingsDialog remove duplicate code by calling updateTlsControlsEnabled inside updateTlsControls
2025-08-20 15:50:26 -04:00
sithlord48
6f8b3f481d
refactor: adjust the help message for core to combine server and client message fixing man page deployment
2025-08-20 20:33:20 +01:00
sithlord48
3b2d7fc0b3
feat: Switch to deskflow-core instead of split binaries
2025-08-20 20:33:20 +01:00
sithlord48
7cac145500
fix: Allow Gui to work with core ,server or client binaries
...
fixes : #7951
2025-08-20 20:33:20 +01:00
sithlord48
b2aa638b1f
feat: Support Remote Desktop token persistance
2025-08-19 15:46:14 +01:00
sithlord48
2990a1f686
refactor: Server, reorder private member vars to avoid un unessary padding
2025-08-18 11:45:21 +01:00
sithlord48
c3f2c04a28
refactor: remove IAppUtil. AppUtil is the base class now
2025-08-18 11:45:21 +01:00
sithlord48
347cb46f15
refactor: remove IEventJob
2025-08-18 11:45:21 +01:00
sithlord48
bcb6c368b1
refactor: remove unneeded common/Common includes
2025-08-18 11:45:21 +01:00
sithlord48
a9e87d5ef5
refactor: remove INode class as base for Server and Client objects
2025-08-18 11:45:21 +01:00
sithlord48
4eec183598
refactor: remove IInterface class, that only adds a virtual construcor
2025-08-18 11:45:21 +01:00
sithlord48
6c6e5fc4d2
refactor: MainWindow use static for cleanup of QLocalServer
2025-08-15 12:15:40 +01:00
sithlord48
0d7d21aeb2
refactor: Action LockCursorMode => Action::LockCursorMode enum class
2025-08-15 12:15:40 +01:00
sithlord48
ea6f4ce221
refactor: Action SwitchDirection => Action::SwitchDirection enum class
2025-08-15 12:15:40 +01:00
sithlord48
1c7d5de01b
refactor Action::ActionType => Action::Type enum class
2025-08-15 12:15:40 +01:00
sithlord48
d2d28f5ad6
refactor: XWinowsUtil make s_keymap a std::array
2025-08-15 12:15:40 +01:00
sithlord48
04ca52b94e
fix: resolve issues with some swedish characters
...
fixes : #8839
2025-08-14 17:57:26 -04:00
sithlord48
0dfd4ebc4a
refactor: Mainwindow, adjust how and where the ip address is shown.
...
- Add a new method updateNetworkInfo to update lblIpAddresses
This method can be hooked to the system network info in the future
when we want to have this be more dynamic.
- Only show the IP address when in server mode.
- When showing the IP address show either the suggested IP or a message the user maybe offline
- Use the linkVisited color to for our error message
2025-08-12 13:04:09 -04:00
sithlord48
a7048f76f9
refactor: GUI, Mainwindow use the system hyperlink color to color the text of the 'primary' Ip address
2025-08-12 13:04:09 -04:00
sithlord48
8d92a8df68
refactor: On windows use the old malloc method to prevent random test failure in IKeyState
2025-08-12 12:14:21 -04:00
Pranav P
d6b53ea718
fix: failures in big endian machines tests
2025-08-12 16:56:17 +01:00
sithlord48
2e193c6a78
chore: PortalInputCapture, conform to naming conventions
2025-08-11 12:58:52 -04:00
sithlord48
f95230549a
chore: EiScreen: conform to nameing conventions
2025-08-11 12:58:52 -04:00
sithlord48
a13803df94
chore: EiKeyState, conform to naming conventions
2025-08-11 12:58:52 -04:00
sithlord48
2ba7fb2f05
chore: EiEventQueueBuffer, conform to naming conventions
2025-08-11 12:58:52 -04:00
sithlord48
9442295227
chore: remove unused HYPER key
2025-08-11 12:32:50 -04:00
sithlord48
8d87f3250d
refactor: ScreenSettingsDialog use qDeleteAll to clear list of items on alias remove
2025-08-11 12:32:50 -04:00
sithlord48
e700867a32
refactor: remove ServerConfig remove const qualifer from QString return
2025-08-11 12:32:50 -04:00
sithlord48
a21d48defb
refactor: reorder initilization order in XWindowEventQueueBuffer constructor
2025-08-11 12:32:50 -04:00
sithlord48
3770e2c39e
chore: XWindowsScreen::handleSystemEvent, remove unused Window variables
2025-08-11 12:32:50 -04:00
sithlord48
8d90515446
chore: define var on seperate line from type
2025-08-11 12:32:50 -04:00
sithlord48
db67550db3
refactor: server: use contains when possible
2025-08-11 12:32:50 -04:00
sithlord48
85e7d95188
refactor: server/Config use contains
2025-08-11 12:32:50 -04:00
sithlord48
651e093e04
refactor: clientProxy1_4 do not create pointless override that just call the baseclass
2025-08-11 12:32:50 -04:00
sithlord48
02fb9915bf
refactor: Arch, only define init override on windows, where its ambiguious
2025-08-11 12:32:50 -04:00
sithlord48
6153f64fb7
chore: remove uneeded casts
2025-08-11 12:32:50 -04:00
sithlord48
f91df1639b
refactor: make sure to state type of access to base class
2025-08-11 12:32:50 -04:00
sithlord48
63bd2e71b0
refactor: CoreProcess fully qualify enums used in signals
2025-08-11 12:32:50 -04:00
sithlord48
e1d00d59a4
refactor: ScreenSetupModel::isFull compaire same type of iterator
2025-08-11 12:32:50 -04:00
sithlord48
5def3f1f6a
refactor: DaemonApp add context object for lambda starting the thread
...
chore: DaemonApp, remove unnessary QObject:: for connect calls
2025-08-11 12:32:50 -04:00
sithlord48
6840e1e7eb
fix: Better description for InvalidProtocolException
...
fixes : #8830
2025-08-11 17:14:45 +01:00
sithlord48
85d89f9846
refactor: XArch Classes => Arch Exception Classes
2025-08-11 17:14:45 +01:00
sithlord48
8929f85bf7
refactor: XConfigRead => ServerConfigReadException
2025-08-11 17:14:45 +01:00
sithlord48
9601180e1b
refactor: XBase Classes => BaseException
2025-08-11 17:14:45 +01:00
sithlord48
64786ddcb7
refactor: XDeskflow Classes => DeskflowException Classes
2025-08-11 17:14:45 +01:00
sithlord48
e4a9d1eb78
refactor: XScreen Classes => ScreenException Classes
2025-08-11 17:14:45 +01:00
sithlord48
1b04b1137c
refactor: XIO Classes => IOException Classes
2025-08-11 17:14:45 +01:00
sithlord48
813b0c3828
refactor: mt/XThread Classes => mt/ThreadException Classes
2025-08-11 17:14:45 +01:00
sithlord48
22a358fb49
refactor: XMT Classes => MTException Classes
2025-08-11 17:14:45 +01:00
sithlord48
ada2813f9f
refactor: XSocket Classes => XSocketException Classes
2025-08-11 17:14:45 +01:00
sithlord48
906c07e4fd
fix: MainWindow::setHostName only check if the screen is existing when in server mode, In severmode update the serverConfig serverName to prevent a case where the server screen is on the grid with the old name breaking the layout
2025-08-11 16:49:25 +01:00
Nick Bolton
a4c0e30bb8
fix: Ignore Mod2 and Mod3 to make log quieter
2025-08-07 15:31:52 -04:00
Peter Hutterer
a5c9744258
fix: Account for more modifiers in the EI keymap calculation
...
Some modifiers, notably LevelThree, were not accounted for in the
modifier mask calculation. This leads to an incorrect keymap where some
key symbols were listed for keys without (or insufficient) modifiers.
Emulating those keys can then produce the wrong keysyms.
Reproducible with server and client on English(UK) layout and typing
e.g. [. That key has its own key AD11 (right of P) but is also on
the third level of AE08 (the 8 key). When the server sends the keyid 91
(for [) the client looks it up in the pre-generated keymap. It is found
first on the 8 key with no modifiers (because LevelThree was previously
ignored), hence the client simulates a key 8 press without modifiers.
This erroneously produced an 8 instead of the wanted [.
Fix this by ensuring that all modifiers are accounted for in the key
map. This fix is likely incomplete as it does not account for the full
virtual modifier to real modifier mappings possible (e.g. Mod5 *may* be
something other than AltGr) but it does push the can a bit further down
the road, for someone else to release the worms.
Closes : #8168
2025-08-07 15:31:52 -04:00
sithlord48
2a84ef0ebf
refactor: update log calls to LOG_... fixes #8819
2025-08-06 16:18:38 +01:00
Nick Bolton
9a9bd7e262
chore: Improve logging for active sides
...
For the longest time, this log line has bugged me:
```
active sides: e
```
It's hex, but it looks like a bug, since there's no `0x` prefix. Also, most humans can't read hex, so I added a string representation.
New version:
```
[2025-08-06T11:56:00] DEBUG: active sides: LRT (0x0e)
```
2025-08-06 08:38:00 -04:00
James Le Cuirot
47bb33e065
fix: update inclusion of climits and cstdint headers
...
For INT_MAX and SIZE_MAX.
2025-08-06 13:03:52 +01:00
sithlord48
40423397e3
refactor: Config remove redundant != Operator in server/Config
2025-08-06 11:44:38 +01:00
sithlord48
4955e8c2ba
refactor: Fingerprint, KeyMap, KeySequence and Action use default == operator
2025-08-06 11:44:38 +01:00
sithlord48
24480ce946
refactor: AppUtilUnix remove name from unused IEventQueue pointer
2025-08-06 11:44:38 +01:00
sithlord48
76d5ac0a34
refactor: KeyTypes::KeyModifierNameMapEntry, remove commented code
2025-08-06 11:44:38 +01:00
sithlord48
d20887f34a
refactor: KeyState::updateModifierState, use std::ranges::set_difference in place of std::set_difference
2025-08-06 11:44:38 +01:00
sithlord48
0cbc922478
refactor: MSWindowsDesks::getCursorPos initialize pos to 0,0
2025-08-06 11:44:38 +01:00
sithlord48
38866cf2c1
refactor: remove unneeed constructors from DisplayInvalidExecption
2025-08-06 11:44:38 +01:00
sithlord48
32165f5b58
refactor: IKeyState remove need for malloc in alloc methods
2025-08-06 11:44:38 +01:00
sithlord48
1968669a39
refactor: App make m_bye private access it from the method bye
2025-08-06 11:44:38 +01:00
sithlord48
3b2b8a9ebe
refactor: IKeyState: directly make string when spilting as arg to emplace
2025-08-06 11:44:38 +01:00
sithlord48
048ce47008
refactor: ServerConfig: used ranged loop to process neighbours
2025-08-06 11:44:38 +01:00
sithlord48
d321e2a874
refactor: TCPSocket Init m_socket before m_events
2025-08-06 11:44:38 +01:00
Nick Bolton
0352e1c6d6
chore: Improve logging in Server::onClipboardChanged
2025-08-05 14:41:50 -04:00
Nick Bolton
98d03fb098
chore: Improve logging in Server::handleClipboardGrabbed
2025-08-05 14:41:50 -04:00
Nick Bolton
739cdc1752
chore: Improve logging for DESKFLOW_MOUSE_ADJUSTMENT env var
...
We plan to move this elsewhere, but in the meantime, the DEBUG1 logging was too noisy. Also fixed some code style that was bugging me.
2025-08-05 14:41:50 -04:00
Nick Bolton
54a7ef24d9
refactor: Remove unused includes from KeyMap.cpp and use correct <algorithm> include
2025-08-05 08:56:53 -04:00
Nick Bolton
c4ff0b1832
refactor: Remove unnecessary debug log from KeyState::fakeKeys
2025-08-05 08:56:53 -04:00
sithlord48
b70c6556c9
refactor: mainwindow show displayVersion with start up info
2025-08-05 13:36:04 +01:00
sithlord48
80408b985e
refactor: show display version for --version
2025-08-05 13:36:04 +01:00
sithlord48
ff1e7f3c9f
refactor: ClientApp / ServerApp, remove do nothing updateStatus methods and calls
2025-08-04 13:46:27 +01:00
sithlord48
b2eb3a036d
refactor: move ClientApp::handleScreenError / ServerApp::handleScreenError to base App Class
2025-08-04 13:46:27 +01:00
sithlord48
229fedf347
refactor: App::m_bye make protected
2025-08-04 13:46:27 +01:00
sithlord48
cfccee1592
refactor: TCPSocket, make m_events private access via getEvents method
2025-08-04 13:46:27 +01:00
sithlord48
0c728beb01
refactor: TCPListenSocket, replace make protected members private, use protected methods to acces them in the subclasses
2025-08-04 13:46:27 +01:00
sithlord48
4e01e3f337
refactor: make APP:m_events private access via exsisting getEvents method
2025-08-04 13:46:27 +01:00
sithlord48
92ae41852d
chore: remove Unused Stopwatch::double operator
2025-08-04 13:46:27 +01:00
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
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
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
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
sithlord48
9f72b44d2a
refactor: ClientApp indicate msg is unused in update status
2025-07-17 18:47:50 +01:00
sithlord48
8dcd9b0c01
refactor: ArgParser::assemble command use const ref std::string_view for ingoreArg
2025-07-17 18:47:50 +01:00
sithlord48
e436b41ab0
refactor: ArgParser::parsePlatformArgs remove unused argument isServer
2025-07-17 18:47:50 +01:00
sithlord48
c2eae36650
refactor: ArgParser, simplify arg parsing by combining duplicate checks into one
2025-07-17 18:47:50 +01:00
sithlord48
1079c22736
refactor: Settings use Static methods where possible internally
2025-07-17 18:47:50 +01:00
sithlord48
d69febe2dc
refactor: Unicode, declare vars on seperate line as untions, using string_view for UCS2ToUTF8 input, remove redundant parentheses
2025-07-17 18:47:50 +01:00
sithlord48
c6a97c24a2
refactor: String, use std::ranges::lexicogriphical_compare to simplify CaselessCpm::less
2025-07-17 18:47:50 +01:00
sithlord48
d9ec93e7ee
refactor: String, pass stringToSizeType a const ref of the string we are to get the size of
2025-07-17 18:47:50 +01:00
sithlord48
9db11a90eb
refactor: TCPSocket, new protected methods to access m_readable, m_writable and m_connected, use them in place of direct access and make the variables private
...
TCPSocket, remove duplicate private and protected sections in header
2025-07-17 18:47:50 +01:00
sithlord48
c327c80d63
refector: TCPListenSocket, remove duplicate public in header, make m_mutex private
2025-07-17 18:47:50 +01:00
sithlord48
0884a267d1
refactor: App move m_suspended to the subclasses where its is used
2025-07-17 18:47:50 +01:00
sithlord48
d1b810baa5
refactor: use std::size to get size of arrays
2025-07-17 18:47:50 +01:00
sithlord48
f51abad8cc
feat: Wayland, only set a side to a border if if has a neighboring screen
...
move protocolTypes Direction enum to new base/DirectionTypes
use the direction info when calling
fixes #8572
fixes #8452
fixes #8605
fixes #8005
2025-07-14 10:31:50 +01:00
sithlord48
ae5ba4e51f
chore: remove dev method PortalInputCapture::fakeEisFd
2025-07-14 10:31:50 +01:00
sithlord48
9413393057
refactor: anonymous enum in ServerConfig => ServerConfig::AddResults enum class
2025-07-11 03:06:24 -07:00
sithlord48
79b445373b
refactor: FingerPrintDialog::FingerpringDialogMode now enum class
2025-07-11 03:06:24 -07:00
sithlord48
9beea1abfe
refactor: anon enum in AddClientDialog to AddAction enum class
2025-07-11 03:06:24 -07:00
sithlord48
a88a67d47f
refactor: ActionDialog::ActionType enum is now a struct
2025-07-11 03:06:24 -07:00
sithlord48
7fd9070a80
refactor: InputFilter::EFilterStatus => InputFilter::FilterStatus enum class
2025-07-11 03:06:24 -07:00
sithlord48
e37cea2d6b
refactor: replace anon Enum in XWindowsKeyState with static vars
2025-07-11 03:06:24 -07:00
sithlord48
181d862838
refactor EiEventQueue remove anon enum for a few static members
2025-07-11 03:06:24 -07:00
sithlord48
6ca980e3e5
refactor: XSocket::EError => XSocket::SocketError enum class
2025-07-11 03:06:24 -07:00
sithlord48
94be5f7498
refactor: TCPSocket::EJobResult => enum class TCPSocket::JobResult
2025-07-11 03:06:24 -07:00
sithlord48
32e6a84a6f
chore: remove unused anon enum in SecureSocket
2025-07-11 03:06:24 -07:00
sithlord48
b9964b5e90
refactor: remove anon enum in IKeyState and replace with static s_numButtons
2025-07-11 03:06:24 -07:00
sithlord48
422b4c3a23
refactor ClientArgs ClientScrollDirection to enum class use Members Normal and Inverted for names
2025-07-11 03:06:24 -07:00
sithlord48
05e32497d1
refactor: ArgsBase::Type => ArgsBase::ClassType class enum
2025-07-11 03:06:24 -07:00
sithlord48
9905f32738
refactor: Common.h replace anon enum with set constexpr exit codes
2025-07-11 03:06:24 -07:00
sithlord48
29e9b8ae3b
refactor: ServerProxy::EResult => ServerProxy::ConnectionResult enum class
2025-07-11 03:06:24 -07:00
sithlord48
fe3c41f857
refactor: remove Unneed enum for LogOutputters and use a constexp instead
2025-07-11 03:06:24 -07:00
sithlord48
3ececbcfd9
refactor: Event anon enum => EventFlags struct
2025-07-11 03:06:24 -07:00
sithlord48
c12aa4c6e9
refactor: Make IEventQueueBuffer Types an enum class, use proper names rename kNone => Unknown to reflect its unknowns an unknown type of event
2025-07-11 03:06:24 -07:00
sithlord48
fc58688bb0
refactor: replace throw() with noexcept in cases where execeptions are not possible
2025-07-11 03:06:24 -07:00
sithlord48
77bdde5434
refactor: Elevel => LogLevel enum class, use proper names for items in the class
2025-07-11 03:06:24 -07:00
sithlord48
3472ff6ce5
chore: ArchNetworkBSD, use std::ignore in place of unused int
2025-07-11 03:06:24 -07:00
sithlord48
2d3105206d
fix: save geometry not frameGeometry on exit
...
fixes #8741
2025-07-09 09:32:39 +01:00
sithlord48
c6778dc9be
refactor: use more if and switch init-statements
2025-07-07 17:53:56 +01:00
sithlord48
36e985d8ab
chore: add missing default for switches
2025-07-07 17:53:56 +01:00
sithlord48
865365b2fa
chore: add noreturn to more methods
2025-07-07 17:53:56 +01:00
sithlord48
8a83f68ff0
chore: remove unused < operator for Timer class
2025-07-07 17:53:56 +01:00
sithlord48
245fa815d2
refactor: Server::onMouseMousePrimary, use std array for horizontal and vertical direction array
2025-07-07 17:53:56 +01:00
sithlord48
f12f312dab
refactor: ProtocolTypes EDirection => enum class Direction
2025-07-07 17:53:56 +01:00
sithlord48
dded2e3711
refactor: ProtocolTypes EDirectionMask => enum class DirectionMask
2025-07-07 17:53:56 +01:00
sithlord48
d71d4eaf07
refactor: ProtocolTypes EDataTransfer => struct ProtocolTypes::ChunkType
2025-07-07 17:53:56 +01:00
sithlord48
bc9f47c957
refactor: ProtocolTypes EDataReceived => enum class ProtocolTypes::TransferState
2025-07-07 17:53:56 +01:00
sithlord48
0ea2576032
refactor: XWindowsEventQueueBuffer, use static const for timeoutd delay
2025-07-07 17:53:56 +01:00
sithlord48
0100cb796e
chore: SecureSocket remove unused MAX_ERROR_SIZE define , rename MAX_INPUT_BUFFER_SIZE static to confirm to naming convention
2025-07-07 17:53:56 +01:00
sithlord48
8ec40dd74b
refactor: ClipboardChunk Replace CLIPBOARD_CHUNK_META_SIZE define with constexpr
2025-07-07 17:53:56 +01:00
sithlord48
4034d15fb3
refactor: ClientApp Replace RETRY_TIME define with constexpr
2025-07-07 17:53:56 +01:00
sithlord48
1a9f8d5cdc
refactor: app Replace options defines as constexpr use more sane names
2025-07-07 17:53:56 +01:00
sithlord48
66ddaca410
refactor: PriorityQueue::Swap make noexcept
2025-07-07 17:53:56 +01:00
sithlord48
2c2a5c0269
refactor: Make KeyMake::Swap noexcept
2025-07-07 17:53:56 +01:00
sithlord48
e42d3b45b6
refactor: SocketMultiplexer, do not create nested pointer in new Thread call
2025-07-07 17:53:56 +01:00
sithlord48
5aa9b1bfd4
refactor: PortalRemoteDesktop, do not create nested pointer in new Thread call
2025-07-07 17:53:56 +01:00
sithlord48
cfbfa88cdc
refactor: PortalInputCapture: do not create nested pointer in new Thread call
2025-07-07 17:53:56 +01:00
sithlord48
4a92a3295b
refactor: ScreenSettingsDialog, do not create nested validators in the Lines setValidator method
2025-07-07 17:53:56 +01:00
sithlord48
ede27975d7
chore: clean up remaing sonar warnings to use in class intializers where possible
2025-07-07 17:53:56 +01:00
sithlord48
a175c293f6
chore: comment empty methods that do nothing
2025-07-07 17:53:56 +01:00
Kentaro Hayashi
5976da7e5b
chore: fix W:useless-whatis-entry lintian warnings
...
By default, help2man generates "manual page for foobar" for
manual files.
It is useless because there is no addtional information which
explains what deskflow is.
With --name option, .SH NAME section will be set correctly.
Before:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DESKFLOW-CLIENT "1" "June 2025" "deskflow-client v1.22.0.109, protocol v1.8" "User Commands"
.SH NAME
deskflow-client \- manual page for deskflow-client v1.22.0.109, protocol v1.8
.SH SYNOPSIS
.B deskflow-client
[\fI\,OPTIONS\/\fR]
.SH DESCRIPTION
After:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DESKFLOW-CLIENT "1" "July 2025" "deskflow-client v1.22.0.109, protocol v1.8" "User Commands"
.SH NAME
deskflow-client \- Keyboard and mouse sharing utility (Client)
.SH SYNOPSIS
.B deskflow-client
[\fI\,OPTIONS\/\fR]
.SH DESCRIPTION
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-07-03 13:23:15 +00:00
sithlord48
7fe50748f3
refactor: ServerApp use if in places of multi ternary ops for readablitly
2025-07-03 03:24:16 +00:00
sithlord48
0474e10b03
chore: Arch::time explictly convert to double on return
2025-07-03 03:24:16 +00:00
sithlord48
2421a8b725
refactor: Make throwError and throwNameError members of IArchNetwork
...
make throwError and throwNameError noreturn
remove unused extra private section in IArchNetwork subclasses
2025-07-03 03:24:16 +00:00
sithlord48
ab4fbd1c85
refactor: use using enum EventTypes when possible to reduce verbosity
2025-07-03 03:24:16 +00:00
sithlord48
8f6f014bcd
refactor: IArchNetwork turn anonymous enum into PollEventMask struct with set of static values
2025-07-03 03:24:16 +00:00
sithlord48
47d44db497
refactor: make EStreamType enum Class StreamType, and conform members to naming conventions
2025-07-03 03:24:16 +00:00
sithlord48
879283f46f
refactor: Make IArchNetwork::EAddressFamily enum class IArchNetwork::AddressFamily
...
confirm AddressFamily items to naming convention
2025-07-03 03:24:16 +00:00
sithlord48
cbbfd495e3
refactor: make ESignal an enum Class IArchMultiThread::ThreadSignal, conform ThreadSignal items to naming conventions
2025-07-03 03:24:16 +00:00
sithlord48
1692bec7e6
ci: skip CoreProcessTest for windows arm, broken on ci
2025-07-03 02:59:51 +00:00
sithlord48
4c2b9eb9e4
chore: remove unused XScreenInputFailure
2025-06-30 20:55:06 +01:00
sithlord48
872db8910e
chore: remove unused XSubscription class
2025-06-30 20:55:06 +01:00
sithlord48
e06b6b0be4
refactor: XSocket, new XSocketWithWhat subclass used to reduce duplication in XSocket subclasses that have a common with method
2025-06-30 20:55:06 +01:00
sithlord48
a04572a8c2
docs: remove sonar warning about // in comments, within ProtocolTypes.h
2025-06-30 20:55:06 +01:00
sithlord48
958e14cb13
refactor: remove XBASE related macros, fixes #8723
2025-06-30 20:55:06 +01:00
laz-001
22b1e8e543
docs: fix broken link to 'Protocol Reference'
...
Also fixes duplicate sidenav entries for 'Contributing'
2025-06-26 11:19:41 +01:00
sithlord48
cf9e2ecf49
refactor: simplify setting the fallback theme search path, does require sub dirs but we should only need the theme root
...
refactor: set the Icon theme in deskflow-gui insetead of MainWindow
2025-06-26 09:50:53 +01:00
sithlord48
cb508f5c3a
chore: Remove DRAG_AND_DROP left over define
2025-06-25 16:16:13 +01:00
laz-001
26cc85e878
add protocol developer documentation
2025-06-25 15:42:16 +01:00
sithlord48
42cd01efd7
refactor: PortalInputCapture, fix a missed non compliant variable names
...
refactor: PortalInputCapture, more const args
2025-06-20 18:10:40 +01:00
sithlord48
a7a54ad8a7
refactor: PortalInputCapture use std::map to hold signals and enum class as the key
...
fixes: InputCapturePortal crash in debug builds
2025-06-20 18:10:40 +01:00
sithlord48
20bc88eb1f
refactor: PortalInputCapture sonar adjustments
2025-06-20 12:41:34 +01:00
sithlord48
969b642e0b
refactor: EiScreen sonar adjustments
2025-06-20 12:41:34 +01:00
sithlord48
a89f3b6892
refactor: conform EiScreen to code standards
...
fixes #8700
2025-06-20 12:41:34 +01:00
sithlord48
a973d4277c
refactor: conform PortalInputCapture to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
b8124107aa
refactor: conform EiKeyState to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
0691d586e7
refactor: conform EiEventQueueBuffer to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
e8c85611a0
refactor: conform PortalRemoteDesktop to naming standards
...
remove unused method and includes
2025-06-20 12:41:34 +01:00
sithlord48
0321b2d36e
chore: ArchNetworkBSD:Deps use make_shared now that we dont build on ubuntu 22 anymore
2025-06-20 09:39:26 +01:00
sithlord48
f4a49749c7
chore: remove todo in places where its done or just a note
2025-06-20 09:39:26 +01:00
sithlord48
59ed15628e
refactor: remove redundant access specifiers
2025-06-20 09:39:26 +01:00
sithlord48
dddb6aadf1
refactor: Settings remove const for return by vaule
2025-06-20 09:39:26 +01:00
sithlord48
2110411c6d
refactor: remove redundant cast
2025-06-20 09:39:26 +01:00
sithlord48
b29c5b1bb2
refactor: use contains to find if an item is in a container
2025-06-20 09:39:26 +01:00
sithlord48
07a217f54f
refactor: concatenate Namespaces
2025-06-20 09:39:26 +01:00
sithlord48
aacf922319
refactor: remove names for unused handle function args
2025-06-20 09:39:26 +01:00
sithlord48
a80e255bb0
refactor: Add a few missing overrides
...
make ~XThreadExit() override
make ~ArchString() overide
make ~ArchNetworkBDS() overide
2025-06-20 09:39:26 +01:00
sithlord48
6299f04b59
refactor: make TlsUtility::generatateCertificate and TlsUtility::persistCertificate const
2025-06-20 09:39:26 +01:00
sithlord48
97006889bd
refactor: ServerConnection::handleLogLine use referance to avoid unneeded copy
2025-06-20 09:39:26 +01:00
sithlord48
f0bb4e5cb3
refactor: make ServerApp::HandleScreenSwitch, Also does not use the Event * so removing it from the methods arguments
2025-06-20 09:39:26 +01:00
sithlord48
dcb047b6c5
refactor: make ClientApp::handleClientConnected const
2025-06-20 09:39:26 +01:00
sithlord48
551368a2d2
refactor: AboutDialog, Remove lambda for btnClose and connect directly to AboutDialog::close
2025-06-19 12:19:08 -07:00
sithlord48
4d738b4784
refactor: App use Uniqueprt for SocketMultiplexer
...
basedon: 8dd6bc2c55
2025-06-19 19:13:24 +01:00
sithlord48
06a616ef42
refactor: secureSocket uniqueprt for Ssl object
...
based on: 89d8ce20b0
2025-06-19 19:13:24 +01:00
sithlord48
90a651b409
refactor: server use std::unique_ptr for socketFactory
...
based on ff7f23e79d
2025-06-19 19:13:24 +01:00
sithlord48
dbc7aebfbc
refactor: free SecureSocket cert after use
2025-06-19 18:56:14 +01:00
Nick Bolton
024436d82f
refactor: Improve display of names on about screen with nbsp
2025-06-19 05:39:52 -07:00
sithlord48
b6bc469744
chore: adjust the about dialog default size
2025-06-19 09:54:37 +01:00
sithlord48
c4e47c0f2c
chore: add main barrier/input-leap dev to our important devs list
2025-06-19 09:54:37 +01:00
Nick Bolton
4e2ad25fc1
fix: Error text is not shown for Qt CLI parser
2025-06-18 13:49:44 +01:00
sithlord48
66e201c8ef
chore: remove handle* methods that are a single oneline forward and use the line directly
2025-06-18 13:17:16 +01:00
sithlord48
3a35b183d3
refactor: use std::function for Event callback
...
based on 6d347337c3
2025-06-18 13:17:16 +01:00
sithlord48
c15214aee7
refactor: use std::scoped_lock inplace of std::lock_guard
2025-06-17 10:23:42 +01:00
sithlord48
5fd4d93f7f
refactor: replace ARCH->sleep(...) calls with Arch::sleep(...)
2025-06-17 10:23:42 +01:00
sithlord48
84e289bc30
refactor: replace ARCH->time() with Arch::time()
2025-06-17 10:23:42 +01:00
sithlord48
04943fad79
feat: Enforce a minimum TLS size of 2048bit
2025-06-16 05:02:33 -07:00
Nick Bolton
a7c1dc4520
chore: Remove 1024 TLS key length option
2025-06-16 05:02:33 -07:00
sithlord48
a73e8df01e
feat: improve connections status bar info
2025-06-16 10:35:20 +01:00
sithlord48
0d6837a948
chore: add short options for h for help and v for version in deskflow-gui
2025-06-16 10:13:39 +01:00
sithlord48
782702fe74
refactor: use std::mutex in platform/XWindowsEventQueue
2025-06-14 09:37:48 +01:00
sithlord48
5686d24626
refactor: use std::mutex in net/TCPListenSocket
2025-06-14 09:37:48 +01:00
sithlord48
818d588b65
refactor: use std::mutex in deskflow/PacketStreamFilter
2025-06-14 09:37:48 +01:00
sithlord48
86e109baf5
refactor: use std::mutex in ArchNetworkWinSock
2025-06-14 09:37:48 +01:00
sithlord48
fa1ee0690e
refactor: use std::mutex in ArchNetworkBSD
2025-06-14 09:37:48 +01:00
sithlord48
d535593d1d
refactor: use std::mutex in ArchMutithreadWindows
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
f89168d00a
refactor: use std::mutex in ArchStrings
...
port b0e415de03
build: link base to arch
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
fb3c8eb965
refactor: use std::mutex in Log
...
port d9d39040ae
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
e247f3813a
refactor: use std::mutex in EventQueue
...
port 9df4741748
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
f4618ee085
refactor: use std::mutex in place of ArchMutex in AtchMultiThreadPosix
...
port f71c68506e
2025-06-14 09:37:48 +01:00
sithlord48
5430625a7e
refactor: handle read and write on tcpsocket at the same time
...
port 94f8336af5
2025-06-14 08:44:21 +01:00
sithlord48
eac59768ea
build: remove HAVE_SYS_SOCKET define should be present on all unix systems
2025-06-14 08:22:55 +01:00
sithlord48
cb05ece6b6
build: remove HAVE_PTHREAD define as its required on unix
2025-06-14 08:22:55 +01:00
sithlord48
044c9b24f3
build: remove HAVE_SOCKLEN_T forced define
2025-06-14 08:22:55 +01:00
sithlord48
a3fe66f213
build: remove HAVE_PTHREAD_SIGNAL define it was forced on
2025-06-14 08:22:55 +01:00
sithlord48
60a148ce68
build: remove HAVE_DPMS_PROTOTYPES, Single use and assumed due to another var being set
2025-06-14 08:22:55 +01:00
sithlord48
da5a2088c8
build: remove unset X_DISPLAY_MISSING checks
2025-06-14 08:22:55 +01:00
sithlord48
89abcfb238
build: remove never set HAVE_SYS_TYPES
2025-06-14 08:22:55 +01:00
sithlord48
87704fedb1
build: unistd.h is manditory on unix platforms
2025-06-14 08:22:55 +01:00
sithlord48
3eef21c8df
chore: remove pointless SYS_TIME if defs one is set true and the other never used just include the libs
...
chore: remove TIME_WITH_SYS_TIME set to 1 and used once as include guard
2025-06-14 08:22:55 +01:00
Povilas Kanapickas
6fbb60a3c2
chore: remove unused StopWatch Includes
2025-06-14 08:22:55 +01:00
sithlord48
a5522729aa
refactor: Unify ArchTime classes into one method
...
Idea from https://github.com/input-leap/input-leap/pull/1464 '
2025-06-14 08:22:55 +01:00
sithlord48
36b4bb09bc
refactor: Unify ArchSleepClasses into one method
...
idea from https://github.com/input-leap/input-leap/pull/1462
2025-06-14 08:22:55 +01:00
sithlord48
8170dd4e99
chore use std::getenv Not c style getenv
...
idea from: https://github.com/debauchee/barrier/pull/847/
2025-06-12 22:27:16 +01:00
sithlord48
c2a658256e
feat: remove defunct --no-xinitThreads option
...
based on https://github.com/input-leap/input-leap/pull/1503
2025-06-12 22:07:40 +01:00
sithlord48
bc350852e7
refactor: remove anon namespace before ServerConfig::addToFirstEmptyGrid
2025-06-11 09:19:07 +01:00
sithlord48
7e568121ee
chore: remove unneeded QGuiApplication, QApplication and or QCoreApplication includes
2025-06-09 17:18:05 -07:00
sithlord48
e40cc11fd5
refactor: messages::showDaemonOffline enable translations
2025-06-09 16:33:27 +01:00
sithlord48
ebec6331cd
refactor: messages::showUpdateCheckOption enable translation
2025-06-09 16:33:27 +01:00
sithlord48
197b9ed886
refactor: message::showWaylandLibaryError, use name in the title and enable translations
2025-06-09 16:33:27 +01:00
sithlord48
8f7fbc0a21
refactor: messages::showReadOnlySettings, use name in title, enable translations
2025-06-09 16:33:27 +01:00
sithlord48
0f5a04825a
refactor: Message::showClearSettings, enable translations and simplify method
2025-06-09 16:33:27 +01:00
sithlord48
b8835a8a5a
refactor: Messages::showClientConnectError
...
slight reword for Already Connected error
use QString::append to add to the message
create a QMessageBox::warning style box for these errors
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
8bb6056469
refactor: Messages::showNewClientPrompt enable translations
2025-06-09 16:33:27 +01:00
sithlord48
3adcb64f57
refactor: Messages::showFirstConnectedMessage
...
add the app name into the title
use QString::append to add to the string
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
bc9b1d1178
refactor: Messages::showFirstServerStartMessage
...
add app name to dialog title
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
e038dd2b0b
chore: message::fileLine use QStringLiteral, multi-arg
2025-06-09 16:33:27 +01:00
sithlord48
1286c18e1d
refactor: messages::showCloseReminder
...
use app name for title
create message using append
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
5d94dd0dbf
refactor: messages::showErrorDialog, use app name in title
...
construct QString without concat
return aftershowing fatal error dialog
Enable Translation for user facing strings
2025-06-09 16:33:27 +01:00
sithlord48
b3e03f2856
chore: messages, remove unneeded includes
2025-06-09 16:33:27 +01:00
sithlord48
b62e82e792
refactor: MainWindow, convert btnSaveServerConfig to QPushButton set the icons size 22x22 only when not on macos, make sure the button is square on macos
2025-06-05 21:20:10 +01:00
sithlord48
7837bf416e
refactor: Mainwindow, rename btnApplySettings to btnRestartCore to better reflect what it does
2025-06-05 21:00:42 +01:00
sithlord48
d4d6cbb7fb
feat: add restart action fixes #8542
2025-06-05 21:00:42 +01:00
sithlord48
d5910d77ec
fix: core not starting if gui started minimized, remove firstShown and use open instead
...
fixes #8641
2025-06-03 17:28:48 +01:00
sithlord48
d01a023a8b
chore: ApputilsUnix, remove unneeded includes
2025-06-02 14:28:51 -07:00
sithlord48
d246d9527a
Feat: Define QT_NO_KEYWORDS, allowing us to use Qt in more places
...
must use Q_SIGNALS, Q_SLOTS and Q_EMIT in place of signals, slots and emit macros
2025-06-02 14:28:51 -07:00
sithord48
a31cff0225
chore: Cleanup windows includes
2025-06-02 21:55:36 +01:00
sithlord48
da06e97521
build: remove unused platform/MSWindowsUtils
2025-06-02 21:55:36 +01:00
sithlord48
7e4d43f1cc
fix: (ui), ServerConfigDialog enable spinboxes and controls that depend on another option being enabled example being the heatbeat spinbox if heatbeat is enabled
2025-06-02 20:31:18 +01:00
sithlord48
7abaca76af
chore: update CLI11 to v2.5.0
2025-05-28 19:22:13 +01:00
Povilas Kanapickas
5ee3fc41bd
chore: arch: Remove XArch exception class
...
XArch no longer contains any extra functionality in addition to what
std::runtime_error nor it signifies a particular type of error.
based-on: 5b991692af
ported-by: sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
cab1eb9cee
chore: arch: Derive XThread from std::exception
...
This is needed because by convention exceptions must derive from at
least std::exception.
ported from: 22aec16dc7
ported-by sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
51db919d8f
chore: arch, remove XARCH_SUBCLASS Macro
...
ported from: 1f3cd0dab3
ported-by sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
314899ac7d
chore: arch, Remove support for lazy error code to string evaluations
...
This functionality is not needed because in all code paths the error
code is immediately converted to string without actually using the lazy
evaluation functionality.
based-on: 53dff5b803
ported and expanded by sithlord48
2025-05-28 14:00:18 +01:00
Yoshiaki Kasahara
632c3462ec
fix: avoid leaking build paths in manpages
2025-05-28 05:46:27 -07:00
Povilas Kanapickas
d597d023b1
chore: use std::unique_ptr for eventQueueHandlers
...
ports input-leap/5044b79a4f98ea5da0b8cbe950123f061d4c1c5f
ported-by sithlord48
2025-05-28 09:54:04 +01:00
Povilas Kanapickas
807e60ded2
chore: use std::unique_prt for EventQueue's Buffer
...
port input-leap/9dbfd551cda4367bdc8067b5c3ca9c4027494503
ported-by sithlord48
2025-05-28 09:54:04 +01:00
Povilas Kanapickas
0b4a2e0e5b
chore: use std::unique_ptr for IDataSocket
...
port-of input-leap/836e08b0642ad158ecedc44e59a3bd3c61b56141
ported-by sithlord48
2025-05-28 09:54:04 +01:00
sithlord48
9eabbb690c
chore: MSWindows only items initilize members in header
2025-05-28 09:42:08 +01:00
sithlord48
3eb3969a01
chore: use final for overrides and remove virtual for non base classes
2025-05-28 09:42:08 +01:00
sithlord48
d2ac36f3ed
chore: make more const methods
2025-05-28 09:42:08 +01:00
sithlord48
e6a374369b
chore: use const for more local ref and pointer vars
2025-05-28 09:42:08 +01:00
sithlord48
9c56fa5dda
chore: Combine unnessessary multi level if into less fewer checks
2025-05-28 09:42:08 +01:00
sithlord48
6875969255
chore: static_cast to replace reinterpret_cast where possible
2025-05-28 09:42:08 +01:00
sithlord48
aa1eaf601c
chore: SecureUtils, do not use final for stringVar name
2025-05-28 09:42:08 +01:00
sithlord48
f77213af04
chore: ActionDialog, remove empty statement
2025-05-28 09:42:08 +01:00
sithlord48
a4f1a382d3
chore: use ranged for in ClientListener::cleanupClientSockets
2025-05-23 10:19:11 -07:00
sithlord48
647201cd37
refactor: server/Config to the variable initializer and condition part of the for loop when checking for a valid screen name
2025-05-23 10:19:11 -07:00
sithlord48
e24b1c4b68
chore: use a const Ref for ServerConnection client name check
2025-05-23 10:19:11 -07:00
sithlord48
475b895755
chore: initialize class vars using the order class define, initilizer list, constructor
2025-05-23 10:19:11 -07:00
sithlord48
593e53370a
chore: rename a missed namespace from synergy::gui => deskflow::gui
2025-05-23 10:19:11 -07:00
sithlord48
be6a4f6b4d
chore: ScreenSettingsDialog rename ui_ => ui
2025-05-23 10:19:11 -07:00
sithlord48
929131d10b
refactor: Log Error stop the core process if unable to write to the required fingerprint database
2025-05-23 18:08:41 +01:00
sithlord48
767919b342
refactor: consolidate IArchString subclasses into ArchString
2025-05-23 17:58:36 +01:00
sithlord48
4224215991
chore: make IArchString::EWideCharEncoding a enum class
2025-05-23 17:58:36 +01:00
sithlord48
45090d6b85
chore: IArchString clean up remaing code smells
2025-05-23 17:58:36 +01:00
sithlord48
476f3ba243
refactor: remove Ifdef around iso_level5
2025-05-23 17:19:55 +01:00
sithlord48
a33574e1bd
chore: use more ranged for loops
2025-05-22 20:46:41 +01:00
sithlord48
456afaa13e
chore: use emplace_back where possible
2025-05-22 20:46:41 +01:00
sithlord48
17f12d8334
chore: ClientApp remove unused restartRetryTimer and nextRetryTimer, use RETRY_TIME directly in ClientApp instead
2025-05-22 20:46:41 +01:00
sithlord48
723671c2e5
chore: remove // from inside comment blocks
2025-05-22 20:46:41 +01:00
sithlord48
5a90b51e97
chore: use string_view in place of string where possible
2025-05-22 20:46:41 +01:00
sithlord48
fe12972e83
chore: use const pointer / ref where possible
2025-05-22 20:46:41 +01:00
sithlord48
9bdb4252e5
chore: remove goto in EventQueue, instead use a private processEvent method
2025-05-22 20:46:41 +01:00
sithlord48
c73729e72e
chore: static number number of priorities
2025-05-22 20:46:41 +01:00
sithlord48
04805d9a7e
chore: mark explicit methods
2025-05-22 20:46:41 +01:00
sithlord48
3cf0fb89ef
chore: add comment to empty methods
2025-05-20 16:20:07 +01:00
sithlord48
52b0c1f061
chore: use auto or (const auto) where possible
2025-05-20 16:20:07 +01:00
sithlord48
c224cd4661
chore: declare const methods recommened by sonar
2025-05-20 16:20:07 +01:00
sithlord48
635962618f
chore: define only one variable per line
2025-05-20 16:20:07 +01:00
sithlord48
0ff72441e6
chore: use c++17 style if,switch init-initilizer where possible
...
chore: correct spelling of "colon" in NetworkAddresses variables
chore: correct some multi line defines near needed init-initilizers
2025-05-20 16:20:07 +01:00
sithlord48
bdffda9a2f
chore: replace typedef with using
2025-05-20 16:20:07 +01:00
sithlord48
cac63937ff
chore: cleansmells in ArchDaemon
2025-05-20 16:20:07 +01:00
sithlord48
a5e5bbc2e4
fix: race case if first run message is up and a client connects
2025-05-20 12:12:54 +01:00
Nick Bolton
34f6186941
fix: Disable the save button when config not writable
2025-05-19 22:10:41 +01:00
sithlord48
486b5a491f
chore: LogOutputers add comments to empty overrides
2025-05-19 21:48:27 +01:00
sithlord48
037fee0e59
refactor: remove archConsole use its only implemented method directly in logOutputters
2025-05-19 21:48:27 +01:00
sithlord48
a9e0c62c24
refactor: link mt to base
2025-05-19 21:35:08 +01:00
sithlord48
43a51434ce
chore: remove unused MinimalApp Class
2025-05-19 21:35:08 +01:00
Nick Bolton
eaa4c71d6e
fix: Show first server start message only in server mode
2025-05-15 17:40:17 +01:00
sithlord48
393a006773
fix settings modifiers initilization, move initization to header
...
fixes : #8587
2025-05-15 17:25:08 +01:00
sithlord48
332e6c4a4d
refactor: do not write sha1 to localdb and no longer send sha1 as part of comparison
2025-05-15 15:46:16 +01:00
sithlord48
63e87c16d1
refactor: port ServerAppTests to QtTests
2025-05-14 19:41:22 +01:00
Sam Umbach
14cb921d4c
Resolve deprecated-enum-float-conversion compiler warnings
...
- Observed on macOS Monterey 12.7.6 with cmake version 4.0.1, Homebrew clang version 20.1.4, Target: x86_64-apple-darwin21.6.0
2025-05-14 11:05:41 -04:00
sithlord48
de583145d0
chore: remove unused deskflow::string methods toHex, fromHex, uppercase, fromHexChar
2025-05-13 11:32:02 -04:00
sithlord48
0309d35aef
feat: port fingerprint info into Qt
...
mv FingerprintData -> Fingerprint
2025-05-13 11:32:02 -04:00
sithlord48
c4704649ea
refactor: make sure settings dialog pushes all options to the top
2025-05-13 15:48:33 +01:00
sithlord48
e4e332c13f
chore: simplify test includes
2025-05-12 13:48:21 +01:00
sithlord48
33edb6ce01
refactor: simplify wayland warnings remove waylandwarnigns dialog test
2025-05-12 13:48:21 +01:00
sithlord48
49173b11b9
ci: enable coverage for Qt Tests
2025-05-12 13:48:21 +01:00
sithlord48
81392fe758
build: move old tests to unittests/legacytests
2025-05-12 13:48:21 +01:00
sithlord48
3ae2b3a571
build: rename old tests binary to legacytests
...
ci: run-tests action, split legacy and new unit tests into two steps
2025-05-12 13:48:21 +01:00
sithlord48
2aee6d8812
build: correct language manager test binary name
2025-05-12 13:48:21 +01:00
sithlord48
db3b18b36d
build: Add new SKIP_BUILD_TESTS option to allow the build time test to be skipped and run later on
...
ci: run and check Qt Tests post build
2025-05-12 13:48:21 +01:00
sithlord48
89c199b630
build: leave Qt Tests in place do not move them to CMAKE_BUILD_DIR/bin
2025-05-12 13:48:21 +01:00
Tomaz Canabrava
af383decca
chore: Type fixes / Const correctness
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8526facbe9
refactor: Fixes, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
2b3ecd39c6
refactor: ScreenCorners, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
49589ae4aa
refactor, Modifiers, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8ce6a07d18
refactor: Simplify Mainwindow, autoAddScreen also Removes warning
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a8eb772b68
chore: Mainwindow, Send const-ref
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
0916009601
chore: Add nodiscard to methods
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
f5cb636b31
chore: MainWindow, Remove unimplemented methods
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7ced794317
refactor: Screen, Mark methods as no discard, remove uneeded method
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7c279ec72d
refactor: No else after return
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
83a8d1c4ac
refactor: Screen, simplify init call
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
84a9367124
refactor: Screen, remove uneeded constructor
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
aaeef7905a
refactor: Initialize value on constructor
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a0d0936433
refactor: Use smaller integers on enums
...
We do not have > 255 values here.
2025-05-09 12:27:56 +01:00
sithlord48
8f53b88bb6
chore: remove unused tests
...
Remove Unused Mocks
Remove remaing uses of TEST_ENV and its guarded items
2025-05-08 15:26:44 +01:00
sithlord48
d8b4fab9a3
refactor: move OSXKeyStateTest => QtTests
2025-05-08 15:26:44 +01:00
sithlord48
9d867f6146
refactor: port deskflow/keyMapTest to QtTests
...
remove TEST_ENV items from KeyMap
KeyMap and KeyMapTests are friends
2025-05-08 15:26:44 +01:00
sithlord48
632be4b240
refactor: port gui/ScreenTest to QtTests
...
remove TEST_ENV items from Screen
2025-05-08 15:26:44 +01:00
sithlord48
b8c6d1b58f
refactor: port OSXClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
139dbf61f3
refactor: remove broken OSXScreenTest
2025-05-08 15:26:44 +01:00
sithlord48
e512125595
refactor: port net/SecureUtilsTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
ae37543a37
refactor: port gui/LoggerTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
8a80c52208
refactor: port net/FingerprintDatabaseTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
38dc845c72
refactor: port serverConfigTests to QtTests
...
remove TEST_ENV items from server/Config
2025-05-08 15:26:44 +01:00
sithlord48
b56a282a9c
refactor: port ServerTests to QtTests
...
remove TEST_ENV items from Server
2025-05-08 15:26:44 +01:00
sithlord48
d742901775
refactor: port XWindowsClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
287d70a138
refactor: port IKeyStateTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
6c0843d088
refactor: port ClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
cbcaafe764
refactor: port deskflow/ClipboardChunkTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
29a86cfbac
refactor: port GenericArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
d7506697c8
refactor: port ServerArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
6c2457d60b
refactor: port ClientArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
30d9034a0f
refactor: port DeprecatedArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
a2acfb0678
refactor: port ArgParserTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
7fa326234e
refactor: port X11LayoutParserTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
baaa02cda2
refactor: port deskflow/LanguageMangerTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
231e5c0bc5
refactor: port base/XBaseTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
78cbe4b775
refactor: port base/UnicodeTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
a1a7c8f3ff
refactor: port base/StringTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
501726d471
refactor: port base/pathTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
b51dec01ad
refactor: port arch/IArchStringTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
1c907991af
build: remove unused integtests
2025-05-08 15:26:44 +01:00
sithlord48
0c3c913989
chore: remove unused MainWindowTest
2025-05-08 15:26:44 +01:00
sithlord48
4479b90d37
refactor: port Platform/MSWindowsClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
8a139f0e3d
refactor: port CommandProcessTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
810322623b
refactor: port ConfigTests to QtTest
2025-05-08 15:26:44 +01:00
sithlord48
245f9db5c8
refactor: port DotEnvTests to QTests
2025-05-08 15:26:44 +01:00
sithlord48
807f32975a
feat: add Initial Qt Tests items
...
create a new SettingsTests Test
2025-05-08 15:26:44 +01:00
sithlord48
5365e34f08
feat: remove drag and drop support, its broken on all platforms
2025-05-08 09:47:41 -04:00
sithlord48
55a7fa3266
Port simplified EventTypes from 8b23570379
2025-05-05 17:17:01 -04:00
sithlord48
118f867fd1
refactor: Remove unused IEventQueue::getRegisteredType()
...
ported from a5b6017235
2025-05-05 17:17:01 -04:00
sithlord48
99dae58fd3
chore: clean up macos code smell missed by sonarscan
2025-05-03 21:23:15 +01:00
sithlord48
e9ccd513f7
chore: clean up windows code smells missed by sonarscan
2025-05-03 21:13:09 +01:00
sithlord48
903401796e
refactor: Remove use of DESKFLOW_RESET_ALL and all users to pass --reset switch to deskflow-gui instead
2025-05-03 21:09:41 +01:00
sithlord48
d643e4b189
chore: PrimaryClient, use default for deconstructors / constructors
2025-05-02 12:12:17 +01:00
sithlord48
c8734755c5
chore: InputFilter, use default for deconstructors / constructors
2025-05-02 12:12:17 +01:00
sithlord48
edea3b0df1
chore: server/Config use default for deconstructors
2025-05-02 12:12:17 +01:00
sithlord48
f4264d71a1
chore: ClientProxy1_6 use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
6ffd0eb471
chore: ClientProxy1_4 use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
7619928d56
chore: ClientProxy1_3 use override where possible
2025-05-02 12:12:17 +01:00
sithlord48
d70c7fe720
chore: ClientProxy1_2 use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
b26ca77ff1
chore: ClientProxy1_1 use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
68db2c3484
chore: BaseClientProxy use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
81c19c6ee8
chore: XClipboardUTF8Converter use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
1276a4a29c
chore: XClipboardUCS2Converter use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
d97f4d87ad
chore: XClipboardTextConverter use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
d5cbd002a9
chore: XClipboardHTMLConverter use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
31a6fd23e7
chore: XClipboardBMPConverter use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
f6c6d4e3a7
chore: XClipboardAnyBitmapConverter use default for constructor / deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
5801b92636
chore: XSocket use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
b427ac91c2
chore: TCPSocketFactory use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
e87c596fbe
chore: SecureSocket, add missing nullptr replacement
2025-05-02 12:12:17 +01:00
sithlord48
35b4749627
chore: XThread use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
6b2a28600a
chore: CondVar, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
600378b72d
chore: StreamBuffer, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
8e24689f72
chore: IStream, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
07f9c4ba47
chore: AddClientDialog, add missing nullptr replacement
2025-05-02 12:12:17 +01:00
sithlord48
9d476e143e
chore: KeySequence, add missing nullptr replacement
2025-05-02 12:12:17 +01:00
sithlord48
6bcdd4ebe7
chore: DataDownloader, use default for deconstructor, add missing nullptr replacement
2025-05-02 12:12:17 +01:00
sithlord48
9085468d1c
chore: AppUtilUnix, use default for deconstructors
2025-05-02 12:12:17 +01:00
sithlord48
7bace4d36d
chore: XScreen, use default for deconstructors
2025-05-02 12:12:17 +01:00
sithlord48
ca0d095283
chore: XDeskflow, use default for deconstructors
2025-05-02 12:12:17 +01:00
sithlord48
ace5b54912
chore: ServerArgs, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
c99767c8b7
chore: ServerApp, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
297b781578
chore: PlatformScreen, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
8c4dc001bf
chore: PacketStreamFilter, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
9ca13a65d1
chore: keystate: using nullptr
2025-05-02 12:12:17 +01:00
sithlord48
73566c061d
chore: Keymap, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
ed3118b81a
chore: DragInformation, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
cc209b9b1f
chore: Clipboard, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
ee22c31f32
chore: ClientArgs, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
f376b049e4
chore: ClientApp, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
57e3ff1fab
chore: ArgBase, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
c39f69b64d
chore: AppUtil use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
218a506970
chore: MinimalApp, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
57cb7227a4
chore: Interface.h, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
6aabb1e858
chore: XBase, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
9aec1ad479
chore: TMethodEventJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
c8d4a2186a
chore: TMethodJob use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
f68744a36d
chore: Stopwatch, use default for deconstructor and explicit constructor
2025-05-02 12:12:17 +01:00
sithlord48
183d660186
chore: PriorityQueue, use default for deconstructor / constructors
2025-05-02 12:12:17 +01:00
sithlord48
e20ef3ae55
chore: LogOutputters, use default for deconstructor / constructors
2025-05-02 12:12:17 +01:00
sithlord48
0bfb95996a
chore: FunctionJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
7d27031723
chore: FunctionEventJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
ada495c681
chore: FinalAction, use default for constructor and explicit
2025-05-02 12:12:17 +01:00
sithlord48
e91b9867e0
chore: EventQueue, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
d483dc38bd
chore: unix/XArchUnix, use default for constructor and deconstructor, explicit constructor with no except deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
56dd5492b4
chore: unix/ArchTimeUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
67c7ba6dae
chore: unix/ArchStringUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
1138e3b1fb
chore: unix/ArchLogUnix, use default for constructor / deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
6523911e4d
chore: unix/ArchSleepUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
a52552b821
chore: unix/ArchDaemonUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
bd2188beb1
chore: unix/ArchConsoleUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
edc0c0d7a0
chore: XArch, use default for constructors / deconstrucor
...
use noexecpt for virtual deconstctor
use explicit for constructors
2025-05-02 12:12:17 +01:00
sithlord48
95586c88fd
chore: ArchDaemonNone, use deault for empty deconstructor
...
use default for empty constructor
add comment for empty overrides from base class
2025-05-02 12:12:17 +01:00
sithlord48
d7174a3a2f
chore: ArchConsoleStd, use default for empty deconstructor
...
use default for empty constructor
add comment to empty impl on base methods
2025-05-02 12:12:17 +01:00
sithlord48
2289ed5845
chore: Arch use default for empty deconstructor
...
use explicit for constuctors
2025-05-02 12:12:17 +01:00
Dustin Kaiser
2192636d2b
fix(wayland): release portal input capture when EI_EVENT_DISCONNECT is encountered, refactoring
...
Fixes #8005 .
2025-05-01 12:35:00 +01:00
Dustin Kaiser
6194868e89
chore(wayland): add debug logline in EiScreen::handle_portal_session_closed
2025-05-01 12:35:00 +01:00
Peter Hutterer
00f53c1aac
fix(ei): Drain all events sitting in our pipe
...
If we're starved for resources, we may end up with more than 64
notifications in our pipe before we get to actually read them.
Those notifications are just that though, so let's drain them.
2025-05-01 10:04:28 +01:00
Peter Hutterer
59df2db7b7
chore: Silence two compiler signedness warnings
...
Both trigger:
warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
In the first hunk we already checked for i < 0 so casting to size_t is
fine. In the second hunk we don't use i so we can pick the right type.
2025-04-30 12:04:43 +01:00
Nick Bolton
35f0e9e6e4
feat(gui): Retry mechanism for Windows Daemon IPC client
2025-04-29 13:13:07 +01:00
Nick Bolton
3b3d9e14fd
fix(daemon): Log responses for 'hello' and 'noop'
2025-04-29 13:13:07 +01:00
sithlord48
b3f179a08a
chore: Server, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
f3fca87e19
chore: InputFilter, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
a3093fa046
chore: Config, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
c00ebbd6c1
chore: ClientProxy1_6, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
09457793b4
chore: ClientProxy1_0, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
d436aa3001
chore: ClientListener, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
ec4851d326
chore: XWindowsUtil, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
f338e5e7a8
chore: XWindowScreenSave, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
55b48a5db7
chore: XWindowsScreen, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
352a871729
chore: XWindowsKeyState, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
b103f28202
chore: XWindowsClipboardBMPConverter, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
39b49acb56
chore: XWindowsClipboardAnyBitmapConvertor, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
5d4fbc8ea6
chore: XWindowClipboard, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
3dfa3d5069
chore: EiScreen, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
6d9c66b03f
chore: EiKeyState, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
02b2b82c7f
chore: TCPSocketFactory, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
aac086ad2a
chore: TCPSocket, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
0d3f7248ed
chore: SecureSocket, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
da6e110b69
chore: Thread, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
a298cc84ad
chore: SocketMultiplexer, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
d8348152ec
chore: StreamBuffer, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
572953d5ba
chore: ScreenSetupView, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
a23856ee09
chore: NewScreenWidget, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
637adc60b2
chore: SettingsDialog, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
0ca847334e
chore: ServerConfigDialog, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
d06d6a5003
chore: Screen, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
6d856b674b
chore: ScreenSetupModel, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
bcfc121c37
chore: Action, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
b2ec2f1a34
chore: StramChunker, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
df9d5ded1c
chore: ServerApp, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
f11dae97d4
chore: ProtocolUtil, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
3fdc5288eb
chore: KeyState, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
955f9652fb
chore: KeyMap, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
9dedf25ecc
chore: IPrimaryScreen, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
ee3dffc4f8
chore: IKeyState, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
8123166e66
chore: IClipboard, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
29626d6694
chore: FileChunk, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
996af86b9b
chore: DragInformation, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
84fbe48d35
chore: ClipboardChunk, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
11423ef5a1
chore: ClientApp, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
7cc108d87c
chore: ArgParse, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
af70ff98b7
chore: Client, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
b6f7497c44
chore: Unicode, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
f6602baa36
chore: String, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
72091c6ac4
chore: Log, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
fb5f80857b
chore: EventQueue, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
6c7bdf3e07
chore: ArchNetworkBSD, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
1df01d3cf1
chore: ArchMuitiThreadPosix, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
2bebdbaf4d
chore: DeskflowGui, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
63d65bb47b
chore: use nullptr where possible in place of NULL
2025-04-28 13:08:40 +01:00
sithlord48
60dc4c0cd8
chore: remove unneed mac os version checks
2025-04-28 12:52:55 +01:00
sithlord48
78d1c5222f
chore: Replace old required mac os version checks with if WINAPI_CARBON
2025-04-28 12:52:55 +01:00
sithlord48
f49f5f790c
chore: Remove unused CONFIG_NAME var in ServerApp
2025-04-28 04:25:02 -07:00
sithlord48
4eaf6fda62
refactor: correct includes in ServerApp
2025-04-28 04:25:02 -07:00
sithlord48
ebc6186fe7
refactor: remove auto fallback paths for server binary
...
they are not correct in the help and its dynamic based on the first found Deskflow.conf file. The gui sets this manually and users running the cli should too
2025-04-28 04:25:02 -07:00
sithlord48
48f824ca31
chore: Server, default should be first or last case for switches
2025-04-28 11:47:04 +01:00
sithlord48
d6ace78a58
chore: XWindowUtils, default should be first or last case for switches
2025-04-28 11:47:04 +01:00
sithlord48
41fda741b3
chore: Use override for override methods
2025-04-28 11:27:33 +01:00
sithlord48
793ea5f81c
fix: make sure client, server and core init a qApp for Setting's to find the app path with
...
fixes #8534
2025-04-25 17:27:05 +01:00
sithlord48
794017402d
chore: remove unused TLSCertificate::getCertificatePath
2025-04-25 09:58:49 +01:00
Nick Bolton
eab87e3869
chore: Increase log level for noisy empty lang code log line
...
It seems that `layoutLangCode.empty()` is true on my GNOME Wayland server every time I press a key. I don't know why, but it probably means something. Client doesn't seem to matter; happens for all client OS.
2025-04-23 04:50:04 -07:00
sithlord48
294348b42b
fix: fixes #8522 by disconnecting firstShown after the first show event
2025-04-23 10:01:02 +01:00
sithlord48
71b6f07220
feat: remove stopOnDeskSwitch, its broken
2025-04-22 10:00:45 +01:00
sithlord48
9addada64c
fixes #8517 , save the host name if the lineEdit is not empty, instaed of only if the value of the setting is not empty
2025-04-22 09:42:47 +01:00
sithlord48
80afb92af1
chore: remove more code for inverse connection
...
related: https://github.com/deskflow/deskflow/pull/8240
2025-04-21 22:39:28 +01:00
sithlord48
f5f3bc0475
chore: remove unused old test mocks
2025-04-21 22:16:05 +01:00
sithlord48
17c7b0f8bf
fix: user can not start in client mode without a remote host
...
do not auto start the client if the remote host is empty
fixes #8478
2025-04-21 22:01:31 +01:00
sithlord48
e3642f0955
refactor: do not save empty RemoteHost line
2025-04-17 15:57:29 +01:00
Nick Bolton
1202145bb8
fix(daemon): Use scheduled state when start is scheduled
2025-04-16 05:28:23 -07:00
Nick Bolton
abc963f886
fix(daemon): Only log XArchEvalWindows result when GetExitCodeProcess fails
2025-04-16 05:28:23 -07:00
Nick Bolton
4988196c47
fix(daemon): Use missing %s when logging XArchEvalWindows result
2025-04-16 05:28:23 -07:00
Nick Bolton
8a2b6bd688
fix(daemon): Validate process handle and ID before shutdown
2025-04-16 05:28:23 -07:00
Nick Bolton
901dacf593
feat(daemon): Friendly message on daemon connection error
2025-04-16 05:12:33 -07:00
Nick Bolton
c62b4ec068
fix: Use QTextStream to write to stdout and stderr
...
Only use `Qt::endl` when writing to the output stream; `Q_EMIT newLine` should not include a trailing newline because `appendPlainText` doesn't expect one.
2025-04-15 05:02:25 -07:00
sithlord48
c8408c4823
fix: Default external server config name should be *-server.conf
2025-04-14 10:05:20 +01:00
sithlord48
8657532ca2
feat: add logging to clipboard
2025-04-11 10:07:57 +01:00
sithlord48
64b277a5df
refactor: deskflow/Clipboard, do not assert instead handle the cases where we would have asserted to fail safely
2025-04-11 10:07:57 +01:00
sithlord48
cd7d53d2bd
fix: Add missing menu accelerators
...
fixes #8470
2025-04-10 12:27:49 +01:00
Nick Bolton
d740574bd4
fix: Remove unnecessary log line endings and trimming
2025-04-10 12:16:42 +01:00
sithlord48
84ae597d69
fixes #8463 do not assume C for root
2025-04-10 11:57:05 +01:00
Nick Bolton
16ef088c27
fix: Show first server start message only when start was successful
2025-04-09 07:43:59 -07:00
sithlord48
fde880fb6f
chore: add default case for EI_EVENT handling
2025-04-07 11:23:28 +01:00
sithlord48
a04568b25f
refactor: remove unneeded using ProcessState in coreprocess::startprocess
2025-04-07 03:09:30 -07:00
sithlord48
6e6892b6e7
refactor: use checkbox for elevate remove Settings::Core::ElevateMode and use Daemon::Elevate to hold the value
2025-04-07 03:09:30 -07:00
sithlord48
5ad2c9283d
refactor: add a check box to enable stop on desk switch
2025-04-07 03:09:30 -07:00
sithlord48
487030aade
refactor: settings gui, use the service group as a checkbox for enable service
2025-04-07 03:09:30 -07:00
sithlord48
1ace03d4b5
feat: add help and version to gui,
...
move no-reset to the QCommandLineProcessor
2025-04-06 06:41:25 -07:00
sithlord48
3b4306183c
chore: deskflow-gui remove fallback for pre mavricks mac os accessibility prompt
2025-04-06 06:41:25 -07:00
sithlord48
4203f42363
chore: remove workaround for Qt-43022
2025-04-06 06:41:25 -07:00
sithlord48
7e4ac48476
chore: df-gui remove unused QThredImpl class
2025-04-06 06:41:25 -07:00
sithlord48
0b05b0e71d
chore: deskflow-gui remove unused includes
2025-04-06 06:41:25 -07:00
cos
ebb63d8113
build: add manpages
...
Manual pages got removed from synergy in #7361 . This commit brings them
back. They are rudimentary and autogenerated using `help2man`, with only
a message about finding the documentation at the wiki page added. Not
much, but a lot better than nothing.
Package names added to Continuous Integration are based on these web pages:
https://archlinux.org/packages/extra/x86_64/help2man/
https://packages.debian.org/help2man
https://packages.fedoraproject.org/pkgs/help2man/help2man/
https://software.opensuse.org/package/help2man
2025-04-06 06:07:52 -07:00
sithlord48
12bcc1a4d6
fix: build issue on Qt 6.9
2025-04-05 13:28:27 -07:00
sithlord48
0a33e20723
refactor: remove unused --host arg from deskflow-client
2025-04-05 12:05:23 -07:00
sithlord48
d4f916c365
chore: remove unused --no-wayland-ei
...
fixes #7680
2025-04-05 12:05:23 -07:00
sithlord48
6df96d4a56
refactor: Don't show drag and drop as an option on linux
2025-04-05 12:05:23 -07:00
sithlord48
e617e4b537
chore: deskflow-client, remove from help --use-x-window, options was unused and should not be reported as an option
2025-04-05 12:05:23 -07:00
sithlord48
ca5cc8211b
chore: lib/deskflow/ServerApp remove duplicate print of HELP_COMMON_INFO_2
2025-04-05 12:05:23 -07:00
sithlord48
46c6275c43
feature: make sure when portable settings are cleared a new blank file is created
2025-04-02 12:39:54 +01:00
sithlord48
b3fb8959a3
refactor: SettingsDialog, Hide the service if its not able to be enabled
2025-04-02 12:39:54 +01:00
sithlord48
8354a81706
refactor: Settings set default elevateMode based on settings type, for registry we use Always, ini mode uses Never
2025-04-02 12:39:54 +01:00
sithlord48
d9807a2693
refactor: Set default process Mode based on Settings type if we are INI Type we in desktop mode if Native (only on windows) we default to Service
2025-04-02 12:39:54 +01:00
sithlord48
1b8067797e
refactor: settings for windows try to use registry unless portable install
...
new Settings::isUsingRegistry() true when using the registry
move daemon log back to config dir
2025-04-02 12:39:54 +01:00
sithlord48
cf4fe32aab
refactor: allow proxy to load from registry if no file is provided
2025-04-02 12:39:54 +01:00
sithlord48
6bbebe75f9
fixes #8423 , set unit test to force external config on for server tests
2025-04-02 11:12:12 +01:00
sithlord48
0b9ecbc2f4
chore: move unused integtests Network tests to test/unittests
2025-04-01 13:12:40 +01:00
sithlord48
fc36cf6be8
refactor: move remaining platform tests to test/unittests
2025-04-01 13:12:40 +01:00
sithlord48
b7b295aeb6
refactor: combine XWindowsClipboards tests into one unittest
2025-04-01 13:12:40 +01:00
sithlord48
00b5c32fc9
refactor: combine all OSXKeyStateTests into one unittest
2025-04-01 13:12:40 +01:00
sithlord48
d2bf5e63e4
refactor: allow settings to use XDG_CONFIG_DIR if defined
...
fixes : #8421
2025-03-31 06:12:46 -07:00
sithlord48
3ed0915b57
refactor: settings for windows use Appdata/local, always save daemon log to app install path
2025-03-31 06:12:46 -07:00
sithlord48
01878b0522
refactor: settings, prefix portableSettingsFile with app dir at runtime
2025-03-31 06:12:46 -07:00
sithlord48
af6b42fe9e
newMethod Settings::validKeys to return the known Settings keys
2025-03-31 06:12:46 -07:00
sithlord48
a0051ea0bc
chore: lib/common/settings remove unused signal writableChanged
2025-03-31 06:12:46 -07:00
sithlord48
40c915f6bd
chore: lib/common/settings remove unused signal scopeChanged
2025-03-31 06:12:46 -07:00
sithlord48
1cee520e2b
chore: lib/common/settings remove unused private isPortableSettings
2025-03-31 06:12:46 -07:00
sithlord48
1dd5654af6
fix: Settings update checkbox was initilzed to autohide value
...
fixes #8418
2025-03-31 06:12:46 -07:00
sithlord48
5cfaa4a4e0
refactor: move ALL gui parts to lib
2025-03-29 18:18:12 +00:00
sithlord48
a6453a6819
fix: local-fingerprint generation
2025-03-28 11:49:08 +00:00
Nick Bolton
d6087cc5bd
fix: Handle empty layout names and language codes in layout parser
2025-03-27 13:30:26 +00:00
sithlord48
201df59cb7
remove Use of libnotify and wintoast
2025-03-27 13:07:59 +00:00
sithlord48
fdf1df1a30
refactor: use QtXml in place of pugixml
2025-03-27 12:33:39 +00:00
sithlord48
84b433853a
chore: remove unused define HAVE_GMTTIME_R
2025-03-26 09:23:16 +00:00
sithlord48
e225a357fd
chore: remove unused define HAVE_GETPWUID_R
2025-03-26 09:23:16 +00:00
sithlord48
54fac87ed2
chore: remove unused define HAVE_WCHAR_H
2025-03-26 09:23:16 +00:00
sithlord48
56a665cd18
chore: remove unused define HAVE_SYS_UTSNAME_H
2025-03-26 09:23:16 +00:00
sithlord48
cb8c6fe9d9
chore: remove unused define HAVE_LOCALE_H
2025-03-26 09:23:16 +00:00
sithlord48
239a265e18
chore: remove unused HAVE_SSTREAM define
2025-03-26 09:23:16 +00:00
sithlord48
ee53d28af7
chore: remove unused HAVE_OSTREAM define
2025-03-26 09:23:16 +00:00
sithlord48
91fd139a49
chore: remove unused HAVE_ISTREAM define
2025-03-26 09:23:16 +00:00
sithlord48
7f1a234d06
refactor: remove unneed library gtkpixbuf
2025-03-26 09:13:13 +00:00
sithlord48
db20c4b0c7
chore: lib/base/PriorityQueue remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
7bd3fc1eb5
chore: lib/base/LogOutputters remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
8fde0d764e
chore: lib/base/Log remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
e1eb4ebf98
chore: lib/base/FinalAction remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
4b06160f84
chore: lib/base/EventTypes remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
2160f7826f
chore: lib/base/EventQueue remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
7f6a68bb2f
chore: lib/base/Event remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
95521c53d6
chore: cleanup lib/base/Unicode includes
2025-03-25 14:11:23 +00:00
sithlord48
446847f4fb
chore: remove unneeded includes in lib/base/XBase
2025-03-25 14:11:23 +00:00
sithlord48
37bc70896b
chore: remove unneeded includes in lib/base/String
2025-03-25 14:11:23 +00:00
sithlord48
f9c8d08ff7
chore: remove unused string::splitString
2025-03-25 13:52:49 +00:00
sithlord48
55c611f754
chore: remove unused string::findReplaceAll
2025-03-25 13:52:49 +00:00
sithlord48
541e30f406
chore: remove unused string::removeFileExt
2025-03-25 13:52:49 +00:00
sithlord48
4b24b5b38d
chore: remove unused string::removeChar
2025-03-25 13:52:49 +00:00
sithlord48
df8500178b
chore: remove unused CaselessCmp::cmpEqual
2025-03-25 13:52:49 +00:00
Nick Bolton
378fdae140
feat: Handle empty response from update server
2025-03-25 11:13:48 +00:00
sithlord48
31e95ad2dc
refactor: remove unused lib/arch/mulitbyte.h
2025-03-25 08:39:05 +00:00
sithlord48
8b5a61f07f
refactor: remove ArchFile, move only use of getInstallDir to MSWindowsWatchdog
2025-03-25 08:39:05 +00:00
sithlord48
516f803eb4
refactor: remove ArchFile::getbasePath for QFileInfo::fileName
2025-03-25 08:39:05 +00:00
sithlord48
c1a7b836ce
refactor: remove unused ArchMiscWindows::processDialog
2025-03-24 12:16:39 +00:00
sithlord48
9530b9c6ba
refactor: remove unused ArchMiscWindows::s_dialog, ArchMiscWindows::cleanup
2025-03-24 12:16:39 +00:00
sithlord48
9df2a2c28d
refactor: remove unused ArchMiscWindows::removeDialog
2025-03-24 12:16:39 +00:00
sithlord48
133545d03f
refactor: remove unused ArchMiscWindows::addDialog
2025-03-24 12:16:39 +00:00
sithlord48
75e852d95f
refactor: remove unused ArchMiscWindows::readValueBinary
2025-03-24 12:16:39 +00:00
sithlord48
9c44653fff
refactor: remove unused ArchMiscWindows::setValueBinary
2025-03-24 12:16:39 +00:00
sithlord48
2adee7c460
refactor: remove unused ArchMiscWindows::deleteKeyTree
2025-03-24 12:16:39 +00:00
sithlord48
6f6e9cddb7
refactor: remove unused ArchMiscWindows::deleteValue
2025-03-24 12:16:39 +00:00
sithlord48
fdd9b1bb6d
refactor: remove unused ArchMiscWindows::getIcons
2025-03-24 12:16:39 +00:00
sithlord48
b2ff6aa938
refactor: remove unused ArchMiscWindows::setIcons
2025-03-24 12:16:39 +00:00
sithlord48
5e4188b2fe
refactor: remove unused ArchMiscWindows::hasValue
2025-03-24 12:16:39 +00:00
sithlord48
a3875bf71c
fix: small leak on closing of mainwindow by not parenting the menus, found via valgrind
2025-03-24 12:06:29 +00:00
sithlord48
f3930d9520
chore: MainWindow: use Size instead of seperate Width/Height calls in update size
2025-03-24 12:06:29 +00:00
sithlord48
f66a50dab7
chore: MainWindow remove unused empty layout
2025-03-24 12:06:29 +00:00
sithlord48
83c8d295d4
refactor: MainWindow remove test menu
2025-03-21 12:47:46 +00:00
sithlord48
07219ed431
refactor: use QVariant().toBool() in place of StringUtils::StrToBool, remove StringUtils
2025-03-21 12:47:46 +00:00
sithlord48
da5f3c0be1
refactor: remove StringUtils::trimEnd and just use QString::trimmed
2025-03-21 12:47:46 +00:00
sithlord48
a23e35c522
refactor: move lib/gui/Diagnostic => apps/deskflow-gui/Diagnostic
2025-03-21 12:47:46 +00:00
sithlord48
eb74d8ca99
refactor: replace EnvVars.h with a new item in settings Settings::Core::UpdateUrl
2025-03-21 12:47:46 +00:00
sithlord48
65b6fe7ca3
refactor: move lib/gui/Constants.h => lib/common/UrlConstants.h
2025-03-21 12:47:46 +00:00
sithlord48
9b6615328b
refactor: move lib/gui/StyleUtils.h => apps/deskflow-gui/StyleUtils.h
2025-03-21 12:47:46 +00:00
sithlord48
7fb87b32f5
refactor: move lib/gui/validators => apps/deskflow-gui/validators
2025-03-21 12:47:46 +00:00
sithlord48
8508805f5d
chore: remove unused apps/deskflow-gui/ProcessorArch.h
2025-03-21 11:42:32 +00:00
sithlord48
385a610da2
chore: remove unused apps/deskflow-gui/QUtility
2025-03-21 11:42:32 +00:00
sithlord48
e00058a332
chore: remove unused MacOSXPrecomp.h
2025-03-21 11:42:32 +00:00
sithlord48
45b6ff19e7
chore: remove StdExcept and include stdexcept directly where needed
...
remove _NOEXCEPT define and just use throw()
2025-03-21 11:42:32 +00:00
sithlord48
1798d7e4e6
chore: remove StdOStream and include ostream directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
854787e6b3
chore: remove StdIStream and include istream directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
498ffe85c3
chore: remove StdSet and include set directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
cd3f9b2e7d
chore: remove StdMap and include map directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
42b16efdb9
chore: remove StdList and include list directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
003f87db9e
chore: remove StdVector and include vector directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
86dca27e4c
chore: remove StdDeque and include deque directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
26fa6860e4
chore: Move used code from Win32Hook to MSWindowsHook and remove Win32Hook
2025-03-21 11:42:32 +00:00
sithlord48
d9798a9b2b
chore: remove StdPost / StdPre
2025-03-21 11:42:32 +00:00
sithlord48
70a2554370
refactor: VersionChecker use its own QNetworkManager not a Proxy
...
remove lib/gui/proxy/QNetworkManagerProxy
2025-03-21 10:16:22 +00:00
sithlord48
13c325eb3f
chore: rename lib/common/stdvector.h => lib/common/StdVector.h
2025-03-20 13:06:45 +00:00
sithlord48
a3ad66dfb0
chore: rename lib/common/stdset.h => lib/common/StdSet.h
2025-03-20 13:06:45 +00:00
sithlord48
c9d1a50bb0
chore: rename lib/common/stdpre.h => lib/common/StdPre.h
2025-03-20 13:06:45 +00:00
sithlord48
cb3e516206
chore: rename lib/common/stdpost.h => lib/common/StdPost.h
2025-03-20 13:06:45 +00:00
sithlord48
de2e3fb9ce
chore: rename lib/common/stdostream.h => lib/common/StdOStream.h
2025-03-20 13:06:45 +00:00
sithlord48
3bad718bb7
chore: rename lib/common/stdmap.h => lib/common/StdMap.h
2025-03-20 13:06:45 +00:00
sithlord48
40c10766f3
chore: rename lib/common/stdlist.h => lib/common/StdList.h
2025-03-20 13:06:45 +00:00
sithlord48
bf09df835d
chore: rename lib/common/stdistream.h => lib/common/StdIStream.h
2025-03-20 13:06:45 +00:00
sithlord48
4a16804d27
chore: rename lib/common/stdexcept.h => lib/common/StdExcept.h
2025-03-20 13:06:45 +00:00
sithlord48
5e1aa9eb5d
chore: rename lib/common/stddeque.h => lib/common/StdDeque.h
2025-03-20 13:06:45 +00:00
sithlord48
3c86d9dc83
chore: rename lib/common/constants.h.in => lib/common/Constants.h.in
2025-03-20 13:06:45 +00:00
sithlord48
099262d8ce
chore: rename lib/common/common.h => lib/common/Common.h
2025-03-20 13:06:45 +00:00
sithlord48
d9e6ec4b70
chore: rename lib/config.h.in => lib/Config.h.in
2025-03-20 13:06:45 +00:00
sithlord48
d7b20fad5c
chore: rename lib/platform/wayland.h => lib/platform/Wayland.h
2025-03-20 13:06:45 +00:00
sithlord48
6e6a88af87
chore: rename lib/platform/dfwhook.h => lib/platform/Win32Hook.h
2025-03-20 13:06:45 +00:00
sithlord48
ce17167248
chore: rename lib/io/filesystem => lib/io/Filesystem
2025-03-20 13:06:45 +00:00
sithlord48
656ad6402b
chore: rename lib/gui/styles.h => lib/gui/Styles.h
2025-03-20 13:06:45 +00:00
sithlord48
329742a411
chore: rename lib/gui/style_utils.h => lib/gui/StyleUtils.h
2025-03-20 13:06:45 +00:00
sithlord48
4df982dd6f
chore: rename lib/gui/string_utils.h => lib/gui/StringUtils.h
2025-03-20 13:06:45 +00:00
sithlord48
b1010751ba
chore: rename lib/gui/messages => lib/gui/Messages
2025-03-20 13:06:45 +00:00
sithlord48
4238441018
chore: rename lib/gui/env_vars.h => lib/gui/EnvVars.h
2025-03-20 13:06:45 +00:00
sithlord48
a13bd3d0bd
chore: rename lib/gui/dot_env => lib/gui/DotEnv
2025-03-20 13:06:45 +00:00
sithlord48
516e612282
chore: rename lib/gui/diagnostic => lib/gui/Diagnostic
2025-03-20 13:06:45 +00:00
sithlord48
bfd4bbd8f4
chore: rename lib/gui/constants.h => lib/gui/Constants.h
2025-03-20 13:06:45 +00:00
sithlord48
1c4ec6ec41
chore: remove unused lib/gui/byte_utils
2025-03-20 13:06:45 +00:00
sithlord48
2ef23b8206
chore: rename lib/deskflow/protocol_types => lib/deskflow/ProtocolTypes
2025-03-20 13:06:45 +00:00
sithlord48
ecf70f09f3
chore: rename lib/deskflow/option_types => lib/deskflow/OptionTypes
2025-03-20 13:06:45 +00:00
sithlord48
397c652e1c
chore: rename lib/deskflow/mouse_types => lib/deskflow/MouseTypes
2025-03-20 13:06:45 +00:00
sithlord48
1666a30b94
chore: rename lib/deskflow/clipboard_types => lib/deskflow/ClipboardTypes
2025-03-20 13:06:45 +00:00
sithlord48
827d020d16
chore: rename lib/deskflow/key_types => lib/deskflow/KeyTypes
2025-03-20 13:06:45 +00:00
sithlord48
0138372871
chore: rename lib/base/log_outputters => lib/base/LogOutputters
2025-03-20 13:06:45 +00:00
sithlord48
9e78cb55aa
chore: rename lib/base/finally.h => lib/base/FinalAction.h
2025-03-20 13:06:45 +00:00
sithlord48
38cc678ad2
chore: Settings Dialog remove unused and not implimented updateTlsRegenerateButton method from header
2025-03-19 20:29:40 +00:00
sithlord48
e624e6f174
fix: SetttingsDialog KeySize Combobox does not set key length
...
fixes #8380
2025-03-19 20:29:40 +00:00
sithlord48
96b50b7d1c
chore: remove unused action in MainWindow
2025-03-19 20:29:40 +00:00
sithlord48
ffbe2cf885
refactor: use Settings for secure connect certificate path
2025-03-19 20:01:01 +00:00
sithlord48
b1b8720781
refactor: remove unused ARCH::concatPath
2025-03-19 20:01:01 +00:00
sithlord48
8609cbc20a
refactor: remove unused ARCH::getUserDirectory
2025-03-19 20:01:01 +00:00
sithlord48
7fe862b715
refactor: remove unused ARCH::getSystemDirectory
2025-03-19 20:01:01 +00:00
sithlord48
377272e917
refactor: remove unused arch profileDir
2025-03-19 20:01:01 +00:00
sithlord48
b051c5ae60
refactor: new Setting::tlsTrustedClientssDb() method to return trusted client fingerprint db
2025-03-19 20:01:01 +00:00
sithlord48
38f00da704
refactor: new Setting::tlsTrustedServersDb() method to return trusted server fingerprint db
2025-03-19 20:01:01 +00:00
sithlord48
dcd2c62880
refactor: new Setting::tlsLocalDb() method to return local fingerprint db
2025-03-19 20:01:01 +00:00
sithlord48
b7f29d76c3
refactor: use new Setting::tlsDir() method to return current tlsdir where needed
2025-03-19 20:01:01 +00:00
sithlord48
55601debe0
refactor: use Settings in SecureListenSocket for certificate path
2025-03-19 20:01:01 +00:00
sithlord48
6c8eca6c41
refactor: ServerApp begin to use Settings
2025-03-19 20:01:01 +00:00
sithlord48
6444e2c208
chore: remove unused ARCH::getLogDirectory
2025-03-19 20:01:01 +00:00
sithlord48
b3ce7c41d3
chore: remove unused ARCH::setPluginDirectory Arch::getPluginDirectory
2025-03-19 20:01:01 +00:00
sithlord48
6963c28219
fix: typo in settings checkPeerFingerprints
2025-03-17 13:01:51 -04:00
sithlord48
99ed548495
fix: typo in settings invertScrollDirection key
2025-03-17 13:01:51 -04:00
Nick Bolton
d37bda6edb
fix: Use correct casing for RemoteHost value in Settings.h
2025-03-17 13:01:51 -04:00
sithlord48
73de5e964e
chore: remove unused archsystem classes
2025-03-17 16:59:43 +00:00
sithlord48
27451d3425
refactor: move Screensaver inhibate call for xwindows from arch to platform
2025-03-17 16:59:43 +00:00
sithlord48
613f3651ea
refactor: move daemon settings to Settings
...
fixes #8353
2025-03-17 16:59:43 +00:00
sithlord48
0e3cee6287
feat: handle scope automaticaly
...
fixes #8358
2025-03-17 13:58:28 +00:00
sithlord48
6056e5850b
chore: remove unused ConfigScopes
2025-03-17 13:58:28 +00:00
sithlord48
1b01a010ed
refactor: remove use of configScopes from mainwindow
2025-03-17 13:58:28 +00:00
sithlord48
7faf76c7df
refactor: remove need for configScope in diagnostic
2025-03-17 13:58:28 +00:00
sithlord48
55f513941b
chore: remove lib/gui/config/AppConfig class
2025-03-17 13:58:28 +00:00
sithlord48
9e74100960
chore: remove unused appconfig from mainwindow
2025-03-17 13:58:28 +00:00
sithlord48
531b988dd1
refacator: remove use of app config in server settings
2025-03-17 13:58:28 +00:00
sithlord48
5647121dd8
refacator: allow settings to expose a proxy and emit saving
2025-03-17 13:58:28 +00:00
sithlord48
c1af4c3b71
fix: windows looking in deskflow/deskflow for items
...
fixes #8371
2025-03-17 13:47:28 +00:00
Kentaro Hayashi
dd895ed99f
Fix typos Recieve in methods
...
...Recieve... =>
...Receive...
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-03-17 09:38:18 -04:00
Kentaro Hayashi
7771dcd04c
Fix typos
...
avilable =>
available
recieve =>
receive
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-03-17 09:38:18 -04:00
sithlord48
d537a23fda
refactor: add configure icon for Configure server button
2025-03-17 11:18:27 +00:00
sithlord48
f7b98465fa
refactor: mainwindow move save config to a button shown only in server mode
2025-03-17 11:18:27 +00:00
sithlord48
ed1bf01306
fix: log Resize update the timer to 15ms
2025-03-17 11:00:02 +00:00
sithlord48
80f814a2da
refactor: unify Coredir to SettingsPath
2025-03-17 10:44:37 +00:00
Nick Bolton
5355c9080b
fix: Parse only the patch number from version check result
2025-03-14 15:30:19 +00:00
Nick Bolton
16517ca541
refactor(daemon): More helpful and less noisy logging
2025-03-14 14:19:46 +00:00
Nick Bolton
e8ea9f53ee
refactor(daemon): Separate arg parsing from program control flow
2025-03-14 14:19:46 +00:00
Nick Bolton
7da8c54924
refactor(daemon): Use functional type for daemonize func
2025-03-14 14:19:46 +00:00
Nick Bolton
3683db0db9
feat(daemon): Print warning when not elevated
2025-03-14 14:19:46 +00:00
Nick Bolton
cd0aa6496a
refactor(daemon): Move file log init code to init functions
2025-03-14 14:19:46 +00:00
Nick Bolton
c583252b03
refactor(daemon): Move watchdog init to init function
...
This also improves some logging and adds discreet try-catch blocks for each function call which improves diagnostics
2025-03-14 14:19:46 +00:00
Nick Bolton
2c433eddd7
chore(daemon): Make function const and better string compare
...
- Make `clearSettings` const in daemon app
- Improve readability of empty command check
2025-03-14 14:19:46 +00:00
sithlord48
5ee39c9b00
refactor: Settings allow override file of settings/Deskflow.conf
2025-03-14 14:10:19 +00:00
sithlord48
c1642b8d9d
refactor: Remove unused CoreTool
2025-03-14 14:10:19 +00:00
sithlord48
f2c16c4432
refactor: remove paths::coreProfileDir and its single use for Settings::settingsPath()
2025-03-14 14:10:19 +00:00
sithlord48
37b4e4b57f
refactor: coretool remove getProfileDir
2025-03-14 14:10:19 +00:00
sithlord48
b502a6b848
refactor: remove coretool from coreProcess
2025-03-14 14:10:19 +00:00
sithlord48
fe0ddf85e4
refactor: remove coretool from path.h
2025-03-14 14:10:19 +00:00
sithlord48
6990477504
refactor: remove coretool use from tlsCertificate
2025-03-14 14:10:19 +00:00
sithlord48
e05b35dda4
refactor: remove coretool from mainwindow
2025-03-14 14:10:19 +00:00
sithlord48
f50e4e850b
refactor: QSettingsProxy use Settings paths for user and system paths
2025-03-13 13:58:25 +00:00
sithlord48
3cd3d7b1ff
refactor: mv lib/gui/proxy/QSettingsProxy => lib/common
2025-03-13 13:58:25 +00:00
sithlord48
5a7284fd6a
refactor: appconfig is no longer a iAppConfig subclass
2025-03-13 13:58:25 +00:00
sithlord48
362b2e1477
chore: slim down appconfig to only have expose the settings proxies
2025-03-13 13:58:25 +00:00
sithlord48
7bf716b232
chore: appconfig remove unused m_logdir
2025-03-13 13:58:25 +00:00
sithlord48
554178b658
chore: appconfig remove unused useinternalconfig option
2025-03-13 13:58:25 +00:00
sithlord48
af17b14224
refactor: move serverconfigdialog visible to Settings
2025-03-13 13:58:25 +00:00
sithlord48
1e9f92c93f
feat: serverConfigDialog, remove need for appConfig
2025-03-13 13:58:25 +00:00
sithlord48
8bb325a2d2
feat: settingsdialog remove need for appconfig
2025-03-13 13:58:25 +00:00
sithlord48
8606dc8618
refactor: move Coremode control to Settings
...
newKey core/coreMode <= General/serverGroupEnabled , Genaral/clientGroupEnabled
remove core mode items from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
6362948e15
feat: CoreProcess no longer needs AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
085a70d5a5
refactor: move elevateMode to Settings
...
newKey: core/elevateMode <= General/elevateMode + General/elevateModeEnum
Remove elevate mode from appConfig
2025-03-13 13:58:25 +00:00
sithlord48
93abf4217b
refactor: move enableServer to Settings
...
General/enableServer is removed, service type stored in core/processMode set it now true when server mode
remove enableServer from appConfig
2025-03-13 13:58:25 +00:00
sithlord48
88b0a7d2e1
refactor: move serviceenabled to deskflow settings
2025-03-13 13:58:25 +00:00
sithlord48
5fa70d0d0a
refactor: move ProcessMode to Settings
...
newKey core/processMode
remove processmode from app config
2025-03-13 13:58:25 +00:00
sithlord48
d01c07cab8
refactor: move screenName to Settings
...
newkey: core/screenName <= General/screenName
remove screenName from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
6834862413
refactor: move logFile to Settings
...
newKey log/file <= General/logFilename
remove logfilename from appConfig
2025-03-13 13:58:25 +00:00
sithlord48
4273fe2318
refactor: move logLevel and loglevelText to Settings
...
newKey: log/level <= General/logLevel2
remove logLevel from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
266a4a5edf
refactor: move logToFile to Settings
...
newkey: log/logToFile <= General/logToFile
remove logToFile from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
5e6381c88a
refactor: move port to Settigns
...
newkey: core/port <= General/port
remove port from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
9aa1d6b79d
refactor: move networkinterface to Settings
...
newkey: core/interface <= General/interface
remove networkinterface from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
d45d6baacb
refactor: move langageSync to Settings
...
newkey: client/languageSync <= General/languageSync
removed languageSync from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
a887ac066c
refactor: move invertscrolling to Settings
...
newkey: client/invertscrolldirection <= General/invertScrollDirection
remove invertScrollDirection from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
787a48424e
feat: remove need for AppConfig from serverConnection
2025-03-13 13:58:25 +00:00
sithlord48
b20d6361d6
refactor: move external configfile to Settings
...
newkey: server/externalConfigFile <= General/configFile
remove configFile from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
b833ca7a45
refactor: move appconfig useExternal config to Settings
...
newkey: server/externalConfig <= General/useExternalConfig
remove useExternalConfig from appConfig
2025-03-13 13:58:25 +00:00
sithlord48
43eab1f04c
feat: remove need for AppConfig in Client Connection
2025-03-13 13:58:25 +00:00
sithlord48
dc9e104f8c
refactor: move serverHostname to Settings
...
newKey: client/remoteHost <= General/serverHostName
remove serverHostname from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
f456aab196
refactor: move serverBinary to Settings
...
newkey: server/binary <= General/coreServerBinary
remove coreServer from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
de3b9d8e2e
refactor: move clientBinary to Settings
...
newkey: client/binary <= General/coreClientBinary
remove coreBinary from AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
b7960eecb4
refactor: move preventSleep to Settings
...
newkey: core/preventSleep <= General/preventSleep
remove prevent sleep from app config
2025-03-13 13:58:25 +00:00
sithlord48
03f142977f
refactor: move lastVersion to Settings
...
newkey: core/lastVersion <= General/lastVersion
Remove from app config
2025-03-13 13:58:25 +00:00
sithlord48
5360fb3c89
refactor: move requirepeerchecking to Settings
...
newkey: security/checkpeerfingerprints <= General/requireClientCerts
remove requireClientCerts from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
4eb7ea3491
feat: tlsUtility no longer needs AppConfig, tlsUtility takes a parent object
2025-03-13 13:58:25 +00:00
sithlord48
5642879a21
chore: connect up Settings changed signal to mainwindow
2025-03-13 13:58:25 +00:00
sithlord48
737328d7b0
refactor: move TlsCertPath to Settings
...
newkey: security/certPath <= General/tlsCertPath
remove tlsCertPath from appConfig
2025-03-13 13:58:25 +00:00
sithlord48
bee0f84556
refactor: move tlsKeyLength to Settings
...
newkey: security/keySize <= General/tlsKeyLength
removed tlsKeyLength from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
2721de220a
refactor: move tlsEnabled to Settings
...
newkey: security/tlsEnabled <= General/cryptoEnabled
remove tlsEnabled from appconfig
2025-03-13 13:58:25 +00:00
sithlord48
4c6195cc5d
refactor: move windowgeometry to Settings
...
newkey: gui/windowGeometry <= General/mainWindowSize and General/mainWindowPosition
mainWindowSize and Position remove from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
1e46bd2727
refactor: move CloseReminder setting to Settings
...
newkeyL gui/closeReminder <= General/showCloseReminder
remove closeReminder from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
54ecdad101
refactor: move startedBefore settings to Settings
...
newkey core/startedBefore <= General/startedBefore
startedBefore has been removed from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
51a749b109
refactor: move closeToTray setting to Settings
...
newkey: gui/closeToTray <= General/closeToTray
remove closeToTray from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
788f6c3eb2
refactor: Move update check setting to Settings
...
newkey: gui/enableUpdateCheck <= General/enableUpdateCheck
remove update check from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
e01c595071
refactor move Tray icon setting to Settings
...
newKey: gui/symbolicTrayIcon <= General/colorfulIcon
the colorfulIcon settings has been removed from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
bcd90434a2
refactor: move autohide setting to Settings
...
newkey: gui/autoHide <= General/autoHide
auto hide has been removed from `AppConfig`
2025-03-13 13:58:25 +00:00
sithlord48
698fd3f83c
refactor: move logExpanded to Settings
...
newkey: gui/logExpanded <= General/logExpanded
remove logExpanded AppConfig
2025-03-13 13:58:25 +00:00
sithlord48
2a53d4f187
refactor: unittest use Settings
2025-03-13 13:58:25 +00:00
sithlord48
53487e757b
feat: New Settings class
2025-03-13 13:58:25 +00:00
sithlord48
ef315183f3
chore: rm unused ARCH:getPlatform
2025-03-13 12:25:25 +00:00
sithlord48
8b1e8dfd9f
chore: rm unused CoreTool::getArch
2025-03-13 12:25:25 +00:00
sithlord48
b73aceee7d
chore: remove unused Arch::isWOW64 method
2025-03-13 12:25:25 +00:00
sithlord48
3b811a1bd0
chore: remove unused Arch::getOsName
2025-03-13 12:25:25 +00:00
Nick Bolton
a099276e4e
refactor: Move Windows SendSAS call to new thread
...
Moving the SAS event wait and SendSAS call prevents blocking the main thread allowing for more responsive watchdog (e.g. faster restart Core client/server on session switch).
2025-03-12 12:18:32 -04:00
Nick Bolton
38f8159e9d
refactor: Update global event names to use project proper name
2025-03-12 12:18:32 -04:00
Nick Bolton
87fb06781c
refactor: Change shutdownExistingProcesses to static in MSWindowsWatchdog
2025-03-12 12:18:32 -04:00
Nick Bolton
b9017de881
refactor: Use simpler lock_guard for Windows daemon set process config
2025-03-12 12:18:32 -04:00
Nick Bolton
24d1d4e620
refactor: Simplify lock_guard usage by removing explicit mutex type
2025-03-12 12:18:32 -04:00
Nick Bolton
3bcc1e11ed
chore: Move Windows event constants to constants file
2025-03-12 12:18:32 -04:00
Nick Bolton
d26c75a784
refactor: Move Windows specific constants to #ifdef
2025-03-12 12:18:32 -04:00
Nick Bolton
5b091dee56
refactor: Rename SAS IPC event name to be more specific
2025-03-12 12:18:32 -04:00
Nick Bolton
3344644d2e
chore: Remove old ctrl+alt+del PostMessage call (for Windows XP and below)
2025-03-12 12:18:32 -04:00
Nick Bolton
39e7f60c5a
build: Get minor MSVC version from host registry
2025-03-12 08:04:16 -04:00
Nick Bolton
57d1e42eca
feat: Check MSVC redist version in WiX installer
2025-03-12 08:04:16 -04:00
Nick Bolton
cd45164e40
chore: Clean up unused definitions and includes in ArchMiscWindows
2025-03-11 16:38:12 +00:00
Nick Bolton
0ed583a7fe
refactor: Bootstrap logging for Windows runtime check
2025-03-11 16:38:12 +00:00
Nick Bolton
751c869435
feat: Use EnumProcessModules to search loaded modules)
2025-03-11 16:38:12 +00:00
Nick Bolton
4cfeadf0be
fix: Remove redundant check in runtime DLL condition
...
For some reason `&& hModule` was added to the end of the condition, which totally breaks the logic for when the DLL is not found.
2025-03-11 16:38:12 +00:00
Nick Bolton
402baf3bde
docs: Add doc comments for ArchMiscWindows
2025-03-11 16:38:12 +00:00
Nick Bolton
d199130b43
chore: Replace local include with standard library include for set
2025-03-11 16:38:12 +00:00
sithlord48
6e8952c8a0
chore: update formating for clang-format 20.1.0
2025-03-11 10:57:51 -04:00
Nick Bolton
bb38ad0766
chore: Rename TLS constants for consistency
2025-03-10 18:57:29 +00:00
Nick Bolton
f2063f9e05
fix: Allow compiling on VS2019 for contributors with old IDEs
2025-03-07 09:26:43 -05:00
sithlord48
a74d792b5b
fix: mac os icon mask
...
fixes #8310
2025-03-07 13:30:18 +00:00
sithlord48
256ba2411b
refactor: move qt automoc, uic and rcc to a single place in Librarires.cmake
2025-03-07 13:16:09 +00:00
sithlord48
0a23e62093
refactor: replace version.h with kDisplayVersion const
2025-03-07 13:16:09 +00:00
sithlord48
e38a8e6b15
build: build lib/common as static library
2025-03-07 13:16:09 +00:00
sithlord48
38b2798bb7
chore: remove unused common/stdfstream
2025-03-06 19:17:53 +00:00
sithlord48
d580dfba57
chore: remove unused common/stdsstream
2025-03-06 19:17:53 +00:00
sithlord48
da4237f349
chore: rm unused common/stdbitset.h
2025-03-06 19:17:53 +00:00
sithlord48
a78d1acc71
chore: remove unset variable in arch lib linking
2025-03-06 19:17:53 +00:00
sithlord48
24d5b26da2
build: remove extra private link to openssl::applink
2025-03-06 19:17:53 +00:00
sithlord48
9c81f1c045
build: moving find_package for openssl to net/CMakeLists.txt
2025-03-06 19:17:53 +00:00
sithlord48
3a4bf35e22
refactor: Remove unneeed find_packate calls for Qt Components. Qt is found by Libaraies.cmake and accesable to all items in the src folder
2025-03-06 19:17:53 +00:00
Nick Bolton
495331108b
fix: Guard MSVC runtime version depending on compiler version
2025-03-06 10:45:57 -05:00
Nick Bolton
a7ce936d68
fix: Remove duplicate includes in deskflow-daemon.cpp
2025-03-05 13:59:26 -05:00
Nick Bolton
f6ccd2a25b
feat: Show Git SHA in Windows daemon version number
2025-03-05 13:59:26 -05:00
sithlord48
5d310be807
chore: remove obsolete runWizard setting
2025-03-05 18:48:07 +00:00
Nick Bolton
bd674f546b
fix: Show console on Windows for daemon -h and -f args
2025-03-05 18:04:07 +00:00
Nick Bolton
cc821f750d
fix: Remove unnecessary private access modifier from DaemonApp.h
2025-03-05 18:04:07 +00:00
Nick Bolton
2485e993a4
chore: Improve bin RC and service description for Windows daemon
2025-03-04 13:36:47 +00:00
Nick Bolton
b5d12b8aa5
fix: Move version print line after file outputter is created
2025-03-04 13:36:47 +00:00
Nick Bolton
b64942e3a3
fix: Delete HKEY_LOCAL_MACHINE\SOFTWARE\Deskflow when clearing settings
2025-03-03 15:05:09 -05:00
Nick Bolton
9de268d293
chore: Reduce noisy log lines related to fingerprints not required by GUI
2025-03-03 13:31:18 -05:00
Nick Bolton
1f08cafffe
fix: Use string data instead of path data for fingerprint logging
2025-03-03 13:31:18 -05:00
sithlord48
9eeda33293
fix: do not reset screenCorners on startup
...
fixes #8276
2025-03-03 17:26:48 +00:00
sithlord48
17bedb1072
fix: Correct parsing of screen corners
...
fixes #8231
2025-03-03 17:26:48 +00:00
sithlord48
8cca8440b7
fixes #7695 adjust the serverconfig clipboard max size label
2025-03-03 17:16:24 +00:00
sithlord48
b2dadba6fa
refactor: serverdialog, use maximum for spinbox horizontal sizepolicy
2025-03-03 17:16:24 +00:00
sithlord48
4f057d706f
refactor: serverconfigdialog, use suffix for spinboxes
2025-03-03 17:16:24 +00:00
sithlord48
5e69657176
chore: update windows rc descriptions fixes #8270
2025-03-03 16:32:08 +00:00
sithlord48
2638cce0c0
fix: Do stop the client on fingerprint dialog
...
fixes #8267
2025-03-03 16:16:57 +00:00
Nick Bolton
5eac984757
chore: Add mutex for process state management in MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
1bd3f5060e
refactor: Add Doxygen comments for MSWindowsWatchdog member functions
2025-03-03 14:33:46 +00:00
Nick Bolton
55b4cffd3f
chore: Remove unused setStartupInfo member function from MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
51ec36f23d
chore: Set default values for m_foreground and m_activeDesktop MSWindowsWatchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
58cb2b76de
chore: Remove unused include in MSWindowsWatchdog.h
2025-03-03 14:33:46 +00:00
Nick Bolton
8d4a715b1c
chore: Make MSWindowsWatchdog constructor explicit
2025-03-03 14:33:46 +00:00
Nick Bolton
997d4a9473
chore: Move free functions to top of Windows watchdog source
2025-03-03 14:33:46 +00:00
Nick Bolton
0f11b61576
chore: Reduce complexity of outputLoop in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
98aba612c0
chore: Improve loop stop log line in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
b0547f6713
chore: Use ref to const for openProcessForKill arg in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
40fefb9369
chore: Use string_view for MSWindowsWatchdog::setProcessConfig
2025-03-03 14:33:46 +00:00
Nick Bolton
d8d022e9fe
chore: Scope constants in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
84194cf5ef
chore: Use default init instead of ctor init Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
cd5ba1382d
chore: Clean up shutdownExistingProcesses (unused var and use if-init) in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
c84b4e3f00
refactor: Reduce complexity of mainLoop in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
be8029deb6
chore: Remove unused g_activeDesktop from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
dbb9b3bf5a
chore: Remove unused trimDesktopName from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
32bf9aa02a
chore: Use const auto instead of enum for kOutputBufferSize in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
0891afdd63
chore: Use nullptr instead of NULL in Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
f7ab6aba58
chore: Remove unused includes from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
74e8a63dcd
chore: Remove unused getCommand from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
475172597a
chore: Remove unused m_ready from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
8c30ed7a59
chore: Remove unused m_autoDetectCommand and ctor arg from Windows watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
44f72a29e9
refactor: Use state machine for Windows daemon watchdog
2025-03-03 14:33:46 +00:00
Nick Bolton
4db77ba2f7
chore: Improve function name for setting daemon process config
2025-03-03 14:33:46 +00:00
Nick Bolton
5e29fa93ac
chore: Quieten noisy daemon IPC server read log messages
2025-03-03 14:33:46 +00:00
sithlord48
ce8c262a9c
build: mac os rpath for client, server and core
2025-02-28 23:04:33 +00:00
Nick Bolton
54483f26ba
refactor: Use member instead of passing param in daemon main loop
2025-02-28 17:58:16 +00:00
Nick Bolton
13ed447a93
chore: Move daemon constants to constants file
2025-02-28 17:58:16 +00:00
Nick Bolton
74812fbf75
chore: Remove dead code, function isServerCommandLine from daemon
2025-02-28 17:58:16 +00:00
Nick Bolton
bdf5a0f352
chore: Clearer naming for static daemon loop functions
2025-02-28 17:58:16 +00:00
Nick Bolton
b425b43801
fix: Use desktop process mode for core process tests rather than random value
2025-02-28 17:58:16 +00:00
Nick Bolton
f0c60f5ca9
chore: Improve logging for pipe readers in Windows watchdog
2025-02-28 17:58:16 +00:00
Nick Bolton
b2ca9bc17b
chore: Remove dead code from --debug-service-wait arg
2025-02-28 17:58:16 +00:00
Nick Bolton
f46474c9f2
refactor: Use WaitForSingleObject instead of sleep for Windows process shutdown
2025-02-28 17:58:16 +00:00
Nick Bolton
a99d408be1
chore: Improve logging related to Windows daemon start/stop/install/uninstall
2025-02-28 17:58:16 +00:00
Nick Bolton
19c41e2ac5
fix: Improve Windows daemon stop speed by using non-blocking pipes and shorter sleep times
2025-02-28 17:58:16 +00:00
Nick Bolton
890fd61e6e
refactor: Move ownership of Windows daemon file log outputter to Log
2025-02-28 17:58:16 +00:00
Nick Bolton
1c42552b3b
refactor: Begin logging to file as soon as Windows daemon starts
2025-02-28 17:58:16 +00:00
Nick Bolton
a6956b9516
refactor: Improve Daemon uninstall exception flow
2025-02-28 17:58:16 +00:00
Nick Bolton
5a7f6bd1c0
refactor: Remove old Windows TCP IPC implementation (replaced by Qt equivalent)
2025-02-28 17:58:16 +00:00
Nick Bolton
a3b0ec28fc
refactor: Improve logging message for process backoff and reset failure count when no command is set
2025-02-28 17:58:16 +00:00
Nick Bolton
fa1ab27ee9
refactor: Clear watchdog command setting to prevent persistence on daemon restart
2025-02-28 17:58:16 +00:00
Nick Bolton
e07a2efbcc
refactor: Implement Windows event loop in AppUtilWindows for graceful shutdown handling
2025-02-28 17:58:16 +00:00
Nick Bolton
e967944c1e
fix: Strip line endings for Windows daemon file logging
...
Windows file logger and `OutputDebugString` already add new lines, so remove the ones added by the Core.
2025-02-28 17:58:16 +00:00
Nick Bolton
389028ccf9
refactor: Connect socket events in ctor for daemon IPC client
2025-02-28 17:58:16 +00:00
Nick Bolton
dc6383d593
refactor: Properly disconnect and clean up previous daemon file tail on connection
2025-02-28 17:58:16 +00:00
Nick Bolton
1c7adf5add
refactor: Allocate daemon app and it's thread on stack to reduce memory leak risk
2025-02-28 17:58:16 +00:00
Nick Bolton
5743db3040
feat: Apply log level on IPC connection
2025-02-28 17:58:16 +00:00
Nick Bolton
5733541b2a
feat: Tail daemon log file instead of using IPC log outputter
2025-02-28 17:58:16 +00:00
Nick Bolton
5980fb741b
refactor: Move daemon process stop command to new Qt IPC
2025-02-28 17:58:16 +00:00