Commit Graph
354 Commits
Author SHA1 Message Date
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
Ovahlord d3e6aebf0e Core/Movement: merged a recast navigation update from master 2018-10-06 18:36:39 +02:00
Ovahlord f89253b320 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-06-06 15:53:54 +02:00
Ovahlord ad3dff69c1 Core/Cmake: removed an unneeded include since bzlib is always included by now 2018-06-05 14:53:09 +02:00
Ovahlord 2cdb3a60ec Core/CMake: fixed linking servers when tools are disabled 2018-06-05 14:48:48 +02:00
Ovahlord 1998dc1287 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2018-05-17 12:44:55 +02:00
jackpoz 927d7518ca Dep/Jemalloc: Update to Jemalloc 5.1.0 2018-05-12 13:24:51 +02:00
Ovahlord dd11469171 Tools: some followup fixes 2018-04-24 20:37:33 +02:00
Ovahlord cf62d7b08c Dep/Recast: Fixed area type merges 2018-04-24 19:30:55 +02:00
Ovahlord fbcb423f60 Tools: merged Master tools updates 2018-04-24 18:45:23 +02:00
ariel- 4e05743909 Dep: fix more zmq 2018-03-28 06:05:10 -03:00
ariel- 8572006a54 Dep: more libzmq hacks 2018-03-28 05:50:01 -03:00
ariel- dbb936d50d Dep: add missing files 2018-03-28 05:37:40 -03:00
ariel- 53c397c926 Buildsystem: more libzmq port 2018-03-28 05:23:35 -03:00
ariel- 1c11a87c12 Buildsystem: let libzmq choose appropiate polling mechanism 2018-03-28 05:15:53 -03:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
ariel- 7fff6c424f Compile zmq locally 2018-03-28 03:20:25 -03:00
Aokromes 4a268b3fd3 make travis happy 2018-03-07 16:45:39 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Shauren 83bee6000b Build: Fixed warning about disabling warnings 2017-12-17 14:17:51 +01:00
jackpoz a693169a7e Dep/Jemalloc: Enable MADV_FREE if available 2017-11-30 08:44:33 +01:00