Commit graph

2986 commits

Author SHA1 Message Date
sithlord48
4a67694676 build: new build option BUILD_X11 to control building of X11 backend 2025-11-14 13:28:41 +00:00
sithlord48
f45df39032 refactor: XDGKeyUtil, make s_keySymToUCS4 static map 2025-11-14 13:28:41 +00:00
sithlord48
186a20a1ac feat: XDGKeyUtil, use Xkbcommon Keysym names
this removes the need for any x11 releated headers when using EI screens
2025-11-14 13:28:41 +00:00
sithlord48
7eee265010 refactor: make s_map1008FF private static array 2025-11-14 13:28:41 +00:00
sithlord48
b3cd759a4e chore: remove unused KeySyms Tyepdef 2025-11-14 13:28:41 +00:00
James Le Cuirot
93beb491db fix: Split XKB code out of XWindowsUtil to allow building without X11
the xprotoheaders are still required for EI, but nothing more.
2025-11-14 13:28:41 +00:00
sithlord48
6d89ee0660 chore: StreamChunker remove unused includes 2025-11-13 11:40:24 +00:00
sithlord48
b2cdf38fca chore: remove unneeded using namespace std 2025-11-13 11:40:24 +00:00
Brett Lawson
6a86c2990e fix: Adjust OS X MouseMove handling to use live cursor position. 2025-11-11 11:15:41 -05:00
sithlord48
5441464a1d fix: do not make windows users select .sgc files, enable i18n for the server config dialog 2025-11-11 12:30:36 +00:00
Nick Bolton
39382bfd8c fix: Prevent out-of-bounds access for Qt string when building TLS fingerprint
Only happens when using debug build of Qt lib because release Qt is optimized and doesn't check for bounds for the sake of efficiency.
2025-11-10 21:18:56 +00:00
Nick Bolton
477c7b07e5 chore: Fix typos for var names in formatSSLFingerprintColumns 2025-11-10 21:18:56 +00:00
sithlord48
78c90fe7c6 fix: Crash caused by hostnames with invalid characters returned by machine name.
fixes: #9006

Only cleans the hostname if the system is using the default
Replace Spaces with _
Remove any other non word characters
2025-11-10 07:32:48 -05:00
sithlord48
1875c599a4 refactor: define EventQueueTimer to its own header not once per IEventQueue impl 2025-11-10 07:08:29 -05:00
sithlord48
ab1a87ba04 chore: remove MsWindowClipboardTextConverter 2025-11-10 11:52:42 +00:00
sithlord48
d492ddfbbb chore: LogOutputters remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
cad92d2ff7 chore: IEventQueue remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
9737f23f5c chore: FinalAction include utility 2025-11-07 15:54:19 -05:00
sithlord48
e26c737776 chore: EventQueue remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
d36576a079 chore: StreamChunker include string_view not string 2025-11-07 15:54:19 -05:00
sithlord48
e48ee3d368 chore: ServerApp remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
891d5c9bb7 chore: Screen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
cbf3627ae2 chore: ProtocolUtil remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
44882cfa7a chore: ProtocolTypes remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
c91e051082 chore: PlatformScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e01837579d chore: PacketStreamFilter remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
0a5b39be7a chore: OptionTypes removed unused includes 2025-11-07 15:54:19 -05:00
sithlord48
19f49e746b chore: MouseTypes include cstdint directly 2025-11-07 15:54:19 -05:00
sithlord48
8d34bfdcc6 chore: ISecondaryScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
725c2e96a4 chore: IScreenSaver remove unuse includes 2025-11-07 15:54:19 -05:00
sithlord48
113801f967 chore: IScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
c3e017bd68 chore: IPrimaryScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
71bb8eb750 chore: IKeyState remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
01cdbf48d4 chore: IClipboard remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
04bea86254 chore: DisplayInvalidException only include stdstring on apple systems 2025-11-07 15:54:19 -05:00
sithlord48
176b5c2459 chore: Chunk remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
dad46a5a34 chore: AppUtil remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
997b0c5f1b chore: X11LayoutParser remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
a13e3f895d chore: DeskflowXkbKeyboard remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
6a895f5c45 chore: VersionChecker remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
98a49b7f7a chore: StyleUtils include missing QIcon 2025-11-07 15:54:19 -05:00
sithlord48
4b3399d951 chore: LogDock remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
2743e1dbae chore: KeySequenceWidget remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
aff73bbded chore: StreamBuffer remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
f8b299ff67 chore: IStream remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
f294daa077 chore: TCPSocketFactoryy remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e389b2ed56 chore: TCPSocket remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
9b145c2739 chore: SocketMultiplexer remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
bc8dcf76ad chore: SecureUtils remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
93f42df4db chore: SecureListenSocket remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
00f10bdb14 chore: NetworkAddress remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
2ca2500954 chore: ISocket remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
b20201007e chore: IListenSocket remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
959e6b2d0d chore: IDataSocket remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
65a7fbb90b chore: Server remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
c2ae5eae08 chore:InputFilter remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
06ac0a747f chore: ClientProxyUnknown remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e2a78ac5ac chore: ClientProxy1_7 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
9f213fa1dd chore: ClientProxy1_5 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
6924c4f09d chore: ClientProxy1_4 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
58bb8a0fcf chore: ClientProxy1_3 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e8702cd716 chore: ClientProxy1_1 remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
fb5e532ff6 chore: ClientProxy remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
1e371ad84a chore: ClientListener remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
7ce5ce5d41 chore: XWindowsUtils remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
68a15486ae chore: XWindowsScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
bb42cfb8fd chore: XWindows Clipboard remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
af0321ce77 chore: XDGPowerManager remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
fbdee8e10e chore: PortalRemoteDesktop remove unneeded includes 2025-11-07 15:54:19 -05:00
sithlord48
489d984ab6 chore: PortalInputCapture remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
1e672bb8a1 chore: EiScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
6147e9604b chore: EiEventQueueBuffer remove unneeded includes 2025-11-07 15:54:19 -05:00
sithlord48
97367a20c5 chore: OSXUchrKeyResouce remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
5a029110a3 chore: OSXScreenSaver remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e4557c6b95 chore: OSXScreen remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
685312866b chore: OSXKeyState remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
a0959e0334 chore OSXClipboardTextConvertor remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
a376a714e8 chore: OSXClipboardAnyBitmapConverter remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
21a7d7db4b chore: OSXClipboard remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
b4649b4f9c chore: AppUtilWindows remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
0a407b6726 chore: Remove checkfor windows < xpSp3 we need windows 7 or higher to runthe app now 2025-11-07 15:54:19 -05:00
sithlord48
8b89489d40 chore: MSWindowsHook inclue Directional Types directly not thru protocol types 2025-11-07 15:54:19 -05:00
sithlord48
e8073de989 chore: MSWindowsEventQueueBuffer remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
74e4f1a1e1 chore: MSWindowsClipboardTextConvertor remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
d9493da173 chore: MsWindowsClipboardFacade, remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
0e8fdb18d8 chore: MsWindowsClipboard, remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
e07a9f58f7 refactor: MSWindowsClipBoard, use Text converter as last option 2025-11-07 15:54:19 -05:00
sithlord48
1f6f6d5dc6 chore: remove unused Common/Common.h 2025-11-07 15:54:19 -05:00
sithlord48
19814c61d7 chore: MSWindowsProcess remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
66efc9c70e chore: Unicode remove use of common/Common and use system headers needed directly 2025-11-07 15:54:19 -05:00
sithlord48
c4fd8699f9 chore: ArchNetworkBsd Remove unneeded includes 2025-11-07 15:54:19 -05:00
sithlord48
5dc8263e54 chore: ServerProxy remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
52b23e6609 chore: Client remove unused includes 2025-11-07 15:54:19 -05:00
sithlord48
754210e8f4 chore: SettingsDialog remove uneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
5966b8f1b8 chore: SecureSocket remove unused includes 2025-11-06 09:12:18 -05:00
sithlord48
72496548de chore: PrimaryClient remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
0091cc5e9a chore: Path remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
241be6abd8 chore: MainWindow remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
f0eaa3efaa chore: IKeyState Remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
f56073a090 chore: FileSystem remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
ca2a7d14f0 chore: DaemonApp remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
3ffe8d7c86 chore: CoreProcess remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
e130cbb706 chore: server/Config remove unneeded includes 2025-11-06 09:12:18 -05:00
sithlord48
e6792b00d7 chore: remove unused includes 2025-11-06 09:12:18 -05:00
sithlord48
f89e857223 refactor: Add deskflow::platform::isMac 2025-11-06 09:12:18 -05:00
sithlord48
5256f05963 refactor: addNew PlatformInfo::isWindows() 2025-11-06 09:12:18 -05:00
sithlord48
8e83b16f5e chore: move platform/Wayland.h -> common/PlatformInfo.h 2025-11-06 09:12:18 -05:00
sithlord48
c18e3c9ef2 refactor: platform/wayland move consts kHasEI etc into wayland Warnings 2025-11-06 09:12:18 -05:00
sithlord48
0a67f63af6 fix: ServerApp use the port configured by the user 2025-11-06 13:30:23 +00:00
sithlord48
8ef2319b0d chore: ServerApp, remove unused includes 2025-11-06 13:30:23 +00:00
sithlord48
0e98702944 chore: ClientApp: remove unused includes 2025-11-06 13:30:23 +00:00
sithlord48
080a6e8b54 fix: ClientApp, use the port in settings in place of default port 2025-11-06 13:30:23 +00:00
sithlord48
8fadbecf00 chore: make TMethodJob const void* 2025-11-05 22:07:16 +00:00
Vasily Galkin
eab38dc23e fix: High Cpu use on windows
port: 95f2a840be
Fixes: #8970
2025-11-05 21:46:20 +00:00
Vasily Galkin
3e76a39326 chore: remove unused IEventQueue::isEmpty
port: 8ab6ad64f9
2025-11-05 21:46:20 +00:00
sithlord48
3af83dd9f2 refactor: remove DotEnv 2025-11-05 11:31:29 +00:00
sithlord48
aba38b949f feat: add new setting Log::GuiDebug to control when the Gui shows debug messages no longer controled by an ENV var 2025-11-05 11:31:29 +00:00
sithlord48
67ceedcad0 refactor: Settings use static list of settings that default to true and another that default to false 2025-11-05 11:31:29 +00:00
sithlord48
6c8c6f5208 feat: Show milliseconds in time values
fixes: #7861
2025-11-04 10:47:14 -05:00
sithlord48
6ab1579d38 refactor: Log remove unneeded includes 2025-11-04 10:47:14 -05:00
sithlord48
fc6e9f1447 refactor: Simplify log::makeMessages method for getting current time by using QDateTime object 2025-11-04 10:47:14 -05:00
sithlord48
1750dd9149 chore: AboutDialog remove unneeded includes 2025-11-04 10:47:14 -05:00
sithlord48
8134521cca chore: remove unused MainWindow::getTimeStamp 2025-11-04 10:47:14 -05:00
sithlord48
b204204920 refactor: Logger::PrintLine use Qt::IsoDate for timestamp 2025-11-04 10:47:14 -05:00
sithlord48
8066ac8e2f refactor: logger::PrintLine use less streams and use the one we need directly 2025-11-04 10:47:14 -05:00
sithlord48
43989dc964 refactor: logger: use QStringLiterals 2025-11-04 10:47:14 -05:00
sithlord48
c066e394a8 refactor: Logger::instance return a pointer to the logger static object 2025-11-04 10:47:14 -05:00
sithlord48
78eae652fd refactor: directly set logger::m_debug using when in debug mode 2025-11-04 10:47:14 -05:00
sithlord48
e1c0803018 chore: remove unused kDebugBuild 2025-11-04 10:47:14 -05:00
sithlord48
1d82be270a chore: remove logger:m_verbose and related method 2025-11-04 10:47:14 -05:00
sithlord48
b22fa1550a refactor: do not mark the protocol names Barrier and Synergy for translation 2025-11-04 10:26:51 +00:00
Sean Cross
dc0a85d34f fix: net: use an exception in NetworkAddress::resolve()
Instead of asserting that the number of resolved ipv4 addresses is nonzero,
throw an exception. This will prevent the core from aborting if the host has
no ipv4 addresses.

The host can get into this state if the remote device loses its ipv4
advertisement midway through resolving, such as if an mdns host unpublishes
its ipv4 address as a result of going into a low-power state.

Signed-off-by: Sean Cross <sean@xobs.io>
2025-11-03 10:04:43 -05:00
sithlord48
acd4b59b4c refactor: Center drag point for screen management 2025-11-03 08:56:23 -05:00
sithlord48
50240c1fc3 refactor: Arch do not include common/Common.h use config.h where neeed as a result 2025-11-03 13:31:28 +00:00
Peter Hutterer
90d6fc6f08 refactor: Assume inet_atom on unix
ported ed2d44c346\#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
2025-11-03 13:31:28 +00:00
sithlord48
6ff8b053af refactor: fail without posix sigwait, remove from Config.h.in
based on 998a9d1735
2025-11-03 13:31:28 +00:00
sithlord48
1f950f4c2a refactor: define SYSAPI_WINDOWS and WINAPI_WINDOWS in cmake, remove the define from Common.h 2025-11-03 13:31:28 +00:00
sithlord48
550f7c3e06 refactor HAS_FORMAT => HAVE_FORMAT 2025-10-31 12:21:47 +00:00
sithlord48
14fa29505d refactor: Allow for colorful tray icon but fall back to symbolic with fallback 2025-10-30 09:40:00 +00:00
sithlord48
eee4efd59d refactor: Only use symbolic tray icon 2025-10-29 13:23:47 -04:00
sithlord48
066e63cc86 refactor: make sure flatpak and snap use packed icons, they can not detect panel color 2025-10-29 13:23:47 -04:00
sithlord48
f4ca17ba3d refactor: Remove RetryOnFailure, Client will always retry and Server will never retry 2025-10-29 08:32:58 -04:00
sithlord48
8c6fa880b4 refactor: SecureSocket do not set retry on failure to false when disconnecting 2025-10-29 08:32:58 -04:00
sithlord48
83e0a6b1ea refactor: SSL_Options, ignore client disconnect w/o close message 2025-10-29 08:32:58 -04:00
sithlord48
495a5e6479 refactor: MainWindow, do not reinit serverconfig 2025-10-29 08:14:39 -04:00
sithlord48
a140b3bcca refactor: MainWindow update window icon on palette change, prevent issues where the palette change does not change the icon and make its blend weirdly 2025-10-28 07:39:14 -04:00
sithlord48
8b513efc95 feat: mainWindow check panel color on windows when deciding upon try icon color 2025-10-28 07:39:14 -04:00
sithlord48
17392a8e06 refactor: rename symbolic icon to full fqdn name. 2025-10-28 07:39:14 -04:00
sithlord48
ddc827e6f1 feat: support symbolic icon deployment and recoloring linux, unify setTrayIcon to use theme icons only 2025-10-28 07:39:14 -04:00
sithlord48
9906421460 feat: Dynamic translation of GUI, able to restart the application without exiting 2025-10-28 07:18:53 -04:00
sithlord48
91a82b22b2 refactor: MainWindow make menu items private members 2025-10-28 07:18:53 -04:00
sithlord48
73e44916e7 refactor: SettingsDialog, support LanguageChange Event 2025-10-28 07:18:53 -04:00
sithlord48
84d2c56b54 refactor: LogDock, support LanguageChangeEvent 2025-10-28 07:18:53 -04:00
sithlord48
18d90aa0bf refactor: use curly initilize for list of QDirs in I18N 2025-10-28 07:18:53 -04:00
sithlord48
40c20e3f5e chore: rm Unused gui/DataDownloader 2025-10-28 09:30:36 +00:00
sithlord48
1e0bd5822a chore: remove unused AddClientDialog 2025-10-28 08:59:45 +00:00
sithlord48
7b0d74aace chore: rm unused ServerConfig::ScreenAddResults 2025-10-28 08:59:45 +00:00
sithlord48
becbb01286 chore: rm unimplimented ServerConfig::getClientAddress and ServerConfig::setClientAddress 2025-10-28 08:59:45 +00:00
sithlord48
fc1769ce66 chore: rm Unused ServerConfig::addToFirstEmptyGrid 2025-10-28 08:59:45 +00:00
sithlord48
31573bf6e8 chore: rm Unused ServerConfig::m_pMainwindow 2025-10-28 08:59:45 +00:00
sithlord48
2efcc76933 chore: rm unused ServerConfig::showAddClientDialog 2025-10-28 08:59:45 +00:00
sithlord48
3580b4ead9 chore: rm unused ServerConfig::autoAddScreen 2025-10-28 08:59:45 +00:00
sithlord48
a82e9a4a74 chore: remove unused MainWindow::autoAddScreen 2025-10-28 08:59:45 +00:00
sithlord48
2d7174c3b2 feat: expose language settings, populate a basic spanish translation 2025-10-27 17:54:32 -04:00
sithlord48
c3f0b18df6 feat: support translation generation 2025-10-27 17:54:32 -04:00
sithlord48
71c1bb87ca refactor: Mainwindow prepare for translations by simplifying MainWindow::serverClientsChanged to use plural form always 2025-10-27 17:54:32 -04:00
sithlord48
bf3fd82630 chore: use kAppName and kAppId more to avoid unneed translations of Deskflow / deskflow 2025-10-27 17:54:32 -04:00
sithlord48
bdacd6a994 chore: prepare for translation remove tr calls from placeholder strings in ui files 2025-10-27 17:54:32 -04:00
Gio
f2a3c708a8 refactor: Update footer text in FingerprintDialog
Fix up wording in connection / fingerprint dialog
2025-10-27 16:32:37 +00:00
sithlord48
091dbc0729 chore: IClient.h remove unneeded overrides of nothing 2025-10-27 15:36:40 +00:00
sithlord48
29f7a57d97 chore: App.h remove unneeded forward declration 2025-10-27 15:36:40 +00:00
sithlord48
8d0c1af032 chore: IListenSocket remove unneeed overrides of nothing 2025-10-27 15:36:40 +00:00
sithlord48
2b83a0ac0f chore: IDataSocket remove unneeed overides of nothing 2025-10-27 15:36:40 +00:00
sithlord48
453686655b chore: IPlatformScreen remove unneeed overrides of nothing 2025-10-27 15:36:40 +00:00
sithlord48
61f3113d61 chore: remove unused Arch::setInstance 2025-10-27 15:36:40 +00:00
sithlord48
bf6986bcba chore: remove unused Arch::Arch(Arch *arch) 2025-10-27 15:36:40 +00:00
sithlord48
6b2c3c1844 chore: remove unused ILogOutputters:show 2025-10-27 15:36:40 +00:00
sithlord48
023e8dc78e chore: remove unused ARCH->showLog 2025-10-27 15:36:40 +00:00
sithlord48
b5c188abbc refactor: use theme icon for tray on windows 2025-10-24 16:26:38 +01:00
re2zero
8226c4162b fix: [build]Fix build issue without format support
add C++20 <format> support checks in Unix libraries and update logging format usage.

Log: Fix build issue without format support.
2025-10-24 15:08:11 +00:00
Matti Hiljanen
2016ce887b fix: stuck modifiers after screen unlock on windows
Fix stuck modifiers (like the windows key) after unlock on Windows
by updating keyboard state after every desk switch.
2025-10-24 15:38:27 +01:00
sithlord48
a34971fee7 refactor: call xkb_keymp_num_levels_for_key, to apply shift in EiState::mapKeyfromKeyval 2025-10-24 14:46:49 +01:00
enzious
5fc4e9dba6 fix: ctrl+alt+fn issue 2025-10-24 00:30:38 +00:00
sithlord48
42b90a2b14 feat: update icon theme on theme change 2025-10-21 11:05:10 -04:00
sithlord48
6b05c2abc0 refactor: use QPushButtons and fake toolbutton style without using a style sheet 2025-10-21 11:05:10 -04:00
sithlord48
697cd57adb refactor: rename MainWindow::setIcon -> MainWindow::setTrayIcon to better reflect what the method does 2025-10-21 11:05:10 -04:00
sithlord48
88e385d050 refactor: move icon theme settings to styleUtils::updateIconTheme 2025-10-21 11:05:10 -04:00
sithlord48
91b836a486 fix: SettingsDialog, set the UAC hidden by default unless on windows
fixes: #9054
2025-10-21 14:36:17 +01:00
enzious
b8bd6903e4 fix: client to server modifier press/release
Pressing a modifier on the client and moving to the server and releasing
it breaks the modifier on the client. This resolves the issue.
2025-10-21 13:54:40 +01:00
enzious
ea7a493c13 fix: dangling pointer from scoped var 2025-10-21 13:32:13 +01:00
sithlord48
e108afdb80 chore: remove Cpp file for ArchDaemonNone 2025-10-17 09:41:56 +01:00
sithlord48
4be0dd3d9d chore: remove unneeded ArchDaemonUnix subclass 2025-10-17 09:41:56 +01:00
sithlord48
55a9596bd5 chore: use Settings::setingsFile in place of instance()->.. 2025-10-17 09:07:21 +01:00
sithlord48
e1fbcb379e chore: Sub classes and overloads not usings parameters of the base methods have the varible names removed 2025-10-17 09:07:21 +01:00
sithlord48
ed8e71072e refactor: use first(n) in place of mid(0, n) 2025-10-17 09:07:21 +01:00
sithlord48
dbc3229b40 refactor: ArchNetworkBSD, set addr to nullprt after delete to avoid returning invalid pointer 2025-10-17 09:07:21 +01:00
sithlord48
8b489b8301 chore: remove unneeded semi colons from several places 2025-10-17 09:07:21 +01:00
sithlord48
d32b98ec34 refactor: EiScreen Define Spaceship op for EiScreen::HotKeyItem 2025-10-17 09:07:21 +01:00
pika
78e394a210 fix: apply scroll lock setting on initialization
Co-authored-by: Nick Bolton <nick@symless.com>
2025-10-17 03:50:53 -04:00
pika
c11a1caf59 fix: handle xkb_keymap_mod_get_mask returning 0 2025-10-16 11:57:11 -04:00
sithlord48
41d5359f4d Refactor: deskflow-core remove non essential options move CoreArgs and CoreArgParse to apps/deskflow-core 2025-10-15 15:04:08 +01:00
sithlord48
34f56af6d6 refactor: set Remote host when it changes on the line edit. 2025-10-15 09:38:11 -04:00
Nick Bolton
687fd5411a refactor: Rename setSettingFile to setSettingsFile for consistency 2025-10-15 08:59:09 -04:00
Nick Bolton
bb1394ceeb feat: Change to local user ini (not native)
Windows registry is horrible to deal with and makes it impractical to pass settings to the Core when run via daemon on Windows.

- Pass settings path to Core when launched via daemon
- Introduce portable mode detection logic on Windows
- Generalize `m_settingsFile` use
- Reduce #ifdef size for Settings ctor path logic
2025-10-15 08:59:09 -04:00
Nick Bolton
3ece50e292 fix: Invert noHooks to useHooks to match new config 2025-10-14 09:04:00 -04:00
sithlord48
7c3ec372df chore: use std::ignore in diagnostic reset 2025-10-13 10:19:42 -04:00
Nick Bolton
0f335d46bb fix: Store server config window state in memory instead of on disk 2025-10-13 08:50:30 -04:00
sithlord48
2b203c8cdd refactor: use CoreProcess::CorrectedAddress in CoreProcess::setAddress 2025-10-13 08:34:12 -04:00
sithlord48
ac7bd1ceca refactor: CoreProcess make wrapIpv6, Simplify wrapIpV6 method 2025-10-13 08:34:12 -04:00
sithlord48
de6be901b9 refactor: CoreProcess use Settings::defaultvalue for server Config in place of constructing in CoreProcess 2025-10-13 08:34:12 -04:00
sithlord48
0ab65410cc refactor: CoreProcess::restart simplify method 2025-10-13 08:34:12 -04:00
sithlord48
a057437e1a refactor: MainWindow::coreProcessStarting move logic into coreProcessStateChanged 2025-10-13 08:34:12 -04:00
sithlord48
f9c007cc3a refactor: CoreProcess Remove the starting signal and use it like the others via CoreProcess::coreProcessStateChanged 2025-10-13 08:34:12 -04:00
sithlord48
d45196304f chore: CoreProcess remove unsed includes 2025-10-13 08:34:12 -04:00
sithlord48
004089f887 refactor: Coreprocess remove single use one liner persistLogDir, make dir in start if needed 2025-10-13 08:34:12 -04:00
sithlord48
13990438d3 refactor: CoreProcess::processStateToString use QVariant conversion to string, make static member of CoreProcess 2025-10-13 08:34:12 -04:00
sithlord48
a120441a10 refactor: CoreProcess::processModeToString use QVariant::fromValue().toString().toLower() to create the string, make method static member of CoreProcess 2025-10-13 08:34:12 -04:00
sithlord48
26c2f672be chore: remove unimplimented CoreProcess::processModeString 2025-10-13 08:34:12 -04:00
sithlord48
48195f9347 refactor: CoreProcess::start seed args with value of coreMode, use it when checking if server 2025-10-13 08:34:12 -04:00
sithlord48
5a632bbb6d refactor: remove CoreProcess::modeString 2025-10-13 08:34:12 -04:00
sithlord48
173638d6f5 refactor: CoreProcess remove addSeverArgs handle server config in CoreProcess::start 2025-10-13 08:34:12 -04:00
sithlord48
bd0c5a68f1 refactor: CoreProcess append log option in start Method, remove now unused addClientArgs , and args parameter from addServerArgs 2025-10-13 08:34:12 -04:00
sithlord48
e3f940c70a refactor: Simplify CoreProcess::QuoteArgs, use QString::Simplify and simplify logic in the loop 2025-10-13 08:34:12 -04:00
sithlord48
bb1e2ecc78 refactor: makeQuotedArgs is now a static private member or CoreProcess 2025-10-13 08:34:12 -04:00
sithlord48
8d0c368c8f refactor: CoreProcess::start return early if called with coreMode of None 2025-10-13 08:34:12 -04:00
sithlord48
9e94a4fe0e refactor: CoreProcess::start, early return if process is already started 2025-10-13 08:34:12 -04:00
sithlord48
a346ff6161 chore: X11LayoutsParser remove stray semi colon 2025-10-13 12:45:44 +01:00
sithlord48
eed4b49ea0 chore: remove unused member App::configSection 2025-10-13 12:45:44 +01:00
sithlord48
88c0c49ba3 chore: remove unused member App::s_helpVersionArgs 2025-10-13 12:45:44 +01:00
Nick Bolton
f64d430f96 fix: Remove assertion for unused name parameter in daemonize function 2025-10-13 07:23:59 -04:00
sithlord48
04b3f5c769 chore: remove unused name parameter from ARCH->daemonize 2025-10-09 13:30:41 +01:00
sithlord48
aae3067f03 fix: stop retry if core has crashed
fixes: #9003
2025-10-07 14:57:22 +01:00
sithlord48
8ea2671e65 refactor: cleanup daemonApp args 2025-10-07 13:01:47 +01:00
sithlord48
12ea23a3bd refactor: App::run remove unused args 2025-10-07 13:01:47 +01:00
sithlord48
0bc82c3a57 refactor App::runInner remove unused argc and argv 2025-10-07 13:01:47 +01:00
sithlord48
3270b40455 refactor: App, remove args from static startup methods to make StartupFunc no longer take args 2025-10-07 13:01:47 +01:00
sithlord48
9f2327932d refactor: IApp::start remove unused args 2025-10-07 13:01:47 +01:00
sithlord48
1b44a24d75 refactor: IApp::initApp remove unused args 2025-10-07 13:01:47 +01:00
sithlord48
8db65da345 refactor: use QString to set log level value
fixes: #8999
2025-10-07 12:40:18 +01:00
sithlord48
06263ceaad feat: drop cli11 2025-10-01 10:55:03 -04:00
sithlord48
4a5f173422 feat: remove toml config file only use our QSettings based format
remove deskflow/Config and related tests
2025-10-01 09:41:12 -04:00
sithlord48
e30025ea8b feat: SettingsDialog, add control to adjust scrollSpeed option for clients 2025-09-30 06:39:54 -04:00
sithlord48
59d860874e refactor: App::ParseArgs remove all unneeed arguments 2025-09-30 06:39:54 -04:00
sithlord48
5978694d95 chore: remove unused ArgParser 2025-09-30 06:39:54 -04:00
sithlord48
d98f8a524d remove: argsBase 2025-09-30 06:39:54 -04:00
sithlord48
37827f0540 refactor: remove ClientArgs 2025-09-30 06:39:54 -04:00
sithlord48
6fa8ba087a refactor: move remoteHost to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
a78959e66f refactor: move invert-scroll to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
5fc00f7af4 refactor: use bool for invert scrolling 2025-09-30 06:39:54 -04:00
sithlord48
2cb36777f9 refactor: move languageSync to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
b0fe79d527 refactor: move yscroll to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
efebe9ca56 refactor: remove ServerArgs 2025-09-30 06:39:54 -04:00
sithlord48
bf7a50ab0e refactor: move -c --config to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
cfedfc2c1e refactor: move peerCert option to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
cfd580fb21 refactor: move ArgsBase:m_pname to App 2025-09-30 06:39:54 -04:00
sithlord48
1884ab3555 refactor: move --no-hooks to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
eeaf139bd9 refactor: move no-restart to CoreArgs
chore: Client remove unused ClientArgs member m_args
2025-09-30 06:39:54 -04:00
sithlord48
295137dbd2 refactor: CoreArgs Add display option 2025-09-30 06:39:54 -04:00
sithlord48
c2ee366e23 refactor: move preventsleep option into CoreArgs 2025-09-30 06:39:54 -04:00
sithlord48
a8348b1ccb refactor: move tls-cert to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
ff4c9dc421 refactor: move enable-crypto to new core option secure to set the TLS setting 2025-09-30 06:39:54 -04:00
sithlord48
53b36801e1 refactor: move Log option to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
f3a1bbaf5b refactor: move setting of log level to CoreArgParser 2025-09-30 06:39:54 -04:00
sithlord48
05f377e21b refactor: Handle Name option in CoreArgParser 2025-09-30 06:39:54 -04:00
sithlord48
ead49c4025 refactor: move address option to deskflow-core, split into --interface (-i) and --port (-p) options 2025-09-30 06:39:54 -04:00
sithlord48
5e02adc772 refactor: deskflow-core take over --version arg for App class
change the serverAppTest to not call version
2025-09-30 06:39:54 -04:00
sithlord48
10f34f214f refactor: new Classes CoreArg and CoreArgParser to use to create and parse core options 2025-09-30 06:39:54 -04:00
sithlord48
6f574a3076 refactor: set const for Reverse FQDN name to use for deployment on linux 2025-09-30 06:17:23 -04:00
sithlord48
dc86538456 feat: Set app id on wayland this is required for restore tokens to work correctly 2025-09-30 06:17:23 -04:00
sithlord48
7698980576 refactor: simplify desktop::platform::isWayland 2025-09-30 06:17:23 -04:00
sithlord48
9fe445ebd0 feat: add methods to check if running from a sandbox, flatpak and or snap 2025-09-30 06:17:23 -04:00
sithlord48
087afd22b2 refactor: use CoreProcess::m_appPath to store app 2025-09-28 10:53:16 -04:00
sithlord48
8192d7b2d8 refactor: remove Settings::Client::Binary and Settings::Server::Binary use kCoreBinName, instead 2025-09-28 10:53:16 -04:00
sithlord48
d9ce9c4f10 chore: remove unused CoreProcess::extracted 2025-09-28 10:53:16 -04:00
sithlord48
4dfc98c93c fix: SettingsDialog, ensure debug warning is shown without changing the combobox 2025-09-28 10:36:23 -04:00
sithlord48
abbfc91192 chore: PriorityQueue::comp add no_unique_address attritribute 2025-09-25 15:01:17 +01:00
sithlord48
e3f5e045b7 chore: FileLogOutputter::write use Static QFile::rename in place of local file method 2025-09-25 15:01:17 +01:00
sithlord48
7f7e7de841 chore: SecureSocket serviceConnect / serviceAccept make anonymous ISocketMultiplexer a pointer const 2025-09-25 15:01:17 +01:00
sithlord48
bd63d54a9e chore: EiScreen::m_powerManager add no_unique_address 2025-09-25 15:01:17 +01:00
sithlord48
9dae55fc6f chore: remove unused ClientProxy1_5::m_events 2025-09-25 15:01:17 +01:00
sithlord48
e35a2b1c29 chore: remove unused ClientProxy1_7::m_events 2025-09-25 15:01:17 +01:00
sithlord48
4157367aaa chore: remove unused InputFilter::RestartServer::m_events 2025-09-25 15:01:17 +01:00
sithlord48
3945dc927c chore: remove unused ArgsBase::m_disableTray 2025-09-25 14:41:35 +01:00
Nick Bolton
801ada88b7 fix: correct spelling of convertLayoutToISO in X11LayoutsParser 2025-09-25 09:18:06 -04:00
Nick Bolton
c234f2fc66 fix: Do not reuse listen sockets on Windows 2025-09-25 14:00:48 +01:00
sithlord48
ff1726677b chore: remove unused --service and --relaunch options for windows 2025-09-24 16:28:19 +01:00
sithlord48
57e34ded54 chore: rename IApp::standardStartup -> IApp::start 2025-09-24 16:28:19 +01:00
sithlord48
03e014c753 feat: Remove daemon / no-daemon option 2025-09-24 16:28:19 +01:00
Roman Vasiyarov
9f8c45b449 fix: XWindowsScreen: stop centering panned screens on client when leaving screen
panned screens still needs `xtestIsXineramaUnaware` option enabled. this change
forcefully uses XTest only when leaving
useful examples:
* double 1 FullHD screen (main output) by:
	`xrandr --fb 3840x1080 --output DP-1 --panning 3840x1080+0+0/3840x1000+0+80`,
	leaving top 80 pixels for moving mouse out without actual panning
* dedicate right half of framebuffer to FullHD TV (second output):
	`xrandr --fb 3840x1080 --output HDMI-0 --panning 1920x1080+1920+0`
2025-09-23 12:12:59 +01:00
Roman Vasiyarov
bf5b0de6ee fix: XWindowsScreen: properly calculate xrandr/xinerama screens
this allows screens to overlap, use panning, etc
2025-09-23 12:12:59 +01:00
Roman Vasiyarov
3aef2f4309 chore: XWindowsScreen: remove duplicate function 2025-09-23 12:12:59 +01:00
sithlord48
35c7fe7fc4 fix: screensettingsDialog, do not allow aliases to be ip addresses
fixes: #8952
2025-09-15 16:31:52 +01:00
sithlord48
612ca91f9c chore: rename XWindowsPowerManager => XDGPowerManager
fixes: 8949
2025-09-15 13:21:51 +01:00
Nick Bolton
fcdea215be Reapply "refactor: App use Uniqueprt for SocketMultiplexer"
This reverts commit 6f18cf74c5.
2025-09-12 16:03:22 +01:00
Nick Bolton
6f18cf74c5 Revert "refactor: App use Uniqueprt for SocketMultiplexer"
This reverts commit 4d738b4784.
2025-09-12 15:03:52 +01:00
Nick Bolton
162cb85811 fix: Improve output loop error handling in MSWindowsWatchdog
Prevents high CPU usage while waiting for data (ERROR_NO_DATA)
2025-09-12 13:17:50 +01:00
Nick Bolton
5ea8d0326a fix: Use QString for Windows error functions
Was returning only first char of error message (mild-mojibake)
2025-09-12 13:17:50 +01:00
Louis des Landes
7a2591a1fa fix: wayland sleep inhibit on client
Fixes #8827
Adds the XWindowsPowerManager to the EiScreen as, despite the name, this
works on Wayland as well.
2025-09-12 10:54:25 +01:00
sithlord48
2f2754ab97 refactor: LogDock::eventFilter mark as override 2025-09-11 14:53:20 +01:00
sithlord48
9883fb988a refactor: remove Arch::hostname, use QSysInfo::machineHostName directly in the only place its used 2025-09-11 14:53:20 +01:00
sithlord48
38a74d7d0f refactor: Arch::getHostName(), use QSysInfo::machineHostname in place of system specific impl 2025-09-11 11:18:12 +01:00
sithlord48
949f1d6534 refactor: MainWindow, minimize / restore action use window-*-pip icons 2025-09-11 10:57:08 +01:00
sithlord48
de42f53d68 refactor: new LogDock, handle hiding and float correctly' 2025-09-11 10:57:08 +01:00
sithlord48
c4c2f7f37f feat: begin to use QStrings for strings
feat: get windows building with the UNICODE forced by using Qt
refactor: remove ARCHString use QString to convert to / from utf8
build: (arch) link to common
build: (base) link to arch
build: (io) Link to common
build: (client) link to common
build: (server) link to common
fix: Append to log file instead of creating a new one each log line
refactor: Trim cipher description for neater log output
fix: Update log messages to use wide string format for Unicode support
fix: Correct event creation to use wide string for Unicode compatibility
refactor: Use QStringDecoder for UTF-8 handling on Windows Daemon child process
fix: Use correct wide type for Win32 consts
2025-09-10 18:15:19 +01:00
sithlord48
66a022a012 fix: Adjust log level for unconfigured client as we react to this in the gui 2025-09-10 14:31:13 +01:00
Nick Bolton
19eefd65c1 fix: Prevent log visibility toggle when window is hidden 2025-09-10 11:51:37 +00:00
Nick Bolton
ad383ad9d4 chore: Remove unused daemon installation and uninstallation methods 2025-09-10 11:32:02 +00:00
sithlord48
539ddcaf48 refactor: ScreenConfigDialog, make sure to populate the screen model with the server config after its been made 2025-09-09 15:59:07 +00:00
sithlord48
b30f8d253c refactor: XWindowsKeyState remove name for unused KeyId in remapKeyModifiers 2025-09-05 11:52:17 +01:00
sithlord48
c477d0fcc6 refactor: XWindowsKeyState::init remove unused display var 2025-09-05 11:52:17 +01:00
sithlord48
bc63961e7e refactor: EIEventQueueBuffer remove unused screen from constructor 2025-09-05 11:52:17 +01:00
sithlord48
30ce0bdf45 refactor: SecureSocket, remove names for unused parameters for socket service accept and serviceConnect 2025-09-05 11:52:17 +01:00
sithlord48
dd66dd21bb refactor: IDataSocket, add maybe_unused for constructors event pointer 2025-09-05 11:52:17 +01:00
sithlord48
27075a0260 refactor: StreamBuffer::write use emplace when adding m_chunks 2025-09-05 11:52:17 +01:00
sithlord48
6cfd89af8c refacor: ServerConfigDialog::toggleClipboard use static access to ServerConfig::defaultClipboardSharingSize 2025-09-05 11:52:17 +01:00
sithlord48
8e99700657 refactor: ServerConfigDialog mark that deselected maybe_unused when calling the selectionChanged for our lists 2025-09-05 11:52:17 +01:00
sithlord48
e21c4cdd4d refactor: CoreProcess::addGenericArgs remove unused processMode var 2025-09-05 11:52:17 +01:00
sithlord48
88efc14bc2 refactor: ServerConfig, use static access to switchCornerNames() 2025-09-05 11:52:17 +01:00
sithlord48
a9d518fbc8 refactor: X11LayoutParser:appendVectorUniq, capture elem by ref in our lambda 2025-09-05 11:52:17 +01:00
sithlord48
43b1014700 refactor: X11LayoutParser::getAllLanguageData , do not shadow variables from outer for loop with the inner one (i.e use differnt nanes for each var) 2025-09-05 11:52:17 +01:00
sithlord48
2e722bdfeb refactor: Server::handleToggleScreenEvent remove name of the incomming event var to indicate its not used in the method 2025-09-05 11:52:17 +01:00
sithlord48
aedbffa809 refactor: server/Config use empty() to check if args are empty 2025-09-05 11:52:17 +01:00
sithlord48
dc0db9d192 refactor: LogWidget remove unused Q_SIGNALS delclaration 2025-09-05 11:52:17 +01:00
sithlord48
9f3e724218 refactor: ScreenSettingsDialog::removeAlias make const 2025-09-05 11:52:17 +01:00
Jonathan Wakely
f98f8b10d1 refactor: Construct std::string outside critical section
There's no need to hold the mutex while constructing a `std::string`
from the `char` string.

Also use `inet_ntop` instead of the potentially thread-unsafe
`inet_ntoa` that might use a static buffer for the result.

This makes the `INet` case match the `INet6` case below.
2025-09-04 16:56:46 +01:00
Jonathan Wakely
b788d63044 refactor: Give internal linkage to global mutex
The `static` keyword was removed by #8674 but I think it should be
restored so that this global can't clash with anything else called
`::s_mutex` elsewhere in the executable.
2025-09-04 16:56:46 +01:00
sithlord48
d5936a9e08 refactor: ScreenSettingsDialog, do not use auto connect slots 2025-09-03 10:38:59 +01:00
sithlord48
81c53d3690 refactor: ScreenSettingsDialog, conform to naming conventions 2025-09-03 10:38:59 +01:00
sithlord48
89003082d7 refactor: continue to improve the screen settings dialog ui 2025-09-03 10:38:59 +01:00
Tomaz Canabrava
fe1a48fa28 refactor: Rework Computer Settings
Removed almost half of the lines, and still made it
more pretty.
2025-09-03 10:38:59 +01:00
Tomaz Canabrava
c4b2f91424 refactor: Move ServerConfig to the config folder 2025-09-03 10:38:59 +01:00
Tomaz Canabrava
f16c13fa54 refactor: ScreenSettingsDialog, Constify validator variables 2025-09-03 10:38:59 +01:00
sithlord48
43ce3c50e5 refactor: move log to dockwidget simplifying resize code 2025-09-01 18:12:41 +01:00
sithlord48
204a6b5a44 refactor: New LogWidget to handle log output in the mainwindow 2025-09-01 18:12:41 +01:00
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
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
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