sithlord48
a4c82869a6
fix: split version info in new header
...
a new file src/lib/VersionInfo.h.in now holds our version info vars
fixes #8657
2025-07-21 12:06:01 +01:00
sithlord48
f33848f9b8
fix: setWindowIcon explicitly, fixes #8756
2025-07-21 11:10:19 +01:00
sithlord48
e828563190
chore: MainWindow, use system correct monospace font for log
2025-07-18 10:51:50 -04:00
sithlord48
c7873f2f81
refactor: DisplayInvalidExecption pass const ref to string
2025-07-17 18:47:50 +01:00
sithlord48
9f72b44d2a
refactor: ClientApp indicate msg is unused in update status
2025-07-17 18:47:50 +01:00
sithlord48
8dcd9b0c01
refactor: ArgParser::assemble command use const ref std::string_view for ingoreArg
2025-07-17 18:47:50 +01:00
sithlord48
e436b41ab0
refactor: ArgParser::parsePlatformArgs remove unused argument isServer
2025-07-17 18:47:50 +01:00
sithlord48
c2eae36650
refactor: ArgParser, simplify arg parsing by combining duplicate checks into one
2025-07-17 18:47:50 +01:00
sithlord48
1079c22736
refactor: Settings use Static methods where possible internally
2025-07-17 18:47:50 +01:00
sithlord48
d69febe2dc
refactor: Unicode, declare vars on seperate line as untions, using string_view for UCS2ToUTF8 input, remove redundant parentheses
2025-07-17 18:47:50 +01:00
sithlord48
c6a97c24a2
refactor: String, use std::ranges::lexicogriphical_compare to simplify CaselessCpm::less
2025-07-17 18:47:50 +01:00
sithlord48
d9ec93e7ee
refactor: String, pass stringToSizeType a const ref of the string we are to get the size of
2025-07-17 18:47:50 +01:00
sithlord48
9db11a90eb
refactor: TCPSocket, new protected methods to access m_readable, m_writable and m_connected, use them in place of direct access and make the variables private
...
TCPSocket, remove duplicate private and protected sections in header
2025-07-17 18:47:50 +01:00
sithlord48
c327c80d63
refector: TCPListenSocket, remove duplicate public in header, make m_mutex private
2025-07-17 18:47:50 +01:00
sithlord48
0884a267d1
refactor: App move m_suspended to the subclasses where its is used
2025-07-17 18:47:50 +01:00
sithlord48
d1b810baa5
refactor: use std::size to get size of arrays
2025-07-17 18:47:50 +01:00
sithlord48
f51abad8cc
feat: Wayland, only set a side to a border if if has a neighboring screen
...
move protocolTypes Direction enum to new base/DirectionTypes
use the direction info when calling
fixes #8572
fixes #8452
fixes #8605
fixes #8005
2025-07-14 10:31:50 +01:00
sithlord48
ae5ba4e51f
chore: remove dev method PortalInputCapture::fakeEisFd
2025-07-14 10:31:50 +01:00
sithlord48
9413393057
refactor: anonymous enum in ServerConfig => ServerConfig::AddResults enum class
2025-07-11 03:06:24 -07:00
sithlord48
79b445373b
refactor: FingerPrintDialog::FingerpringDialogMode now enum class
2025-07-11 03:06:24 -07:00
sithlord48
9beea1abfe
refactor: anon enum in AddClientDialog to AddAction enum class
2025-07-11 03:06:24 -07:00
sithlord48
a88a67d47f
refactor: ActionDialog::ActionType enum is now a struct
2025-07-11 03:06:24 -07:00
sithlord48
7fd9070a80
refactor: InputFilter::EFilterStatus => InputFilter::FilterStatus enum class
2025-07-11 03:06:24 -07:00
sithlord48
e37cea2d6b
refactor: replace anon Enum in XWindowsKeyState with static vars
2025-07-11 03:06:24 -07:00
sithlord48
181d862838
refactor EiEventQueue remove anon enum for a few static members
2025-07-11 03:06:24 -07:00
sithlord48
6ca980e3e5
refactor: XSocket::EError => XSocket::SocketError enum class
2025-07-11 03:06:24 -07:00
sithlord48
94be5f7498
refactor: TCPSocket::EJobResult => enum class TCPSocket::JobResult
2025-07-11 03:06:24 -07:00
sithlord48
32e6a84a6f
chore: remove unused anon enum in SecureSocket
2025-07-11 03:06:24 -07:00
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