1
0
Fork 0
Commit Graph

190 Commits

Author SHA1 Message Date
peterbell10 86a8fdf3fe tolua++ bindings use nullptr. (#4219)
Fixes compilation with -Wzero-as-null-pointer-constant.
2018-04-27 23:22:41 +02:00
peterbell10 7f0500e4c2 Fix android build (#4169) 2018-01-22 21:03:17 +00:00
peterbell10 7f4324f0e0 Update fmt to fix BSD build (#4162) 2018-01-22 09:37:37 +00:00
peterbell10 67f49e1a4a Fix cross compilation (#4163) 2018-01-21 20:18:24 +00:00
peterbell10 cd88a11735 Update libevent to 2.1.8 (#4152) 2018-01-21 10:03:39 +00:00
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
peterbell10 832b394715 Fix Travis build (#4101)
Stop using gdb on osx - was breaking the build
Add clang 3.5 build as travis now defaults to 5.0
Fix unknown-warning-option errors on AppleClang
ProtoProxy: Use nullptr
UrlClientTest: add override to callback destructor
Update jsoncpp to use nullptr
2017-12-22 18:25:46 +00:00
bibo38 532731e6f4 Fixed Clang 5.0 compile errors (#4085)
* Fixed Clang 5.0 compile errors

* Fixed wrong comment

* Only disable warnings in Clang 5 or higher

* Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning

* Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork
2017-12-21 11:36:58 +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 33527067ed Update tolua and export EffectID 2017-06-29 18:58:48 +02:00
Lukas Pioch 4b5a11ee95 Update submodule tolua++ 2017-05-20 13:37:43 +02:00
Mattes D 598da23434 ToLua++: Removed binary tolua.
Ref.: #3686
2017-05-04 23:22:02 +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
Lukas Pioch 74e6f41958 Don't return const ref params and removed functions from
ManualBindings.cpp
2017-05-01 11:10:21 +02:00
Mattes D 85f11694da Build Lua in C++ mode, use exceptions for error-raising. (#3680)
Fixes #3678 .
2017-04-26 23:02:57 +02:00
Mattes D 775ad81f4d Fixed ToLua compatibility between Lua 5.1 and Lua 5.2+. 2016-12-15 11:11:02 +01:00
Tiger Wang 8c6d0b51c7 Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
Mattes D 1a30c2262b Added a Pure-Lua implementation for bindings generation.
The BindingsProcessor.lua script can be opened in ZeroBraneStudio and debugged from there, it invokes the entire ToLua++ processing.
Also added docs-generation to the ToLua++ processor.
2016-07-18 22:11:35 +02:00
Mattes D 4950cd6a19 Updated LibEvent.
Includes a fix to Unicode error messages for Windows builds.
2015-12-23 16:27:27 +01:00
tycho 91d0abae4c Working coverage build 2015-12-18 11:19:21 +01:00
Mattes D 7fdfbebe05 Ignore MSVC build artefacts in submodularised libraries. 2015-11-05 11:32:00 +01:00
Julian Laubstein 9a7dd0a077 Outsourced all libraries into submodules 2015-11-04 23:25:00 +01:00
Mattes D 5b196efd5c Updated the SQLiteCpp library.
The Windows builds started failing because the library was asking for a submodule that seems to have moved. The submodule wasn't needed anyway.
2015-10-01 13:28:32 +02:00
Mattes D 76d2f85b9a Fixed Lua output folders for Windows builds.
Fixes #2468.
2015-09-08 09:12:02 +02:00
Mattes D db09c733ea Fixed SQLiteCpp MSVC2015 compilation.
SQLiteCpp had a "noexcept" keyword that MSVC2015 didn't like, upgrading it makes it compile.
2015-08-10 13:23:28 +02:00
Tiger Wang 788cdebd72 Updated submodules 2015-07-14 23:13:52 +01:00
Tiger Wang ccfe04a0a2 Updated and submodularised JsonCPP
Conflicts:
	lib/jsoncpp
2015-07-09 23:10:51 +01:00
Tiger Wang 51a118f1ef Updated luaexpat 2015-07-09 23:06:24 +01:00
Tiger Wang abd5708e5c Updated expat 2015-07-09 23:06:23 +01:00
Tiger Wang 5a3c3447b7 Updated zlib 2015-07-09 23:06:23 +01:00
tycho 8dcb5105c9 Update SQLite 2015-05-28 12:57:39 +01:00
linnemannr 5049fd0fbf Support building on FreeBSD
SetFlags.cmake

	Add -lexecinfo to linker flags for FreeBSD to resolve backtrace()

lib/sqlite/CMakeLists.txt

	Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for
	POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define
	controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined
	to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE
	and __POSIX_VISIBLE to the 199506 for POSIX.1c

lib/tolua++/CMakeLists.txt
src/CMakeLists.txt

	Add /usr/local/lib to the library search path for FreeBSD builds

src/OSSupport/Errors.cpp

	Correct the strerror_r() implementation determination to check whether
	_GNU_SOURCE is defined, not what it evaluates to
2015-05-24 20:07:31 -06:00
tycho da58620d45 Added TCLAP 2015-05-16 10:46:51 +01:00
Mattes D 3ddd2f567c ToLua: Fixed LuaJit compatibility. 2015-05-11 16:19:01 +02:00
Mattes D 2f369d09b6 Fixed multiple mbedtls inclusion.
Ref.: #1880.
2015-05-03 10:01:19 +02:00
Tiger Wang 2919d08883 Update submodules 2015-05-02 15:57:49 +01:00
Matyas Dolak c329bd28ec Updated PolarSSL. 2015-01-29 15:10:20 +01:00
Mattes D 32dd102988 Updated PolarSSL. 2015-01-27 17:40:16 +01:00
Mattes D 1d69cad676 Updated LibEvent. 2015-01-27 16:26:35 +01:00
Mattes D a8a7488b54 Added the libevent library. 2015-01-22 20:12:39 +01:00
Mattes D 449d08cb3d Merged IniFile into main MCS sources. 2014-10-23 15:15:10 +02:00
Alexander Harkness ad42adb5fa Removed polarSSL makefile. Fixes #591.
Also normalises polarssl submodule URL.
2014-09-27 12:04:54 +01:00
Tycho a3f940f47c Removed more unessicary includes 2014-09-26 18:13:19 +01:00
Mattes D 690867c89e Fixed submodules' downgrade from the previous PR merge. 2014-09-07 09:09:10 +02:00
Masy98 9cdb9b6262 Merge branch 'master' into blocks
Conflicts:
	MCServer/crafting.txt
2014-09-06 22:06:40 +02:00
madmaxoft fac89d0c43 Added cIniFile::HasValue() function. 2014-09-03 23:00:16 +02:00
madmaxoft b4c6ad0036 Updated SQLiteCpp.
This should fix #1374.
2014-09-03 22:37:50 +02:00
archshift 62d5ab15a5 Quick fix for a preprocessor error with clang on OS X 2014-09-02 23:21:34 -07:00