Commit Graph

174 Commits

Author SHA1 Message Date
Warlockbugs
87bd1126ff Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: e1b0048f05
2018-03-04 15:26:08 +01:00
Shauren
31f6ba5a92 Core: Updated allowed build to 7.3.5.26124 2018-02-28 23:18:41 +01:00
Shauren
8467503b90 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-02-20 22:33:38 +01:00
Shauren
d32c981022 Revert "Collision/MMap: Fix a memleak reported by valgrind"
This reverts commit 32e8b6506f.
2018-02-20 21:59:41 +01:00
Shauren
9ad9cac1f3 Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"
This reverts commit f293994ef4.
2018-02-20 21:59:32 +01:00
Shauren
fa4626b2bf Warning fixes 2018-02-18 17:07:52 +01:00
Shauren
75603fe1a0 Core/DataStores: Updated db2 structures to 7.3.5.25996 2018-02-18 16:33:50 +01:00
joschiwald
dc43a08d36 Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizer 2018-01-28 23:34:14 +01:00
Shauren
dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
7bb62cd23d Core/DataStores: Updated db2 structures to 7.3.2.25480 2017-12-30 00:26:37 +01:00
Shauren
b49fa9658a Tools/Patcher: Properly sign certificate bundle 2017-12-29 12:50:12 +01:00
Shauren
b54d1ab35f Core/Crypto: Remove unused declaration 2017-12-26 01:42:38 +01:00
Shauren
130d3eb0ae Core/Crypto: Add const_cast hack to fix linux build with openssl 2017-12-26 01:37:02 +01:00
Shauren
2628daadeb Nopch build fix2 2017-12-25 21:51:20 +01:00
Shauren
6a4c40126d Nopch build fix 2017-12-25 21:47:21 +01:00
Shauren
e161769c4f Build fix 2017-12-25 21:45:07 +01:00
Shauren
61ca3d6235 Core/Crypto: Refactor RSA encryption to use openssl functions instead of doing it manually 2017-12-25 21:41:34 +01:00
Naios
1285347518 Build: Inherit the features and warning flags privately 2017-12-20 04:04:28 +01:00
Naios
f07eefadf9 Core/Utilities: Globally enable C++14 chrono literals
* Usable like 12s, 15m...

(cherry picked from commit 364fde5213)
2017-12-20 04:04:28 +01:00
Naios
a8813fc6fe Core/Common: Use the std make_unique instead of a custom one
(cherry picked from commit ca023fd60a)
2017-12-20 04:04:27 +01:00
Naios
964d6bd1b2 Build: Use the cotire library for precompiled header handling
* Required for handling flags inherited by linked projects
  correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers

(cherry picked from commit 92f96fc10e)
2017-12-20 04:04:27 +01:00
Naios
ff35262a3a Build: Use interface targets for inheriting flags and definitions
* Remove the usage of global flags and definitions
  set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
  CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033

(cherry picked from commit e60c1f84a7)
2017-12-20 04:04:27 +01:00
Shauren
ce0054f030 Core/DataStores: Fixed possible out of bounds memory access 2017-11-25 22:28:30 +01:00
Aokromes
df6e0538fe Misc: More cleanup 2017-11-25 02:57:49 +01:00
Aokromes
90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
Naios
e7ec5bead1 Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a
* Rename cppformat to fmt in the PackageList.txt

(cherry picked from commit 5077c8289c)
2017-10-16 22:54:23 +02:00
Shauren
d184768bbc Core/Misc: Improved error message reported by ASSERT_NOTNULL 2017-09-24 23:53:33 +02:00
Shauren
fdd9227b23 Core/Misc: Util changes
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-23 23:32:20 +02:00
joschiwald
ae070a1b64 Core/Spells: Implemented ConeAngle from DB2 2017-07-18 15:16:32 +02:00
jackpoz
fc6b488620 Core/Misc: Fix static analysis issues
# Conflicts:
#	src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
#	src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/scripts/Commands/cs_ban.cpp
#	src/server/scripts/Commands/cs_disable.cpp
2017-07-16 21:14:22 +02:00
Shauren
137f5e7887 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets
2017-06-08 00:37:15 +02:00
Shauren
4226eb2ea5 Core/Misc: Some /W4 warning fixes 2017-06-07 17:23:50 +02:00
Golrag
a5819bdadd Core/VMaps: Fix LoS in Strand of the Ancients 2017-06-06 13:25:55 +02:00
ariel-
555fc9d3d5 Core/Utils: restored previous behaviour of RandomResize
(cherry picked from commit 8188511759)
2017-06-05 03:47:14 -03:00
Shauren
c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
a12a34b1dc Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Marco Ebert
8ea16ff923 Common: Use cstdlib instead of stdlib.h. 2017-05-13 21:33:43 +02:00
Marco Ebert
6e2a911f6d Fix non-PCH build.
Your ad here.
2017-05-13 21:11:57 +02:00
Shauren
beb3316089 Core/Shared: Include cleanup 2017-05-13 11:49:09 +02:00
Shauren
3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
Gacko
5a2b60d815 Fix non-PCH build.
What else?
2017-05-06 11:59:52 +02:00
joschiwald
b68b7ecd9f Fixed warning 2017-05-05 21:32:20 +02:00
joschiwald
036f67c0c1 Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation 2017-05-05 21:22:58 +02:00
joschiwald
66744c4b4c Core/Tools: MapId can have 4 digits
Note: Re-extracting any maps is NOT required.
2017-04-27 19:24:14 +02:00
vincent-michael
a3dec5cb75 Build: Fixed build with boost 1.64 2017-04-20 20:49:30 +02:00
Shauren
912774dc26 Warning fix 2017-04-17 00:22:22 +02:00
Shauren
0b9548a1cc Core: Updated GameTables to 7.2.0
Tools/Extractors: Updated to 7.2.0
Tools/ConnectionPatcher: Updated patterns to 7.2.0

Supported version is now 7.2.0.23911
2017-04-17 00:03:44 +02:00
Shauren
d20dedebd6 Core/DataStores: Updated db2 structures to 7.2.0 2017-04-06 23:39:34 +02:00
Shauren
f097e341f5 Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
* Also fix gcc build
2017-03-23 00:11:58 +01:00