sithlord48
023e8dc78e
chore: remove unused ARCH->showLog
2025-10-27 15:36:40 +00:00
sithlord48
4be0dd3d9d
chore: remove unneeded ArchDaemonUnix subclass
2025-10-17 09:41:56 +01:00
sithlord48
dbc3229b40
refactor: ArchNetworkBSD, set addr to nullprt after delete to avoid returning invalid pointer
2025-10-17 09:07:21 +01:00
sithlord48
04b3f5c769
chore: remove unused name parameter from ARCH->daemonize
2025-10-09 13:30:41 +01:00
sithlord48
8ea2671e65
refactor: cleanup daemonApp args
2025-10-07 13:01:47 +01:00
sithlord48
38a74d7d0f
refactor: Arch::getHostName(), use QSysInfo::machineHostname in place of system specific impl
2025-09-11 11:18:12 +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
Jonathan Wakely
f98f8b10d1
refactor: Construct std::string outside critical section
...
There's no need to hold the mutex while constructing a `std::string`
from the `char` string.
Also use `inet_ntop` instead of the potentially thread-unsafe
`inet_ntoa` that might use a static buffer for the result.
This makes the `INet` case match the `INet6` case below.
2025-09-04 16:56:46 +01:00
sithlord48
bcb6c368b1
refactor: remove unneeded common/Common includes
2025-08-18 11:45:21 +01:00
sithlord48
85d89f9846
refactor: XArch Classes => Arch Exception 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
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
865365b2fa
chore: add noreturn to more methods
2025-07-07 17:53:56 +01: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
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
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
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
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
fa1ee0690e
refactor: use std::mutex in ArchNetworkBSD
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
eac59768ea
build: remove HAVE_SYS_SOCKET define should be present on all unix systems
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
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
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
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
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