Commit Graph

270 Commits

Author SHA1 Message Date
Shauren
b64583b7c1 Build: Fixed dynamic PCH builds 2019-06-02 23:39:24 +02:00
Shauren
9b1dfe5e5e Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited 2019-06-02 21:09:53 +02:00
jackpoz
5d986f0be4 Dep/Jemalloc: Update to Jemalloc 5.2.0 2019-05-05 20:05:45 +02:00
jackpoz
3d3b7f438c Buildsystem: Fix finding VS 2019 compiled boost libs 2019-04-19 22:37:50 +02:00
jackpoz
e061663508 Dep/Recast: Update recastnavigation to 54bb0943e5 2019-04-07 21:05:23 +02:00
jackpoz
c602220e02 Core/MMaps: Fix infinite loop in Detour
Fix another infinite loop in Detour caused by degenerated triangles.
Check the result of some previously ignored Detour calls.
Update recastnavigation to 3a619d773deb7e3a15ee215217c825995fe71312 and apply some more custom changes
2019-03-02 19:53:46 +01:00
jackpoz
a75fbe527a Dep/Recast: Validate input values more consistently and completely, including that points are finite
Merge https://github.com/recastnavigation/recastnavigation/pull/374 .
This should fix infinite loops happening with degenerated triangles with 0 area.
Fix #23028
2019-02-24 12:18:28 +01:00
jackpoz
12e6faa0fa Core/MMaps: Change infinite loop fix in Detour
Change the infinite loop fix in Detour to allow looping through all the m_nodePool nodes max once, otherwise it most likely means that we entered an infinite loop. This is currently set to 1024.
2019-02-08 22:21:03 +01:00
jackpoz
c8ec2dd95d Core/MMaps: Fix infinite loop in Detour
Fix an infinite loop in Detour happening in Dalaran Sewers.
This is more of an emergency patch until we figure out why dtNodes have a circular reference (A -> B -> C -> A) happening quite often in this place
2019-02-06 19:32:31 +01:00
jackpoz
5ff88ea04a Dep/Recast: Update recastnavigation to 14b2631527
Rebuilding mmaps IS required
2019-01-26 20:44:27 +01:00
Shauren
5b4eefb6d8 Buildsystem: Configure boost to return error messages encoded using utf8 instead of whatever current system code page is on windows 2019-01-12 18:04:58 +01:00
Treeston
fcfcb0eb6f Happy New Year, folks. It's 2019! 2019-01-01 15:45:25 +01:00
Treeston
c16d461e16 Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) and play nice with IDEs (PR #22768) 2018-11-11 17:52:41 +01:00
Treeston
ee68cf3392 grr gcc bugs 2018-10-26 19:17:19 +02:00
Treeston
207093475a Util/Enums: Implement constexpr operators ourselves instead of relying on boost, because boost doesn't make them constexpr. 2018-10-26 19:10:31 +02:00
Treeston
338e8ba0fe Core/Misc: Partial merge of 3.3.5-dbedit:
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum
- Moved a bunch of enums in SharedDefines.h to the new system
- Miscellaneous utility methods ported
2018-10-26 14:43:22 +02:00
Aokromes
58e297da10 Core/Mmaps: Revert a bad change
Closes #22470 by xvwyh

this doesn't needs to re-extract mmaps.
2018-09-25 12:41:37 +02:00
jackpoz
8fe74bf0f9 Dep/Jemalloc: Update to Jemalloc 5.1.0 2018-05-12 09:37:51 +02:00
jackpoz
171583b984 Dep/Boost: Set boost version to 1.58 on *nix 2018-03-07 20:13:19 +01:00
Shauren
b2b4f9d1e4 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

(cherry picked from commit dfd2660a85)
2018-01-06 12:30:28 +01:00
tkrokli
f6b6f57a6d Update copyright note for 2018
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
Naios
b4a42d1d06 Dep: Update fmt to fmtlib/fmt@f9c97de46b 2017-12-17 20:22:34 +01:00
Naios
92f96fc10e 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
2017-12-17 20:22:34 +01:00
Naios
e60c1f84a7 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
2017-12-17 20:22:33 +01:00
Shauren
3bb166dd5c Build: Fixed warning about disabling warnings 2017-12-17 14:13:28 +01:00
jackpoz
24e82fe83d Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools
2017-12-08 23:27:30 +01:00
jackpoz
10ad43916f Dep/Jemalloc: Enable MADV_FREE if available 2017-11-29 20:14:35 +01:00
jackpoz
0f6feb828b Dep/Jemalloc: Temporarily disable MADV_FREE
Temporarily disable MADV_FREE until CMake file is modified to check if MADV_FREE is available on the current system.
This fixes the build on older systems.
2017-11-29 09:24:55 +01:00
jackpoz
92cd9bd70d Dep/Jemalloc: Update to Jemalloc 5.0.1 2017-11-25 13:18:21 +01:00
Shauren
a422dad870 Dep/jemalloc: Fixed valgrind intergration 2017-11-19 20:14:48 +01:00
jackpoz
cc6dec7286 Dep/Jemalloc: Update to Jemalloc 4.0.4 2017-11-19 19:22:41 +01:00
Aokromes
11beb4b6e1 Update CMakeLists.txt 2017-11-19 18:41:55 +01:00
jackpoz
7ef22e4305 Dep/Recast: Update recastnavigation to 2c85309280 2017-11-18 20:29:25 +01:00
jackpoz
7e73f5f1ed Core/Misc: Fix static analysis issues 2017-11-11 20:03:35 +01:00
jackpoz
f017b1d470 Dep/G3D: Add static assert checks for Array functions being used with non-POD types 2017-11-11 16:30:45 +01:00
Naios
5077c8289c Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a
* Rename cppformat to fmt in the PackageList.txt
2017-10-16 21:35:01 +02:00
Naios
81b65fef45 Dep/efsw: The current version is equal to the one we have in the source tree 2017-10-16 21:35:01 +02:00
Shauren
6691e41873 Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
Closes #20094
2017-08-03 00:13:21 +02:00
ariel-
bce40818bc Dep/gSOAP: Update gSOAP to 2.8.49
Closes #20039
2017-07-19 12:51:28 -03:00
Naios
5032fb462e Build: Fix a build error which happened on unix debug builds
* Thanks DDuarte for the fix
* Closes #19786
2017-05-23 17:45:52 +02:00
ariel-
3049d19b53 Build: fix finding VS 2017 compiled boost libs 2017-04-22 18:16:23 -03:00
vincent-michael
340ce38e01 Dep/G3D: Fixed Visual Studio 2017 build
(cherry picked from commit c0a2c30a27)
2017-03-08 18:26:41 +02:00
Naios
3da60f8400 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.59
  according to the wiki.
2017-02-27 22:52:48 +01:00
Naios
22fede3774 Dep: Update efsw to version 1.0.0 2017-02-27 22:52:48 +01:00
jackpoz
bb6b1e794f Core/Misc: Fix static analysis issues 2017-02-25 16:15:42 +01:00
ariel-
d939018371 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]
2017-02-23 11:46:45 -03:00
Shauren
bf2121680f Core/Misc: Added regex compatibility layer to fall back to boost::regex for really old compiler
(cherry picked from commit b6f1f8405f)
2017-02-06 21:12:27 -03:00
tkrokli
6a51a88767 Update Copyright notice for 2017
Happy new year!
2017-01-02 19:52:45 +01:00
DDuarte
7ee6afe885 Dep: Update fmt (cppformat) to 3.0.1 7fa8f8fa48
Also renamed cppformat to fmt
2016-12-29 22:38:46 +00:00
jackpoz
bf5c37a5d0 Dep/G3D: Backport warning fix from G3D10 2016-10-10 20:16:55 +02:00