Commit Graph
287 Commits
Author SHA1 Message Date
Shauren 943496e56b Dep: Remove boost regex dependency and replace its uses with std regex (works since gcc 4.9) 2016-07-28 08:48:48 +02:00
Shauren ed07955372 Dep/CascLib: Update to ladislav-zezula/CascLib@2702efeae5 2016-07-22 17:33:43 +02:00
Shauren fe4d11c65a Tools: Extractor updates
* VMAP extractor does not work due to a bug in CascLib
2016-07-18 23:37:19 +02:00
Aokromes dae31c9182 Update CMakeLists.txt 2016-05-23 08:50:54 +02:00
Vincent-Michael fe61770036 Build: Updated boost required to 1.55 2016-05-14 21:19:22 +02:00
Naios d44eb86108 Dep/Protobuf: Quote a string in the CMakeLists
* Prevents errors when the c or cxx flags are empty
  for some reason (which should never happen in
  proper configured environments).
* Closes #17031
2016-04-25 19:04:25 +02:00
Naios 9701fca7df Dep/Protobuf: Link protobuf dynamically when building with shared libs
* Fixes issues with linux and dynamic linking
* Closes #16993
2016-04-17 17:36:40 +02:00
Naios 848b8a4136 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.
2016-04-11 21:13:58 +02:00
Naios a8ce2b68eb 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.
2016-04-11 21:13:05 +02:00
Naios 3497b4960b 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.
2016-04-11 20:07:24 +02:00
Naios c1b6d7992e CMake: Add jemalloc when tools are enabled too * Since jemalloc is linked by common which is used by tools
(cherry picked from commit 0cc1af721e05c89d82429aaf04c2b8241b768252)
2016-04-09 17:14:57 +02:00
Shauren 4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Shauren 77761e8195 Dep/CascLib: Update to ladislav-zezula/CascLib@d477d30f7c 2016-04-03 10:21:30 +02:00
Shauren ea652fbedd Build fixes 2016-03-28 18:47:13 +02:00
Shauren f3e73c01a1 Dep/gsoap
* Added httpget and httppost plugins
* Compile with ssl support
2016-03-26 18:21:42 +01:00
Shauren 092d52080f Dep: Added google protobuf 2016-03-26 00:30:28 +01:00
Naios 46daaf7689 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.
2016-03-24 13:53:10 +01:00
Shauren 3d32fd6ce0 Dep: Add rapidjson 2016-03-23 22:09:55 +01:00
Shauren 59f6267573 Dep: Removed zmqpp from package list 2016-03-20 19:00:12 +01:00
Shauren 92e247b226 Core/Dep: Removed ZMQ dependency in preparation for future changes 2016-03-20 18:50:25 +01:00
Naios b0ac332d58 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

(cherry picked from commit 1a572d242593124f986d3ed08710b96a142a6763)
2016-03-19 23:19:50 +01:00
Naios 3618e0f608 Dep: Fix an oversight in f52495c6
* Thanks dobrMAN for noticing

(cherry picked from commit 83f439ab4306bfa45df23be2bd80832ec0107c54)
2016-03-16 18:53:04 +01:00
Naios 37dbbe22eb Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
(cherry picked from commit f52495c66b1b219f82729221e8023a86b28d54bf)
2016-03-16 16:12:04 +01:00
Shauren 4f78efd463 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
Shauren 43642630c7 Dep/CascLib: Update to ladislav-zezula/CascLib@919a2d670c 2016-02-08 20:57:52 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Naios aa3020c26d Dep/CppFormat: Update cppformat to cppformat/cppformat@5c76d107cb 2015-12-08 16:26:58 +01:00
Carbenium 823d50421b Dep/SFMT: Add diff fordd55e41c8158fe1f60e120b0b89469d4112158d2
(cherry picked from commit d4608c8168e547581319386114e70e6ac953a97a)
2015-11-26 23:54:26 +01:00
Carbenium 260005a7e7 Dep/SFMT: Fix a strict-aliasing warning reported by GCC 4.9
(cherry picked from commit dd55e41c8158fe1f60e120b0b89469d4112158d2)
2015-11-26 23:54:25 +01:00
Shauren 2c23a686e3 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 2015-11-04 21:04:40 +01:00
Shauren d2795c98dd Dep: Added description to g3d hotfix list 2015-08-02 00:07:53 +02:00
Shauren cce7f1adf2 Dep: Silenced build warning in G3D header, part2, forgot to save 2015-08-01 19:03:26 +02:00
Shauren 22653c99f8 Dep: Silenced build warning in G3D header 2015-08-01 18:53:50 +02:00
Shauren 421432ea53 Buildsystem: Removed unneeded warning disabling from gsoap (handled on global /dep level) 2015-07-12 14:34:55 +02:00
Shauren c24787f666 Buildsystem: Fixed disabling compiler warnings in dep for clang/icc 2015-07-03 11:19:27 +02:00
DDuarte 58adb74717 Dep: Disable 2 warnings in zmqpp and CascLib 2015-07-03 02:23:58 +01:00
jackpoz e98b8fa7c5 Dep/G3D: Backport fix from G3D10
(cherry picked from commit b9d5b194df2719bda956ea4f8794916ceb4bdd58)
2015-07-03 01:16:51 +01:00
jackpoz 2dba70c655 Dep/gsoap: Turn off build warnings
Disable -Wunused-parameter warnings in gsoap library to have a 0-warning build till the library gets updated

(cherry picked from commit 77f7f562683753a15bd2d3f80e65385f88383566)
2015-07-03 01:14:41 +01:00
Naios d4ade6b45f Dep/CppFormat: Update cppformat to cppformat/cppformat@7859f81233
* clean up our custom CMakeList.txt

(cherry picked from commit 93d1028d75ee4847ebcaa075f56a4d9e7632c33a)
2015-07-01 21:22:38 +02:00
jackpoz 622ff39f49 Core/Dependencies: Fix some warnings in G3D
(cherry picked from commit c86cf03dcefad845ca52b1bb1c9b1baa89105462)
2015-06-29 15:54:00 +01:00
jackpoz a48f8f4de9 Core/Dependencies: Update recast
Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b
Fix 2 warnings.

These changes have no effect on MMAPs and it's not needed to re-extact them.

(cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6)

Conflicts:
	dep/PackageList.txt
2015-06-29 15:52:57 +01:00
jackpoz c0f56fbfd8 Core/Misc: Add valgrind support for jemalloc
Set CMake option VALGRIND to add valgrind support to jemalloc. Set CMake parameter VALGRIND_INCLUDE_DIR to the valgrind include directory.

(cherry picked from commit 60a29f761467c0ac76129f2f761ca0de9e7d237d)
2015-06-26 03:30:11 +01:00
Shauren ed75b0649a Tools: Modified output files of all extractors to use 4 characters for map id and changed name format of map files to include a separator between values '_' that makes tokenization possible
* This fixes generating mmaps for maps with id >= 1000
* Fixed a crash happening when unloading last phased mmap tile
* Removed remaining references to libmpq in CMakeLists

Reextracting maps/vmaps/mmaps IS REQUIRED after this commit
2015-05-07 00:07:44 +02:00
Naios f48b6f286c Dep/CppFormat: Update cppformat to cppformat/cppformat@fd53bb6fb8
* fixes /W4 warning spamming.

(cherry picked from commit 66ce97c87e347ab9426ffbd60b6fe5aa90a96b9b)
2015-04-05 21:31:31 +02:00
Naios 3486f15352 Dep/CppFormat: Update cppformat to cppformat/cppformat@aab64b55a4
* fixes argument limit, argument count is unlimited now.

(cherry picked from commit 589296da9044be13f921724e8c2b1312bebde4c8)
2015-04-02 22:55:50 +02:00
Naios 352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00
Naios e40a5bf0b1 Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c959
* fixes detecting support of <initializer_list>
* fixes build on solaris
2015-03-18 19:19:30 +01:00
Nayd 3eaace1508 Dep/CppFormat: Fix cmake error when using GCC 2015-03-18 00:47:19 +00:00
Naios 95ebe4f31c Core/Log: Add type safe formatting
* improves safety and log speed through:
  - variadic templates
  - perfect forwarding
* fixes a newline in db logs
* improve performance of Appender::write by using std::ostringstream && std::move
2015-03-13 09:15:42 +01:00
Shauren b60cfa9bf4 Deps/CascLib: Updated to ladislav-zezula/CascLib@d1d617d4fe 2015-03-04 12:18:51 +01:00