Commit graph

4069 commits

Author SHA1 Message Date
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
6eadba1ab2 feat: mac os new build option BUILD_OSX_BUNDLE can be disabled to build a non app bundle 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
35d26645a7 build: place core built runtime on mac os in the app bundle, must use generator expression here 2025-11-19 20:30:41 +00: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
859af720c9 feat: add a new core option --new-instance to skip the core check for a running instance 2025-11-11 09:33:35 -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
sithlord48
de63751516 refactor: CoreArgParser use kCoreBinName in place of class created static 2025-11-11 12:11:34 +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
5bcefbe582 build: install runtime depends on windows to CMAKE_INSTALL_LIBDIR, set CMAKE_INSTALL_LIBDIR to . on windows 2025-11-10 07:51:12 -05:00
sithlord48
1556908ef6 build: use CMAKE_INSTALL_BINDIR when installing runtime artifacts
On windows override this to be .
On macOS set it to the MacOS folder in the bundle
2025-11-10 07:51:12 -05:00
sithlord48
c72cdedd4f build: place the install steps for the license data in the main CMakeLists.txt 2025-11-10 07:51:12 -05:00
sithlord48
759457f739 build: remove option to build gui
The Gui must always be built. The core can not function completely standalone
 it is unable to add new clients or setup screens for example until such a time the gui is not optional.
2025-11-10 07:51:12 -05: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