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
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
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
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
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
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