lee
370685457e
Build: Fix Linux aarch64 GCC build ( #29831 )
2024-03-27 10:50:07 +01:00
Shauren
7850107a42
Core/vmaps: Reset BIH::bounds on tree rebuilds
...
(cherry picked from commit 18200e1b88 )
2024-03-13 22:13:50 +01:00
Shauren
e3ecd87a76
Core/Utils: unique_trackable_ptr improvements
...
* Added comparison operators
* Added type casting helper functions
(cherry picked from commit f690b69338 )
2024-03-13 22:13:02 +01:00
Shauren
9ebf232d7e
Core/Utils: Added missing member access in unique_trackable_ptr move assignment operator
...
(cherry picked from commit 6b255efb2d )
2024-03-13 22:12:54 +01:00
Shauren
92547f4b31
Fix tests build
...
(cherry picked from commit 1f3ebbb23c )
2024-03-13 22:12:41 +01:00
Shauren
e48cedb3ed
Core/Misc: Fixed windows nopch build
...
(cherry picked from commit 261a237cfa )
2024-03-13 22:12:16 +01:00
Shauren
b0eee55897
Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a specialized variant of std::shared_ptr that enforces unique ownership
...
* This is intended to be used by external code unable to track object lifetime such as custom scripting engines
(cherry picked from commit 32e54b6bd1 )
2024-03-13 22:11:12 +01:00
Shauren
2cb5f7a81e
Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables)
...
(cherry picked from commit 0743a2f7bb )
2024-02-26 12:29:16 +01:00
Shauren
120b4d7cf4
Core/CrashHandler: Support ARM64
...
(cherry picked from commit 2441ddbea6 )
2024-02-26 12:29:16 +01:00
Shauren
5cb4f6aeaf
Core/Random: Use correct headers to obtain _mm_malloc definitions
...
(cherry picked from commit b9c2dca59f )
2024-02-26 12:29:16 +01:00
funjoker
ad44ddab34
Dep/Boost: Drop windows boost hacks ( #29358 )
...
(cherry picked from commit 17c69368a3 )
2024-02-26 12:29:16 +01:00
Shauren
66abca1593
Build: Cleanup boost CMakeLists from pre-c++11 flag checks
...
(cherry picked from commit c9f1606b76 )
2024-02-26 12:23:57 +01:00
Shauren
7ff70a6bff
Core/Crypto: Remove support for OpenSSL 1.0
...
(cherry picked from commit b8f18fad29 )
2024-02-26 12:17:31 +01:00
Shauren
c703497655
Build: Partial support for clang-cl
...
(cherry picked from commit 0b846b2107 )
2024-02-26 12:16:13 +01:00
Shauren
16f555f79e
Core/MMAPs: Sprinkle master branch thread safety on mmap loading code
2024-02-13 23:49:51 +01:00
Shauren
eb50b29ab3
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
...
(cherry picked from commit 333630b7de )
2023-12-02 15:57:09 +01:00
Shauren
e2b26f2038
Core/Locales: Revert back to using C locale for number formatting
...
(cherry picked from commit 1c6ee8a6bd )
2023-12-02 15:57:09 +01:00
Shauren
7be101ac67
Core/Locales: Set active code page and locale used by c string functions to utf8
...
Closes #29455
(cherry picked from commit b299902881 )
2023-12-02 15:57:09 +01:00
Shauren
45a5b6a9f0
Core/Calendar: Implement different timezone support for ingame calendar
...
Closes #8390
Closes #29427
(cherry picked from commit b888b1b09f )
2023-12-02 15:57:03 +01:00
Shauren
8b73bb509e
Core/CrashHandler: Add a timeout to retrieving windows version from WMI
...
(cherry picked from commit 36a6488405 )
2023-11-19 21:22:40 +01:00
Shauren
6b9899e907
Core/Misc: mac build fix
...
(cherry picked from commit 752309fbe3 )
2023-09-17 01:07:49 +02:00
Shauren
08eac7a09a
Core/Misc: Silence compile warning in boost::process with version 1.83
...
(cherry picked from commit d8c98579d4 )
2023-09-13 09:25:35 +02:00
Shauren
451314241d
Core/Misc: Modernize comparison operators
...
(cherry picked from commit f0a862e71b )
2023-08-24 11:48:45 +02:00
Kelno
1bea4aab45
Core/EventMap: Refactor and modernize EventMap ( #29183 )
2023-08-19 23:57:57 +02:00
Shauren
deec17d8ec
Core/Logging: Fixed a few missed log format statements
2023-08-17 11:15:15 +02:00
Shauren
26836f8655
Core/Logging: Minor compile time reducing refactor of log message formatting
...
(cherry picked from commit 576ca241ec )
2023-08-15 22:03:47 +02:00
Shauren
a4299c2a4b
Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
...
(cherry picked from commit 3260b94dd6 )
2023-08-15 21:59:52 +02:00
Shauren
b9201d3c07
Dep/fmt: Upgrade to 9.1.0
...
(cherry picked from commit 17b20a3353 )
2023-08-15 20:11:02 +02:00
Shauren
aaa6e73c8c
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
...
(cherry picked from commit d791afae1d )
2023-08-15 20:10:04 +02:00
Shauren
3144566584
Core/Misc: Include cleanup, 2023 edition
...
(cherry picked from commit 92ed5e8af1 )
2023-08-12 17:56:16 +02:00
Shauren
27cd5a90f4
Core/Misc: Replace enable_if overload selection with if constexpr
...
(cherry picked from commit a53e4a5756 )
2023-08-12 17:56:16 +02:00
Shauren
d251ab647d
Core/Misc: Migrate our c++20 advstd to standard features
...
(cherry picked from commit 7830e5a7a1 )
2023-08-12 17:56:16 +02:00
Shauren
cccc062ea0
Core/Misc: Remove boost::heap::fibonacci_heap from header files
...
(cherry picked from commit e8e330addd )
2023-08-12 17:56:15 +02:00
Shauren
f5a2e2ae13
Core/Misc: Replaced boost::container::static_vector in packet classes with plain vector with custom static storage allocatlr
...
(cherry picked from commit b65c3f5f4a )
2023-08-12 17:56:15 +02:00
Shauren
30adff16ae
Core/Utils: Replace boost flat_set with our own
...
(cherry picked from commit 42fbcf2fc5 )
2023-08-12 17:56:15 +02:00
Shauren
73e7f0fe6d
Core/Misc: Added a include hack for msvc <chrono> to use only c++17 bits from it
...
(cherry picked from commit 585900f42d )
2023-08-12 14:27:25 +02:00
Shauren
203bc3afa0
Core/Threading: Modernize ProducerConsumerQueue a bit to fix GCC build
...
Closes #28607
(cherry picked from commit 85d5f4bc06 )
2023-08-12 14:24:29 +02:00
Shauren
b7287e85e4
Core/Misc: Fixed deprecation warnings for c++20
...
(cherry picked from commit ba9bbbc9d0 )
2023-08-12 14:24:24 +02:00
Shauren
9ad420e531
Core/Misc: Fixed IpLocation crashes on invalid ip input
...
(cherry picked from commit fff797aff5 )
2023-04-13 00:20:04 +02:00
Shauren
d82b2b1a67
Core/Threading: Create ThreadPool class
2022-10-08 21:22:28 +02:00
Lloyd Dilley
2b8fc95fde
Core/Misc: Fix *BSD compile errors ( #28287 )
2022-10-01 17:17:46 +02:00
ihm-tswow
6e37438e5d
Core/Debugging: Improve SymInitialize fail message ( #28206 )
...
* clarify that this is not the crash error, but an error with the crash report itself
* improve formatting and message boundaries
* warn the reader that this means the call stack symbols may be inaccurate
2022-08-19 11:14:07 +02:00
Kargatum
13d86762e6
Core/Crypto: Correct header guard in SessionKeyGenerator.h ( #28116 )
2022-07-15 22:33:22 +02:00
daMaex
9368823c8d
Core/Crypto: Fixed build with openssl 1.1
2022-06-16 12:37:00 +02:00
Shauren
27259f8524
Core/Crypto: Fixed loading legacy openssl provider for RC4 on windows
2022-06-16 12:37:00 +02:00
daMaex
9fca5e9117
Core/Crypto: Updated ARC4 code with openssl 3.0 support
2022-06-16 12:37:00 +02:00
daMaex
0b6f77a006
Core/Crypto: Fixed GenericHMAC::Finalize wth openssl 3.0
2022-06-16 12:37:00 +02:00
Shauren
ad3df36542
Core/Crypto: Fixed EVP_PKEY reference counting for copied objects
...
Closes #27943
(cherry picked from commit aa6a0f2431 )
2022-06-16 12:37:00 +02:00
Shauren
77091ed599
Core/Crypto: Switch away from most deprecated openssl functions and removed upper version limit
...
(cherry picked from commit bc87f7b337 )
2022-06-16 12:37:00 +02:00
Shauren
e23a9943dd
Core/Misc: Prefix include guard to avoid possible conflict with external library
...
(cherry picked from commit aefce9a25c )
2022-06-16 12:37:00 +02:00