sithlord48
6ab1579d38
refactor: Log remove unneeded includes
2025-11-04 10:47:14 -05:00
sithlord48
fc6e9f1447
refactor: Simplify log::makeMessages method for getting current time by using QDateTime object
2025-11-04 10:47:14 -05:00
sithlord48
550f7c3e06
refactor HAS_FORMAT => HAVE_FORMAT
2025-10-31 12:21:47 +00:00
sithlord48
f4ca17ba3d
refactor: Remove RetryOnFailure, Client will always retry and Server will never retry
2025-10-29 08:32:58 -04:00
sithlord48
6b2c3c1844
chore: remove unused ILogOutputters:show
2025-10-27 15:36:40 +00:00
sithlord48
023e8dc78e
chore: remove unused ARCH->showLog
2025-10-27 15:36:40 +00:00
re2zero
8226c4162b
fix: [build]Fix build issue without format support
...
add C++20 <format> support checks in Unix libraries and update logging format usage.
Log: Fix build issue without format support.
2025-10-24 15:08:11 +00: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
8db65da345
refactor: use QString to set log level value
...
fixes : #8999
2025-10-07 12:40:18 +01:00
sithlord48
abbfc91192
chore: PriorityQueue::comp add no_unique_address attritribute
2025-09-25 15:01:17 +01:00
sithlord48
e3f5e045b7
chore: FileLogOutputter::write use Static QFile::rename in place of local file method
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
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
347cb46f15
refactor: remove IEventJob
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
4eec183598
refactor: remove IInterface class, that only adds a virtual construcor
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
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
Nick Bolton
9a9bd7e262
chore: Improve logging for active sides
...
For the longest time, this log line has bugged me:
```
active sides: e
```
It's hex, but it looks like a bug, since there's no `0x` prefix. Also, most humans can't read hex, so I added a string representation.
New version:
```
[2025-08-06T11:56:00] DEBUG: active sides: LRT (0x0e)
```
2025-08-06 08:38:00 -04: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
92ae41852d
chore: remove Unused Stopwatch::double operator
2025-08-04 13:46:27 +01: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
sithlord48
a6068ad6f6
refactor: Log use std::format in place of snprintf, when not running on macOS...
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
49e36cfdc6
refactor: Event, make non default constructors explicit
2025-07-29 13:41:34 +01:00
sithlord48
db841f71bd
refactor: PriorityQueue, Use std::ranges version of heap methods
2025-07-29 13:41:34 +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
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
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
36e985d8ab
chore: add missing default for switches
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
66ddaca410
refactor: PriorityQueue::Swap make noexcept
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
sithlord48
ab4fbd1c85
refactor: use using enum EventTypes when possible to reduce verbosity
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
958e14cb13
refactor: remove XBASE related macros, fixes #8723
2025-06-30 20:55:06 +01:00
sithlord48
59ed15628e
refactor: remove redundant access specifiers
2025-06-20 09:39:26 +01:00
sithlord48
07a217f54f
refactor: concatenate Namespaces
2025-06-20 09:39:26 +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
84e289bc30
refactor: replace ARCH->time() with Arch::time()
2025-06-17 10:23:42 +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
d597d023b1
chore: use std::unique_ptr for eventQueueHandlers
...
ports input-leap/5044b79a4f98ea5da0b8cbe950123f061d4c1c5f
ported-by sithlord48
2025-05-28 09:54:04 +01:00
Povilas Kanapickas
807e60ded2
chore: use std::unique_prt for EventQueue's Buffer
...
port input-leap/9dbfd551cda4367bdc8067b5c3ca9c4027494503
ported-by sithlord48
2025-05-28 09:54:04 +01:00
sithlord48
e6a374369b
chore: use const for more local ref and pointer vars
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
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
9bdb4252e5
chore: remove goto in EventQueue, instead use a private processEvent method
2025-05-22 20:46:41 +01:00
sithlord48
c73729e72e
chore: static number number of priorities
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
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
486b5a491f
chore: LogOutputers add comments to empty overrides
2025-05-19 21:48:27 +01:00
sithlord48
037fee0e59
refactor: remove archConsole use its only implemented method directly in logOutputters
2025-05-19 21:48:27 +01:00
sithlord48
de583145d0
chore: remove unused deskflow::string methods toHex, fromHex, uppercase, fromHexChar
2025-05-13 11:32:02 -04: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
118f867fd1
refactor: Remove unused IEventQueue::getRegisteredType()
...
ported from a5b6017235
2025-05-05 17:17:01 -04:00
sithlord48
6aabb1e858
chore: XBase, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
9aec1ad479
chore: TMethodEventJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
c8d4a2186a
chore: TMethodJob use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
f68744a36d
chore: Stopwatch, use default for deconstructor and explicit constructor
2025-05-02 12:12:17 +01:00
sithlord48
183d660186
chore: PriorityQueue, use default for deconstructor / constructors
2025-05-02 12:12:17 +01:00
sithlord48
e20ef3ae55
chore: LogOutputters, use default for deconstructor / constructors
2025-05-02 12:12:17 +01:00
sithlord48
0bfb95996a
chore: FunctionJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
7d27031723
chore: FunctionEventJob, use default for deconstructor
2025-05-02 12:12:17 +01:00
sithlord48
ada495c681
chore: FinalAction, use default for constructor and explicit
2025-05-02 12:12:17 +01:00
sithlord48
e91b9867e0
chore: EventQueue, use default for deconstructor
2025-05-02 12:12:17 +01:00
Peter Hutterer
59df2db7b7
chore: Silence two compiler signedness warnings
...
Both trigger:
warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
In the first hunk we already checked for i < 0 so casting to size_t is
fine. In the second hunk we don't use i so we can pick the right type.
2025-04-30 12:04:43 +01:00
sithlord48
b6f7497c44
chore: Unicode, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
f6602baa36
chore: String, Use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
72091c6ac4
chore: Log, use auto where possible
2025-04-28 13:50:43 +01:00
sithlord48
fb5f80857b
chore: EventQueue, 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
db20c4b0c7
chore: lib/base/PriorityQueue remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
7bd3fc1eb5
chore: lib/base/LogOutputters remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
8fde0d764e
chore: lib/base/Log remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
e1eb4ebf98
chore: lib/base/FinalAction remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
4b06160f84
chore: lib/base/EventTypes remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
2160f7826f
chore: lib/base/EventQueue remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
7f6a68bb2f
chore: lib/base/Event remove unused headers
2025-03-25 14:11:23 +00:00
sithlord48
95521c53d6
chore: cleanup lib/base/Unicode includes
2025-03-25 14:11:23 +00:00
sithlord48
446847f4fb
chore: remove unneeded includes in lib/base/XBase
2025-03-25 14:11:23 +00:00