Commit graph

2445 commits

Author SHA1 Message Date
sithlord48
66ddaca410 refactor: PriorityQueue::Swap make noexcept 2025-07-07 17:53:56 +01:00
sithlord48
2c2a5c0269 refactor: Make KeyMake::Swap noexcept 2025-07-07 17:53:56 +01:00
sithlord48
e42d3b45b6 refactor: SocketMultiplexer, do not create nested pointer in new Thread call 2025-07-07 17:53:56 +01:00
sithlord48
5aa9b1bfd4 refactor: PortalRemoteDesktop, do not create nested pointer in new Thread call 2025-07-07 17:53:56 +01:00
sithlord48
cfbfa88cdc refactor: PortalInputCapture: do not create nested pointer in new Thread call 2025-07-07 17:53:56 +01:00
sithlord48
4a92a3295b refactor: ScreenSettingsDialog, do not create nested validators in the Lines setValidator method 2025-07-07 17:53:56 +01:00
sithlord48
ede27975d7 chore: clean up remaing sonar warnings to use in class intializers where possible 2025-07-07 17:53:56 +01:00
sithlord48
a175c293f6 chore: comment empty methods that do nothing 2025-07-07 17:53:56 +01:00
sithlord48
7fe50748f3 refactor: ServerApp use if in places of multi ternary ops for readablitly 2025-07-03 03:24:16 +00:00
sithlord48
0474e10b03 chore: Arch::time explictly convert to double on return 2025-07-03 03:24:16 +00:00
sithlord48
2421a8b725 refactor: Make throwError and throwNameError members of IArchNetwork
make throwError and throwNameError noreturn
          remove unused extra private section in IArchNetwork subclasses
2025-07-03 03:24:16 +00:00
sithlord48
ab4fbd1c85 refactor: use using enum EventTypes when possible to reduce verbosity 2025-07-03 03:24:16 +00:00
sithlord48
8f6f014bcd refactor: IArchNetwork turn anonymous enum into PollEventMask struct with set of static values 2025-07-03 03:24:16 +00:00
sithlord48
47d44db497 refactor: make EStreamType enum Class StreamType, and conform members to naming conventions 2025-07-03 03:24:16 +00:00
sithlord48
879283f46f refactor: Make IArchNetwork::EAddressFamily enum class IArchNetwork::AddressFamily
confirm AddressFamily items to naming convention
2025-07-03 03:24:16 +00:00
sithlord48
cbbfd495e3 refactor: make ESignal an enum Class IArchMultiThread::ThreadSignal, conform ThreadSignal items to naming conventions 2025-07-03 03:24:16 +00:00
sithlord48
4c2b9eb9e4 chore: remove unused XScreenInputFailure 2025-06-30 20:55:06 +01:00
sithlord48
872db8910e chore: remove unused XSubscription class 2025-06-30 20:55:06 +01:00
sithlord48
e06b6b0be4 refactor: XSocket, new XSocketWithWhat subclass used to reduce duplication in XSocket subclasses that have a common with method 2025-06-30 20:55:06 +01:00
sithlord48
a04572a8c2 docs: remove sonar warning about // in comments, within ProtocolTypes.h 2025-06-30 20:55:06 +01:00
sithlord48
958e14cb13 refactor: remove XBASE related macros, fixes #8723 2025-06-30 20:55:06 +01:00
laz-001
22b1e8e543 docs: fix broken link to 'Protocol Reference'
Also fixes duplicate sidenav entries for 'Contributing'
2025-06-26 11:19:41 +01:00
sithlord48
cf9e2ecf49 refactor: simplify setting the fallback theme search path, does require sub dirs but we should only need the theme root
refactor: set the Icon theme in deskflow-gui insetead of MainWindow
2025-06-26 09:50:53 +01:00
sithlord48
cb508f5c3a chore: Remove DRAG_AND_DROP left over define 2025-06-25 16:16:13 +01:00
laz-001
26cc85e878 add protocol developer documentation 2025-06-25 15:42:16 +01:00
sithlord48
42cd01efd7 refactor: PortalInputCapture, fix a missed non compliant variable names
refactor: PortalInputCapture, more const args
2025-06-20 18:10:40 +01:00
sithlord48
a7a54ad8a7 refactor: PortalInputCapture use std::map to hold signals and enum class as the key
fixes: InputCapturePortal crash in debug builds
2025-06-20 18:10:40 +01:00
sithlord48
20bc88eb1f refactor: PortalInputCapture sonar adjustments 2025-06-20 12:41:34 +01:00
sithlord48
969b642e0b refactor: EiScreen sonar adjustments 2025-06-20 12:41:34 +01:00
sithlord48
a89f3b6892 refactor: conform EiScreen to code standards
fixes #8700
2025-06-20 12:41:34 +01:00
sithlord48
a973d4277c refactor: conform PortalInputCapture to coding standards 2025-06-20 12:41:34 +01:00
sithlord48
b8124107aa refactor: conform EiKeyState to coding standards 2025-06-20 12:41:34 +01:00
sithlord48
0691d586e7 refactor: conform EiEventQueueBuffer to coding standards 2025-06-20 12:41:34 +01:00
sithlord48
e8c85611a0 refactor: conform PortalRemoteDesktop to naming standards
remove unused method and includes
2025-06-20 12:41:34 +01:00
sithlord48
0321b2d36e chore: ArchNetworkBSD:Deps use make_shared now that we dont build on ubuntu 22 anymore 2025-06-20 09:39:26 +01:00
sithlord48
f4a49749c7 chore: remove todo in places where its done or just a note 2025-06-20 09:39:26 +01:00
sithlord48
59ed15628e refactor: remove redundant access specifiers 2025-06-20 09:39:26 +01:00
sithlord48
dddb6aadf1 refactor: Settings remove const for return by vaule 2025-06-20 09:39:26 +01:00
sithlord48
2110411c6d refactor: remove redundant cast 2025-06-20 09:39:26 +01:00
sithlord48
b29c5b1bb2 refactor: use contains to find if an item is in a container 2025-06-20 09:39:26 +01:00
sithlord48
07a217f54f refactor: concatenate Namespaces 2025-06-20 09:39:26 +01:00
sithlord48
aacf922319 refactor: remove names for unused handle function args 2025-06-20 09:39:26 +01:00
sithlord48
a80e255bb0 refactor: Add a few missing overrides
make ~XThreadExit() override
 make ~ArchString() overide
 make ~ArchNetworkBDS() overide
2025-06-20 09:39:26 +01:00
sithlord48
6299f04b59 refactor: make TlsUtility::generatateCertificate and TlsUtility::persistCertificate const 2025-06-20 09:39:26 +01:00
sithlord48
97006889bd refactor: ServerConnection::handleLogLine use referance to avoid unneeded copy 2025-06-20 09:39:26 +01:00
sithlord48
f0bb4e5cb3 refactor: make ServerApp::HandleScreenSwitch, Also does not use the Event * so removing it from the methods arguments 2025-06-20 09:39:26 +01:00
sithlord48
dcb047b6c5 refactor: make ClientApp::handleClientConnected const 2025-06-20 09:39:26 +01:00
sithlord48
551368a2d2 refactor: AboutDialog, Remove lambda for btnClose and connect directly to AboutDialog::close 2025-06-19 12:19:08 -07:00
sithlord48
4d738b4784 refactor: App use Uniqueprt for SocketMultiplexer
basedon: 8dd6bc2c55
2025-06-19 19:13:24 +01:00
sithlord48
06a616ef42 refactor: secureSocket uniqueprt for Ssl object
based on: 89d8ce20b0
2025-06-19 19:13:24 +01:00
sithlord48
90a651b409 refactor: server use std::unique_ptr for socketFactory
based on ff7f23e79d
2025-06-19 19:13:24 +01:00
sithlord48
dbc7aebfbc refactor: free SecureSocket cert after use 2025-06-19 18:56:14 +01:00
Nick Bolton
024436d82f refactor: Improve display of names on about screen with nbsp 2025-06-19 05:39:52 -07:00
sithlord48
b6bc469744 chore: adjust the about dialog default size 2025-06-19 09:54:37 +01:00
sithlord48
c4e47c0f2c chore: add main barrier/input-leap dev to our important devs list 2025-06-19 09:54:37 +01:00
sithlord48
66e201c8ef chore: remove handle* methods that are a single oneline forward and use the line directly 2025-06-18 13:17:16 +01:00
sithlord48
3a35b183d3 refactor: use std::function for Event callback
based on 6d347337c3
2025-06-18 13:17:16 +01:00
sithlord48
c15214aee7 refactor: use std::scoped_lock inplace of std::lock_guard 2025-06-17 10:23:42 +01:00
sithlord48
5fd4d93f7f refactor: replace ARCH->sleep(...) calls with Arch::sleep(...) 2025-06-17 10:23:42 +01:00
sithlord48
84e289bc30 refactor: replace ARCH->time() with Arch::time() 2025-06-17 10:23:42 +01:00
sithlord48
04943fad79 feat: Enforce a minimum TLS size of 2048bit 2025-06-16 05:02:33 -07:00
Nick Bolton
a7c1dc4520 chore: Remove 1024 TLS key length option 2025-06-16 05:02:33 -07:00
sithlord48
a73e8df01e feat: improve connections status bar info 2025-06-16 10:35:20 +01:00
sithlord48
782702fe74 refactor: use std::mutex in platform/XWindowsEventQueue 2025-06-14 09:37:48 +01:00
sithlord48
5686d24626 refactor: use std::mutex in net/TCPListenSocket 2025-06-14 09:37:48 +01:00
sithlord48
818d588b65 refactor: use std::mutex in deskflow/PacketStreamFilter 2025-06-14 09:37:48 +01:00
sithlord48
86e109baf5 refactor: use std::mutex in ArchNetworkWinSock 2025-06-14 09:37:48 +01:00
sithlord48
fa1ee0690e refactor: use std::mutex in ArchNetworkBSD 2025-06-14 09:37:48 +01:00
sithlord48
d535593d1d refactor: use std::mutex in ArchMutithreadWindows 2025-06-14 09:37:48 +01:00
Povilas Kanapickas
f89168d00a refactor: use std::mutex in ArchStrings
port b0e415de03
build: link base to arch
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
fb3c8eb965 refactor: use std::mutex in Log
port d9d39040ae
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
e247f3813a refactor: use std::mutex in EventQueue
port 9df4741748
2025-06-14 09:37:48 +01:00
Povilas Kanapickas
f4618ee085 refactor: use std::mutex in place of ArchMutex in AtchMultiThreadPosix
port f71c68506e
2025-06-14 09:37:48 +01:00
sithlord48
5430625a7e refactor: handle read and write on tcpsocket at the same time
port 94f8336af5
2025-06-14 08:44:21 +01:00
sithlord48
eac59768ea build: remove HAVE_SYS_SOCKET define should be present on all unix systems 2025-06-14 08:22:55 +01:00
sithlord48
cb05ece6b6 build: remove HAVE_PTHREAD define as its required on unix 2025-06-14 08:22:55 +01:00
sithlord48
044c9b24f3 build: remove HAVE_SOCKLEN_T forced define 2025-06-14 08:22:55 +01:00
sithlord48
a3fe66f213 build: remove HAVE_PTHREAD_SIGNAL define it was forced on 2025-06-14 08:22:55 +01:00
sithlord48
60a148ce68 build: remove HAVE_DPMS_PROTOTYPES, Single use and assumed due to another var being set 2025-06-14 08:22:55 +01:00
sithlord48
da5a2088c8 build: remove unset X_DISPLAY_MISSING checks 2025-06-14 08:22:55 +01:00
sithlord48
89abcfb238 build: remove never set HAVE_SYS_TYPES 2025-06-14 08:22:55 +01:00
sithlord48
87704fedb1 build: unistd.h is manditory on unix platforms 2025-06-14 08:22:55 +01:00
sithlord48
3eef21c8df chore: remove pointless SYS_TIME if defs one is set true and the other never used just include the libs
chore: remove TIME_WITH_SYS_TIME set to 1 and used once as include guard
2025-06-14 08:22:55 +01:00
Povilas Kanapickas
6fbb60a3c2 chore: remove unused StopWatch Includes 2025-06-14 08:22:55 +01:00
sithlord48
a5522729aa refactor: Unify ArchTime classes into one method
Idea from https://github.com/input-leap/input-leap/pull/1464'
2025-06-14 08:22:55 +01:00
sithlord48
36b4bb09bc refactor: Unify ArchSleepClasses into one method
idea from https://github.com/input-leap/input-leap/pull/1462
2025-06-14 08:22:55 +01:00
sithlord48
8170dd4e99 chore use std::getenv Not c style getenv
idea from: https://github.com/debauchee/barrier/pull/847/
2025-06-12 22:27:16 +01:00
sithlord48
c2a658256e feat: remove defunct --no-xinitThreads option
based on https://github.com/input-leap/input-leap/pull/1503
2025-06-12 22:07:40 +01:00
sithlord48
bc350852e7 refactor: remove anon namespace before ServerConfig::addToFirstEmptyGrid 2025-06-11 09:19:07 +01:00
sithlord48
7e568121ee chore: remove unneeded QGuiApplication, QApplication and or QCoreApplication includes 2025-06-09 17:18:05 -07:00
sithlord48
e40cc11fd5 refactor: messages::showDaemonOffline enable translations 2025-06-09 16:33:27 +01:00
sithlord48
ebec6331cd refactor: messages::showUpdateCheckOption enable translation 2025-06-09 16:33:27 +01:00
sithlord48
197b9ed886 refactor: message::showWaylandLibaryError, use name in the title and enable translations 2025-06-09 16:33:27 +01:00
sithlord48
8f7fbc0a21 refactor: messages::showReadOnlySettings, use name in title, enable translations 2025-06-09 16:33:27 +01:00
sithlord48
0f5a04825a refactor: Message::showClearSettings, enable translations and simplify method 2025-06-09 16:33:27 +01:00
sithlord48
b8835a8a5a refactor: Messages::showClientConnectError
slight reword for Already Connected error
 use QString::append to add to the message
 create a QMessageBox::warning style box for these errors
 enable translations
2025-06-09 16:33:27 +01:00
sithlord48
8bb6056469 refactor: Messages::showNewClientPrompt enable translations 2025-06-09 16:33:27 +01:00
sithlord48
3adcb64f57 refactor: Messages::showFirstConnectedMessage
add the app name into the title
      use QString::append to add to the string
      enable translations
2025-06-09 16:33:27 +01:00
sithlord48
bc9b1d1178 refactor: Messages::showFirstServerStartMessage
add app name to dialog title
    enable translations
2025-06-09 16:33:27 +01:00
sithlord48
e038dd2b0b chore: message::fileLine use QStringLiteral, multi-arg 2025-06-09 16:33:27 +01:00
sithlord48
1286c18e1d refactor: messages::showCloseReminder
use app name for title
   create message using append
   enable translations
2025-06-09 16:33:27 +01:00
sithlord48
5d94dd0dbf refactor: messages::showErrorDialog, use app name in title
construct QString without concat
return aftershowing fatal error dialog
Enable Translation for user facing strings
2025-06-09 16:33:27 +01:00
sithlord48
b3e03f2856 chore: messages, remove unneeded includes 2025-06-09 16:33:27 +01:00
sithlord48
b62e82e792 refactor: MainWindow, convert btnSaveServerConfig to QPushButton set the icons size 22x22 only when not on macos, make sure the button is square on macos 2025-06-05 21:20:10 +01:00
sithlord48
7837bf416e refactor: Mainwindow, rename btnApplySettings to btnRestartCore to better reflect what it does 2025-06-05 21:00:42 +01:00
sithlord48
d4d6cbb7fb feat: add restart action fixes #8542 2025-06-05 21:00:42 +01:00
sithlord48
d5910d77ec fix: core not starting if gui started minimized, remove firstShown and use open instead
fixes #8641
2025-06-03 17:28:48 +01:00
sithlord48
d01a023a8b chore: ApputilsUnix, remove unneeded includes 2025-06-02 14:28:51 -07:00
sithlord48
d246d9527a Feat: Define QT_NO_KEYWORDS, allowing us to use Qt in more places
must use Q_SIGNALS, Q_SLOTS and Q_EMIT in place of signals, slots and emit macros
2025-06-02 14:28:51 -07:00
sithord48
a31cff0225 chore: Cleanup windows includes 2025-06-02 21:55:36 +01:00
sithlord48
da06e97521 build: remove unused platform/MSWindowsUtils 2025-06-02 21:55:36 +01:00
sithlord48
7e4d43f1cc fix: (ui), ServerConfigDialog enable spinboxes and controls that depend on another option being enabled example being the heatbeat spinbox if heatbeat is enabled 2025-06-02 20:31:18 +01:00
sithlord48
7abaca76af chore: update CLI11 to v2.5.0 2025-05-28 19:22:13 +01:00
Povilas Kanapickas
5ee3fc41bd chore: arch: Remove XArch exception class
XArch no longer contains any extra functionality in addition to what
std::runtime_error nor it signifies a particular type of error.
based-on: 5b991692af
ported-by: sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
cab1eb9cee chore: arch: Derive XThread from std::exception
This is needed because by convention exceptions must derive from at
least std::exception.
ported from: 22aec16dc7
ported-by sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
51db919d8f chore: arch, remove XARCH_SUBCLASS Macro
ported from: 1f3cd0dab3
ported-by sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
314899ac7d chore: arch, Remove support for lazy error code to string evaluations
This functionality is not needed because in all code paths the error
code is immediately converted to string without actually using the lazy
evaluation functionality.

based-on: 53dff5b803
ported and expanded by sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
d597d023b1 chore: use std::unique_ptr for eventQueueHandlers
ports input-leap/5044b79a4f98ea5da0b8cbe950123f061d4c1c5f
ported-by sithlord48
2025-05-28 09:54:04 +01:00
Povilas Kanapickas
807e60ded2 chore: use std::unique_prt for EventQueue's Buffer
port input-leap/9dbfd551cda4367bdc8067b5c3ca9c4027494503
ported-by sithlord48
2025-05-28 09:54:04 +01:00
Povilas Kanapickas
0b4a2e0e5b chore: use std::unique_ptr for IDataSocket
port-of input-leap/836e08b0642ad158ecedc44e59a3bd3c61b56141
ported-by sithlord48
2025-05-28 09:54:04 +01:00
sithlord48
9eabbb690c chore: MSWindows only items initilize members in header 2025-05-28 09:42:08 +01:00
sithlord48
3eb3969a01 chore: use final for overrides and remove virtual for non base classes 2025-05-28 09:42:08 +01:00
sithlord48
d2ac36f3ed chore: make more const methods 2025-05-28 09:42:08 +01:00
sithlord48
e6a374369b chore: use const for more local ref and pointer vars 2025-05-28 09:42:08 +01:00
sithlord48
9c56fa5dda chore: Combine unnessessary multi level if into less fewer checks 2025-05-28 09:42:08 +01:00
sithlord48
6875969255 chore: static_cast to replace reinterpret_cast where possible 2025-05-28 09:42:08 +01:00
sithlord48
aa1eaf601c chore: SecureUtils, do not use final for stringVar name 2025-05-28 09:42:08 +01:00
sithlord48
f77213af04 chore: ActionDialog, remove empty statement 2025-05-28 09:42:08 +01:00
sithlord48
a4f1a382d3 chore: use ranged for in ClientListener::cleanupClientSockets 2025-05-23 10:19:11 -07:00
sithlord48
647201cd37 refactor: server/Config to the variable initializer and condition part of the for loop when checking for a valid screen name 2025-05-23 10:19:11 -07:00
sithlord48
e24b1c4b68 chore: use a const Ref for ServerConnection client name check 2025-05-23 10:19:11 -07:00
sithlord48
475b895755 chore: initialize class vars using the order class define, initilizer list, constructor 2025-05-23 10:19:11 -07:00
sithlord48
593e53370a chore: rename a missed namespace from synergy::gui => deskflow::gui 2025-05-23 10:19:11 -07:00
sithlord48
be6a4f6b4d chore: ScreenSettingsDialog rename ui_ => ui 2025-05-23 10:19:11 -07:00
sithlord48
929131d10b refactor: Log Error stop the core process if unable to write to the required fingerprint database 2025-05-23 18:08:41 +01:00
sithlord48
767919b342 refactor: consolidate IArchString subclasses into ArchString 2025-05-23 17:58:36 +01:00
sithlord48
4224215991 chore: make IArchString::EWideCharEncoding a enum class 2025-05-23 17:58:36 +01:00
sithlord48
45090d6b85 chore: IArchString clean up remaing code smells 2025-05-23 17:58:36 +01:00
sithlord48
476f3ba243 refactor: remove Ifdef around iso_level5 2025-05-23 17:19:55 +01:00
sithlord48
a33574e1bd chore: use more ranged for loops 2025-05-22 20:46:41 +01:00
sithlord48
456afaa13e chore: use emplace_back where possible 2025-05-22 20:46:41 +01:00
sithlord48
17f12d8334 chore: ClientApp remove unused restartRetryTimer and nextRetryTimer, use RETRY_TIME directly in ClientApp instead 2025-05-22 20:46:41 +01:00
sithlord48
723671c2e5 chore: remove // from inside comment blocks 2025-05-22 20:46:41 +01:00
sithlord48
5a90b51e97 chore: use string_view in place of string where possible 2025-05-22 20:46:41 +01:00
sithlord48
fe12972e83 chore: use const pointer / ref where possible 2025-05-22 20:46:41 +01:00
sithlord48
9bdb4252e5 chore: remove goto in EventQueue, instead use a private processEvent method 2025-05-22 20:46:41 +01:00
sithlord48
c73729e72e chore: static number number of priorities 2025-05-22 20:46:41 +01:00
sithlord48
04805d9a7e chore: mark explicit methods 2025-05-22 20:46:41 +01:00
sithlord48
3cf0fb89ef chore: add comment to empty methods 2025-05-20 16:20:07 +01:00
sithlord48
52b0c1f061 chore: use auto or (const auto) where possible 2025-05-20 16:20:07 +01:00
sithlord48
c224cd4661 chore: declare const methods recommened by sonar 2025-05-20 16:20:07 +01:00
sithlord48
635962618f chore: define only one variable per line 2025-05-20 16:20:07 +01:00
sithlord48
0ff72441e6 chore: use c++17 style if,switch init-initilizer where possible
chore: correct spelling of "colon" in NetworkAddresses variables
chore: correct some multi line defines near needed init-initilizers
2025-05-20 16:20:07 +01:00
sithlord48
bdffda9a2f chore: replace typedef with using 2025-05-20 16:20:07 +01:00
sithlord48
cac63937ff chore: cleansmells in ArchDaemon 2025-05-20 16:20:07 +01:00
sithlord48
a5e5bbc2e4 fix: race case if first run message is up and a client connects 2025-05-20 12:12:54 +01:00
Nick Bolton
34f6186941 fix: Disable the save button when config not writable 2025-05-19 22:10:41 +01:00
sithlord48
486b5a491f chore: LogOutputers add comments to empty overrides 2025-05-19 21:48:27 +01:00
sithlord48
037fee0e59 refactor: remove archConsole use its only implemented method directly in logOutputters 2025-05-19 21:48:27 +01:00
sithlord48
a9e0c62c24 refactor: link mt to base 2025-05-19 21:35:08 +01:00
sithlord48
43a51434ce chore: remove unused MinimalApp Class 2025-05-19 21:35:08 +01:00
Nick Bolton
eaa4c71d6e fix: Show first server start message only in server mode 2025-05-15 17:40:17 +01:00
sithlord48
393a006773 fix settings modifiers initilization, move initization to header
fixes: #8587
2025-05-15 17:25:08 +01:00
sithlord48
332e6c4a4d refactor: do not write sha1 to localdb and no longer send sha1 as part of comparison 2025-05-15 15:46:16 +01:00
Sam Umbach
14cb921d4c Resolve deprecated-enum-float-conversion compiler warnings
- Observed on macOS Monterey 12.7.6 with cmake version 4.0.1, Homebrew clang version 20.1.4, Target: x86_64-apple-darwin21.6.0
2025-05-14 11:05:41 -04:00
sithlord48
de583145d0 chore: remove unused deskflow::string methods toHex, fromHex, uppercase, fromHexChar 2025-05-13 11:32:02 -04:00
sithlord48
0309d35aef feat: port fingerprint info into Qt
mv FingerprintData -> Fingerprint
2025-05-13 11:32:02 -04:00
sithlord48
c4704649ea refactor: make sure settings dialog pushes all options to the top 2025-05-13 15:48:33 +01:00
sithlord48
33edb6ce01 refactor: simplify wayland warnings remove waylandwarnigns dialog test 2025-05-12 13:48:21 +01:00
Tomaz Canabrava
af383decca chore: Type fixes / Const correctness 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8526facbe9 refactor: Fixes, Use enum instead of cast to int 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
2b3ecd39c6 refactor: ScreenCorners, Use enum instead of cast to int 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
49589ae4aa refactor, Modifiers, Use enum instead of cast to int 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8ce6a07d18 refactor: Simplify Mainwindow, autoAddScreen also Removes warning 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a8eb772b68 chore: Mainwindow, Send const-ref 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
0916009601 chore: Add nodiscard to methods 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
f5cb636b31 chore: MainWindow, Remove unimplemented methods 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7ced794317 refactor: Screen, Mark methods as no discard, remove uneeded method 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7c279ec72d refactor: No else after return 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
83a8d1c4ac refactor: Screen, simplify init call 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
84a9367124 refactor: Screen, remove uneeded constructor 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
aaeef7905a refactor: Initialize value on constructor 2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a0d0936433 refactor: Use smaller integers on enums
We do not have > 255 values here.
2025-05-09 12:27:56 +01:00
sithlord48
8f53b88bb6 chore: remove unused tests
Remove Unused Mocks
Remove remaing uses of TEST_ENV and its guarded items
2025-05-08 15:26:44 +01:00
sithlord48
9d867f6146 refactor: port deskflow/keyMapTest to QtTests
remove TEST_ENV items from KeyMap
KeyMap and KeyMapTests are friends
2025-05-08 15:26:44 +01:00
sithlord48
632be4b240 refactor: port gui/ScreenTest to QtTests
remove TEST_ENV items from Screen
2025-05-08 15:26:44 +01:00
sithlord48
38dc845c72 refactor: port serverConfigTests to QtTests
remove TEST_ENV items from server/Config
2025-05-08 15:26:44 +01:00
sithlord48
b56a282a9c refactor: port ServerTests to QtTests
remove TEST_ENV items from Server
2025-05-08 15:26:44 +01:00
sithlord48
5365e34f08 feat: remove drag and drop support, its broken on all platforms 2025-05-08 09:47:41 -04:00
sithlord48
55a7fa3266 Port simplified EventTypes from 8b23570379 2025-05-05 17:17:01 -04:00
sithlord48
118f867fd1 refactor: Remove unused IEventQueue::getRegisteredType()
ported from a5b6017235
2025-05-05 17:17:01 -04:00
sithlord48
99dae58fd3 chore: clean up macos code smell missed by sonarscan 2025-05-03 21:23:15 +01:00
sithlord48
e9ccd513f7 chore: clean up windows code smells missed by sonarscan 2025-05-03 21:13:09 +01:00
sithlord48
903401796e refactor: Remove use of DESKFLOW_RESET_ALL and all users to pass --reset switch to deskflow-gui instead 2025-05-03 21:09:41 +01:00
sithlord48
d643e4b189 chore: PrimaryClient, use default for deconstructors / constructors 2025-05-02 12:12:17 +01:00
sithlord48
c8734755c5 chore: InputFilter, use default for deconstructors / constructors 2025-05-02 12:12:17 +01:00
sithlord48
edea3b0df1 chore: server/Config use default for deconstructors 2025-05-02 12:12:17 +01:00
sithlord48
f4264d71a1 chore: ClientProxy1_6 use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
6ffd0eb471 chore: ClientProxy1_4 use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
7619928d56 chore: ClientProxy1_3 use override where possible 2025-05-02 12:12:17 +01:00
sithlord48
d70c7fe720 chore: ClientProxy1_2 use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
b26ca77ff1 chore: ClientProxy1_1 use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
68db2c3484 chore: BaseClientProxy use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
81c19c6ee8 chore: XClipboardUTF8Converter use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
1276a4a29c chore: XClipboardUCS2Converter use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
d97f4d87ad chore: XClipboardTextConverter use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
d5cbd002a9 chore: XClipboardHTMLConverter use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
31a6fd23e7 chore: XClipboardBMPConverter use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
f6c6d4e3a7 chore: XClipboardAnyBitmapConverter use default for constructor / deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
5801b92636 chore: XSocket use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
b427ac91c2 chore: TCPSocketFactory use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
e87c596fbe chore: SecureSocket, add missing nullptr replacement 2025-05-02 12:12:17 +01:00
sithlord48
35b4749627 chore: XThread use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
6b2a28600a chore: CondVar, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
600378b72d chore: StreamBuffer, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
8e24689f72 chore: IStream, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
07f9c4ba47 chore: AddClientDialog, add missing nullptr replacement 2025-05-02 12:12:17 +01:00
sithlord48
9d476e143e chore: KeySequence, add missing nullptr replacement 2025-05-02 12:12:17 +01:00
sithlord48
6bcdd4ebe7 chore: DataDownloader, use default for deconstructor, add missing nullptr replacement 2025-05-02 12:12:17 +01:00
sithlord48
9085468d1c chore: AppUtilUnix, use default for deconstructors 2025-05-02 12:12:17 +01:00
sithlord48
7bace4d36d chore: XScreen, use default for deconstructors 2025-05-02 12:12:17 +01:00
sithlord48
ca0d095283 chore: XDeskflow, use default for deconstructors 2025-05-02 12:12:17 +01:00
sithlord48
ace5b54912 chore: ServerArgs, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
c99767c8b7 chore: ServerApp, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
297b781578 chore: PlatformScreen, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
8c4dc001bf chore: PacketStreamFilter, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
9ca13a65d1 chore: keystate: using nullptr 2025-05-02 12:12:17 +01:00
sithlord48
73566c061d chore: Keymap, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
ed3118b81a chore: DragInformation, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
cc209b9b1f chore: Clipboard, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
ee22c31f32 chore: ClientArgs, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
f376b049e4 chore: ClientApp, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
57e3ff1fab chore: ArgBase, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
c39f69b64d chore: AppUtil use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
218a506970 chore: MinimalApp, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
57cb7227a4 chore: Interface.h, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
6aabb1e858 chore: XBase, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
9aec1ad479 chore: TMethodEventJob, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
c8d4a2186a chore: TMethodJob use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
f68744a36d chore: Stopwatch, use default for deconstructor and explicit constructor 2025-05-02 12:12:17 +01:00
sithlord48
183d660186 chore: PriorityQueue, use default for deconstructor / constructors 2025-05-02 12:12:17 +01:00
sithlord48
e20ef3ae55 chore: LogOutputters, use default for deconstructor / constructors 2025-05-02 12:12:17 +01:00
sithlord48
0bfb95996a chore: FunctionJob, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
7d27031723 chore: FunctionEventJob, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
ada495c681 chore: FinalAction, use default for constructor and explicit 2025-05-02 12:12:17 +01:00
sithlord48
e91b9867e0 chore: EventQueue, use default for deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
d483dc38bd chore: unix/XArchUnix, use default for constructor and deconstructor, explicit constructor with no except deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
56dd5492b4 chore: unix/ArchTimeUnix, use default for constructor and deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
67c7ba6dae chore: unix/ArchStringUnix, use default for constructor and deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
1138e3b1fb chore: unix/ArchLogUnix, use default for constructor / deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
6523911e4d chore: unix/ArchSleepUnix, use default for constructor and deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
a52552b821 chore: unix/ArchDaemonUnix, use default for constructor and deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
bd2188beb1 chore: unix/ArchConsoleUnix, use default for constructor and deconstructor 2025-05-02 12:12:17 +01:00
sithlord48
edc0c0d7a0 chore: XArch, use default for constructors / deconstrucor
use noexecpt for virtual deconstctor
use explicit for constructors
2025-05-02 12:12:17 +01:00
sithlord48
95586c88fd chore: ArchDaemonNone, use deault for empty deconstructor
use default for empty constructor
add comment for empty overrides from base class
2025-05-02 12:12:17 +01:00
sithlord48
d7174a3a2f chore: ArchConsoleStd, use default for empty deconstructor
use default for empty constructor
add comment to empty impl on base methods
2025-05-02 12:12:17 +01:00
sithlord48
2289ed5845 chore: Arch use default for empty deconstructor
use explicit for constuctors
2025-05-02 12:12:17 +01:00
Dustin Kaiser
2192636d2b fix(wayland): release portal input capture when EI_EVENT_DISCONNECT is encountered, refactoring
Fixes #8005.
2025-05-01 12:35:00 +01:00
Dustin Kaiser
6194868e89 chore(wayland): add debug logline in EiScreen::handle_portal_session_closed 2025-05-01 12:35:00 +01:00
Peter Hutterer
00f53c1aac fix(ei): Drain all events sitting in our pipe
If we're starved for resources, we may end up with more than 64
notifications in our pipe before we get to actually read them.
Those notifications are just that though, so let's drain them.
2025-05-01 10:04:28 +01:00
Peter Hutterer
59df2db7b7 chore: Silence two compiler signedness warnings
Both trigger:
  warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]

In the first hunk we already checked for i < 0 so casting to size_t is
fine. In the second hunk we don't use i so we can pick the right type.
2025-04-30 12:04:43 +01:00
Nick Bolton
35f0e9e6e4 feat(gui): Retry mechanism for Windows Daemon IPC client 2025-04-29 13:13:07 +01:00
Nick Bolton
3b3d9e14fd fix(daemon): Log responses for 'hello' and 'noop' 2025-04-29 13:13:07 +01:00
sithlord48
b3f179a08a chore: Server, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
f3fca87e19 chore: InputFilter, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
a3093fa046 chore: Config, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
c00ebbd6c1 chore: ClientProxy1_6, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
09457793b4 chore: ClientProxy1_0, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
d436aa3001 chore: ClientListener, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
ec4851d326 chore: XWindowsUtil, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
f338e5e7a8 chore: XWindowScreenSave, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
55b48a5db7 chore: XWindowsScreen, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
352a871729 chore: XWindowsKeyState, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
b103f28202 chore: XWindowsClipboardBMPConverter, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
39b49acb56 chore: XWindowsClipboardAnyBitmapConvertor, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
5d4fbc8ea6 chore: XWindowClipboard, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
3dfa3d5069 chore: EiScreen, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
6d9c66b03f chore: EiKeyState, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
02b2b82c7f chore: TCPSocketFactory, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
aac086ad2a chore: TCPSocket, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
0d3f7248ed chore: SecureSocket, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
da6e110b69 chore: Thread, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
a298cc84ad chore: SocketMultiplexer, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
d8348152ec chore: StreamBuffer, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
572953d5ba chore: ScreenSetupView, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
a23856ee09 chore: NewScreenWidget, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
637adc60b2 chore: SettingsDialog, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
0ca847334e chore: ServerConfigDialog, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
d06d6a5003 chore: Screen, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
6d856b674b chore: ScreenSetupModel, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
bcfc121c37 chore: Action, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
b2ec2f1a34 chore: StramChunker, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
df9d5ded1c chore: ServerApp, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
f11dae97d4 chore: ProtocolUtil, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
3fdc5288eb chore: KeyState, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
955f9652fb chore: KeyMap, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
9dedf25ecc chore: IPrimaryScreen, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
ee3dffc4f8 chore: IKeyState, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
8123166e66 chore: IClipboard, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
29626d6694 chore: FileChunk, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
996af86b9b chore: DragInformation, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
84fbe48d35 chore: ClipboardChunk, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
11423ef5a1 chore: ClientApp, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
7cc108d87c chore: ArgParse, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
af70ff98b7 chore: Client, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
b6f7497c44 chore: Unicode, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
f6602baa36 chore: String, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
72091c6ac4 chore: Log, use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
fb5f80857b chore: EventQueue, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
6c7bdf3e07 chore: ArchNetworkBSD, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
1df01d3cf1 chore: ArchMuitiThreadPosix, Use auto where possible 2025-04-28 13:50:43 +01:00
sithlord48
63d65bb47b chore: use nullptr where possible in place of NULL 2025-04-28 13:08:40 +01:00
sithlord48
60dc4c0cd8 chore: remove unneed mac os version checks 2025-04-28 12:52:55 +01:00
sithlord48
78d1c5222f chore: Replace old required mac os version checks with if WINAPI_CARBON 2025-04-28 12:52:55 +01:00
sithlord48
f49f5f790c chore: Remove unused CONFIG_NAME var in ServerApp 2025-04-28 04:25:02 -07:00
sithlord48
4eaf6fda62 refactor: correct includes in ServerApp 2025-04-28 04:25:02 -07:00
sithlord48
ebc6186fe7 refactor: remove auto fallback paths for server binary
they are not correct in the help and its dynamic based on the first found Deskflow.conf file. The gui sets this manually and users running the cli should too
2025-04-28 04:25:02 -07:00
sithlord48
48f824ca31 chore: Server, default should be first or last case for switches 2025-04-28 11:47:04 +01:00
sithlord48
d6ace78a58 chore: XWindowUtils, default should be first or last case for switches 2025-04-28 11:47:04 +01:00
sithlord48
41fda741b3 chore: Use override for override methods 2025-04-28 11:27:33 +01:00
sithlord48
794017402d chore: remove unused TLSCertificate::getCertificatePath 2025-04-25 09:58:49 +01:00
Nick Bolton
eab87e3869 chore: Increase log level for noisy empty lang code log line
It seems that `layoutLangCode.empty()` is true on my GNOME Wayland server every time I press a key. I don't know why, but it probably means something. Client doesn't seem to matter; happens for all client OS.
2025-04-23 04:50:04 -07:00
sithlord48
294348b42b fix: fixes #8522 by disconnecting firstShown after the first show event 2025-04-23 10:01:02 +01:00
sithlord48
71b6f07220 feat: remove stopOnDeskSwitch, its broken 2025-04-22 10:00:45 +01:00
sithlord48
9addada64c fixes #8517 , save the host name if the lineEdit is not empty, instaed of only if the value of the setting is not empty 2025-04-22 09:42:47 +01:00
sithlord48
80afb92af1 chore: remove more code for inverse connection
related: https://github.com/deskflow/deskflow/pull/8240
2025-04-21 22:39:28 +01:00
sithlord48
17c7b0f8bf fix: user can not start in client mode without a remote host
do not auto start the client if the remote host is empty
fixes #8478
2025-04-21 22:01:31 +01:00
sithlord48
e3642f0955 refactor: do not save empty RemoteHost line 2025-04-17 15:57:29 +01:00
Nick Bolton
1202145bb8 fix(daemon): Use scheduled state when start is scheduled 2025-04-16 05:28:23 -07:00
Nick Bolton
abc963f886 fix(daemon): Only log XArchEvalWindows result when GetExitCodeProcess fails 2025-04-16 05:28:23 -07:00
Nick Bolton
4988196c47 fix(daemon): Use missing %s when logging XArchEvalWindows result 2025-04-16 05:28:23 -07:00
Nick Bolton
8a2b6bd688 fix(daemon): Validate process handle and ID before shutdown 2025-04-16 05:28:23 -07:00
Nick Bolton
901dacf593 feat(daemon): Friendly message on daemon connection error 2025-04-16 05:12:33 -07:00
Nick Bolton
c62b4ec068 fix: Use QTextStream to write to stdout and stderr
Only use `Qt::endl` when writing to the output stream; `Q_EMIT newLine` should not include a trailing newline because `appendPlainText` doesn't expect one.
2025-04-15 05:02:25 -07:00
sithlord48
c8408c4823 fix: Default external server config name should be *-server.conf 2025-04-14 10:05:20 +01:00
sithlord48
8657532ca2 feat: add logging to clipboard 2025-04-11 10:07:57 +01:00
sithlord48
64b277a5df refactor: deskflow/Clipboard, do not assert instead handle the cases where we would have asserted to fail safely 2025-04-11 10:07:57 +01:00
sithlord48
cd7d53d2bd fix: Add missing menu accelerators
fixes #8470
2025-04-10 12:27:49 +01:00
Nick Bolton
d740574bd4 fix: Remove unnecessary log line endings and trimming 2025-04-10 12:16:42 +01:00
sithlord48
84ae597d69 fixes #8463 do not assume C for root 2025-04-10 11:57:05 +01:00
Nick Bolton
16ef088c27 fix: Show first server start message only when start was successful 2025-04-09 07:43:59 -07:00
sithlord48
fde880fb6f chore: add default case for EI_EVENT handling 2025-04-07 11:23:28 +01:00
sithlord48
a04568b25f refactor: remove unneeded using ProcessState in coreprocess::startprocess 2025-04-07 03:09:30 -07:00
sithlord48
6e6892b6e7 refactor: use checkbox for elevate remove Settings::Core::ElevateMode and use Daemon::Elevate to hold the value 2025-04-07 03:09:30 -07:00
sithlord48
5ad2c9283d refactor: add a check box to enable stop on desk switch 2025-04-07 03:09:30 -07:00
sithlord48
487030aade refactor: settings gui, use the service group as a checkbox for enable service 2025-04-07 03:09:30 -07:00
sithlord48
12bcc1a4d6 fix: build issue on Qt 6.9 2025-04-05 13:28:27 -07:00
sithlord48
0a33e20723 refactor: remove unused --host arg from deskflow-client 2025-04-05 12:05:23 -07:00
sithlord48
d4f916c365 chore: remove unused --no-wayland-ei
fixes #7680
2025-04-05 12:05:23 -07:00
sithlord48
6df96d4a56 refactor: Don't show drag and drop as an option on linux 2025-04-05 12:05:23 -07:00
sithlord48
e617e4b537 chore: deskflow-client, remove from help --use-x-window, options was unused and should not be reported as an option 2025-04-05 12:05:23 -07:00
sithlord48
ca5cc8211b chore: lib/deskflow/ServerApp remove duplicate print of HELP_COMMON_INFO_2 2025-04-05 12:05:23 -07:00
sithlord48
46c6275c43 feature: make sure when portable settings are cleared a new blank file is created 2025-04-02 12:39:54 +01:00
sithlord48
b3fb8959a3 refactor: SettingsDialog, Hide the service if its not able to be enabled 2025-04-02 12:39:54 +01:00
sithlord48
8354a81706 refactor: Settings set default elevateMode based on settings type, for registry we use Always, ini mode uses Never 2025-04-02 12:39:54 +01:00
sithlord48
d9807a2693 refactor: Set default process Mode based on Settings type if we are INI Type we in desktop mode if Native (only on windows) we default to Service 2025-04-02 12:39:54 +01:00
sithlord48
1b8067797e refactor: settings for windows try to use registry unless portable install
new Settings::isUsingRegistry() true when using the registry
          move daemon log back to config dir
2025-04-02 12:39:54 +01:00
sithlord48
cf4fe32aab refactor: allow proxy to load from registry if no file is provided 2025-04-02 12:39:54 +01:00
sithlord48
d2bf5e63e4 refactor: allow settings to use XDG_CONFIG_DIR if defined
fixes: #8421
2025-03-31 06:12:46 -07:00
sithlord48
3ed0915b57 refactor: settings for windows use Appdata/local, always save daemon log to app install path 2025-03-31 06:12:46 -07:00
sithlord48
01878b0522 refactor: settings, prefix portableSettingsFile with app dir at runtime 2025-03-31 06:12:46 -07:00
sithlord48
af6b42fe9e newMethod Settings::validKeys to return the known Settings keys 2025-03-31 06:12:46 -07:00
sithlord48
a0051ea0bc chore: lib/common/settings remove unused signal writableChanged 2025-03-31 06:12:46 -07:00
sithlord48
40c915f6bd chore: lib/common/settings remove unused signal scopeChanged 2025-03-31 06:12:46 -07:00
sithlord48
1cee520e2b chore: lib/common/settings remove unused private isPortableSettings 2025-03-31 06:12:46 -07:00
sithlord48
1dd5654af6 fix: Settings update checkbox was initilzed to autohide value
fixes #8418
2025-03-31 06:12:46 -07:00
sithlord48
5cfaa4a4e0 refactor: move ALL gui parts to lib 2025-03-29 18:18:12 +00:00
sithlord48
a6453a6819 fix: local-fingerprint generation 2025-03-28 11:49:08 +00:00
Nick Bolton
d6087cc5bd fix: Handle empty layout names and language codes in layout parser 2025-03-27 13:30:26 +00:00
sithlord48
201df59cb7 remove Use of libnotify and wintoast 2025-03-27 13:07:59 +00:00
sithlord48
fdf1df1a30 refactor: use QtXml in place of pugixml 2025-03-27 12:33:39 +00:00
sithlord48
84b433853a chore: remove unused define HAVE_GMTTIME_R 2025-03-26 09:23:16 +00:00
sithlord48
e225a357fd chore: remove unused define HAVE_GETPWUID_R 2025-03-26 09:23:16 +00:00
sithlord48
54fac87ed2 chore: remove unused define HAVE_WCHAR_H 2025-03-26 09:23:16 +00:00
sithlord48
56a665cd18 chore: remove unused define HAVE_SYS_UTSNAME_H 2025-03-26 09:23:16 +00:00
sithlord48
cb8c6fe9d9 chore: remove unused define HAVE_LOCALE_H 2025-03-26 09:23:16 +00:00
sithlord48
239a265e18 chore: remove unused HAVE_SSTREAM define 2025-03-26 09:23:16 +00:00
sithlord48
ee53d28af7 chore: remove unused HAVE_OSTREAM define 2025-03-26 09:23:16 +00:00
sithlord48
91fd139a49 chore: remove unused HAVE_ISTREAM define 2025-03-26 09:23:16 +00:00
sithlord48
7f1a234d06 refactor: remove unneed library gtkpixbuf 2025-03-26 09:13:13 +00:00
sithlord48
db20c4b0c7 chore: lib/base/PriorityQueue remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
7bd3fc1eb5 chore: lib/base/LogOutputters remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
8fde0d764e chore: lib/base/Log remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
e1eb4ebf98 chore: lib/base/FinalAction remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
4b06160f84 chore: lib/base/EventTypes remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
2160f7826f chore: lib/base/EventQueue remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
7f6a68bb2f chore: lib/base/Event remove unused headers 2025-03-25 14:11:23 +00:00
sithlord48
95521c53d6 chore: cleanup lib/base/Unicode includes 2025-03-25 14:11:23 +00:00
sithlord48
446847f4fb chore: remove unneeded includes in lib/base/XBase 2025-03-25 14:11:23 +00:00
sithlord48
37bc70896b chore: remove unneeded includes in lib/base/String 2025-03-25 14:11:23 +00:00
sithlord48
f9c8d08ff7 chore: remove unused string::splitString 2025-03-25 13:52:49 +00:00
sithlord48
55c611f754 chore: remove unused string::findReplaceAll 2025-03-25 13:52:49 +00:00
sithlord48
541e30f406 chore: remove unused string::removeFileExt 2025-03-25 13:52:49 +00:00
sithlord48
4b24b5b38d chore: remove unused string::removeChar 2025-03-25 13:52:49 +00:00
sithlord48
df8500178b chore: remove unused CaselessCmp::cmpEqual 2025-03-25 13:52:49 +00:00
sithlord48
31e95ad2dc refactor: remove unused lib/arch/mulitbyte.h 2025-03-25 08:39:05 +00:00
sithlord48
8b5a61f07f refactor: remove ArchFile, move only use of getInstallDir to MSWindowsWatchdog 2025-03-25 08:39:05 +00:00
sithlord48
516f803eb4 refactor: remove ArchFile::getbasePath for QFileInfo::fileName 2025-03-25 08:39:05 +00:00
sithlord48
c1a7b836ce refactor: remove unused ArchMiscWindows::processDialog 2025-03-24 12:16:39 +00:00
sithlord48
9530b9c6ba refactor: remove unused ArchMiscWindows::s_dialog, ArchMiscWindows::cleanup 2025-03-24 12:16:39 +00:00
sithlord48
9df2a2c28d refactor: remove unused ArchMiscWindows::removeDialog 2025-03-24 12:16:39 +00:00
sithlord48
133545d03f refactor: remove unused ArchMiscWindows::addDialog 2025-03-24 12:16:39 +00:00
sithlord48
75e852d95f refactor: remove unused ArchMiscWindows::readValueBinary 2025-03-24 12:16:39 +00:00
sithlord48
9c44653fff refactor: remove unused ArchMiscWindows::setValueBinary 2025-03-24 12:16:39 +00:00
sithlord48
2adee7c460 refactor: remove unused ArchMiscWindows::deleteKeyTree 2025-03-24 12:16:39 +00:00
sithlord48
6f6e9cddb7 refactor: remove unused ArchMiscWindows::deleteValue 2025-03-24 12:16:39 +00:00
sithlord48
fdd9b1bb6d refactor: remove unused ArchMiscWindows::getIcons 2025-03-24 12:16:39 +00:00
sithlord48
b2ff6aa938 refactor: remove unused ArchMiscWindows::setIcons 2025-03-24 12:16:39 +00:00
sithlord48
5e4188b2fe refactor: remove unused ArchMiscWindows::hasValue 2025-03-24 12:16:39 +00:00
sithlord48
07219ed431 refactor: use QVariant().toBool() in place of StringUtils::StrToBool, remove StringUtils 2025-03-21 12:47:46 +00:00
sithlord48
da5f3c0be1 refactor: remove StringUtils::trimEnd and just use QString::trimmed 2025-03-21 12:47:46 +00:00
sithlord48
a23e35c522 refactor: move lib/gui/Diagnostic => apps/deskflow-gui/Diagnostic 2025-03-21 12:47:46 +00:00
sithlord48
eb74d8ca99 refactor: replace EnvVars.h with a new item in settings Settings::Core::UpdateUrl 2025-03-21 12:47:46 +00:00
sithlord48
65b6fe7ca3 refactor: move lib/gui/Constants.h => lib/common/UrlConstants.h 2025-03-21 12:47:46 +00:00
sithlord48
9b6615328b refactor: move lib/gui/StyleUtils.h => apps/deskflow-gui/StyleUtils.h 2025-03-21 12:47:46 +00:00
sithlord48
7fb87b32f5 refactor: move lib/gui/validators => apps/deskflow-gui/validators 2025-03-21 12:47:46 +00:00
sithlord48
e00058a332 chore: remove unused MacOSXPrecomp.h 2025-03-21 11:42:32 +00:00
sithlord48
45b6ff19e7 chore: remove StdExcept and include stdexcept directly where needed
remove _NOEXCEPT define and just use throw()
2025-03-21 11:42:32 +00:00
sithlord48
1798d7e4e6 chore: remove StdOStream and include ostream directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
854787e6b3 chore: remove StdIStream and include istream directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
498ffe85c3 chore: remove StdSet and include set directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
cd3f9b2e7d chore: remove StdMap and include map directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
42b16efdb9 chore: remove StdList and include list directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
003f87db9e chore: remove StdVector and include vector directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
86dca27e4c chore: remove StdDeque and include deque directly where needed 2025-03-21 11:42:32 +00:00
sithlord48
26fa6860e4 chore: Move used code from Win32Hook to MSWindowsHook and remove Win32Hook 2025-03-21 11:42:32 +00:00
sithlord48
d9798a9b2b chore: remove StdPost / StdPre 2025-03-21 11:42:32 +00:00
sithlord48
70a2554370 refactor: VersionChecker use its own QNetworkManager not a Proxy
remove lib/gui/proxy/QNetworkManagerProxy
2025-03-21 10:16:22 +00:00
sithlord48
13c325eb3f chore: rename lib/common/stdvector.h => lib/common/StdVector.h 2025-03-20 13:06:45 +00:00
sithlord48
a3ad66dfb0 chore: rename lib/common/stdset.h => lib/common/StdSet.h 2025-03-20 13:06:45 +00:00
sithlord48
c9d1a50bb0 chore: rename lib/common/stdpre.h => lib/common/StdPre.h 2025-03-20 13:06:45 +00:00
sithlord48
cb3e516206 chore: rename lib/common/stdpost.h => lib/common/StdPost.h 2025-03-20 13:06:45 +00:00
sithlord48
de2e3fb9ce chore: rename lib/common/stdostream.h => lib/common/StdOStream.h 2025-03-20 13:06:45 +00:00
sithlord48
3bad718bb7 chore: rename lib/common/stdmap.h => lib/common/StdMap.h 2025-03-20 13:06:45 +00:00
sithlord48
40c10766f3 chore: rename lib/common/stdlist.h => lib/common/StdList.h 2025-03-20 13:06:45 +00:00
sithlord48
bf09df835d chore: rename lib/common/stdistream.h => lib/common/StdIStream.h 2025-03-20 13:06:45 +00:00
sithlord48
4a16804d27 chore: rename lib/common/stdexcept.h => lib/common/StdExcept.h 2025-03-20 13:06:45 +00:00
sithlord48
5e1aa9eb5d chore: rename lib/common/stddeque.h => lib/common/StdDeque.h 2025-03-20 13:06:45 +00:00
sithlord48
3c86d9dc83 chore: rename lib/common/constants.h.in => lib/common/Constants.h.in 2025-03-20 13:06:45 +00:00
sithlord48
099262d8ce chore: rename lib/common/common.h => lib/common/Common.h 2025-03-20 13:06:45 +00:00
sithlord48
d9e6ec4b70 chore: rename lib/config.h.in => lib/Config.h.in 2025-03-20 13:06:45 +00:00
sithlord48
d7b20fad5c chore: rename lib/platform/wayland.h => lib/platform/Wayland.h 2025-03-20 13:06:45 +00:00
sithlord48
6e6a88af87 chore: rename lib/platform/dfwhook.h => lib/platform/Win32Hook.h 2025-03-20 13:06:45 +00:00
sithlord48
ce17167248 chore: rename lib/io/filesystem => lib/io/Filesystem 2025-03-20 13:06:45 +00:00
sithlord48
656ad6402b chore: rename lib/gui/styles.h => lib/gui/Styles.h 2025-03-20 13:06:45 +00:00
sithlord48
329742a411 chore: rename lib/gui/style_utils.h => lib/gui/StyleUtils.h 2025-03-20 13:06:45 +00:00
sithlord48
4df982dd6f chore: rename lib/gui/string_utils.h => lib/gui/StringUtils.h 2025-03-20 13:06:45 +00:00
sithlord48
b1010751ba chore: rename lib/gui/messages => lib/gui/Messages 2025-03-20 13:06:45 +00:00
sithlord48
4238441018 chore: rename lib/gui/env_vars.h => lib/gui/EnvVars.h 2025-03-20 13:06:45 +00:00
sithlord48
a13bd3d0bd chore: rename lib/gui/dot_env => lib/gui/DotEnv 2025-03-20 13:06:45 +00:00