Commit Graph

346 Commits

Author SHA1 Message Date
Shauren
50a64ccd1e Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
Closes #20094

(cherry picked from commit 6691e41873)
2020-08-22 13:21:55 +02:00
Shauren
8c4e6c5e14 Build: Fix gcc pch builds 2020-06-20 13:03:13 +02:00
Shauren
161944b764 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-05-30 17:43:56 +02:00
Shauren
ea812fec11 Dep/CascLib: Update to ladislav-zezula/CascLib@0a05c59eb8 2020-05-07 14:39:40 +02:00
Shauren
d669f46b6d Build system: Fixed PCH with MSVC & Ninja generator 2020-04-16 18:52:55 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
c7b4157437 Dep/CascLib: Update to ladislav-zezula/CascLib@2257774940 2019-10-29 19:01:39 +01:00
Shauren
b983769a9d Core/Build: Fix build with boost 1.71
(cherry picked from commit 9f7cc32c6e)
2019-09-14 14:26:52 +02:00
Naios
5add0c004e Dep: Use the anonymous namespace free definition of boost::none.
* Fixes MSVC linking errors after the recent changes:

    "class boost::none_t const & const boost::`anonymous namespace'
    ::none" (?none@?A0x518851d0@boost@@3AEBVnone_t@2@EB)
    already defined in scripts_commands.lib...

* Sets the required version of boost on windows to 1.66
  according to the wiki.

(cherrypicked from 3da60f8400)
2019-08-17 20:04:14 +02:00
ariel-
38ea7154ad Core/Dep: update zlib to 1.2.11
Changelog:

Changes in 1.2.11 (15 Jan 2017)
- Fix deflate stored bug when pulling last block from window
- Permit immediate deflateParams changes before any deflate input

Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
- Fix bug in gzwrite.c that produced corrupt gzip files
- Remove files to be installed before copying them in Makefile.in
- Add warnings when compiling with assembler code

Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
- Improve contrib/blast to return unused bytes
- Assure that gzoffset() is correct when appending
- Improve compress() and uncompress() to support large lengths
- Fix bug in test/example.c where error code not saved
- Remedy Coverity warning [Randers-Pehrson]
- Improve speed of gzprintf() in transparent mode
- Fix inflateInit2() bug when windowBits is 16 or 32
- Change DEBUG macro to ZLIB_DEBUG
- Avoid uninitialized access by gzclose_w()
- Allow building zlib outside of the source directory
- Fix bug that accepted invalid zlib header when windowBits is zero
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
- Add --warn (-w) option to ./configure for more compiler warnings
- Reject a window size of 256 bytes if not using the zlib wrapper
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
- Fix bugs in creating a very large gzip header
- Add uncompress2() function, which returns the input size used
- Assure that deflateParams() will not switch functions mid-block
- Dramatically speed up deflation for level 0 (storing)
- Add gzfread(), duplicating the interface of fread()
- Add gzfwrite(), duplicating the interface of fwrite()
- Add deflateGetDictionary() function
- Use snprintf() for later versions of Microsoft C
- Fix *Init macros to use z_ prefix when requested
- Replace as400 with os400 for OS/400 support [Monnerat]
- Add crc32_z() and adler32_z() functions with size_t lengths
- Update Visual Studio project files [AraHaan]

(cherrypicked from d939018371)
2019-08-17 20:04:14 +02:00
Shauren
cd720efbfa Dep/CascLib: Update to ladislav-zezula/CascLib@b91f87c770 2019-08-10 19:01:24 +02:00
Shauren
6f7ef6e3f0 Dep/CascLib: Update to ladislav-zezula/CascLib@b802391cfb 2019-07-14 19:20:45 +02:00
Shauren
658a79d94a Dep/CascLib: Update to ladislav-zezula/CascLib@c588b7bf53 2019-06-19 19:58:31 +02:00
Shauren
138e822d85 Dep/CascLib: Update to ladislav-zezula/CascLib@03a3bcaed2 2019-06-09 21:14:42 +02:00
Shauren
c4f1144754 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2019-06-08 18:12:28 +02:00
Shauren
3bf084c70e Warning fix 2019-06-08 17:22:54 +02:00
Shauren
0857c033e9 Build: Fix casc CmakeLists.txt 2019-06-08 17:19:34 +02:00
Shauren
e7bce901da Dep/CascLib: Patch CascLib to expose encryption keys 2019-06-08 17:10:10 +02:00
Shauren
fc330fd8ff Dep/CascLib: Update to ladislav-zezula/CascLib@a1197edf0b 2019-06-08 17:09:24 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Traesh
2704e3c6f8 Update DetourNavMeshQuery.cpp (#22518) 2018-09-25 16:18:47 +02:00
Shauren
a4892d64fe Dep/Recast: Fixed area type merges 2018-04-22 00:59:45 +02:00
Aokromes
bc88d3bc15 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

cherry pick of d18f8b94b0

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +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
d66f140960 Dep/CascLib: Update to ladislav-zezula/CascLib@c63818ecf8 2017-12-30 00:26:38 +01:00
Naios
95a837717b Build: Disable warnings in protobuf projects 2017-12-20 04:04:28 +01:00
Naios
ad3e16c24e Dep: Update fmt to fmtlib/fmt@f9c97de46b
(cherry picked from commit b4a42d1d06)
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
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
Naios
c7f0dfd262 Dep/efsw: The current version is equal to the one we have in the source tree
(cherry picked from commit 81b65fef45)
2017-10-16 22:54:23 +02:00
Shauren
3f39913628 Dep/CascLib: Update to ladislav-zezula/CascLib@fb94421553 2017-08-17 17:31:02 +02:00
ariel-
f7e7aef8fc Dep/gSOAP: Update gSOAP to 2.8.49
Closes #20039
2017-07-20 11:26:26 +02:00
vincent-michael
65a1ce69ec Dep: Added missing part in 94df1c0935 2017-06-30 20:33:41 +02:00
vincent-michael
94df1c0935 Dep/CascLib: Update to ladislav-zezula/CascLib@16f80d1433 2017-06-30 20:32:03 +02:00
vincent-michael
2645aedf61 CMake: Optimize code in 5734643cec 2017-06-27 22:02:49 +02:00
ariel-
5734643cec Build: fix finding VS 2017 compiled boost libs 2017-06-26 00:31:48 +02:00
Naios
9b346dc22b Build: Fix a build error which happened on unix debug builds
* Thanks DDuarte for the fix
* Closes #19786

(cherry picked from commit 5032fb462e)
2017-06-05 20:50:16 +02:00
joschiwald
b192c46b06 Core/Creature: Added UnitFlags3 to creature_template 2017-05-21 14:17:47 +02:00
Gacko
2b48a84524 Apply ladislav-zezula/CascLib PR#73: Fix build on Mac/Linux.
https://github.com/ladislav-zezula/CascLib/pull/73
2017-05-20 12:26:40 +02:00
joschiwald
d7d4cadd9c Dep/CascLib: Update to ladislav-zezula/CascLib@4c04c6c2bf 2017-05-20 11:04:03 +02:00
Shauren
2dc88c70f8 Core: Only build Recast with tools selected 2017-03-26 22:17:59 +02:00
Shauren
7257c1b2ec Update PackageList.txt 2017-03-07 17:17:23 +01:00
Shauren
5e3156e27f Dep/CascLib: Update to ladislav-zezula/CascLib@2313e4aff9
Closes #19237
2017-03-07 17:14:16 +01:00
vincent-michael
c0a2c30a27 Dep/G3D: Fixed Visual Studio 2017 build 2017-03-07 16:43:11 +01:00
jackpoz
e5ba8f1e4d Core/MMAPs: Update recast
Update recast to 64385e9ed0

(cherry picked from commit 1d7013e0e2)

# Conflicts:
#	dep/PackageList.txt
2017-02-12 15:41:19 +01:00
Aokromes
c1840dd33e Update PackageList.txt
(cherry picked from commit cb247ea033)
2017-02-11 17:54:38 +01:00
ariel-
c7d2ca3030 Dep/gSOAP: Update gSOAP to 2.8.33
(cherry picked from commit 3056feb9b2)
2017-02-11 17:43:06 +01:00
ariel-
24847c01ef Dep/gSOAP: Remove pointless diff not valid after d42c048818
(cherry picked from commit f87e65bca8)
2017-02-11 17:42:59 +01:00