16 Commits

Author SHA1 Message Date
Shauren
70a5bb451c Core/Misc: Port C++23 std::forward_like 2025-04-10 16:14:34 +02:00
Shauren
bd6b0d63d9 Fix codestyle 2024-12-16 12:04:14 +01:00
Shauren
b74d463e83 Fix build 2024-12-16 12:00:35 +01:00
Shauren
ed666e4e8c Core/Misc: Fixed build with c++23 enabled
Closes #30511
2024-12-16 11:56:03 +01:00
Shauren
f06387b5eb Fix nopch build 2024-12-01 19:48:49 +01:00
Shauren
3e2abd2535 Core/Misc: Port std::ranges::contains from c++23 2024-12-01 19:05:26 +01:00
Shauren
dfbf09f4b9 GCC build fix 2023-07-17 20:32:07 +02:00
Shauren
083b8d6c84 Core/Misc: Fix build with libc++
Closes #28909
2023-04-10 00:08:32 +02:00
Shauren
7830e5a7a1 Core/Misc: Migrate our c++20 advstd to standard features 2023-01-07 22:38:21 +01:00
Shauren
c37984fc6a Core/Util: Added new utilities
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity

(cherry picked from commit 7c08fc863a)
2022-02-03 00:24:10 +01:00
Treeston
ea0aa63d96 Core/Misc: C++17 cleanups, commit 2, the advstd commit
(cherry picked from commit 857f8d9231)
2021-12-24 00:37:21 +01:00
Shauren
2c78f4dd1f Core/Misc: Resolve c++17 TODOs left in code as comments 2021-12-21 18:29:52 +01:00
Treeston
0c681b6509 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*

(cherry picked from commit 66a87c4642)
2021-10-25 00:03:23 +02:00
Shauren
00d621921e Core/Misc: Add std::clamp to advstd 2020-12-08 18:16:47 +01:00
Treeston
77380f032b Core/Authserver: Split SRP6 into its own file (PR #25131)
(cherry picked from commit 7f7fa8b23d)
2020-08-03 21:16:30 +02:00
Treeston
e9392ad287 Core/Authserver: Authserver cleanup (PR#25093)
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above

(cherry picked from commit 210176fd91)
2020-08-03 19:39:00 +02:00