summaryrefslogtreecommitdiffstats
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-26Update to libdeflate 1.9Tiger Wang1-0/+0
2022-01-02Update to mybed 3.1.0Tiger Wang1-0/+0
2021-07-27Update to mybed 3.0.0 (#5275)Tiger Wang1-0/+0
2021-06-25Compile the entire Lua stack as C++Tiger Wang5-0/+0
* Fixes #5216
2021-04-12Update the minimodulesTiger Wang3-0/+0
2021-02-11Clang 7?Tiger Wang1-0/+0
2021-02-10Update libevent, mbedtlsTiger Wang3-10/+0
2021-01-11zlib -> libdeflate (#5085)Tiger Wang2-0/+0
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-09-30Upgrade squeelylitecpp to 3.1.1Tiger Wang1-0/+0
2020-08-05Fix android builds (hopefully)Alexander Harkness1-0/+0
2020-07-23Update submodulesTiger Wang1-0/+0
2020-07-13Jenkins crosscompileTiger Wang2-0/+0
2020-07-13Jenkins fixesTiger Wang4-0/+0
2020-07-06Update mbedtls to 2.23.0Peter Bell1-0/+0
2020-07-06Update libevent to 2.1.12-stablePeter Bell1-0/+0
2020-07-06Update fmtlib to 7.0.0Peter Bell1-0/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang9-0/+0
* Make our CMake slightly less insane
2020-05-09Update submodules (#4727)peterbell106-0/+0
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
2020-05-05Update fmt to 6.2.0 (#4718)peterbell101-0/+0
* Update fmt to 6.2.0
2019-12-30Updated Lua submodulesMattes D2-0/+0
2019-12-28Output the binaries into a per-configuration Server subfolder. (#4440)Mattes D1-0/+0
Make links to the original Server subfolder's items from the per-configuration Server subfolder.
2019-09-04Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D1-0/+0
This finally restores my ability to compile on Windows and Linux from the same source folder (on a network drive). LibEvent broke this long ago by writing a config file into the source folder, rather than build folder. Now it's finally fixed.
2018-04-27tolua++ bindings use nullptr. (#4219)peterbell101-0/+0
Fixes compilation with -Wzero-as-null-pointer-constant.
2018-01-22Fix android build (#4169)peterbell101-0/+0
2018-01-22Update fmt to fix BSD build (#4162)peterbell101-0/+0
2018-01-21Fix cross compilation (#4163)peterbell101-0/+0
2018-01-21Update libevent to 2.1.8 (#4152)peterbell101-0/+0
2018-01-03Add the fmt library (#4065)peterbell101-0/+0
* 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.
2017-12-22Fix Travis build (#4101)peterbell101-0/+0
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-21Fixed Clang 5.0 compile errors (#4085)bibo381-0/+0
* 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-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell103-3/+3
* 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-06-29Update tolua and export EffectIDpeterbell101-0/+0
2017-05-20Update submodule tolua++Lukas Pioch1-0/+0
2017-05-04ToLua++: Removed binary tolua.Mattes D1-0/+0
Ref.: #3686
2017-05-04Fixed SysLua builds.Mattes D1-0/+0
Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
2017-05-04Removed binary ToLua++ from build.Mattes D1-0/+0
A local Lua executable is used instead.
2017-05-01Don't return const ref params and removed functions fromLukas Pioch1-0/+0
ManualBindings.cpp
2017-04-26Build Lua in C++ mode, use exceptions for error-raising. (#3680)Mattes D1-0/+0
Fixes #3678 .
2016-12-15Fixed ToLua compatibility between Lua 5.1 and Lua 5.2+.Mattes D2-0/+0
2016-12-12Use CMake's Android generators to crosscompileTiger Wang3-0/+0
2016-07-18Added a Pure-Lua implementation for bindings generation.Mattes D1-0/+0
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.
2015-12-23Updated LibEvent.Mattes D1-0/+0
Includes a fix to Unicode error messages for Windows builds.
2015-12-18Working coverage buildtycho1-0/+0
2015-11-05Ignore MSVC build artefacts in submodularised libraries.Mattes D7-0/+0
2015-11-04Outsourced all libraries into submodulesJulian Laubstein192-212340/+0
2015-10-01Updated the SQLiteCpp library.Mattes D1-0/+0
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-09-08Fixed Lua output folders for Windows builds.Mattes D2-30/+30
Fixes #2468.
2015-08-10Fixed SQLiteCpp MSVC2015 compilation.Mattes D1-0/+0
SQLiteCpp had a "noexcept" keyword that MSVC2015 didn't like, upgrading it makes it compile.
2015-07-15Updated submodulesTiger Wang1-0/+0
2015-07-10Updated and submodularised JsonCPPTiger Wang18-6526/+0
Conflicts: lib/jsoncpp
2015-07-10Updated luaexpatTiger Wang2-7/+31
2015-07-10Updated expatTiger Wang6-352/+296
2015-07-10Updated zlibTiger Wang17-130/+227
2015-05-28Update SQLitetycho1-0/+0
2015-05-25Support building on FreeBSDlinnemannr2-1/+5
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-16Added TCLAPtycho1-0/+0
2015-05-11ToLua: Fixed LuaJit compatibility.Mattes D1-0/+8
2015-05-03Fixed multiple mbedtls inclusion.Mattes D1-6/+5
Ref.: #1880.
2015-05-02Update submodulesTiger Wang3-0/+0
2015-01-29Updated PolarSSL.Matyas Dolak1-0/+0
2015-01-27Updated PolarSSL.Mattes D1-0/+0
2015-01-27Updated LibEvent.Mattes D1-0/+0
2015-01-22Added the libevent library.Mattes D1-0/+0
2014-10-23Merged IniFile into main MCS sources.Mattes D3-1143/+0
2014-10-21Fixed submodule downgradesHowaner1-0/+0
2014-10-11Reverted submodule changes.Alexander Harkness1-0/+0
2014-09-27Removed polarSSL makefile. Fixes #591.Alexander Harkness1-0/+0
Also normalises polarssl submodule URL.
2014-09-26Removed more unessicary includesTycho1-0/+0
2014-09-23Fixed SQLiteCpp downgradeHowaner1-0/+0
2014-09-17Updated SQLiteCpp.madmaxoft1-0/+0
Our changes have made it into upstream, updating to sync with upstream master.
2014-09-14Fixed SQLiteCpp downgradeHowaner1-0/+0
2014-09-09Downgrade SQLiteCpp againHowaner1-0/+0
2014-09-09Added the player list to the 1.8 protocol.Howaner1-0/+0
2014-09-07Fixed submodules' downgrade from the previous PR merge.Mattes D1-0/+0
2014-09-03Added cIniFile::HasValue() function.madmaxoft2-0/+23
2014-09-03Updated SQLiteCpp.madmaxoft1-0/+0
This should fix #1374.
2014-09-03Quick fix for a preprocessor error with clang on OS Xarchshift1-1/+3
2014-08-22ToLua++ lib: Assert when usertype is not known.Mattes D1-4/+7
2014-08-03ToLua driver: disabled output buffering.madmaxoft1-0/+3
2014-07-28Added SQLiteCpp library.madmaxoft1-0/+0
This provides C++ wrappers for SQLite, making it safer to use in the C++ environment.
2014-07-21SuggestionsTiger Wang1-1/+1
2014-07-18Monster fixesTiger Wang1-0/+0
* Fixes #1203 * Fixes #627
2014-07-13Tolua driver: Fixed wrong indentation.madmaxoft1-15/+15
2014-07-13Adjusted calls to CreateProjectile that passed ItemsTycho1-0/+0
2014-07-06Fixed OpenSSL programs and tests being generated when testing disabled.tycho1-2/+2
2014-07-01LuaProxy compilation under MinGW.Mattes D1-1/+4
2014-07-01Proper sqlite dependency fix.Mattes D1-1/+2
2014-07-01Fixed linking order under MinGW.Mattes D1-2/+8
Ref.: #1044
2014-06-30typoworktycho1-1/+1
2014-06-30Added dependecy of tolualib on luaworktycho1-0/+1
2014-06-30Fixed lua compilation under MinGW.Mattes D1-8/+4
2014-06-30Fixed tolua linking order.Mattes D1-3/+1
Ref.: #1044.
2014-06-27Removed the md5 library, obsoleted by PolarSSL.Mattes D3-474/+0
Fixes #1130.
2014-06-24Added a missing endline.madmaxoft1-1/+1
2014-06-24Added the Lua Proxy DLL.madmaxoft4-0/+317
This builds the lua5.1.dll file on Windows, making it 64-bit if so required.
2014-06-11Fixed constnessworktycho2-67/+74
2014-06-10Portal improvements and suggestionsTiger Wang1-0/+4
2014-06-09Fixed debugging code in tolua++ driver script.madmaxoft1-1/+1
2014-06-09ToLua can now be run in pure-lua mode.madmaxoft5-8/+100
See the src/Bindings/AllToLua_lua.bat for usage example.
2014-06-07Capitalisingworktycho1-1/+1
2014-06-07Fix reading 64 bit valuesworktycho1-2/+5
2014-06-05SuggestionsTiger Wang2-0/+22
2014-06-04Fixed buffer overflow in JSON.madmaxoft1-1/+1
Reported on Coverity as CID 43614.
2014-05-28Cmake system name not System nameworktycho1-1/+1
2014-05-28derpworktycho1-1/+1
2014-05-28FreeBSD requires __POSIX_VISIBLE macro to be definedworktycho1-0/+4
2014-05-28for compiliers other than msvc we need to tell lua that its building as a dllworktycho1-0/+6
2014-05-10Maybe coverage working?Tycho2-0/+183
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-05-01Fixed polarssl programs includedTycho1-1/+2
2014-05-01Tests off by default take 2Tycho1-1/+1
2014-05-01Disable polarssl tests by defaultTycho1-0/+1
2014-05-01Merged change to enable testing to be disabledTycho1-0/+0
This is confirmed upstream but is unlikely to get into the repository for several weeks
2014-04-27Added Testing capabilityTycho1-1/+5
2014-04-25Updated MSVC side of CMake files after recent changes.madmaxoft1-4/+2
2014-04-25Missed these CMakeLists.archshift5-2/+10
2014-04-17Added new AI rulesTiger Wang1-2/+3
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
2014-04-06Added forgoten lua fileTycho1-0/+1476
2014-04-02Fixed tolua++ override supportTycho5-1319/+164
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney1-1/+1
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-23Fixed bad cmake document interpretationTiger Wang1-1/+1
Docs say: "If nothing is found, the result will be <VAR>-NOTFOUND"
2014-03-22Added Additonal check for xxd existanceTycho1-6/+9
2014-03-22FIrst attempt at adding override support to toluaTycho1-5/+6
2014-03-20Fixed enum checking functions not being called in generated codeTycho8-2569/+2572
2014-03-19Fixed bugs in patched tolua outputTycho10-2211/+2531
2014-03-19Fixed tolua emitting isnumber insteand of is<Enum>Tycho4-449/+462
2014-03-19Fixed type error in lua bindingsTycho2-162/+163
2014-03-17Fixed =~ bugTycho2-2/+2
2014-03-16Made buffers static constTycho4-6/+6
2014-03-15Patched tolua to understand size_tTycho2-1/+4
2014-03-15Fix indentationTycho1-1/+1
2014-03-15Patched tolua to emit range checks for enumsTycho7-1747/+2302
2014-03-07Rewound PolarSSL to master branch.madmaxoft1-0/+0
The current Devel branch fails to build on RasPi.
2014-02-28Fixed compatibility with ZeroBraneStudio and LuaRocks.madmaxoft1-1/+5
Lua now compiles into lua51.dll and there's a lua5.1.dll that acts as a export-forwarding proxy to lua51.dll.
2014-02-17Fixed comment typonarroo1-1/+1
2014-02-17Fixed Comment Typo.narroo1-1/+1
2014-02-17Fixed the tab spacing.narroo1-22/+22
2014-02-17Fixed Tab spacing of cases.narroo1-10/+10
2014-02-16Reworked RemoveBom to use unsigned chars and reverted the logic changes in WriteFile. Should work fine now.narroo1-82/+96
2014-02-16Changed unsigned char[] back to char[].narroo1-1/+1
2014-02-16Changed char[] to unsigned char[] in cIniFile::RemoveBomnarroo1-1/+1
2014-02-16FogotTycho1-0/+5
2014-02-16Allow building MCADefrag at the same time as MCServerTycho1-6/+8
2014-02-16Addressed Issue #402. cIniFile can now process UTF-8 files that have anarroo2-67/+91
Byte Order Marker, BOM.
2014-02-16Added a seperate module for Setting flagsTycho1-1/+1
2014-02-11Fixed bug #385. UnloadUnusedChunks now has the same interface asnarroo1-0/+0
SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from now on to prevent deadlocking.
2014-02-05Updated Core & PolarSSLTiger Wang1-0/+0
2014-01-27Updated polarsslTiger Wang1-0/+0
2014-01-22Removed CryptoPP files.madmaxoft194-48168/+0
2014-01-22Added PolarSSL as a submodule.madmaxoft1-0/+0
2014-01-17CMake: Fixed Lua output folder for MSVC2010+.Mattes D1-2/+13
2014-01-16CMake: Fixed output paths for all MSVC versions.madmaxoft1-4/+10
2014-01-16Another VarArgs fix.madmaxoft1-4/+2
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-15Using a 2nd argument instead of va_copy().madmaxoft1-2/+4
This seems to be the only reasonable C++03-only solution.
2014-01-15CMake: Removed SCL warnings from Lua and ZLib.madmaxoft2-0/+9
2014-01-13Renamed unused source files from zlib.madmaxoft2-0/+0
These files are included in zlib, but they should not be compiled into the actual library. Since they contain example code on how to use the lib, I decided to keep them, renamed to .txt.
2014-01-13CMake: Lua DLL is built in the correct folder.madmaxoft1-0/+11
Also removed SCL warnings from MSVC builds.
2014-01-11Fixed the warning in CryptoPP.madmaxoft1-1/+1
It was getting on my nerves too much, decided to actually fix their code.
2014-01-11Fixed reading the files.madmaxoft1-1/+1
Duplicate values were ignored.
2014-01-11IniFile: Split SetValue() into AddValue() and SetValue().madmaxoft2-39/+76
Each function does what one would assume - AddValue adds a new value, SetValue overwrites existing value (creates a new one if not exists, if instructed to do so).
2014-01-10Fixed cIniFile's SetValue().madmaxoft1-9/+1
How did we not see this earlier? Each call to SetValue would actually ADD a value!
2014-01-10Using dlopen() on all platforms except WIN32.madmaxoft1-5/+1
2014-01-09Specified the dynamic loader Lua should use.madmaxoft1-0/+9
2014-01-07Fixed FreeBSD compilitionTycho2-2/+2
2014-01-06Undid the changes to cryptlib.cpp.Diusrex1-10/+0
Instead, altered the VC2008 cryptopp project settings. Someone else will probably need to do the same thing for the 2013 version, since I don't have access to VC2013.
2014-01-05Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.hDiusrex1-0/+10
I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
2014-01-03derpTycho1-0/+3
2014-01-03removed tolua++ makefile which is overwritten by cmakeTycho1-338/+0
2013-12-27Fixed unix Lua dependencies.madmaxoft1-1/+1
2013-12-27Made cmake compilation possible on Windows.madmaxoft3-9/+36
2013-12-22removed lua makefileTycho Bickerstaff1-944/+0
2013-12-22fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker notTycho Bickerstaff1-54/+0
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-54/+0
2013-12-21fixed lua dynamic libraryTycho Bickerstaff1-2/+2
2013-12-20fixed include of math on windowstycho1-0/+2
2013-12-20made LUA shared unless STATIC_LUA is setTycho Bickerstaff1-0/+4
2013-12-20fixed lua dependency on libmTycho Bickerstaff1-0/+1
2013-12-20possable fix of typoTycho Bickerstaff1-1/+1
2013-12-20Revert "fixed bad reference to math library"Tycho Bickerstaff1-2/+1
This reverts commit 0836e5e6602f3101660e7653d7796be7f8f5bd80.
2013-12-20Revert "fixed bad reference to math library"Tycho Bickerstaff1-2/+2
This reverts commit c2167d7ed73c96c7e8cb935074ba860e11c821f9.
2013-12-20fixed bad reference to math libraryTycho Bickerstaff1-2/+2
2013-12-20fixed bad reference to math libraryTycho Bickerstaff1-1/+2
2013-12-20fixed compile errors with headers and math librarytycho1-1/+5
2013-12-19added md5 as a dependency for bindingsTycho Bickerstaff1-0/+11
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff4-19/+63
2013-12-19compiling sqliteTycho Bickerstaff1-0/+14
2013-12-19fixed bindings generationTycho Bickerstaff6-8036/+1087
2013-12-19Revert "Removed unused ToLua files." to allow the new cmake system to build on tolua++ on linuxTycho Bickerstaff6-0/+16332
This reverts commit 906fd503439becaa0856119c573d5dfbbd7f7039.
2013-12-19bindings regenration logicTycho Bickerstaff3-132/+281
2013-12-18added zlib and UITycho Bickerstaff1-0/+11
2013-12-11added zlibTycho Bickerstaff1-1/+0
2013-12-10more cmake changesTycho Bickerstaff2-2/+13
2013-12-10more cmakeTycho Bickerstaff2-0/+17
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7
2013-12-08Fixed tolua++ compilation.madmaxoft3-4/+4
Duplicate files, wrong includes, const-incorrect code...
2013-12-08Removed unused ToLua files.madmaxoft6-16332/+0
Those were used to compile the tolua executable and were getting in the way - Unix makefile tried to compile them into MCS.
2013-11-27Removed faulty .gitattributes.madmaxoft1-8/+8
They cause git to think that files have been modified although they have not, and makes it impossible to revert the files to un-changed form. See http://stackoverflow.com/questions/5009096/files-showing-as-modified-directly-after-git-clone 's first answer.
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft2-5/+5
2013-11-25Fixed all outstanding VS compilation issuesTiger Wang1-1/+1
Also updated VS2008 files.
2013-11-25Further attempts to fix compileTiger Wang3-7/+7
2013-11-24Attempt to fix compilationTiger Wang11-22/+22
2013-11-24Moved SQLite, LuaExpat, and MD5 to /libTiger Wang8-0/+148557
2013-11-24Moved tolua++Alexander Harkness57-0/+25232
2013-11-24Moved zlibAlexander Harkness28-0/+13968
2013-11-24Moved LuaAlexander Harkness61-0/+17630
2013-11-24Moved JSONCPPAlexander Harkness16-0/+6513
2013-11-24Moved iniFileAlexander Harkness2-0/+1012
2013-11-24Moved expatAlexander Harkness18-0/+13475
2013-11-24move cryptopp into libAlexander Harkness193-0/+48154