479 Commits
Author SHA1 Message Date
Shauren da4eedf07b Dep: Fix build on m1 mac 2023-03-25 00:06:32 +01:00
Shauren fd154940ed Dep/CascLib: Update to ladislav-zezula/CascLib@a5080b5794 2023-02-06 20:08:39 +01:00
Shauren 592e01cf7a Build: Fixed tools only build 2023-02-06 00:01:56 +01:00
Shauren 74dc88eb54 Dep: Upgrade utfcpp to 3.2.3 2023-01-31 18:17:34 +01:00
Shauren 17b20a3353 Dep/fmt: Upgrade to 9.1.0 2023-01-08 22:03:44 +01:00
Shauren b65c3f5f4a Core/Misc: Replaced boost::container::static_vector in packet classes with plain vector with custom static storage allocatlr 2023-01-06 16:52:44 +01:00
Shauren ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren c9f1606b76 Build: Cleanup boost CMakeLists from pre-c++11 flag checks 2022-11-05 01:08:17 +01:00
Shauren c4564566b0 Dep/CascLib: Update to ladislav-zezula/CascLib@136c6e0553 2022-11-03 01:15:30 +01:00
Shauren 8da6d1ca76 Dep/g3d: Document new patch 2022-10-01 17:34:10 +02:00
Lloyd Dilley 1c36441b7c Core/Misc: Fix *BSD compile errors (#28287)
(cherry picked from commit 2b8fc95fdec69ca5c057c2e63a1313d8165d44ea)
2022-10-01 17:33:25 +02:00
funjoker 189ea0b1a5 CircleCI: Update to new images (#28243)
* Tests: Update Catch2 to v2.13.9
2022-09-14 11:02:17 +02:00
Shauren add53fb3ef Build: Update required cmake version to 3.18
* Remove cotire
2022-09-06 19:27:50 +02:00
Shauren b8f18fad29 Core/Crypto: Remove support for OpenSSL 1.0 2022-09-06 12:51:08 +02:00
Shauren 70cf0d074f Dep/rapidjson: Upgrade to Tencent/rapidjson@27c3a8dc0e 2022-08-07 14:57:06 +02:00
Shauren ed2a2f032a Core/Crypto: Added Ed25519 implementation 2022-08-01 00:12:47 +02:00
Shauren e9152679d7 Build: Fixed finding mysql binary on first cmake run
Closes #28133
2022-07-19 00:33:07 +02:00
Shauren ae6b9e6c41 Build: Modernize mysql finding script 2022-06-20 22:43:22 +02:00
Shauren 092ae504f5 Dep/zlib: Upgrade embedded zlib to 1.2.12 2022-04-11 15:02:19 +02:00
Peter Keresztes Schmidt 92a89ab6f3 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.

(cherry picked from commit 8a4844e029a12cb4dcaf361a3177559e19f94f12)
2022-03-12 23:52:29 +01:00
Jan Van Buggenhout ccc37df27d Build/CMake: Only complain about missing BOOST_ROOT when Boost is not found (#26598)
(cherry picked from commit 12668692ea11b10c7ec472577a87c70f5e0c9a17)
2022-03-11 01:49:11 +01:00
Giacomo Pozzoni e0ad19dc96 CMake: Add WITH_BOOST_STACKTRACE option to use libbacktrace (#26119)
* CMake: Add WITH_BOOST_STACKTRACE option to use libbacktrace

* Allow to specify where backtrace.h header is with cmake option -DBOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE="/usr/lib/gcc/x86_64-linux-gnu/10/include/backtrace.h"

Co-authored-by: Trond B. Krokli <[email protected]>
(cherry picked from commit dc78b5a6a7410092df7ac426fbb2f2551072c889)
2022-03-06 22:24:18 +01:00
Shauren 3248d7844b Build: Never automatically link any boost library with a #pragma comment(linker) encountered in boost headers 2022-02-16 20:16:22 +01:00
Shauren f6e72494f1 Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions 2022-02-14 12:43:57 +01:00
Shauren 904299413e Debug build fix 2022-02-13 13:12:44 +01:00
Shauren 3fca1dad20 Dep/g3d: Purge Windows.h includes from headers we include 2022-02-11 22:13:40 +01:00
Winfidonarleyan 9fe5a7297d Dep/fmt: update fmt library to 7.0.3
(cherry picked from commit 9d96e4852a4a25fdc323f656e24034fa1a280826)
2022-02-05 22:50:43 +01:00
Shauren 8484376338 Build: Put tests-common and sfmt under correct folders when WITH_SOURCE_TREE is set to hierarchical-folders
(cherry picked from commit 19f69fcf060c4abba0cd3102529a4203eecac394)
2022-02-04 10:59:00 +01:00
Shauren 58d199db48 Core/Misc: Fix compile errors found with msvc /permissive-
(cherry picked from commit b3db50a3b41b2db209327387f59afa1c40532773)
2022-01-26 14:20:13 +01:00
jackpoz 10e3016e85 Dep/Boost: Set boost msvc version on Windows to 14.2
14.2 is the only supported one (Visual Studio 2019)

(cherry picked from commit 2ea511b9f45d2e8ad33824fd76e848dace264469)
2022-01-24 13:02:52 +01:00
Carbenium f837f28171 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)
2022-01-23 22:48:35 +01:00
Giacomo Pozzoni 8735c5f511 Dep/Boost: Remove unused thread library (#25076)
(cherry picked from commit cf5babc302d43f903b444b97bfdb934545356da2)
2022-01-23 22:17:02 +01:00
Giacomo Pozzoni 196a62c031 Dep/Boost: Set boost version to 1.67 on *nix and 1.70 on Windows (#25069)
(cherry picked from commit c54dc3ef9273378c55e0c17acef18de731a7f8eb)
2022-01-23 21:37:33 +01:00
Shauren 2b312c7bd2 Dep: Switch to boost process instead of old standalone version
(cherry picked from commit 524d16739861d0b2279e2270e319b0c77ec9b03b)
2022-01-23 20:39:15 +01:00
Peter Keresztes Schmidt 770fbcca0c Core/Misc: Replace boost::optional with std::optional (#25047)
C++17 is already mandatory, so it's a safe thing to do

(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
2022-01-23 18:05:59 +01:00
Shauren a55801e35e Correct g3d patch naming conflicts with 3.3.5 branch 2022-01-23 00:34:44 +01:00
Shauren aed8e1c3b4 Fixed -Wdeprecated-copy warning in G3D
(cherry picked from commit a650bd631a4681d09e3ff66f79b73b99299565f3)
2022-01-23 00:19:57 +01:00
Shauren d4568a90b1 Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
(cherry picked from commit 042b1abfd747160085e5acc24a842a076b20ea01)
2022-01-23 00:18:39 +01:00
lee aa742c8752 Dep/rapidjson: fix wrong arm/aarch64 flags compile error (#27650) 2022-01-20 10:18:14 +01:00
leeandShauren 845b807c84 Core: Configure rapidjson to support arm builds (remove SSE flag for them) (#27618)
Co-authored-by: Shauren <[email protected]>
2022-01-16 11:48:58 +01:00
ipriver bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2022-01-06 23:40:39 +01:00
Giacomo Pozzoni d58d0e895c 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

(cherry picked from commit 995a443da219ec773febd7dd29d18f3cefaa1f3b)
2022-01-04 20:44:02 +01:00
Shauren f83dbb254a Core/Misc: Fix invalid utf-8 comments
(cherry picked from commit 6259763469826526fc26b07ff20885d5b04a791f)
2021-12-30 20:46:34 +01:00
Shauren ff9816ef38 Core/Misc: Fixed outdated cherry-picked file headers 2021-12-26 22:05:54 +01:00
daMaex 8181177aea Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)
* build again on aarch64

* include mm_malloc header instead of defining self

(cherry picked from commit cbe765df7a75f61941583ab95ecaa153e198d3de)
2021-12-22 12:30:00 +01:00
Shauren 38bca4eeb6 Dep/G3D: Add more of our modifications as separate patches 2021-12-22 12:28:49 +01:00
Shauren 172e5c3577 Dep/gSOAP: Upgrade to 2.8.117 2021-12-21 01:15:58 +01:00
jackpoz 9c154074ed Dep: Inherit C++ language version from CMake
(cherry picked from commit 92b25070b9d91b050bd1f3fb28b93c07a9b6ba04)
2021-12-19 00:33:43 +01:00
Giacomo Pozzoni 490c05080c Core/Build: Fix tools-only build
(cherry picked from commit c152e0f4158ca159b9617461ac6c254ff4868d2e)
2021-12-19 00:32:59 +01:00
daMaex 08b40733a5 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)

(cherry picked from commit 4e0279b0e48c9992842010b9f3f132e54a460128)
2021-12-19 00:12:41 +01:00