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
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
sithord48
a31cff0225
chore: Cleanup windows includes
2025-06-02 21:55:36 +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
sithlord48
3eb3969a01
chore: use final for overrides and remove virtual for non base classes
2025-05-28 09:42:08 +01:00
sithlord48
d2ac36f3ed
chore: make more const methods
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
9c56fa5dda
chore: Combine unnessessary multi level if into less fewer checks
2025-05-28 09:42:08 +01:00
sithlord48
475b895755
chore: initialize class vars using the order class define, initilizer list, constructor
2025-05-23 10:19:11 -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
45090d6b85
chore: IArchString clean up remaing code smells
2025-05-23 17:58:36 +01:00
sithlord48
fe12972e83
chore: use const pointer / ref where possible
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
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
cac63937ff
chore: cleansmells in ArchDaemon
2025-05-20 16:20:07 +01:00
sithlord48
037fee0e59
refactor: remove archConsole use its only implemented method directly in logOutputters
2025-05-19 21:48:27 +01:00
sithlord48
e9ccd513f7
chore: clean up windows code smells missed by sonarscan
2025-05-03 21:13:09 +01:00
sithlord48
d483dc38bd
chore: unix/XArchUnix, use default for constructor and deconstructor, explicit constructor with no except deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
56dd5492b4
chore: unix/ArchTimeUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
67c7ba6dae
chore: unix/ArchStringUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
1138e3b1fb
chore: unix/ArchLogUnix, use default for constructor / deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
6523911e4d
chore: unix/ArchSleepUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
a52552b821
chore: unix/ArchDaemonUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
bd2188beb1
chore: unix/ArchConsoleUnix, use default for constructor and deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
edc0c0d7a0
chore: XArch, use default for constructors / deconstrucor
...
use noexecpt for virtual deconstctor
use explicit for constructors
2025-05-02 12:12:17 +01:00
sithlord48
95586c88fd
chore: ArchDaemonNone, use deault for empty deconstructor
...
use default for empty constructor
add comment for empty overrides from base class
2025-05-02 12:12:17 +01:00
sithlord48
d7174a3a2f
chore: ArchConsoleStd, use default for empty deconstructor
...
use default for empty constructor
add comment to empty impl on base methods
2025-05-02 12:12:17 +01:00
sithlord48
2289ed5845
chore: Arch use default for empty deconstructor
...
use explicit for constuctors
2025-05-02 12:12:17 +01:00
sithlord48
6c7bdf3e07
chore: ArchNetworkBSD, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
1df01d3cf1
chore: ArchMuitiThreadPosix, 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
41fda741b3
chore: Use override for override methods
2025-04-28 11:27:33 +01:00
sithlord48
31e95ad2dc
refactor: remove unused lib/arch/mulitbyte.h
2025-03-25 08:39:05 +00:00
sithlord48
8b5a61f07f
refactor: remove ArchFile, move only use of getInstallDir to MSWindowsWatchdog
2025-03-25 08:39:05 +00:00
sithlord48
516f803eb4
refactor: remove ArchFile::getbasePath for QFileInfo::fileName
2025-03-25 08:39:05 +00:00
sithlord48
c1a7b836ce
refactor: remove unused ArchMiscWindows::processDialog
2025-03-24 12:16:39 +00:00
sithlord48
9530b9c6ba
refactor: remove unused ArchMiscWindows::s_dialog, ArchMiscWindows::cleanup
2025-03-24 12:16:39 +00:00
sithlord48
9df2a2c28d
refactor: remove unused ArchMiscWindows::removeDialog
2025-03-24 12:16:39 +00:00
sithlord48
133545d03f
refactor: remove unused ArchMiscWindows::addDialog
2025-03-24 12:16:39 +00:00
sithlord48
75e852d95f
refactor: remove unused ArchMiscWindows::readValueBinary
2025-03-24 12:16:39 +00:00
sithlord48
9c44653fff
refactor: remove unused ArchMiscWindows::setValueBinary
2025-03-24 12:16:39 +00:00
sithlord48
2adee7c460
refactor: remove unused ArchMiscWindows::deleteKeyTree
2025-03-24 12:16:39 +00:00
sithlord48
6f6e9cddb7
refactor: remove unused ArchMiscWindows::deleteValue
2025-03-24 12:16:39 +00:00
sithlord48
fdd9b1bb6d
refactor: remove unused ArchMiscWindows::getIcons
2025-03-24 12:16:39 +00:00
sithlord48
b2ff6aa938
refactor: remove unused ArchMiscWindows::setIcons
2025-03-24 12:16:39 +00:00
sithlord48
5e4188b2fe
refactor: remove unused ArchMiscWindows::hasValue
2025-03-24 12:16:39 +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
42b16efdb9
chore: remove StdList and include list directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
40c10766f3
chore: rename lib/common/stdlist.h => lib/common/StdList.h
2025-03-20 13:06:45 +00:00
sithlord48
4a16804d27
chore: rename lib/common/stdexcept.h => lib/common/StdExcept.h
2025-03-20 13:06:45 +00:00
sithlord48
3c86d9dc83
chore: rename lib/common/constants.h.in => lib/common/Constants.h.in
2025-03-20 13:06:45 +00:00
sithlord48
099262d8ce
chore: rename lib/common/common.h => lib/common/Common.h
2025-03-20 13:06:45 +00:00
sithlord48
b1b8720781
refactor: remove unused ARCH::concatPath
2025-03-19 20:01:01 +00:00
sithlord48
8609cbc20a
refactor: remove unused ARCH::getUserDirectory
2025-03-19 20:01:01 +00:00
sithlord48
7fe862b715
refactor: remove unused ARCH::getSystemDirectory
2025-03-19 20:01:01 +00:00
sithlord48
377272e917
refactor: remove unused arch profileDir
2025-03-19 20:01:01 +00:00
sithlord48
6444e2c208
chore: remove unused ARCH::getLogDirectory
2025-03-19 20:01:01 +00:00
sithlord48
b3ce7c41d3
chore: remove unused ARCH::setPluginDirectory Arch::getPluginDirectory
2025-03-19 20:01:01 +00:00
sithlord48
73de5e964e
chore: remove unused archsystem classes
2025-03-17 16:59:43 +00:00
sithlord48
27451d3425
refactor: move Screensaver inhibate call for xwindows from arch to platform
2025-03-17 16:59:43 +00:00
sithlord48
c1af4c3b71
fix: windows looking in deskflow/deskflow for items
...
fixes #8371
2025-03-17 13:47:28 +00:00
Nick Bolton
16517ca541
refactor(daemon): More helpful and less noisy logging
2025-03-14 14:19:46 +00:00
Nick Bolton
7da8c54924
refactor(daemon): Use functional type for daemonize func
2025-03-14 14:19:46 +00:00
Nick Bolton
3683db0db9
feat(daemon): Print warning when not elevated
2025-03-14 14:19:46 +00:00
sithlord48
ef315183f3
chore: rm unused ARCH:getPlatform
2025-03-13 12:25:25 +00:00
sithlord48
b73aceee7d
chore: remove unused Arch::isWOW64 method
2025-03-13 12:25:25 +00:00
sithlord48
3b811a1bd0
chore: remove unused Arch::getOsName
2025-03-13 12:25:25 +00:00
Nick Bolton
39e7f60c5a
build: Get minor MSVC version from host registry
2025-03-12 08:04:16 -04:00
Nick Bolton
57d1e42eca
feat: Check MSVC redist version in WiX installer
2025-03-12 08:04:16 -04:00
Nick Bolton
cd45164e40
chore: Clean up unused definitions and includes in ArchMiscWindows
2025-03-11 16:38:12 +00:00
Nick Bolton
0ed583a7fe
refactor: Bootstrap logging for Windows runtime check
2025-03-11 16:38:12 +00:00
Nick Bolton
751c869435
feat: Use EnumProcessModules to search loaded modules)
2025-03-11 16:38:12 +00:00
Nick Bolton
4cfeadf0be
fix: Remove redundant check in runtime DLL condition
...
For some reason `&& hModule` was added to the end of the condition, which totally breaks the logic for when the DLL is not found.
2025-03-11 16:38:12 +00:00
Nick Bolton
402baf3bde
docs: Add doc comments for ArchMiscWindows
2025-03-11 16:38:12 +00:00
Nick Bolton
d199130b43
chore: Replace local include with standard library include for set
2025-03-11 16:38:12 +00:00
sithlord48
6e8952c8a0
chore: update formating for clang-format 20.1.0
2025-03-11 10:57:51 -04:00
Nick Bolton
f2063f9e05
fix: Allow compiling on VS2019 for contributors with old IDEs
2025-03-07 09:26:43 -05:00
sithlord48
a78d1acc71
chore: remove unset variable in arch lib linking
2025-03-06 19:17:53 +00:00
sithlord48
3a4bf35e22
refactor: Remove unneeed find_packate calls for Qt Components. Qt is found by Libaraies.cmake and accesable to all items in the src folder
2025-03-06 19:17:53 +00:00
Nick Bolton
495331108b
fix: Guard MSVC runtime version depending on compiler version
2025-03-06 10:45:57 -05:00
Nick Bolton
2485e993a4
chore: Improve bin RC and service description for Windows daemon
2025-03-04 13:36:47 +00:00
Nick Bolton
b64942e3a3
fix: Delete HKEY_LOCAL_MACHINE\SOFTWARE\Deskflow when clearing settings
2025-03-03 15:05:09 -05:00
Nick Bolton
a99d408be1
chore: Improve logging related to Windows daemon start/stop/install/uninstall
2025-02-28 17:58:16 +00:00
Nick Bolton
19c41e2ac5
fix: Improve Windows daemon stop speed by using non-blocking pipes and shorter sleep times
2025-02-28 17:58:16 +00:00
Nick Bolton
53038760de
refactor: Use core mode for daemon install on Windows
2025-02-28 17:58:16 +00:00
Nick Bolton
c9a360a144
fix: Restore active desktop name check in Windows daemon
...
- Use `PIPE_NOWAIT` to skip empty stderr output on process output reading from Windows daemon watchdog
- Use `CreateProcess` result to determine when to call `CloseHandle` in Windows daemon watchdog
- Trim output from active desktop process in Windows daemon watchdog
- Improve error logging in Windows daemon watchdog
2025-02-19 18:23:10 +00:00
sithlord48
55772e1133
chore: remove unused ARCH::vsnprintf
2025-01-29 21:07:31 +00:00
sithlord48
1085df54ed
refactor: Reuse compliance
...
build files and documentation: MIT
images / sources: GPL-2.0-only
breeze icons: LGPL-2.0-only
Microsoft MSM file, vc redist license
2025-01-27 17:05:47 -05:00
sithlord48
2040df435f
fix : #8107 : Remove legacy tray code
2025-01-23 19:16:29 +00:00