Commit Graph

676 Commits

Author SHA1 Message Date
An-Zheng
7c7873b73b Core/Network: Refactor duplicate code in Socket (#30970) 2025-08-27 19:09:34 +02:00
Shauren
a27e3a52a0 Core/Utils: Added .contains member function to FlatSet 2025-08-15 12:37:47 +02:00
Shauren
764b6a5a93 Core/Utils: Fix nopch build with gcc 14 2025-08-15 12:37:15 +02:00
Shauren
f26f6c6220 Core/Misc: Add splice/pop_front/pop_back to LinkedListHead 2025-07-18 20:06:00 +02:00
Shauren
5de252ae84 Core/Misc: Move large functions out of header files 2025-07-13 13:40:31 +02:00
Shauren
8fad176f5f Core/CrashHandler: Fix nopch build 2025-07-13 11:44:10 +02:00
Shauren
b4f7948dfb Core/Database: Add Empty and CancelAll functions to AsyncCallbackProcessor and enable callback concept check 2025-07-09 20:14:21 +02:00
Shauren
2c74626e66 Core/Random: Use standard aligned operator new and remove RandomEngine singleton instance (it is trivially constructible) 2025-07-09 12:20:10 +02:00
Shauren
dc0c707213 Core/CrashHandler: Remove MAX_PATH limit 2025-07-06 21:58:33 +02:00
Shauren
d62b412c92 Core/Misc: Remove StringFormat exception handling code from the header 2025-06-23 11:38:34 +02:00
Shauren
6502efbae8 Core/Misc: Remove extremely forgettable tiny utility function 2025-06-17 23:09:08 +02:00
Shauren
38f1955fca Core/Calendar: MSVC nopch fix 2025-06-17 12:36:14 +02:00
Shauren
36332d2463 Core/Misc: Remove a bunch of code from headers 2025-06-13 16:36:03 +02:00
Shauren
394d6d4563 Core/Network: Enable PCH 2025-06-11 22:18:49 +02:00
Shauren
1ae7cdd512 Core/Common: Update PCH content to include most commonly used headers 2025-06-11 16:35:31 +02:00
Shauren
1f5f245c02 Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict 2025-06-11 15:52:40 +02:00
Shauren
7657a289d7 Core/Misc: Kill copy/move constructors for singleton classes 2025-06-10 13:12:33 +02:00
Shauren
ff6df050c5 Core/Misc: Remove boost/algorithm dependency 2025-06-08 14:37:54 +02:00
Shauren
f22321ede4 Tools/Extractors: Skip extracting visual only liquids (determined by LiquidMaterial flags) 2025-06-07 12:49:34 +02:00
Shauren
74d9da7f32 Core/Network: Make ip address formattable with fmt 2025-06-02 18:38:41 +02:00
Shauren
2d984fcade Core/Misc: Add end iterator/sentinel to make char const* work with std::ranges algorithms 2025-06-02 18:29:47 +02:00
Shauren
d2d0995097 Core/Misc: Move fmt::formatter forward declaration to a common header to reduce number of replacements needed when upgrading fmt to new major version 2025-06-02 13:12:52 +02:00
Shauren
85e621f01a Core/PacketIO: Remove ByteBuffer constructor from MessageBuffer 2025-05-23 14:41:39 +02:00
An-Zheng
d1f9b23825 Core/Network: Fix typo in AsyncAcceptor function name (#30975) 2025-05-22 15:10:21 +02:00
Shauren
4653638e18 Core/Misc: Add support for non-copyable types in LockedQueue 2025-05-19 21:20:46 +02:00
Shauren
17a783ce45 Core/Misc: Fixed some uninitialized variables 2025-05-19 15:54:59 +02:00
Shauren
fe788a5eeb Core/Misc: Silence some statis analysis false positive warnings 2025-05-19 14:41:23 +02:00
Shauren
546d23264c Core/Misc: Make string and string_view literal suffixes globally available 2025-05-13 11:41:54 +02:00
Shauren
ee251a94d6 Core/Config: Use std::string_view instead of std::string to lookup config values 2025-05-07 19:28:08 +02:00
Shauren
9d86423d8c Core/Utils: Added nullptr_t assignment operator to unique_weak_ptr (alias for .reset()) 2025-04-26 11:32:28 +02:00
Shauren
7eaa695581 Core/Conditions: Added conditions for automatic learning spells with SkillLineAbility::AcquireMethod = 4 2025-04-19 17:50:49 +02:00
Shauren
99bb2c6698 Core/Utilities: Added boost asio callback that transforms callback signatures from (error_code + other) to (boost::outcome) 2025-04-14 19:15:41 +02:00
Shauren
1b353abbf7 Dep/Boost: Support boost 1.88 2025-04-13 17:54:47 +02:00
Shauren
c8ab1b58b1 Core/Network: Minor include cleanup and add more required functions and typdefs to SslStream and BoostBeastSocketWrapper 2025-04-13 11:25:31 +02:00
Shauren
70a5bb451c Core/Misc: Port C++23 std::forward_like 2025-04-10 16:14:34 +02:00
Shauren
71b681bbf0 Core/Network: Move to separate project 2025-04-09 21:02:31 +02:00
Shauren
e8b2be3527 Core/Network: Socket refactors
* Devirtualize calls to Read and Update by marking concrete implementations as final
* Removed derived class template argument
* Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor
* Make socket initialization easier composable (before entering Read loop)
* Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2025-04-08 19:15:16 +02:00
Shauren
b267129ae0 Core/Misc: Simplify Trinity::invocable_r concept 2025-04-02 22:22:03 +02:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
dac15a32a6 Core/DataStores: Support non-uint32 ID fields 2025-03-02 13:45:26 +01:00
Shauren
67418a1aee Core/Utils: Added map key/value utility projections for std::ranges algorithms 2025-02-23 11:33:53 +01:00
Shauren
476b8951e1 Core/Utils: Allow using Trinity::IteratorPair with SelectRandomContainerElement 2025-01-21 12:58:43 +01:00
Shauren
cb4013efe6 Core/Misc: Added float chrono typedefs 2025-01-19 18:29:38 +01:00
Shauren
a43beb3e06 Core/Misc: Remove return type std::enable_if based SFINAE 2025-01-17 18:38:46 +01:00
Shauren
039acb20e4 Core/Network: Simplify worldserver port configuration: removed InstanceServerPort 2025-01-07 13:41:09 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Shauren
380dac62fd Core/Misc: Add concepts restrictions on container utilities for better compiler error messages 2024-12-31 13:35:35 +01:00
Shauren
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +01:00
Shauren
8228a53109 Core/Crypto: Added HMAC_SHA512 definition 2024-12-18 22:28:58 +01:00
Shauren
f8f7fb58cb Core/Crypto: Allow different AES key lengths 2024-12-18 22:28:34 +01:00