Commit Graph

61 Commits

Author SHA1 Message Date
Shauren b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
DDuarte 519ba47429 Build: Add 1.59 Boost version to FindBoost 2015-08-15 17:48:00 +01:00
jackpoz e70290d558 Buildsystem: Fix Boost not found targeting VS2015 with pre-built binaries
Fix Boost libraries not being found by CMake when targeting Visual Studio 2015 with Boost installed using the binaries.
Fixes #15277

(cherry picked from commit ca940548bf)
2015-08-15 17:46:19 +01:00
DDuarte e2fb3bbd46 Build/CMake: Partially revert recent changes to FindMySQL.cmake
Looking for folders like ".../MySQL/*/include" matches the MySQL Connector C libs which caused some problems.
Related #15072, #15068

P.S ".../MySQL/MySQL Server*/include" doesn't work
2015-07-27 01:10:42 +01:00
David Carlos Manuelda 934498e86c Correctly displaying error message at cmake's configure stage when libZMQ has not been found 2015-07-24 06:09:01 +02:00
DDuarte d4deb17a2f Build/CMake: Fix finding MySQL install 2015-06-29 14:03:52 +01:00
Duarte Duarte fb4a9823c4 Merge pull request #14723 from TrinityCore/findmysql-update
Update FindMySQL.cmake
2015-06-02 14:13:56 +01:00
Shauren 1987d3187d Buildsystem: Removed handling for -DPREFIX shortcut for -DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2 2015-05-29 22:29:16 +02:00
Duarte Duarte 0a2351ac44 Update FindMySQL.cmake
Replace hardcoded paths to C:/Program Files
2015-05-19 02:36:42 +01:00
Duarte Duarte c31a6c0853 Update FindMySQL.cmake
Simplify path lookups of the MySQL installation on Windows
2015-05-19 02:32:23 +01:00
Shauren 5acc4b14aa Buildsystem: Updated FindBoost macro, now finds versions 1.57 and 1.58 as well 2015-04-27 12:44:37 +02:00
Naios ed4722b6e6 CMake: Use source_groups to represent the source tree
* It let ide's (like vs) display the source tree.
* Disabled by default.
* Soft requirement is cmake >= 2.8.12 .
* Offers 2 modes: flat & hierarchical.
* For detailed description see #14471
* Thanks @click for help and advises.
* Closes #14471

(cherry picked from commit c386711972)

Conflicts:
	src/server/authserver/CMakeLists.txt
2015-03-29 16:13:22 +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 <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 14:09:38 +00:00
Guillaume Belz 9ffeb58d09 FindOpenSSL: fix detection of OpenSSL 1.0.2
Closes #14284
2015-03-08 05:23:45 +01:00
leak f9e5f216b7 CMake: Allow specifying the mysql location by environment variable. 2015-02-19 10:23:37 +01:00
Nayd 08a98c6237 Line ending fix, sorry. 2015-01-19 00:07:10 +00:00
Vincent-Michael ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Nayd 7e6dadfea6 CMake/FindBoost: Fix policy CMP0054 warning (added in 3.1) 2014-11-14 00:48:38 +00:00
DDuarte 1034b4d460 Build/CMake: Use BOOST_NO_SCOPED_ENUMS if Boost version is less than 1.51
http://www.boost.org/doc/libs/1_57_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_deprecated_macros
2014-11-11 18:26:25 +00:00
DDuarte 62759880a7 CMake: Improve FindZMQ on Windows
When ZMQ version is not found in the registry it will enumerate possible .lib names and try to find those
2014-11-04 14:19:51 +00:00
DDuarte 386b97c485 Build: Fixup 428d510f76. Use check_cxx_source_compiles instead of try_compile 2014-10-30 01:57:54 +00:00
bloerwald 428d510f76 Build: Support boost versions compiled in C++11 as well as C++03 mode
Issues related to boost::filesystem and scoped enums
2014-10-30 00:17:41 +00:00
bloerwald ff0f84e3aa Tools/connection_patcher: remove c# code, add c++ code with minor modification, move to tools, integrate into cmake
note: no longer downloads nonexistent modules
note: now throws on not finding patterns
new dependency: boost.filesystem

Closes #13471
2014-10-28 18:33:19 +00:00
Shauren 1d1b3269c1 Buildsystem/CMake: Fixed FindZMQ macro on x86 Windows 2014-10-18 14:57:49 +02:00
Shauren 55e7879aec Buildsystem/CMake: Fixed FindZMQ macro on x86 Windows 2014-10-18 14:05:55 +02:00
Shauren f773a9e053 Core: Implemented IPC (Inter-process communication) between worldserver and bnetserver using ZeroMQ library.
* Implemented ToonReady and ToonLoggedOut battle.net packets
2014-10-17 22:48:06 +02:00
Vincent-Michael bd522a3853 Core: Fix build for msvc14 2014-09-20 05:39:26 +02:00
Duarte Duarte b5397a9748 CMake: Add a few more MySQL search paths to FindMySQL.cmake, including x86
Ref https://github.com/TrinityCore/TrinityCore/issues/12969#issuecomment-54322244
2014-09-03 17:38:11 +01:00
Vincent-Michael a52135f276 Core: Remove whitespace 2014-08-27 23:22:16 +02:00
Shauren 0a3d1a35cd Buildsystem: Removed debugging message from cmake output 2014-07-17 15:43:39 +02:00
leak e2fed64550 Update related files to lowered Boost version requirement 2014-07-16 18:42:17 +02:00
Chaplain 68398a559e [Auth\Worldserver] Use boost to load console arguments. (Added a few style changes and cmake fix)
Conflicts:
	src/server/worldserver/Main.cpp
2014-07-15 18:15:55 +02:00
Subv 9ccce98661 Remove the need of manually declaring BOOST_ROOT in Linux systems if Boost was installed to the default locations 2014-07-12 16:27:55 -05:00
Shauren 302169fd12 Buildsystem: Lowered required boost version to 1.49 2014-07-11 22:28:28 +02:00
Subv 9872162835 Added a missing definition 2014-07-06 17:41:47 -05:00
Subv 77caf33deb Removed some unneeded boost dependencies.
Ensure that the correct packet sizes are read in the authserver.
Added some try catch to the authserver to deal with boost exceptions (this part is not finished)
2014-07-06 17:04:42 -05:00
leak da3f6e923a Completely remove ACE as dependency for TC - kkthxbye 2014-07-06 01:42:35 +02:00
Subv fa1da7a921 BuildSystem/CMake: Fixed cmake configuring when building in 32 bits. 2014-06-22 12:54:10 -05:00
leak 5a363ee0e1 Replace authserver ACE related code with Boost/C++11 2014-05-30 14:54:56 +02:00
leak 3ba49277d9 Add support for Boost 1.55 2014-05-12 21:27:44 +02:00
Vincent_Michael e773c9a693 Update more copyright note for 2014.
I have no excuse for my fail :/
2014-01-01 18:20:16 +01:00
Spp 3e2e210890 Core/Build: Force minimum ACE (5.8.3) and OpenSSL (1.0.0) version detection
Core/Build: Do not ignore command line cmake options: ACE_INCLUDE_DIR, ACE_LIBRARY and OPENSSL_INCLUDE_DIR
2013-08-28 15:44:06 +02:00
Spp 51287930cb Core/Build: All include directories are quoted to support path with spaces
Closes #9504
2013-03-26 13:45:47 +01:00
click 9bd8baf1ab Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when updating the revisionhash/revisiondate + rename DISABLEGITCHECK parameter to WITHOUT_GIT (to adhere to our standard)
Also cleaned up the checks slightly + moved git-specific testing to its own macro (minor changes to shaurens original patch applied)
2013-02-11 20:04:27 +01:00
Vincent_Michael 11e1227784 Update more copyright note for 2013. (alcohol sucks) 2013-01-01 12:57:23 +01:00
click 4762ad726f Core/Buildsystem: Start cleaning up the mess created after "implementing" support for clang/OSX-based compiles - initial cleanup, more will come
If OSX-compile fucks up because of this, then report fixes on the tracker as usual, not through hotpatches going through other lead devs.
2012-11-26 22:42:23 +01:00
Spp a91d59f37c Core/Build: Restore FindOpenSSL, even when it's provided by cmake, this file also provides newbie-check (warns if you trying to use wrong libs)
- Also, apply the hack needed to make g3dlite compile in OS X
2012-11-10 13:15:09 +01:00
Spp 333b8e5159 Core/Build: Enable Clang PCH support and OS X specific features
Core: Fix warnings here and there
2012-11-09 13:13:45 +01:00
thomas33 0c178320bf update forgotten copyright-headers for 2012 2012-03-11 20:53:08 +01:00
click d4670a558d CMake: Adjust FindMySQL macro to search for latest versions first before older version and fix some missing headerchecks. 2012-01-31 00:01:27 +01:00