Commit Graph

638 Commits

Author SHA1 Message Date
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
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
bb583baef6 Core/Utils: Mark Trinity::HashFnv1a as constexpr 2024-12-15 15:57:55 +01:00
Shauren
62dbb0619b Core/Vmaps: Minor cleanup (formatting) and documentation updates for BIH::build copy vs move choice 2024-12-11 19:44:03 +01:00
Shauren
c81183a660 Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer 2024-12-09 21:13:18 +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
53b4501ce9 Core/Vmaps: Don't ignore model rotation when calculating liquid level
Closes #30205
2024-11-28 17:08:56 +01:00
Shauren
898a941b10 Adjust previous commit to compile with clang on systems that have gcc 12 installed 2024-11-27 13:55:47 +01:00
Shauren
2a6fd947de Core/Misc: Modernize and improve GetMainPartOfName 2024-11-26 20:14:35 +01:00
Stephan T. Lavavej
96956b0e5b Core/Misc: Remove non-portable hack of including <__msvc_chrono.hpp> - will break in future MSVC release (#30460) 2024-11-23 01:56:07 +01:00
Shauren
c522e5f4c2 Core/Misc: Support IPv6 ip2location 2024-11-14 00:13:18 +01:00
Shauren
af4dcc93ed Core/Networking: Support IPv6 2024-11-12 13:54:43 +01:00
Shauren
1a41281e37 Core/Misc: Replace std::ostringstream based formatting with Trinity::StringFormat where possible in common and database projects 2024-10-16 18:58:45 +02:00
Shauren
d3294568b8 Core/Crypto: Respect OPENSSL_MODULES environment variable if set by user that points to where legacy.dll should be found 2024-10-09 19:08:39 +02:00
Meji
086632d871 Core/Chat: Improve ingame language translation (#30298) 2024-10-05 11:11:13 +02:00
Shauren
b13b5142f1 Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow it to create deleters with compile time constant functions (reduces its size to just sizeof(void*)) 2024-10-01 21:03:44 +02:00
Shauren
89f490bdcd Core/DataStores: Removed overriding field sign type based on db2 column compression 2024-09-27 20:05:36 +02:00
Shauren
fff12eafdf Core/Common: Catch and log child process creation errors 2024-09-23 14:17:33 +02:00
Shauren
f3b8503ba6 Core/CrashHandler: Output inlined stack frames 2024-09-23 00:18:06 +02:00
Shauren
e76df583f0 Core/CrashHandler: Make WheatyExceptionReport fields not static to ensure consistent destruction order 2024-09-23 00:18:06 +02:00
Shauren
7ac0c685dd Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors 2024-09-20 13:19:42 +02:00
Shauren
a21e7c738e Build: Automatically include WindowsSettings.manifest in all executables instead of listing it separately as source file in every target 2024-09-15 12:55:50 +02:00
Shauren
052f2d0a81 Core/Common: Compile ServiceWin32 as part of common project instead of directly adding its source files to both server executables 2024-09-15 12:40:54 +02:00
Shauren
fd0a7ba871 Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it 2024-09-15 12:13:54 +02:00
Shauren
f270686201 Core/Common: Output stdout/stderr from child process without waiting for it to finish 2024-09-14 14:45:40 +02:00
Shauren
dbe8d1f11e Core: Remove boost iostreams dependency 2024-09-14 13:50:56 +02:00
Shauren
652d490b06 Core/Misc: Fix GitRevision::GetHostOSVersion compilation on arch linux, TRINITY_BUILD_HOST_DISTRO_VERSION_ID is not defined there 2024-09-10 12:45:40 +02:00
Shauren
e8740fb2e1 Core/Misc: CompilerDefs/GitRevision improvements
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)
2024-09-03 12:06:16 +02:00
Shauren
edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Ovahlord
bebd02925d Core/Logging: fixed nopch build for msvc compilers (#30126) 2024-07-31 16:37:48 +02:00
Shauren
ab5fab5ee9 Build: Fixed CMake 3.30 FindBoost deprecation warning 2024-07-18 12:42:31 +02:00
Shauren
b3763c338d Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor 2024-07-17 10:30:09 +02:00
Shauren
2756ca1c35 Core/GameObject: Implemented NotLOSBlocking door property 2024-07-17 00:21:03 +02:00
Shauren
81bec6954f Core/Logging: Minor internal refactor
* Avoid formatting to output with fprintf
* Use vector instead of unordered_map to store appenders in Logger
2024-07-16 16:31:40 +02:00
Shauren
77fe2745fe Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren
054dd3596f Core/Utils: Transform char toUpper/toLower functions into callable function objects to better integrate with std algorithms (not calling through a function pointer allows inlining) 2024-07-14 13:12:10 +02:00