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
Nick Bolton
4e2ad25fc1
fix: Error text is not shown for Qt CLI parser
2025-06-18 13:49:44 +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
0d6837a948
chore: add short options for h for help and v for version in deskflow-gui
2025-06-16 10:13:39 +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