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
sithlord48
37bc70896b
chore: remove unneeded includes in lib/base/String
2025-03-25 14:11:23 +00:00
sithlord48
f9c8d08ff7
chore: remove unused string::splitString
2025-03-25 13:52:49 +00:00
sithlord48
55c611f754
chore: remove unused string::findReplaceAll
2025-03-25 13:52:49 +00:00
sithlord48
541e30f406
chore: remove unused string::removeFileExt
2025-03-25 13:52:49 +00:00
sithlord48
4b24b5b38d
chore: remove unused string::removeChar
2025-03-25 13:52:49 +00:00
sithlord48
df8500178b
chore: remove unused CaselessCmp::cmpEqual
2025-03-25 13:52:49 +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
498ffe85c3
chore: remove StdSet and include set directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
cd3f9b2e7d
chore: remove StdMap and include map directly where needed
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
003f87db9e
chore: remove StdVector and include vector directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
86dca27e4c
chore: remove StdDeque and include deque directly where needed
2025-03-21 11:42:32 +00:00
sithlord48
13c325eb3f
chore: rename lib/common/stdvector.h => lib/common/StdVector.h
2025-03-20 13:06:45 +00:00
sithlord48
a3ad66dfb0
chore: rename lib/common/stdset.h => lib/common/StdSet.h
2025-03-20 13:06:45 +00:00
sithlord48
3bad718bb7
chore: rename lib/common/stdmap.h => lib/common/StdMap.h
2025-03-20 13:06:45 +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
5e1aa9eb5d
chore: rename lib/common/stddeque.h => lib/common/StdDeque.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
0138372871
chore: rename lib/base/log_outputters => lib/base/LogOutputters
2025-03-20 13:06:45 +00:00
sithlord48
9e78cb55aa
chore: rename lib/base/finally.h => lib/base/FinalAction.h
2025-03-20 13:06:45 +00:00
Kentaro Hayashi
dd895ed99f
Fix typos Recieve in methods
...
...Recieve... =>
...Receive...
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2025-03-17 09:38:18 -04:00
Nick Bolton
890fd61e6e
refactor: Move ownership of Windows daemon file log outputter to Log
2025-02-28 17:58:16 +00:00
Nick Bolton
5a7f6bd1c0
refactor: Remove old Windows TCP IPC implementation (replaced by Qt equivalent)
2025-02-28 17:58:16 +00:00
Nick Bolton
f56a3ba305
refactor: Rename param for Log::insert to make adoption clearer
2025-02-28 12:57:15 +00:00
Nick Bolton
0bca094fce
chore: Explain use of new for all log outputters
2025-02-28 12:57:15 +00:00
sithlord48
6de1920d88
chore: remove bufferedLogView
2025-02-25 06:53:57 -08:00
sithlord48
5a71d63923
refactor: secureutils add pemFileCertFingerprint
2025-02-12 13:41:45 +00:00
sithlord48
39da277ead
refactor: use vector<uint8_t> for keys
2025-02-12 13:41:45 +00:00
sithlord48
43c6bec790
Revert "feat!: Add support for FingerPrintDatabase"
...
This reverts commit 8f219b735e .
2025-01-28 19:31:03 -05:00
Vamshi Maskuri
8f219b735e
feat!: Add support for FingerPrintDatabase
2025-01-28 20:33:11 +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
c2b3f551d2
chore: String update copyright
2025-01-25 15:43:44 +00:00
sithlord48
f255d77eee
chore: add string::fromHex
2025-01-25 15:43:44 +00:00
sithlord48
3125eba014
chore: add string::fromHexChar
2025-01-25 15:43:44 +00:00
sithlord48
9b1489384c
chore: String toHex should return a string not do inplace conversion
2025-01-25 15:43:44 +00:00
sithlord48
ac54a97a3f
chore: rm use of "Arch" from "String"
2025-01-25 15:43:44 +00:00
sithlord48
793f40e582
chore: remove basic_types.h
2025-01-14 20:30:45 +00:00
sithlord48
96092df4fc
refactor: replace UInt32 with uint32_t
2025-01-14 20:30:45 +00:00
sithlord48
7487eeaa3a
refactor: replace UInt16 with uint16_t
2025-01-14 20:30:45 +00:00
sithlord48
ba11eba91e
refactor: replace UInt8 with uint8_t
2025-01-14 20:30:45 +00:00
sithlord48
6c95daf0a1
chore: remove stdstring.h use include <string> instead
2025-01-08 00:11:34 +00:00
sithlord48
3991e0c1a1
refactor: use std::string in place of String
...
basedon: https://github.com/debauchee/barrier/pull/709
2025-01-08 00:11:34 +00:00
Vamshi Maskuri
ab44559df6
fix(CVE-2021-42076): Enforce maximum message length to prevent memory exhaustion
...
based on barrier: debauchee/barrier@7ab8e01 , debauchee/barrier@cc36982 ,
debauchee/barrier@e33c81b , debauchee/barrier@af90f39 , debauchee/barrier@fd5295e
2024-12-26 10:45:21 +00:00
Pedro Navarro
8aec0dd5bb
fix: UTF-16 surrogate handling.
...
The data pointer needs to move before decoding the second
surrogate, and not after. The first surrogate was begin decoded
again, resulting in an invalid codepoint.
This affected clipboard operations originating on Windows machines,
where the text is encoded in UTF-16 and copying characters from a
high plane (like emojis) was broken.
2024-12-18 08:28:47 -05:00
sithlord48
2349ce7f52
chore: replace simple cases of typedef with using
2024-12-04 10:40:58 -05:00
sithlord48
ba97d63403
build(lib/base): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
9b9ecb0d05
chore: Adjust Clang-format linter rules
...
120 Column Lines
Block Indent for Bracket Align
Custom Line Break Rules
No Single Line Functions
2024-10-17 21:38:29 +01:00