sithlord48
b9964b5e90
refactor: remove anon enum in IKeyState and replace with static s_numButtons
2025-07-11 03:06:24 -07:00
sithlord48
422b4c3a23
refactor ClientArgs ClientScrollDirection to enum class use Members Normal and Inverted for names
2025-07-11 03:06:24 -07:00
sithlord48
05e32497d1
refactor: ArgsBase::Type => ArgsBase::ClassType class enum
2025-07-11 03:06:24 -07:00
sithlord48
9905f32738
refactor: Common.h replace anon enum with set constexpr exit codes
2025-07-11 03:06:24 -07:00
sithlord48
29e9b8ae3b
refactor: ServerProxy::EResult => ServerProxy::ConnectionResult enum class
2025-07-11 03:06:24 -07:00
sithlord48
fe3c41f857
refactor: remove Unneed enum for LogOutputters and use a constexp instead
2025-07-11 03:06:24 -07:00
sithlord48
3ececbcfd9
refactor: Event anon enum => EventFlags struct
2025-07-11 03:06:24 -07:00
sithlord48
c12aa4c6e9
refactor: Make IEventQueueBuffer Types an enum class, use proper names rename kNone => Unknown to reflect its unknowns an unknown type of event
2025-07-11 03:06:24 -07:00
sithlord48
fc58688bb0
refactor: replace throw() with noexcept in cases where execeptions are not possible
2025-07-11 03:06:24 -07:00
sithlord48
77bdde5434
refactor: Elevel => LogLevel enum class, use proper names for items in the class
2025-07-11 03:06:24 -07:00
sithlord48
3472ff6ce5
chore: ArchNetworkBSD, use std::ignore in place of unused int
2025-07-11 03:06:24 -07:00
sithlord48
2d3105206d
fix: save geometry not frameGeometry on exit
...
fixes #8741
2025-07-09 09:32:39 +01:00
sithlord48
c6778dc9be
refactor: use more if and switch init-statements
2025-07-07 17:53:56 +01:00
sithlord48
36e985d8ab
chore: add missing default for switches
2025-07-07 17:53:56 +01:00
sithlord48
865365b2fa
chore: add noreturn to more methods
2025-07-07 17:53:56 +01:00
sithlord48
8a83f68ff0
chore: remove unused < operator for Timer class
2025-07-07 17:53:56 +01:00
sithlord48
245fa815d2
refactor: Server::onMouseMousePrimary, use std array for horizontal and vertical direction array
2025-07-07 17:53:56 +01:00
sithlord48
f12f312dab
refactor: ProtocolTypes EDirection => enum class Direction
2025-07-07 17:53:56 +01:00
sithlord48
dded2e3711
refactor: ProtocolTypes EDirectionMask => enum class DirectionMask
2025-07-07 17:53:56 +01:00
sithlord48
d71d4eaf07
refactor: ProtocolTypes EDataTransfer => struct ProtocolTypes::ChunkType
2025-07-07 17:53:56 +01:00
sithlord48
bc9f47c957
refactor: ProtocolTypes EDataReceived => enum class ProtocolTypes::TransferState
2025-07-07 17:53:56 +01:00
sithlord48
0ea2576032
refactor: XWindowsEventQueueBuffer, use static const for timeoutd delay
2025-07-07 17:53:56 +01:00
sithlord48
0100cb796e
chore: SecureSocket remove unused MAX_ERROR_SIZE define , rename MAX_INPUT_BUFFER_SIZE static to confirm to naming convention
2025-07-07 17:53:56 +01:00
sithlord48
8ec40dd74b
refactor: ClipboardChunk Replace CLIPBOARD_CHUNK_META_SIZE define with constexpr
2025-07-07 17:53:56 +01:00
sithlord48
4034d15fb3
refactor: ClientApp Replace RETRY_TIME define with constexpr
2025-07-07 17:53:56 +01:00
sithlord48
1a9f8d5cdc
refactor: app Replace options defines as constexpr use more sane names
2025-07-07 17:53:56 +01:00
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
Kentaro Hayashi
5976da7e5b
chore: fix W:useless-whatis-entry lintian warnings
...
By default, help2man generates "manual page for foobar" for
manual files.
It is useless because there is no addtional information which
explains what deskflow is.
With --name option, .SH NAME section will be set correctly.
Before:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DESKFLOW-CLIENT "1" "June 2025" "deskflow-client v1.22.0.109, protocol v1.8" "User Commands"
.SH NAME
deskflow-client \- manual page for deskflow-client v1.22.0.109, protocol v1.8
.SH SYNOPSIS
.B deskflow-client
[\fI\,OPTIONS\/\fR]
.SH DESCRIPTION
After:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DESKFLOW-CLIENT "1" "July 2025" "deskflow-client v1.22.0.109, protocol v1.8" "User Commands"
.SH NAME
deskflow-client \- Keyboard and mouse sharing utility (Client)
.SH SYNOPSIS
.B deskflow-client
[\fI\,OPTIONS\/\fR]
.SH DESCRIPTION
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-07-03 13:23:15 +00: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
1692bec7e6
ci: skip CoreProcessTest for windows arm, broken on ci
2025-07-03 02:59:51 +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
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
Yoshiaki Kasahara
632c3462ec
fix: avoid leaking build paths in manpages
2025-05-28 05:46:27 -07: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