Commit graph

2840 commits

Author SHA1 Message Date
sithlord48
4698326717 refactor: MainWindow keep a local copy of the fingerprint
This also makes it so MainWindow does not use the local_fingerprint file
2025-11-24 11:23:35 +00:00
sithlord48
2087097415 refactor: new static TlsUtility::certFingerprint to generate fingerprint on the fly 2025-11-24 11:23:35 +00:00
sithlord48
94eaa79768 chore: rename MainWindow::regenerateLocalFingerprints -> MainWindow::generateCertificate 2025-11-24 11:23:35 +00:00
sithlord48
6f10cd269e refactor: move TlsCertificate::getCertKeyLength -> static TlsUtility::getCertKeyLength 2025-11-24 11:23:35 +00:00
sithlord48
c4a2dfd300 chore: remove unused TlsUtility::persistCertificate 2025-11-24 11:23:35 +00:00
sithlord48
393c2fa9bc refactor: remove unused TlsCertificate::isCertificateValid 2025-11-24 11:23:35 +00:00
sithlord48
91b9680643 refactor: new static TlsUtiliy::isCertValid 2025-11-24 11:23:35 +00:00
sithlord48
4216acdb3a refactor: TlsUtility::isEnabled is now a static member 2025-11-24 11:23:35 +00:00
Yoshiaki Kasahara
d8bdad4e1d fix: translate MainWindow::coreProcessError warning 2025-11-21 09:30:36 -05:00
sithlord48
525123573e chore: use U for wlclipboard setting name 2025-11-21 10:38:50 +00:00
sithlord48
858a5d71bd fix: enable translations for validators 2025-11-20 16:18:16 -05:00
Nick Bolton
b547493bc5 refactor(ipc): Add newline in utility write function 2025-11-20 15:08:57 +00:00
Nick Bolton
cace2892ba fix: append newline to logPath response in DaemonIpcServer 2025-11-20 15:08:57 +00:00
sithlord48
92e3e9ac64 refactor: wlClipboard fix some sonar issues 2025-11-20 07:57:31 -05:00
sithlord48
50fd3365e8 chore: WlClipboard remove unused process control methods 2025-11-20 07:57:31 -05:00
sithlord48
4ebf5ff479 refactor: WlClipbaord::empty use QProcess 2025-11-20 07:57:31 -05:00
sithlord48
ab4feaa037 refactor: WlClipbaord::add use QProcess to set the clipboard 2025-11-20 07:57:31 -05:00
sithlord48
21900ade68 refactor: make WlClipboard a QObject subclass 2025-11-20 07:57:31 -05:00
sithlord48
7b0e8e8188 chore: WlClipboard remove unused executeCommand 2025-11-20 07:57:31 -05:00
sithlord48
c5f7a3792a refactor: WlClipboard::get use QProcess 2025-11-20 07:57:31 -05:00
sithlord48
7a60f0cc9e refactor: WlClipboard, use QProcess to get available mimeTypes 2025-11-20 07:57:31 -05:00
sithlord48
9ed0b06a42 refactor: WlClipboard mimetypes use QStrings 2025-11-20 07:57:31 -05:00
sithlord48
5ef4f64b11 refactor: use QDateTime::currentMSecsSinceEpoc behind WlClipboard::getCurrentTime 2025-11-20 07:57:31 -05:00
sithlord48
c7e90d3cf5 refactor: WlClipboard::isAvailable use QStandardPaths::findExecutable to check if the apps exist. remove WlClipboard::checkCommandExists 2025-11-20 07:57:31 -05:00
sithlord48
d157713a85 feat: Settings expose settings to use wl-clipboard backend. Disable clipboard on wayland if this settings is disabled 2025-11-20 07:57:31 -05:00
sithlord48
90e7d475f8 refactor: WlClipboardCollection minor sonar cleanup 2025-11-20 07:57:31 -05:00
sithlord48
ecb03297fd refactor: EiScreen Sonar cleanup for new clipboard items 2025-11-20 07:57:31 -05:00
sithlord48
a09dfad22a chore: WlClipboard remove unused private setClipboardData and setClipboardData methods 2025-11-20 07:57:31 -05:00
sithlord48
9960b657e3 chore: rename EiClipboard -> WaylandClipboardCollection 2025-11-20 07:57:31 -05:00
sithlord48
bbabb91d42 chore: rename src/lib/platform/WaylandClipboard -> src/lib/platform/WlClipboard 2025-11-20 07:57:31 -05:00
Jörg Thalheim
e55c67fa2f feat: add wayland clipboard support via wl-clipboard
this is currently based on wl-copy/wl-paste.
One could probably just implement wl-copy/wl-paste without adding much
complexity and better performance.

Co-authored-by: KoljaFrahm <GitHub.Kolja@dfgh.net>
2025-11-20 07:57:31 -05:00
sithlord48
56bb41a291 refactor: also check qt6 paths for translations 2025-11-20 07:29:01 -05:00
sithlord48
4285361413 refactor: replace Q_OS_MAC -> Q_OS_MACOS 2025-11-20 07:29:01 -05:00
sithlord48
37177f8e45 refactor: macos move bundle resources to Deskflow.app/Resources/translations 2025-11-20 07:29:01 -05:00
sithlord48
82c18e26e5 doc: fix dev documents mis aligned quotes 2025-11-20 07:07:32 -05:00
Yoshiaki Kasahara
e7018bd75a fix: Fix broken <br/> tag in the tooltop of suggested IP addresses 2025-11-20 06:29:54 -05:00
sithlord48
bc9bc906a5 refactor: EventLogger sonar suggestion to define index2 in the if 2025-11-17 12:07:00 +00:00
sithlord48
0890bcac42 chore: logger make deconstructor an override 2025-11-17 12:07:00 +00:00
sithlord48
22d27f7245 fix: Settings, add a new private cleanScreenName method to update the screenName
Fixes: #9156
Names: contain only A-Z a-z 0-9 or - or . or _
       replace any spaces with _
       are < 256 characters in length
       can not start or end with - _ or .
Set a screen name if the settings does not have one do this instead of returning a default value
2025-11-17 10:21:31 +00:00
sithlord48
1a9e468c86 refactor: Settings store envvar checks so they only need to be read once when checking 2025-11-14 09:55:28 -05:00
sithlord48
204a6cca8a refactor: Settings make the name checking regex static in the method 2025-11-14 09:55:28 -05:00
sithlord48
4df7c54afb refactor: Settings make the internal setting objects children 2025-11-14 09:55:28 -05:00
sithlord48
999f174441 fix: Gui save and restore the window when closing and restoring to the tray 2025-11-14 09:55:28 -05:00
sithlord48
aca08a5e74 feat: save geometry into into a state file
fixes: #9132
2025-11-14 09:55:28 -05:00
sithlord48
ddcd2f0ff1 refactor: Logger store a local copy of the used setting value for guiDebug, update it went the settings have changed 2025-11-14 09:22:40 -05:00
sithlord48
ec9f7efcff refactor: Logger is now a proper singleton 2025-11-14 09:22:40 -05:00
sithlord48
8256a3ba43 refactor: allow for movable events
based on: 2f5c612ade
2025-11-14 09:05:37 -05:00
sithlord48
e011351aad refactor: remove event.cpp, event code is just the header now
basedon: 6b7d45e9c4
2025-11-14 09:05:37 -05:00
sithlord48
ad33114e0c chore: remove unused Client::sendEvent data argument
based on: 307fdfe1b3
2025-11-14 09:05:37 -05:00
Povilas Kanapickas
4728525ece fix: Fix memory leak in EventQueue
Previously empty event targets were never fully removed from EventQueue
even after unregistration. This may lead to unbounded increase of memory
use if new event targets are allocated to new memory locations.
ported: c960360106
2025-11-14 09:05:37 -05:00
sithlord48
cbc74d99b0 refactor: server Store button info by value
based on: 55e727be14
2025-11-14 09:05:37 -05:00
sithlord48
f372ccd2b8 refactor: only include the ISO639Table with X11 support enabled 2025-11-14 13:28:41 +00:00
sithlord48
4d2597c31b refactor: XDGKeyUtil no need to add std:: for uint32_t 2025-11-14 13:28:41 +00:00
sithlord48
281cda1d14 refactor XDGKeyUtil::mapKeyToKeyID cleanup default case make i in the if and not case the already right type returned 2025-11-14 13:28:41 +00:00
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