Commit Graph

244 Commits

Author SHA1 Message Date
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
jackpoz
1d7013e0e2 Core/MMAPs: Update recast
Update recast to 64385e9ed0
2016-08-17 22:00:35 +02:00
Shauren
5e9f512314 Dep: Remove boost regex dependency and replace its uses with std regex (works since gcc 4.9)
(cherry picked from commit 943496e56b)

# Conflicts:
#	src/server/game/DataStores/DB2Stores.cpp
#	src/server/game/DataStores/DB2Stores.h
2016-08-02 17:25:33 +02:00
Aokromes
cb247ea033 Update PackageList.txt 2016-07-29 10:33:23 +02:00
ariel-
3056feb9b2 Dep/gSOAP: Update gSOAP to 2.8.33 2016-07-29 03:01:51 -03:00
ariel-
f87e65bca8 Dep/gSOAP: Remove pointless diff not valid after d42c048818 2016-07-29 02:45:55 -03:00
Aokromes
f2527f1f5a Update CMakeLists.txt 2016-05-23 08:51:19 +02:00
Vincent-Michael
f064e782cd Build: Updated boost required to 1.55
(cherry picked from commit fe61770036)
2016-05-17 17:45:38 +02:00
Naios
8660f90bdf Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.

(cherry picked from commit 848b8a4136)
2016-04-11 21:41:58 +02:00
Naios
3b4f754b06 CMake: Fix a misbehaviour of the boost no scoped enums test
* Sometimes added the definition in MSVC although the test
  passed which lead MSVC to rebuild the whole solution
  even on a CMAKE_INSTALL_PREFIX change.

(cherry picked from commit a8ce2b68eb)
2016-04-11 21:41:15 +02:00
Naios
f93617c3c9 Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.

(cherry picked from commit 3497b4960b)
2016-04-11 21:40:59 +02:00
Shauren
702cfefddb Buildsystem: Initial changes to support building with vs clang toolset
(cherry picked from commit 4a3a178d7f)
2016-04-09 12:38:20 +02:00
Naios
07d702e06e Dep: Add efsw (entropia file system watcher)
* Uses system API's which reduces the overhead
  instead of checking periodically for changes.
* Will be used in the hotswap system to reload
  shared libraries on changes.

(cherry picked from commit 46daaf7689)
2016-03-24 14:10:06 +01:00
Naios
0cc1af721e CMake: Add jemalloc when tools are enabled too
* Since jemalloc is linked by common which is used by tools
2016-03-18 17:28:20 +01:00
Naios
1a572d2425 CMake: Provide proper interface targets from dependencies
* to make use of cmakes inherited link dependencies which
  imports all include directories/ definitions from the link library
2016-03-18 02:52:54 +01:00
Naios
83f439ab43 Dep: Fix an oversight in f52495c6
* Thanks dobrMAN for noticing
2016-03-16 18:46:17 +01:00
Naios
f52495c66b Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c 2016-03-16 15:36:32 +01:00
Rushor
923a368ac7 Update copyright note for 2016 2016-01-01 12:02:33 +01:00
Naios
7773984f94 Dep/CppFormat: Update cppformat to cppformat/cppformat@5c76d107cb
(cherry picked from commit aa3020c26d)
2015-12-08 16:46:15 +01:00
Carbenium
d4608c8168 Dep/SFMT: Add diff fordd55e41c8158fe1f60e120b0b89469d4112158d2 2015-11-25 14:18:49 +01:00
Carbenium
dd55e41c81 Dep/SFMT: Fix a strict-aliasing warning reported by GCC 4.9 2015-11-25 13:56:33 +01:00
Carbenium
f0c7061f0b Tools/MapExtractor: Fix a warning reported by gcc 4.9
/var/lib/jenkins/jobs/tc_335_release_gcc49/workspace/src/tools/map_extractor/System.cpp:113:25: error: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Werror=unused-result]
             chdir("../");

*NO reextraction of dbcs/maps needed*
Binary compatibility is ensured
2015-11-24 11:37:45 +01:00
Shauren
e9e349c7cc Dep/g3d: Removed std::shared_ptr, std::weak_ptr, std::dynamic_pointer_cast, std::static_pointer_cast and std::enable_shared_from_this from global namespace
(cherry picked from commit 2c23a686e3)
2015-11-05 21:33:23 +01:00
Shauren
119c372dff Dep: Silenced build warning in G3D header
(cherry picked from commit 22653c99f8)
(cherry picked from commit cce7f1adf2)
(cherry picked from commit d2795c98dd)
2015-10-31 17:33:35 +01:00
DDuarte
5e9a21291c Buildsystem: Fixed disabling compiler warnings in dep for clang/icc
(cherry picked from commit c24787f666)

(reverts 77f7f56268)

Conflicts:
	dep/CascLib/CMakeLists.txt
	dep/zmqpp/CMakeLists.txt
2015-07-04 01:56:10 +01:00
jackpoz
b9d5b194df Dep/G3D: Backport fix from G3D10 2015-07-02 22:05:36 +02:00
jackpoz
77f7f56268 Dep/gsoap: Turn off build warnings
Disable -Wunused-parameter warnings in gsoap library to have a 0-warning build till the library gets updated
2015-07-01 22:03:36 +02:00