389 Commits
Author SHA1 Message Date
Shauren 30aab19ce5 Dep/Boost: Remove linking boost::system library, it is fully header only since 1.89 and has been just a empty dummy library since 1.69
(cherry picked from commit c87a004a1688f5dfe463493fbcd47027ea1dcf2e)
2026-07-25 12:24:18 +02:00
Ovahlord 2851c594bd Dep/StormLib: added compile definition __STORMLIB_NO_STATIC_LINK__ to fix StormLib compilation under MSVC 2026-07-25 12:20:26 +02:00
Ovahlord 8075d11c5d Dep/StormLib: updated StormLib to https://github.com/ladislav-zezula/StormLib/commit/1df38c1f9cba98d2b6169ad04a84cd4d956fea38 2026-06-08 10:49:21 +02:00
Ovahlord 79f97cb6f8 Dep/CMake: include bzip only when building tools 2026-06-08 08:51:05 +02:00
Shauren 3a0277a86a Dep/Boost: Search for all binary compatible boost installations, not only the one exactly matching MSVC toolset
(cherry picked from commit d808284cde9ec0079d16e6d02d58c3c100987341)
2026-06-07 21:23:01 +02:00
Shauren 34ecbcd277 Dep/g3d: Fix warnings with gcc 16
(cherry picked from commit a4cdde85c2adc6613006d25cd124e73b7a7a9e87)
2026-06-07 21:20:32 +02:00
Shauren 6c9785127f Dep/g3d: Build fix for gcc on windows
(cherry picked from commit 2371cabb29fbd650b3e059a8c983f35fa5d54442)
2026-06-07 21:20:27 +02:00
Ryan TurnerandFlyingArowana 4c7cb78247 Cmake: include check_symbol_exists in fmt cmakeLists txt file to fix cmake under windows (#466)
Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200.
The C compiler identification is MSVC 19.44.35222.0
The CXX compiler identification is MSVC 19.44.35222.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Detected 64-bit platform
MSVC: Minimum version required is 19.32, found 19.44.35222.0 - ok!
MSVC: 64-bit platform, enforced -D_WIN64 parameter
MSVC: Enabled increased number of sections in object files
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
Found MySQL:
Found Git: C:/Program Files/Git/cmd/git.exe (found suitable version "2.47.0.windows.2", minimum required is "1.7")
Found MySQL:   found components: binary
Found MySQL executable: C:/Program Files/MySQL/MySQL Workbench 8.0 CE/mysql.exe

* TrinityCore revision   : 716f480b79 2026-05-05 11:31:32 +0200 (master branch)

* Install core to        : C:/Program Files (x86)/TrinityCore

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (static)
* Build map/vmap tools   : Yes (default)
* Build unit tests       : No (default)
* Unity build enabled    : No (default)
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Show source tree       : Yes (hierarchical)
* Use GIT revision hash  : Yes (default)

Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
Boost toolset is unknown (compiler MSVC 19.44.35222.0)
CMake Error at dep/fmt/CMakeLists.txt:18 (check_symbol_exists):
  Unknown CMake command "check_symbol_exists".

Configuring incomplete, errors occurred!

Co-authored-by: FlyingArowana <TheSCREWEDSoftware@users.noreply.github.com>
2026-06-07 19:45:01 +02:00
Shauren d2c42d6f0f Dep/jemalloc: Update to 5.3.1
(cherry picked from commit f555d9992caabed1eff90a34fb57225ab0e32a9b)
2026-05-05 11:20:41 +02:00
Shauren b17996419b Dep/jemalloc: Update to 5.3.0
Closes #31684

(cherry picked from commit ec31dc8d3ce302e42c26359adc894bd736a45fb2)
2026-02-28 11:17:30 +01:00
Ovahlord 4bc19db799 CMake: ported missing cmake updates which prevented jemalloc from building 2025-07-30 21:47:38 +02:00
Ovahlord 64b77e359d Core/Misc: ported cryptography updates and all that entrails from 335/master and killed bnetserver 2025-07-21 19:04:56 +02:00
Shauren fd7d91a1d5 Dep/g3d: Enable PCH
(cherry picked from commit e9a2f84fd3f203a1942c87c5c9c38b5b4ff6d051)
2025-06-15 15:14:55 +02:00
Ovahlord 6a3ac4e8df Dep: bumped utfcpp to version 3.2.3 2025-06-14 13:18:09 +02:00
Ovahlord 94f1ac8498 Revert "Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring"
This reverts commit 57416b873f.
2025-06-07 11:40:26 +02:00
Ovahlord 57416b873f Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring 2025-04-04 23:22:12 +02:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +01:00
Ovahlord cd107956f5 Build/CMake: disable unity builds for external dependencies as their support for unity builds was rather hacky and relied too much on random factors 2023-12-08 18:14:22 +01:00
Ovahlord b49f95e1e9 Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts 2023-10-09 21:40:38 +02:00
funjoker 0a365fb757 Dep/boost: Set required boost to 1.78 2023-10-05 21:08:53 +02:00
Ovahlord ab1b089b80 Dep/StormLib: fixed debug build 2023-08-19 10:13:37 +02:00
funjoker 9d6a808ba6 Tools/Launcher: Add launcher as alternative to patcher (#409)
* Tools/Launcher: Introduce version 1 of the client launcher/patcher

the launcher downloads all needed modules and patches the needed one

the launcher patches the RSA key in memory before WoW window opens

the launcher injects the client_patcher_xx.dll inside Wow

the client_patcher_xx.dll hooks LoadLibraryW and awaits Battle.net.dll load

the client_patcher_xx.dll patches the Battle.net.dll memory before it is returned to process

client_patcher_xx.dll unhooks itself

* Tools/Launcher: MinHook only for tools and on windows
2023-07-30 18:39:03 +02:00
Daniel S. Reichenbach a7527a8698 Core/Misc: added support for OpenSSL 3, dropped support for OpenSSL 1.0 and fixed build for Fixed build for MariaDB 2023-07-07 21:01:49 +02:00
Ovahlord f34534465a Build: enable C++20 and updated all compiler requirements
* ported some header and cmake updates from master branch
2023-07-04 23:49:57 +02:00
Shauren 222a3f2203 Build: Silence CMake warnings about boost version being too new 2023-06-12 14:35:24 +02:00
Shauren 6eb536f09c Build: Update required cmake version to 3.18
* Remove cotire

# Conflicts:
#	dep/PackageList.txt
2023-06-05 14:44:56 +02:00
funjoker a0ce411c0d CircleCI: Update to new images (#28243)
* Tests: Update Catch2 to v2.13.9

(cherry picked from commit 189ea0b1a5e4bbaa88638aee54934d4e540ccb50)
2023-05-19 21:18:33 +02:00
Shauren 37c6835d7a Dep/rapidjson: Upgrade to Tencent/rapidjson@27c3a8dc0e 2022-12-30 17:42:01 +01:00
Ovahlord 2e47ee3f4c Core/Util: replace SMFT rng with PCG 2022-10-30 12:04:30 +01:00
Shauren f442c684cc Dep/zlib: Upgrade embedded zlib to 1.2.12 2022-04-14 11:40:00 +02:00
Shauren 93259bc282 Build: Never automatically link any boost library with a #pragma comment(linker) encountered in boost headers 2022-02-20 20:27:55 +01:00
Shauren 5ad23e61e4 Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
# Conflicts:
#	dep/boost/CMakeLists.txt
2022-02-20 20:27:35 +01:00
Shauren 9ab7c6e8f6 Fixed -Wdeprecated-copy warning in G3D 2022-01-16 19:37:03 +01:00
Shauren df2f390aab Dep/gSOAP: Upgrade to 2.8.117
(cherry picked from commit 172e5c3577f99331743f7d3c81de738811781552)
2021-12-22 17:38:45 +01:00
Roc13xandShauren 69aeb1e8a7 Build: Update FindOpenSSL.cmake and remove custom FindGit (#294)
(cherry picked from commit 77596dba67483c8050c3d3ea1c4299360fde6beb)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-10-11 22:50:02 +02:00
Peter Keresztes Schmidt d271e59818 Dep/fmt: Upgrade to 7.1.3 (#26816)
Printing enum values as integers was broken before 7.1.0.
Upgrade the library so we include commits

https://github.com/fmtlib/fmt/commit/20d4f2e83677be035a15693127e404c4a5d68ac9
https://github.com/fmtlib/fmt/commit/86287b8d5625ef390da6ef10fc77a872b8ad41ac

which fix the issue.
2021-09-11 17:14:20 +02:00
Carbenium 831c45b1da dep: Add catch2 unit test framework and wire it up
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time.

Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target.

CircleCI: Run unit tests
(cherry picked from commit 6a28ee7b2a4269aa7e43265d1cd0067537e3e883)
2021-07-29 19:07:52 +02:00
Shauren fbffbbbe14 Dep: Switch to boost process instead of old standalone version 2021-02-19 15:21:15 +01:00
Ovahlord 0299fa4fe1 Core/Misc: replace boost::optional with std::optional 2021-02-19 14:07:43 +01:00
jackpoz a177a5977d Dep/Boost: Set boost msvc version on Windows to 14.2
14.2 is the only supported one (Visual Studio 2019)
2020-12-30 19:31:40 +01:00
Winfidonarleyan cc1df1560c Dep/fmt: update fmt library to 7.0.3
# Conflicts:
#	dep/PackageList.txt
#	dep/fmt/CMakeLists.txt
#	src/common/Utilities/StringFormat.h
2020-09-11 22:53:51 +02:00
Ovahlord 23b4961f7d Dep/Boost: raise minimum requires boost version for Linux systems to 1.68 2020-09-09 22:07:53 +02:00
Giacomo Pozzoni e89aef40c5 Dep/Boost: Set boost version to 1.67 on *nix and 1.70 on Windows (#25069)
# Conflicts:
#	dep/boost/CMakeLists.txt
2020-07-18 22:38:00 +02:00
Shauren 78e7687a05 Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
# Conflicts:
#	cmake/compiler/clang/settings.cmake
2020-07-13 20:37:26 +02:00
Shauren c8a95068e5 Build: Fix gcc pch builds 2020-06-22 11:31:43 +02:00
Giacomo Pozzoni 85532de2e9 Handle different slopes in mmaps (#24765)
* Tools/MMAPs: Remove input argument --maxAngle

Remove input argument --maxAngle . This should be just hardcoded in MapBuilder::GetMapSpecificConfig() so all settings are easily found in the same place instead of being spread around.

* Tools/MMAPs: Add new area type NAV_AREA_GROUND_STEEP

Add new area type NAV_AREA_GROUND_STEEP for ground with slope in the range (55, 70] .
NAV_AREA_GROUND is used for ground with range [0, 55] .
NAV_AREA_GROUND_STEEP takes priority over NAV_AREA_GROUND.

* Tools/MMAPs: Fix NAV_GROUND_STEEP flag not being saved in the mmtile

* Core/PathFinding: Implement NAV_GROUND_STEEP flag

Implement NAV_GROUND_STEEP flag, used only by Creatures that are in combat or evading.

* Distinguish between RC_WALKABLE_AREA and NAV_AREA_GROUND.

* Allow mobs in combat to walk on steeps up to 80°

* Allow mobs in combat to walk on steeps up to 85°.
Disable rcFilterLedgeSpans() filter as it removed long steep spans.

* Increase cost of steep spans to try making creatures walk around obstacles instead of walking on them

* Revert last commit
# Conflicts:
#	src/server/game/Movement/PathGenerator.cpp
2020-06-18 02:16:11 +02:00
Giacomo Pozzoni 9fdf598792 Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546)

* Build system: Set -Wno-deprecated-copy only for clang 10

(cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006)

* Build system: Print found git version when warning about it being too old

(cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb)

* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73

(cherry picked from commit 161944b7643c62f9e7705c64e42d42e5d07f1959)

* Remove some code that was already removed from 335 and then cherry-picked into master

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 8c09b6e58b0e4f33b7a8e376a28709e693cf2914)
2020-06-11 20:24:00 +02:00
Shauren 8adca7637b Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73 2020-06-11 00:36:53 +02:00
Shauren ad377241f9 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e968c6ee3a2682ae2106735daeccbd7)
(cherry picked from commit b64583b7c14da408b34d2c92a02e5529594ef181)
2020-04-16 13:00:59 +02:00
jackpoz fdd986ec46 Dep: Inherit C++ language version from CMake 2020-03-16 14:14:46 +01:00