Commit Graph
374 Commits
Author SHA1 Message Date
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
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord 68439a1514 Core/Dep: add rapidjson dependency 2020-01-03 22:27:42 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
daMaex 983f28e73b Dep/SFMT: updated to newest upstream version from https://github.com/MersenneTwister-Lab/SFMT
* only needed files added
* used CMake and SFMTRand from https://github.com/TrinityCore/TrinityCore/pull/23240 (Thank you Artox)

# Conflicts:
#	dep/SFMT/CMakeLists.txt
2019-11-10 18:57:48 +01:00
daMaex 4f438e5cb6 Dep/efsw: updated efsw to newest version (#23894) 2019-11-06 03:11:35 +01:00
daMaex abd3d58d57 added jemalloc configuration to CMake for CPU_SINWAIT (#23898) 2019-11-05 16:06:44 +01:00
jackpoz 7e5e553bac Dep/Jemalloc: Update to Jemalloc 5.2.1 2019-11-05 16:06:13 +01:00
Ovahlord 315bb1199f Dep/Recast: restored a change that got lost during merging 3.3.5 changes 2019-10-26 02:14:32 +02:00
Shauren 7dacfff2ef Core/Build: Fix build with boost 1.71 2019-09-14 14:31:18 +02:00
Ovahlord a723be6a64 Core/Dep: fixed build with boost 1.71 2019-09-14 02:59:19 +02:00
jackpoz 0b79415e59 Buildsystem: Fix finding VS 2019 compiled boost libs 2019-09-12 01:09:04 +02:00
jackpoz 6f19b3980f Dep/Jemalloc: Update to Jemalloc 5.2.0 2019-05-12 01:23:06 +02:00
jackpoz 6fbf6d73db Dep/Recast: Update recastnavigation to https://github.com/recastnavigation/recastnavigation/commit/54bb0943e5174a71eeeca11919920f685760a4f0
(cherry picked from commit e061663508191f7782dd62c7e13b5ea804f58f67)

# Conflicts:
#	dep/recastnavigation/Detour/Source/DetourCommon.cpp
2019-04-14 12:11:34 +02:00
Ovahlord bd58cb3ab1 Core/MMaps: Fix infinite loop in Detour (ported commit: c602220e02bed1ad76c9e60064eeec5fd97bfe80) 2019-03-03 05:27:55 +01:00
Ovahlord 8acc08fcba Dep: merged RecastNavigation updates from 3.3.5 branch 2019-02-25 08:25:59 +01:00