1
0
Fork 0
Commit Graph

218 Commits

Author SHA1 Message Date
Michael Hinz a28a93c9ca cppcheck found an out of bound array access. (#4182)
The ChunkHeader array is five unsigned chars big, they're indexed
0..4 - but in the error message (when ChunkHeader[4] isn't 2 -
indicating zlib compression, which seems to be the only allowed
compression method for chunks) the contents of ChunkHeader[5]
is printed. Maybe not so dangerous, but it'll give garbage results
in the log.
2018-02-04 20:41:49 +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
Alexander Lyons Harkness 1926181cb7 Fix style of Tools 2017-12-24 14:23:23 +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
peterbell10 5b6b043752 Fix tool builds on AppleClang 2017-10-21 19:31:45 +02: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 f4f2fc7c3d Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
mathiascode 02775e52c4 Minor changes (#3909) 2017-08-24 11:19:40 +02:00
peterbell10 759618b035 Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Mattes D 7ac3b0fa0b Removed the LeakFinder for Windows. (#3777) 2017-06-19 11:05:19 +02:00
mathiascode 4311f4a658 Added some blocks and items (#3503) 2017-02-14 11:13:55 +01:00
Mattes D 4ce26c6f0e NoiseSpeedTest: use a single templatized function. 2016-11-15 22:52:03 +01:00
Mattes D eedc1174a5 Added NoiseSpeedTest project. 2016-11-15 07:38:00 +01:00
Mattes D d2e8643607 Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
Mattes D 8eaa8613da CMake: Remove needless minimum version specifications. 2016-07-18 22:11:42 +02:00
Mattes D 1d0bfead3e Added GrownBiomeGenVisualiser. 2016-05-29 19:12:47 +02: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
Alexander Harkness 16d0bc10a4 Removed offending tr1 references. 2015-12-22 19:55:00 +00:00
Alexander Harkness 8b851d5048 Added HTTPS links wherever they are supported. 2015-12-19 14:30:32 +00:00
tycho e1d5e5e165 Improved types of utf 16 strings 2015-10-02 17:26:53 +02:00
tycho 3187dbf0aa Increase robustness of the logging subsystem 2015-09-15 16:19:49 +01:00
bibo38 0cb0bbe51a Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functions 2015-07-12 21:02:47 +02:00
Anthony Birkett 9dac390247 Daemon support on Linux.
Added null console log listener, avoid printf() when stdout is closed.
2015-06-05 15:47:47 +01:00
tycho c627016ea6 Fix other clang 3.6 commit 2015-05-24 17:14:35 +01:00
tycho 7a8025eacd Disable -Werror for warnings in tools. 2015-05-24 13:24:34 +01:00
tycho 62c99145d0 Disable warnings in MCADefrag, ProtoProxy and tests 2015-05-23 12:47:54 +01:00
Tiger Wang 2919d08883 Update submodules 2015-05-02 15:57:49 +01:00
Mattes D d3aba9ed3f QtBiomeVisualiser: Fixed compilation and INI loading. 2015-03-28 20:47:24 +01:00
Mattes D b913c5da69 Added VarInt64, normalized cPacketizer datatype names. 2015-03-22 23:09:23 +01:00
Mattes D 8df9f1685a ProtoProxy: Fixed connection and logging. 2015-03-22 15:00:51 +01:00
Mattes D b1d4b3bb96 Unified cByteBuffer types.
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-21 13:00:20 +01:00
Creaprog 9fab1d85bc Fixed Server.cpp 2015-02-16 09:27:52 +01:00
Creaprog 6f9c62172b Fixed Server.cpp 2015-02-15 20:39:53 +01:00
Creaprog cbd2a09135 Fixed Server.cpp 2015-02-15 18:28:33 +01:00
Creaprog a063da9398 Fixed Server.cpp 2015-02-15 17:28:19 +01:00
Creaprog 5797f99def Fixed Server.cpp
Performance improvement.
2015-02-15 14:29:11 +01:00
Mattes D b93903db23 Fixed RCONClient compilation. 2015-01-27 14:53:28 +01:00
Matyas Dolak 2b75c89051 ProtoProxy: Added socket startup error reporting.
Fixes CID 66433, fixes CID 66443.
2015-01-23 10:10:25 +01:00
Matyas Dolak dc5ab256a5 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 14:15:35 +01:00
Matyas Dolak b333551830 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 11:24:32 +01:00
Mattes D 9e4528793a ProtoProxy: Log block change packet details. 2014-12-25 20:41:12 +01:00
Mattes D 7d35e84578 Fixed tools compilation.
Fixes errors introduced in 081e7ddd02.
2014-12-25 08:47:35 +01:00
Mattes D 557dc5a93f ProtoProxy: Added a sanity check to metadata string lengths.
Fixes CID 66415.
2014-12-21 22:51:17 +01:00
Mattes D f5b4c92a10 MCADefrag: Added a sanity check for chunk size.
Fixes CID 66448.
2014-12-21 22:50:32 +01:00
Masy98 6e8e1c6d8d Added Rabbits 2014-12-20 10:31:34 +01:00
Masy98 c836b52dd1 Added Entity Guardian 2014-12-18 19:30:32 +01:00
Mattes D 3c3cb198f3 Fixed c++11 branch issues. 2014-12-07 15:46:27 +01:00
Mattes D ed99216ba4 Tools: Removed unused Timer.* file from CMakeLists.txt. 2014-12-04 22:51:40 +01:00
Mattes D c014f5624c Merged branch 'origin/master' into c++11. 2014-12-04 22:04:16 +01:00