Commit Graph

329 Commits

Author SHA1 Message Date
Foe
6a5fa255fe Build: Allow efsw to be built independently of WITH_DYNAMIC_LINKING option (#30019) 2024-06-02 17:44:24 +02:00
Shauren
7952661e23 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-04-22 11:57:54 +02:00
lee
370685457e Build: Fix Linux aarch64 GCC build (#29831) 2024-03-27 10:50:07 +01:00
Shauren
abb99ff965 Dep/SFMT: Support NEON on ARM with MSVC
(cherry picked from commit ea68ead90d)
2024-02-26 12:29:16 +01:00
Shauren
ac56c1789b Dep/g3d: Support ARM with MSVC
(cherry picked from commit ddba74567c)
2024-02-26 12:29:16 +01:00
Shauren
73d2e9d6d6 Build: Improve ARM target detection in cmake (needed by MSVC)
(cherry picked from commit 7e51d17a0a)
2024-02-26 12:29:16 +01:00
M'Dic
b67916cd32 Dep/zlip: Upgrade to 1.3 (#29401)
(cherry picked from commit 9bedfece7a)
2024-02-26 12:29:16 +01:00
funjoker
ad44ddab34 Dep/Boost: Drop windows boost hacks (#29358)
(cherry picked from commit 17c69368a3)
2024-02-26 12:29:16 +01:00
Shauren
ad96f1fd78 Build: Silence CMake warnings about boost version being too new
(cherry picked from commit ade8aa33a1)
2024-02-26 12:26:36 +01:00
Shauren
66abca1593 Build: Cleanup boost CMakeLists from pre-c++11 flag checks
(cherry picked from commit c9f1606b76)
2024-02-26 12:23:57 +01:00
Shauren
f7a59ea707 Build: Update required cmake version to 3.18
* Remove cotire

(cherry picked from commit add53fb3ef)
2024-02-26 12:17:31 +01:00
Shauren
7ff70a6bff Core/Crypto: Remove support for OpenSSL 1.0
(cherry picked from commit b8f18fad29)
2024-02-26 12:17:31 +01:00
Shauren
acb43896f2 Build: Fixed finding mysql binary on first cmake run
Closes #28133

(cherry picked from commit e9152679d7)
2024-02-26 12:16:50 +01:00
Shauren
faa8c9b710 Build: Modernize mysql finding script
(cherry picked from commit ae6b9e6c41)
2024-02-26 12:16:50 +01:00
Shauren
45a5b6a9f0 Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427

(cherry picked from commit b888b1b09f)
2023-12-02 15:57:03 +01:00
Edgars Baduns
ff0d198ef5 Build: Fixed tools only build (#29341)
(cherry picked from commit 592e01cf7a)
2023-09-29 14:29:29 +02:00
Shauren
b9201d3c07 Dep/fmt: Upgrade to 9.1.0
(cherry picked from commit 17b20a3353)
2023-08-15 20:11:02 +02:00
Shauren
f5a2e2ae13 Core/Misc: Replaced boost::container::static_vector in packet classes with plain vector with custom static storage allocatlr
(cherry picked from commit b65c3f5f4a)
2023-08-12 17:56:15 +02:00
Shauren
85fc9d93b5 Dep: Upgrade utfcpp to 3.2.3
(cherry picked from commit 74dc88eb54)
2023-08-12 14:24:30 +02:00
Shauren
b7287e85e4 Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
2023-08-12 14:24:24 +02:00
Shauren
7cb3551539 Dep/g3d: Document new patch
(cherry picked from commit 8da6d1ca76)
2022-10-01 17:35:06 +02:00
Lloyd Dilley
2b8fc95fde Core/Misc: Fix *BSD compile errors (#28287) 2022-10-01 17:17:46 +02:00
funjoker
6372ba3f74 CircleCI: Update to new images (#28243)
* Tests: Update Catch2 to v2.13.9

(cherry picked from commit 189ea0b1a5)
2022-09-14 11:12:29 +02:00
Shauren
54c34b7db9 Dep/zlib: Upgrade embedded zlib to 1.2.12
(cherry picked from commit 092ae504f5)
2022-04-11 15:04:27 +02:00
Shauren
85bdeed51e Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
(cherry picked from commit f6e72494f1)
2022-02-14 13:37:45 +01:00
Shauren
8e41167aba Correct g3d patch naming conflicts with master branch 2022-01-23 00:36:33 +01:00
Shauren
a650bd631a Fixed -Wdeprecated-copy warning in G3D 2022-01-16 18:50:28 +01:00
Shauren
84909c749d Dep/gSOAP: Upgrade to 2.8.117
(cherry picked from commit 172e5c3577)
2021-12-21 12:54:37 +01:00
Shauren
e073e09b86 Build: Modernize readline finding script
(cherry picked from commit 203f1197b4)
2021-10-06 10:36:33 +02:00
Shauren
77596dba67 Build: Update FindOpenSSL.cmake and remove custom FindGit 2021-09-22 18:49:33 +02:00
Peter Keresztes Schmidt
8a4844e029 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

20d4f2e836
86287b8d56

which fix the issue.
2021-08-15 13:22:18 +02:00
Jan Van Buggenhout
12668692ea Build/CMake: Only complain about missing BOOST_ROOT when Boost is not found (#26598) 2021-06-13 18:16:53 +02:00
Giacomo Pozzoni
dc78b5a6a7 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 <38162891+illfated@users.noreply.github.com>
2021-02-21 22:16:13 +01:00
Winfidonarleyan
9d96e4852a Dep/fmt: update fmt library to 7.0.3 2020-09-11 19:25:35 +02:00
Shauren
19f69fcf06 Build: Put tests-common and sfmt under correct folders when WITH_SOURCE_TREE is set to hierarchical-folders 2020-08-28 15:10:21 +02:00
Shauren
b3db50a3b4 Core/Misc: Fix compile errors found with msvc /permissive- 2020-08-04 15:42:08 +02:00
jackpoz
2ea511b9f4 Dep/Boost: Set boost msvc version on Windows to 14.2
14.2 is the only supported one (Visual Studio 2019)
2020-07-28 15:05:12 +02:00
Carbenium
6a28ee7b2a 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
2020-07-24 12:00:54 +02:00
Giacomo Pozzoni
cf5babc302 Dep/Boost: Remove unused thread library (#25076) 2020-07-19 17:43:09 +02:00
Giacomo Pozzoni
c54dc3ef92 Dep/Boost: Set boost version to 1.67 on *nix and 1.70 on Windows (#25069) 2020-07-18 18:05:25 +02:00
Shauren
524d167398 Dep: Switch to boost process instead of old standalone version 2020-07-15 19:33:12 +02:00
Peter Keresztes Schmidt
202fd41389 Core/Misc: Replace boost::optional with std::optional (#25047)
C++17 is already mandatory, so it's a safe thing to do
2020-07-15 10:22:29 +02:00
Shauren
042b1abfd7 Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression 2020-07-13 18:35:13 +02:00
ipriver
a46d047f94 fixed indentation for cmake files 2020-06-24 14:42:02 +02:00
Shauren
749a825afe Build: Fix gcc pch builds
(cherry picked from commit 8c4e6c5e14)
2020-06-20 15:11:03 +02:00
Giacomo Pozzoni
995a443da2 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
2020-06-17 22:20:26 +02:00
Giacomo Pozzoni
8c09b6e58b Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4)

# Conflicts:
#	src/common/Utilities/Util.h
#	src/server/bnetserver/REST/LoginRESTService.cpp
#	src/server/game/Entities/Object/Position.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Guilds/GuildFinderMgr.h
#	src/server/game/Movement/Spline/MoveSplineFlag.h
#	src/server/shared/Dynamic/LinkedList.h

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

(cherry picked from commit 7fdeb259ba)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c56)

# Conflicts:
#	src/common/Utilities/Util.cpp
#	src/server/database/Database/MySQLConnection.cpp
#	src/server/game/Battlefield/Zones/BattlefieldTB.cpp
#	src/server/game/DataStores/M2Stores.cpp
#	src/server/game/DungeonFinding/LFGMgr.cpp
#	src/server/game/DungeonFinding/LFGPlayerData.cpp
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Item/Item.cpp
#	src/server/game/Entities/Object/Updates/UpdateFields.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/RestMgr.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Server/Packets/GuildPackets.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
#	src/server/scripts/Kalimdor/HallsOfOrigination/instance_halls_of_origination.cpp
#	src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
#	src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp
#	src/server/scripts/Northrend/zone_sholazar_basin.cpp
#	src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
#	src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp
#	src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp
#	src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp
#	src/tools/vmap4_extractor/gameobject_extract.cpp
#	src/tools/vmap4_extractor/model.cpp
#	src/tools/vmap4_extractor/vec3d.h

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

(cherry picked from commit 1ae72db201)

* 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 161944b764)

# Conflicts:
#	dep/boost/CMakeLists.txt

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

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-05-31 14:17:26 +02:00
Shauren
6259763469 Core/Misc: Fix invalid utf-8 comments 2020-03-20 21:53:20 +01:00
daMaex
cbe765df7a Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)
* build again on aarch64

* include mm_malloc header instead of defining self
2020-02-23 22:37:02 +01:00
Aokromes
ed93932537 New year
Say bye bye to every year changing dates
2020-01-02 06:25:50 +01:00