1
0
Commit Graph

101 Commits

Author SHA1 Message Date
peterbell10
757231cc6e
Add the fmt library (#4065)
* Replaces AppendVPrintf with fmt::sprintf
* fmt::ArgList now used as a type safe alternative to varargs.
* Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu.
* Adds FLOG functions to log with fmt's native formatting style.
2018-01-03 17:41:16 +00:00
Lukas Pioch
c5f590d460 Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
peterbell10
84941bcc9f Update mbedtls to 2.5.1 (#3964)
* Renaming changes:
  * macro prefix "POLARSSL" -> "MBEDTLS"
  * functions now prefixed with "mbedtls_"
  * rename PolarSSL++ -> mbedTLS++
  * rename polarssl submodule

* Use mbedtls' AES-CFB8 implementation.

* Add cSslConfig to wrap mbedtls_ssl_config

* Update cTCPLink and cBlockingSslClientSocket to use cSslConfig

* Use cSslConfig in cHTTPServer

* Use cSslConfig for cMojangAPI::SecureRequest

* CI Fixes

* Set -fomit-frame-pointer on the right target
2017-08-30 15:00:06 +01:00
peterbell10
7b3372ad38 Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtls 2017-08-24 14:03:42 +02:00
mathiascode
02775e52c4 Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Mattes D
1ed2fcf9b8 Fixed SysLua builds.
Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
2017-05-04 23:01:01 +02:00
Mattes D
0de705eb99 Removed binary ToLua++ from build.
A local Lua executable is used instead.
2017-05-04 17:38:05 +02:00
johnsoch
9fa8477b73 Hard minimum compiler version GCC 4.8 and Clang 3.4 (#3587)
Fixes #3155.
2017-03-10 08:45:11 +01:00
Tiger Wang
8c6d0b51c7 Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
Mattes D
eedc1174a5 Added NoiseSpeedTest project. 2016-11-15 07:38:00 +01:00
Alexander Harkness
9e52982f0e Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)
* Change CROSSCOMPILE flag to NOMARCHNATIVE.

The old name was confusing, the new name describes exactly what it does.

This fixes issue #3272

* Break configuration when using CROSSCOMPILE.

This stops any old build scripts from producing broken builds.

* Use NO_NATIVE_OPTIMIZATION rather than NOMARCHNATIVE.

Addresses @madmaxoft's concerns.
2016-07-30 14:22:18 +01:00
Mattes D
fc5fb03fec CMake: Fix system Lua usage for non-5.1 versions. (#3271) 2016-07-21 10:46:31 +01:00
Mattes D
2a05d8870d CMake: Silenced CMP0054 policy warning.
The warning is still emitted for jsoncpp and libevent, but not for Cuberite anymore.
2016-07-18 22:11:42 +02:00
Mattes D
430b623223 Use system Lua, if available, to generate bindings.
Closes #1031.
2016-07-18 22:11:41 +02:00
Mattes D
3d164a77cb SelfTests: Organized into solution folders. 2016-06-18 13:12:07 +02:00
Mattes D
1d0bfead3e Added GrownBiomeGenVisualiser. 2016-05-29 19:12:47 +02:00
Mattes D
52d18b4559 WebAdmin uses the new HTTP parser framework. 2016-03-01 16:19:58 +01:00
Mattes D
1d05fc95ae Added unit test for parsing HTTP request. 2016-03-01 16:19:57 +01:00
Mattes D
80e1eb37dd Renamed leftover strings to Cuberite / Server, as needed.
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Julian Laubstein
9a7dd0a077 Outsourced all libraries into submodules 2015-11-04 23:25:00 +01:00
Mattes D
afda3b0019 Added WORKING_DIRECTORY specification to git queries used in CMake.
Fixes #2493.
2015-10-09 11:15:40 +02:00
Mattes D
dac97826f7 Renamed output directory to Server 2015-09-05 22:01:21 +02:00
Mattes D
54e36588dd Added check for JsonCpp submodule presence. 2015-08-11 08:33:59 +02:00
Tiger Wang
e69d4536ab Added JsonCPP library location to search paths
* Fixed '-dirty' submodule changes
Probably fixes an issue somewhere too?
2015-07-12 12:23:11 +01:00
Tiger Wang
ccfe04a0a2 Updated and submodularised JsonCPP
Conflicts:
	lib/jsoncpp
2015-07-09 23:10:51 +01:00
Mattes D
8df31067d4 Externalized cPrefabPiecePool self-test. 2015-06-19 16:15:59 +02:00
Alexander Harkness
4ece4a61f6 Merge pull request #2153 from mc-server/gcc5
Update SQLite
2015-06-06 13:52:58 +01:00
tycho
74e7f8fb53 Disable column metadata 2015-06-06 13:22:56 +01:00
worktycho
519fd1d36d Merge pull request #2206 from mc-server/APIDumpTimeStamp
APIDump time stamp
2015-06-05 13:04:28 +01:00
Mattes D
5ee0657c69 CMake: Added buildinfo workaround for src packs / systems without git. 2015-06-05 13:37:36 +02:00
Mattes D
649921f4a8 Provide some BuildInfo even for non-CI builds.
Ref.: #2204
2015-06-05 10:19:58 +02:00
Cengiz Can
c967698b2d Skip unknown cflag for Apple clang & remove cSemaphore 2015-06-04 11:48:56 +03:00
Mattes D
ec4bbe4cc7 CMake: Removed unused legacy LibEvent target. 2015-06-03 10:42:31 +02:00
Mattes D
df426abdc5 CMake: Put projects into solution folders in MSVC. 2015-06-03 10:40:01 +02:00
tycho
2b844e3680 Add build_tools and Self_test as cache options, so that CLion can detect them 2015-05-23 06:36:45 -07:00
Mattes D
ceac39c4cd Added Lua C API checks in Debug builds. 2015-05-07 23:03:02 +02:00
Mattes D
2f369d09b6 Fixed multiple mbedtls inclusion.
Ref.: #1880.
2015-05-03 10:01:19 +02:00
Mattes D
5cc8d82a23 cNetwork: Fixed compilation in out-of-source builds. 2015-01-22 20:12:53 +01:00
Mattes D
c7335255ac Excluded PolarSSL tests from MCS tests. 2015-01-22 20:12:44 +01:00
Mattes D
a8a7488b54 Added the libevent library. 2015-01-22 20:12:39 +01:00
Mattes D
52d307e3b0 CMake: Check libs in submodules before configuring.
This provides an early error message when someone forgets to init / update submodules.
2015-01-09 20:38:25 +01:00
Mattes D
65b5ae0aa2 CMake: Added a C++11 check for VS.
VS2010- cannot be used, VS2012 needs to have a 2012-CTP compiler installed, VS2013+ has all the features we need.
2014-11-02 08:09:22 +01:00
Mattes D
449d08cb3d Merged IniFile into main MCS sources. 2014-10-23 15:15:10 +02:00
Tycho
4f67ca4c0a Added MCServer_ prfix to env vars for versions 2014-09-10 18:08:50 +01:00
Tycho
27be179939 Added abilty to set build info
build info is displayed at startup
Fixes #1410
2014-09-10 16:07:00 +01:00
Tycho
562b2d1d1d Added workaround for clang version 2014-09-06 16:30:04 +01:00
Tycho
5fa206a420 bumped cmake version min and fixed clang support 2014-09-06 15:30:13 +01:00
Mattes D
7f7604a186 Fixed SQLiteCpp include paths for MSVC2010+. 2014-07-28 22:06:47 +02:00
madmaxoft
5fb5f6671f Fixed include directories for SQLiteCpp. 2014-07-28 20:16:24 +02:00
madmaxoft
036a8ff98e Added SQLiteCpp library.
This provides C++ wrappers for SQLite, making it safer to use in the C++ environment.
2014-07-28 19:59:53 +02:00