sithlord48
72496548de
chore: PrimaryClient remove unneeded includes
2025-11-06 09:12:18 -05:00
sithlord48
e130cbb706
chore: server/Config remove unneeded includes
2025-11-06 09:12:18 -05:00
sithlord48
6ab1579d38
refactor: Log remove unneeded includes
2025-11-04 10:47:14 -05:00
sithlord48
e1fbcb379e
chore: Sub classes and overloads not usings parameters of the base methods have the varible names removed
2025-10-17 09:07:21 +01:00
sithlord48
8b489b8301
chore: remove unneeded semi colons from several places
2025-10-17 09:07:21 +01:00
pika
78e394a210
fix: apply scroll lock setting on initialization
...
Co-authored-by: Nick Bolton <nick@symless.com>
2025-10-17 03:50:53 -04:00
sithlord48
efebe9ca56
refactor: remove ServerArgs
2025-09-30 06:39:54 -04:00
sithlord48
9dae55fc6f
chore: remove unused ClientProxy1_5::m_events
2025-09-25 15:01:17 +01:00
sithlord48
e35a2b1c29
chore: remove unused ClientProxy1_7::m_events
2025-09-25 15:01:17 +01:00
sithlord48
4157367aaa
chore: remove unused InputFilter::RestartServer::m_events
2025-09-25 15:01:17 +01:00
sithlord48
c4c2f7f37f
feat: begin to use QStrings for strings
...
feat: get windows building with the UNICODE forced by using Qt
refactor: remove ARCHString use QString to convert to / from utf8
build: (arch) link to common
build: (base) link to arch
build: (io) Link to common
build: (client) link to common
build: (server) link to common
fix: Append to log file instead of creating a new one each log line
refactor: Trim cipher description for neater log output
fix: Update log messages to use wide string format for Unicode support
fix: Correct event creation to use wide string for Unicode compatibility
refactor: Use QStringDecoder for UTF-8 handling on Windows Daemon child process
fix: Use correct wide type for Win32 consts
2025-09-10 18:15:19 +01:00
sithlord48
66a022a012
fix: Adjust log level for unconfigured client as we react to this in the gui
2025-09-10 14:31:13 +01:00
sithlord48
2e722bdfeb
refactor: Server::handleToggleScreenEvent remove name of the incomming event var to indicate its not used in the method
2025-09-05 11:52:17 +01:00
sithlord48
aedbffa809
refactor: server/Config use empty() to check if args are empty
2025-09-05 11:52:17 +01:00
Kris
104d2facdb
feat: add switchToNextScreen hotkey to cycle through computers
2025-09-01 11:39:52 -04:00
sithlord48
cba3881f41
refactor: Move all messages that are checked for by GUI in the log to new IPC Level so the gui can work with any filter level
2025-08-28 00:45:40 +01:00
sithlord48
2990a1f686
refactor: Server, reorder private member vars to avoid un unessary padding
2025-08-18 11:45:21 +01:00
sithlord48
bcb6c368b1
refactor: remove unneeded common/Common includes
2025-08-18 11:45:21 +01:00
sithlord48
a9e87d5ef5
refactor: remove INode class as base for Server and Client objects
2025-08-18 11:45:21 +01:00
sithlord48
db67550db3
refactor: server: use contains when possible
2025-08-11 12:32:50 -04:00
sithlord48
85e7d95188
refactor: server/Config use contains
2025-08-11 12:32:50 -04:00
sithlord48
651e093e04
refactor: clientProxy1_4 do not create pointless override that just call the baseclass
2025-08-11 12:32:50 -04:00
sithlord48
6153f64fb7
chore: remove uneeded casts
2025-08-11 12:32:50 -04:00
sithlord48
f91df1639b
refactor: make sure to state type of access to base class
2025-08-11 12:32:50 -04:00
sithlord48
8929f85bf7
refactor: XConfigRead => ServerConfigReadException
2025-08-11 17:14:45 +01:00
sithlord48
9601180e1b
refactor: XBase Classes => BaseException
2025-08-11 17:14:45 +01:00
sithlord48
64786ddcb7
refactor: XDeskflow Classes => DeskflowException Classes
2025-08-11 17:14:45 +01:00
sithlord48
1b04b1137c
refactor: XIO Classes => IOException Classes
2025-08-11 17:14:45 +01:00
sithlord48
ada2813f9f
refactor: XSocket Classes => XSocketException Classes
2025-08-11 17:14:45 +01:00
sithlord48
2a84ef0ebf
refactor: update log calls to LOG_... fixes #8819
2025-08-06 16:18:38 +01:00
James Le Cuirot
47bb33e065
fix: update inclusion of climits and cstdint headers
...
For INT_MAX and SIZE_MAX.
2025-08-06 13:03:52 +01:00
sithlord48
40423397e3
refactor: Config remove redundant != Operator in server/Config
2025-08-06 11:44:38 +01:00
Nick Bolton
0352e1c6d6
chore: Improve logging in Server::onClipboardChanged
2025-08-05 14:41:50 -04:00
Nick Bolton
98d03fb098
chore: Improve logging in Server::handleClipboardGrabbed
2025-08-05 14:41:50 -04:00
Nick Bolton
739cdc1752
chore: Improve logging for DESKFLOW_MOUSE_ADJUSTMENT env var
...
We plan to move this elsewhere, but in the meantime, the DEBUG1 logging was too noisy. Also fixed some code style that was bugging me.
2025-08-05 14:41:50 -04:00
sithlord48
4f9b042f5a
refactor: explicit constructor for PlatformScreen, FileTail, FunctionJob, FunctionEventJob, ServerConfig, ScreenSettingsDialog, KeySequenceWidget, NetworkAddress, AddClientDialog, ConfigReadContext, LockCursorToScreenAction, RestartServer And KeyboardBroadcastAction
2025-08-04 13:46:27 +01:00
Christian Schmidt
1236fa4cab
fix: server: initialize the m_protocol member with a default value
...
It is likely random whether the server works or not without
a manually configured protocol option, which is neither documented
nor enforced to be set.
With a random uninitialized value in m_protocol, this can happen:
[2025-08-03T12:39:57] NOTE: accepted client connection
[2025-08-03T12:39:57] FATAL: a runtime error occurred: XInvalidProtocol
Reports of "it works with debug enabled" are likely due to having
parts of the memory space the server object is allocated into being
cleared, and thus having a 0 (Synergy) startup value.
2025-08-04 12:47:13 +01:00
sithlord48
e69be64773
refactor: remove redundant != operators c++20 std will generate the !=operator as long as the class has an ==operator
2025-08-01 13:03:51 -04:00
sithlord48
d120cc853d
refactor: InputFilter, user std::ranges::partial_sort in == operator
2025-08-01 13:03:51 -04:00
sithlord48
f73d098b1f
refactor: Unify ENetworkProtocol and ServerProtocol into new enum Class NetworkProtocol in new file base/NetworkProtocol.h
2025-07-31 13:41:29 +01:00
sithlord48
9673943556
refactor: OptionTypes, Remove corner related enums and uses static items for corner masks instead
2025-07-31 13:41:29 +01:00
sithlord48
7fd9070a80
refactor: InputFilter::EFilterStatus => InputFilter::FilterStatus enum class
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
36e985d8ab
chore: add missing default for switches
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
bc9f47c957
refactor: ProtocolTypes EDataReceived => enum class ProtocolTypes::TransferState
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
ab4fbd1c85
refactor: use using enum EventTypes when possible to reduce verbosity
2025-07-03 03:24:16 +00:00
laz-001
26cc85e878
add protocol developer documentation
2025-06-25 15:42:16 +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
aacf922319
refactor: remove names for unused handle function args
2025-06-20 09:39:26 +01:00
sithlord48
90a651b409
refactor: server use std::unique_ptr for socketFactory
...
based on ff7f23e79d
2025-06-19 19:13:24 +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
Povilas Kanapickas
6fbb60a3c2
chore: remove unused StopWatch Includes
2025-06-14 08:22:55 +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
3eb3969a01
chore: use final for overrides and remove virtual for non base classes
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
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
475b895755
chore: initialize class vars using the order class define, initilizer list, constructor
2025-05-23 10:19:11 -07:00
sithlord48
a33574e1bd
chore: use more ranged for loops
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
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
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
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
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
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
63d65bb47b
chore: use nullptr where possible in place of NULL
2025-04-28 13:08:40 +01:00
sithlord48
48f824ca31
chore: Server, 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
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
201df59cb7
remove Use of libnotify and wintoast
2025-03-27 13:07:59 +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