Nick Bolton
687fd5411a
refactor: Rename setSettingFile to setSettingsFile for consistency
2025-10-15 08:59:09 -04:00
Nick Bolton
bb1394ceeb
feat: Change to local user ini (not native)
...
Windows registry is horrible to deal with and makes it impractical to pass settings to the Core when run via daemon on Windows.
- Pass settings path to Core when launched via daemon
- Introduce portable mode detection logic on Windows
- Generalize `m_settingsFile` use
- Reduce #ifdef size for Settings ctor path logic
2025-10-15 08:59:09 -04:00
sithlord48
eed4b49ea0
chore: remove unused member App::configSection
2025-10-13 12:45:44 +01:00
sithlord48
06263ceaad
feat: drop cli11
2025-10-01 10:55:03 -04:00
sithlord48
4a5f173422
feat: remove toml config file only use our QSettings based format
...
remove deskflow/Config and related tests
2025-10-01 09:41:12 -04:00
sithlord48
5978694d95
chore: remove unused ArgParser
2025-09-30 06:39:54 -04:00
sithlord48
d98f8a524d
remove: argsBase
2025-09-30 06:39:54 -04:00
sithlord48
37827f0540
refactor: remove ClientArgs
2025-09-30 06:39:54 -04:00
sithlord48
6fa8ba087a
refactor: move remoteHost to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
a78959e66f
refactor: move invert-scroll to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
2cb36777f9
refactor: move languageSync to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
b0fe79d527
refactor: move yscroll to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
efebe9ca56
refactor: remove ServerArgs
2025-09-30 06:39:54 -04:00
sithlord48
bf7a50ab0e
refactor: move -c --config to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
cfedfc2c1e
refactor: move peerCert option to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
cfd580fb21
refactor: move ArgsBase:m_pname to App
2025-09-30 06:39:54 -04:00
sithlord48
1884ab3555
refactor: move --no-hooks to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
eeaf139bd9
refactor: move no-restart to CoreArgs
...
chore: Client remove unused ClientArgs member m_args
2025-09-30 06:39:54 -04:00
sithlord48
c2ee366e23
refactor: move preventsleep option into CoreArgs
2025-09-30 06:39:54 -04:00
sithlord48
a8348b1ccb
refactor: move tls-cert to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
ff4c9dc421
refactor: move enable-crypto to new core option secure to set the TLS setting
2025-09-30 06:39:54 -04:00
sithlord48
53b36801e1
refactor: move Log option to coreArgs
2025-09-30 06:39:54 -04:00
sithlord48
f3a1bbaf5b
refactor: move setting of log level to CoreArgParser
2025-09-30 06:39:54 -04:00
sithlord48
05f377e21b
refactor: Handle Name option in CoreArgParser
2025-09-30 06:39:54 -04:00
sithlord48
ead49c4025
refactor: move address option to deskflow-core, split into --interface (-i) and --port (-p) options
2025-09-30 06:39:54 -04:00
sithlord48
5e02adc772
refactor: deskflow-core take over --version arg for App class
...
change the serverAppTest to not call version
2025-09-30 06:39:54 -04:00
Nick Bolton
801ada88b7
fix: correct spelling of convertLayoutToISO in X11LayoutsParser
2025-09-25 09:18:06 -04:00
sithlord48
7b866ec632
refactor: make sure to use static args on ArgParsers::NameTest
2025-09-24 16:28:19 +01:00
sithlord48
03e014c753
feat: Remove daemon / no-daemon option
2025-09-24 16:28:19 +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
Nick Bolton
4a16931c5d
refactor: Remove QProcessProxy and simplify CoreProcess
...
Making a proxy class for QProcess to make GTest work is an excellent example of over-abstraction making simple things hard to do. I just wanted to call a function on QProcess and had to jump through hoops to do it.
Bye bye QProcessProxy! We can do much better with QTest.
2025-09-01 16:18:02 +01:00
sithlord48
d1897efa8b
chore: LogTests, Fix codeQL issue with args in the printTestWithArgs test
2025-08-30 10:07:41 +01:00
sithlord48
490dac5048
refactor: LogTests use private log member
2025-08-30 10:07:41 +01:00
sithlord48
549133e619
refactor: LogTests, read buffer capture before release
2025-08-28 08:20:14 +01:00
sithlord48
323d011476
chore: remove unused include for ArchString
2025-08-28 08:20:14 +01:00
sithlord48
fb144a5e66
refactor: LogTests are now built with QTest
2025-08-26 05:20:34 -04:00
sithlord48
bcb6c368b1
refactor: remove unneeded common/Common includes
2025-08-18 11:45:21 +01:00
Pranav P
d6b53ea718
fix: failures in big endian machines tests
2025-08-12 16:56:17 +01:00
sithlord48
85d89f9846
refactor: XArch Classes => Arch Exception Classes
2025-08-11 17:14:45 +01:00
sithlord48
9601180e1b
refactor: XBase Classes => BaseException
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
sithlord48
8977d70dd9
refactor: IClipboard::EFormat => enum class Clipboard::Format
2025-07-31 13:41:29 +01:00
sithlord48
943141d65c
chore: use Deskflow name in copy text sample, rename ClipboardTest::text285 -> longerText
2025-07-31 13:41:29 +01:00
sithlord48
283e0c6367
refactor: KeyMap EType => enum class KeyType
2025-07-29 13:41:34 +01:00
sithlord48
7fd9070a80
refactor: InputFilter::EFilterStatus => InputFilter::FilterStatus enum class
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
77bdde5434
refactor: Elevel => LogLevel enum class, use proper names for items in the class
2025-07-11 03:06:24 -07:00
sithlord48
f12f312dab
refactor: ProtocolTypes EDirection => enum class Direction
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
2c2a5c0269
refactor: Make KeyMake::Swap noexcept
2025-07-07 17:53:56 +01: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
879283f46f
refactor: Make IArchNetwork::EAddressFamily enum class IArchNetwork::AddressFamily
...
confirm AddressFamily items to naming convention
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
cb508f5c3a
chore: Remove DRAG_AND_DROP left over define
2025-06-25 16:16:13 +01:00
sithlord48
3a35b183d3
refactor: use std::function for Event callback
...
based on 6d347337c3
2025-06-18 13:17:16 +01:00
sithlord48
5fd4d93f7f
refactor: replace ARCH->sleep(...) calls with Arch::sleep(...)
2025-06-17 10:23:42 +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
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
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
63e87c16d1
refactor: port ServerAppTests to QtTests
2025-05-14 19:41:22 +01: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
e4e332c13f
chore: simplify test includes
2025-05-12 13:48:21 +01:00
sithlord48
33edb6ce01
refactor: simplify wayland warnings remove waylandwarnigns dialog test
2025-05-12 13:48:21 +01:00
sithlord48
49173b11b9
ci: enable coverage for Qt Tests
2025-05-12 13:48:21 +01:00
sithlord48
81392fe758
build: move old tests to unittests/legacytests
2025-05-12 13:48:21 +01:00
sithlord48
3ae2b3a571
build: rename old tests binary to legacytests
...
ci: run-tests action, split legacy and new unit tests into two steps
2025-05-12 13:48:21 +01:00
sithlord48
2aee6d8812
build: correct language manager test binary name
2025-05-12 13:48:21 +01:00
sithlord48
db3b18b36d
build: Add new SKIP_BUILD_TESTS option to allow the build time test to be skipped and run later on
...
ci: run and check Qt Tests post build
2025-05-12 13:48:21 +01:00
sithlord48
89c199b630
build: leave Qt Tests in place do not move them to CMAKE_BUILD_DIR/bin
2025-05-12 13:48:21 +01:00
sithlord48
d8b4fab9a3
refactor: move OSXKeyStateTest => QtTests
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
b8c6d1b58f
refactor: port OSXClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
139dbf61f3
refactor: remove broken OSXScreenTest
2025-05-08 15:26:44 +01:00
sithlord48
e512125595
refactor: port net/SecureUtilsTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
ae37543a37
refactor: port gui/LoggerTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
8a80c52208
refactor: port net/FingerprintDatabaseTest to QtTests
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
d742901775
refactor: port XWindowsClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
287d70a138
refactor: port IKeyStateTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
6c0843d088
refactor: port ClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
cbcaafe764
refactor: port deskflow/ClipboardChunkTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
29a86cfbac
refactor: port GenericArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
d7506697c8
refactor: port ServerArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
6c2457d60b
refactor: port ClientArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
30d9034a0f
refactor: port DeprecatedArgsTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
a2acfb0678
refactor: port ArgParserTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
7fa326234e
refactor: port X11LayoutParserTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
baaa02cda2
refactor: port deskflow/LanguageMangerTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
231e5c0bc5
refactor: port base/XBaseTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
78cbe4b775
refactor: port base/UnicodeTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
a1a7c8f3ff
refactor: port base/StringTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
501726d471
refactor: port base/pathTest to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
b51dec01ad
refactor: port arch/IArchStringTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
4479b90d37
refactor: port Platform/MSWindowsClipboardTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
8a139f0e3d
refactor: port CommandProcessTests to QtTests
2025-05-08 15:26:44 +01:00
sithlord48
810322623b
refactor: port ConfigTests to QtTest
2025-05-08 15:26:44 +01:00