Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-09-06 | Separated chunk generator from world / plugin interfaces. | Mattes D | 1 | -25/+101 | |
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | |||||
2019-09-04 | Updated LibEvent to release 2.1.11-stable. (#4383) | Mattes D | 1 | -1/+3 | |
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. | |||||
2019-08-28 | Added a basic PalettedBlockArea implementation (#4377) | Mattes D | 3 | -1/+586 | |
2019-08-26 | Improved testing framework. (#4376) | Mattes D | 17 | -351/+388 | |
2019-08-24 | Added BlockState implementation for 1.13 support. | Mattes D | 2 | -0/+158 | |
2019-08-05 | BlockTypeRegistry: Added hint manipulation | Mattes D | 1 | -0/+37 | |
2019-08-05 | BlockTypeRegistry: Initial skeleton | Mattes D | 4 | -0/+348 | |
2018-07-23 | Optimise chunk set (#4260) | peterbell10 | 5 | -14/+39 | |
Closes #1244 Initially I was just going to add the cChunkData to cSetChunkData but profiling revealed that the copying wasn't even the biggest slowdown. Much more time was being spent in cChunk::CreateBlockEntities and cChunk::WakeUpSimulators than was in memcpy so I've made those significantly faster as well. Optimisations performed: * cSetChunkData now stores blocks in a cChunkData object * cChunkData objects can now perform moves even if they are using different pools * cChunk::CreateBlockEntities now iterates in the correct order and only over present chunk sections * Similarly for cChunk::WakeUpSimulators * cSetChunkData::CalculateHeightMap now shortcuts to the highest present chunk section before checking blocks directly | |||||
2018-04-08 | Fix cUUID::Variant (#4213) | peterbell10 | 1 | -2/+31 | |
2018-02-20 | Fix cUrlClient leak (#4125) | peterbell10 | 1 | -5/+19 | |
Fixes #4040 * The TCP connection is now shutdown after OnBodyFinished * Any open connections are closed when cNetworkSingleton::Terminate() is called. * Removed ownership cycles in cUrlClientRequest * Added a check to the test to ensure there are no leaks. | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 2 | -0/+8 | |
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | |||||
2018-02-04 | cChunk and cChunkData: Use vectors for block get and set functions (#4172) | peterbell10 | 3 | -99/+99 | |
* cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions. | |||||
2018-01-22 | CMake: Fix test builds on MSVC (#4131) | peterbell10 | 1 | -0/+1 | |
* Add test dependency missing for MSVC builds. * Appveyor builds tests and tools | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 13 | -9/+27 | |
* 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-22 | Fix Travis build (#4101) | peterbell10 | 1 | -1/+1 | |
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-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 3 | -3/+3 | |
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2 | -2/+2 | |
2017-09-11 | Add a test for cUUID (#4021) | peterbell10 | 3 | -0/+168 | |
2017-08-30 | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2 | -14/+16 | |
* 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-25 | Add cUUID class (#3871) | peterbell10 | 8 | -1/+69 | |
2017-08-21 | Implement protocol level chunk sparsing (#3864) | peterbell10 | 1 | -1/+2 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 3 | -9/+9 | |
2017-07-28 | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 3 | -0/+47 | |
* Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | |||||
2017-07-07 | BigFlower fixes (#3826) | peterbell10 | 3 | -3/+3 | |
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | |||||
2017-07-03 | cBlockInfo static initialisation (#3832) | peterbell10 | 3 | -12/+18 | |
2017-06-24 | cBlockArea supports block entities. (#3795) | Mattes D | 3 | -0/+87 | |
2017-06-19 | Removed the LeakFinder for Windows. (#3777) | Mattes D | 7 | -36/+14 | |
2017-06-15 | Replace evdns with getaddrinfo and getnameinfo (#3766) | peterbell10 | 1 | -0/+6 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 1 | -8/+6 | |
2017-05-04 | Gen: Added a simple PieceGeneratorBFSTree test. | Mattes D | 2 | -0/+103 | |
2017-05-04 | Gen: Moved tests to a separate folder, unified shared sources. | Mattes D | 14 | -337/+27 | |
2017-05-04 | Gen: Moved PiecePool into a separate file. | Mattes D | 5 | -8/+8 | |
Also rewritten the PieceGenerator to use std::unique_ptr. | |||||
2017-03-28 | FastRandom: Added test of class re-creation. (#3648) | Mattes D | 1 | -7/+55 | |
Tests for the precondition of #2935 (re-created cFastRandom generates the same sequence of numbers). | |||||
2017-02-13 | PieceGenerator: Added rotation-aware vertical connectors. | Mattes D | 7 | -2/+601 | |
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 2 | -0/+34 | |
2017-01-15 | Tests: Added LuaState thread stress-test. | Mattes D | 8 | -0/+580 | |
2017-01-15 | Moved cPrefab parser self-check to the LoadablePieces test. (#3536) | Mattes D | 3 | -6/+128 | |
2016-11-13 | Added strict static_cast to void * in printf. | Mattes D | 1 | -3/+3 | |
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 8 | -29/+11 | |
2016-08-24 | HTTP: Fixed empty headers parsing. | Mattes D | 4 | -1/+17 | |
2016-08-22 | cUrlClient: Refactored callbacks to use UniquePtr. | Mattes D | 1 | -8/+8 | |
2016-08-22 | cTCPLink supports TLS out of the box. | Mattes D | 3 | -14/+108 | |
2016-08-22 | UrlClient: Basic HTTP implementation. | Mattes D | 2 | -3/+185 | |
2016-08-03 | Fixed cFastRandom Test. (#3291) | Alexander Harkness | 3 | -0/+116 | |
This resolves #3290 | |||||
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 10 | -20/+0 | |
2016-06-26 | Self tests (#3242) | Mattes D | 3 | -0/+111 | |
* SelfTests: Added a cEvent stress-test. * cNetwork: Fixed startup event hang. The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned. | |||||
2016-06-18 | SelfTests: More logging for EnumInterfaces. | Mattes D | 1 | -2/+3 | |
2016-06-18 | SelfTests: Print a quick message on test start. | Mattes D | 13 | -1/+45 | |
2016-06-18 | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 1 | -28/+0 | |
2016-06-18 | SelfTests: Fixed HTTPMessageParser tests for out-of-source builds. | Mattes D | 1 | -5/+5 | |
2016-06-18 | SelfTests: Fixed missing override keyword in EchoServer. | Mattes D | 1 | -1/+1 | |
2016-06-18 | SelfTests: Moved BoundingBox test to a separate project. | Mattes D | 3 | -0/+125 | |
2016-06-18 | SelfTests: Moved SchematicFileSerializer test into a separate project. | Mattes D | 4 | -0/+330 | |
2016-06-18 | SelfTests: Moved cCompositeChat test to a separate project. | Mattes D | 4 | -0/+180 | |
2016-06-18 | SelfTests: Moved ByteBuffer test to a separate project. | Mattes D | 3 | -2/+129 | |
2016-06-18 | SelfTests: Organized into solution folders. | Mattes D | 4 | -1/+40 | |
2016-06-18 | Moved NetworkInterfaceEnum test to a separate test project. | Mattes D | 2 | -0/+59 | |
2016-04-23 | Out of world blocks are now always considered air blocks | LogicParrot | 1 | -48/+23 | |
2016-03-01 | WebAdmin uses the new HTTP parser framework. | Mattes D | 6 | -11/+333 | |
2016-03-01 | HTTP: Fixed response parser, unified API. | Mattes D | 2 | -6/+13 | |
2016-03-01 | Added unit test for parsing HTTP request. | Mattes D | 5 | -0/+224 | |
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2 | -3/+3 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-24 | Added a Json parser and serializer to Lua API. | Mattes D | 1 | -0/+9 | |
2015-12-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 1 | -3/+3 | |
2015-12-18 | Working coverage build | tycho | 1 | -0/+4 | |
2015-12-13 | blockheight mechanism | Gargaj | 1 | -0/+9 | |
2015-12-01 | Added PieceStructures generator. | Mattes D | 1 | -0/+4 | |
2015-08-20 | Fixed and improved restarting | Tiger Wang | 1 | -0/+1 | |
Restarts are now an actual, close-as-possible to application exit+reopen. | |||||
2015-07-14 | Improved maps | Tiger Wang | 1 | -0/+9 | |
2015-07-01 | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 1 | -1/+1 | |
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | |||||
2015-06-22 | Rebased version of Code | Samuel Barney | 1 | -9/+0 | |
2015-06-20 | Added basic support for loading village prefabs from files. | Mattes D | 1 | -0/+3 | |
2015-06-19 | Externalized cPrefabPiecePool self-test. | Mattes D | 9 | -0/+626 | |
2015-05-24 | Fix clang 3.6 flags to only be used in clang 3.6 | tycho | 1 | -1/+4 | |
2015-05-24 | Disable -Werror for warnings in tests. | tycho | 3 | -14/+3 | |
2015-05-23 | Fix tests | tycho | 1 | -2/+3 | |
2015-05-19 | Fix tests | tycho | 1 | -0/+7 | |
2015-02-20 | Network tests: Fixed clang warnings. | Mattes D | 3 | -3/+3 | |
2015-02-04 | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 1 | -0/+1 | |
Also added an example to the NetworkTest plugin. | |||||
2015-01-27 | Added network termination called at app exit. | Mattes D | 3 | -3/+38 | |
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor. | |||||
2015-01-22 | cNetwork: Renamed callback to OnConnected() | Mattes D | 1 | -1/+1 | |
2015-01-22 | cNetwork: Added link creation callback. | Mattes D | 2 | -11/+48 | |
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data. | |||||
2015-01-22 | cNetwork: Changed listening API. | Mattes D | 1 | -22/+28 | |
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback. | |||||
2015-01-22 | cNetwork: Added error message to error callbacks. | Mattes D | 3 | -8/+8 | |
2015-01-22 | cNetwork: Fixed race conditions with lookups; proper shutdown. | Mattes D | 1 | -0/+1 | |
2015-01-22 | cNetwork: Split the main cpp file into several files. | Mattes D | 1 | -2/+22 | |
2015-01-22 | cNetwork: Split cNetworkSingleton to a separate file. | Mattes D | 1 | -1/+12 | |
2015-01-22 | cNetwork: Added an OnError callback for listening servers. | Mattes D | 1 | -0/+5 | |
The callback receives the error details. | |||||
2015-01-22 | cNetwork: Added multithreading protection. | Mattes D | 1 | -1/+7 | |
2015-01-22 | cNetwork: Implemented connection shutdown and close. | Mattes D | 1 | -1/+15 | |
2015-01-22 | cNetwork: Fixed Linux compilation. | Mattes D | 1 | -1/+1 | |
2015-01-22 | cNetwork: Implemented link address getting. | Mattes D | 1 | -4/+4 | |
2015-01-22 | cNetwork: Implemented basic server functionality. | Mattes D | 1 | -1/+67 | |
2015-01-22 | cNetwork: Implemented IP-to-hostname lookup. | Mattes D | 1 | -3/+16 | |
2015-01-22 | cNetwork: Implemented HostnameToIP lookups. | Mattes D | 4 | -3/+115 | |
2015-01-22 | Extracted Google connection test | Tycho | 3 | -0/+100 | |
2014-12-13 | Removed test | Tiger Wang | 3 | -176/+0 | |
2014-11-01 | Fixed compilation? | Tiger Wang | 1 | -3/+4 | |
2014-09-27 | Update creatable.cpp | worktycho | 1 | -0/+1 | |
2014-09-17 | Fix accedental c++11 | Tycho | 1 | -6/+7 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 3 | -0/+173 | |
2014-09-01 | CopyBlocks test: decreased the test size. | madmaxoft | 1 | -2/+2 | |
It just needlessly ate up test time; there's no need for such rigorous testing once the test started succeeding. | |||||
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 5 | -14/+80 | |
2014-06-14 | Added generic Allocation Pool Interface | Tycho | 5 | -39/+64 | |
2014-06-14 | fixed spaces | Tycho | 1 | -1/+1 | |
2014-06-14 | fixed spaces | Tycho | 5 | -10/+10 | |
2014-06-14 | fixed compile | Tycho | 1 | -1/+9 | |
2014-05-30 | Reduced the number of cChunkData::CopyBlockTypes() tests, added progress. | Mattes D | 1 | -7/+16 | |
2014-05-30 | Fix bugs in test | Tycho | 1 | -3/+5 | |
2014-05-30 | Added a cChunkData::CopyBlockTypes() unit test. | Mattes D | 2 | -0/+68 | |
2014-05-30 | Fixed cChunkData nibble copying. | madmaxoft | 1 | -4/+4 | |
2014-05-30 | Test failures are reported verbosely and into the debug console on Win. | madmaxoft | 1 | -1/+1 | |
2014-05-30 | Fixed test return values. | madmaxoft | 2 | -38/+41 | |
2014-05-29 | Fixed wrong block sizes for copying / setting. | madmaxoft | 1 | -16/+16 | |
2014-05-29 | Fixed test compilation. | madmaxoft | 2 | -16/+16 | |
2014-05-27 | Fixed test globals to work with precompiled headers | Tycho | 5 | -143/+4 | |
2014-05-25 | Fixed bad merge | Tycho | 1 | -1/+7 | |
2014-05-24 | inject TestGlobals.h correctly | Tycho | 2 | -2/+3 | |
2014-05-24 | Implemented style changes | Tycho | 3 | -176/+87 | |
2014-05-23 | Implemented Allocation Pool use by cChunkData | Tycho | 4 | -13/+46 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 6 | -20/+20 | |
2014-05-17 | C++11 | Tycho | 1 | -0/+8 | |
2014-05-17 | fixed assignment bugs and Skylight bug | Tycho | 1 | -1/+1 | |
2014-05-17 | Fix assignment operators test | worktycho | 1 | -3/+3 | |
2014-05-17 | Add test for zeros | worktycho | 1 | -0/+35 | |
2014-05-17 | Add tests for assignment operator | worktycho | 1 | -0/+11 | |
2014-05-17 | Rewrote array copies test | worktycho | 1 | -36/+51 | |
Moved each patten test into its own scope to test all unallocated section code paths. Moved 0's around so that they test the allocated sections code paths. | |||||
2014-05-11 | Added some more tests | Tycho | 2 | -116/+242 | |
2014-05-11 | Added several more testsfor arrays and coordinates | Tycho | 2 | -1/+5 | |
2014-05-11 | test 0 values | Tycho | 1 | -0/+45 | |
2014-05-11 | Cerated array copy tests for block and skylight | Tycho | 1 | -0/+36 | |
2014-05-11 | Fixed a bug in writting zeros to a non-allocated section | Tycho | 1 | -93/+111 | |
2014-05-10 | Fixed stupid buffer overflow in array setblocks | Tycho | 1 | -8/+8 | |
2014-05-10 | Add arries copies tests | Tycho | 1 | -0/+53 | |
2014-05-10 | Added new test | Tycho | 1 | -0/+4 | |
2014-05-10 | Added some more tests | Tycho | 2 | -6/+100 | |
2014-05-10 | Maybe coverage working? | Tycho | 2 | -0/+151 | |
2014-05-03 | cCHunkBuffer that compiles with TestGlobals.h | Tycho | 3 | -1/+14 | |
2014-04-27 | Added Testing capability | Tycho | 3 | -0/+19 | |
2013-12-21 | Moved some files. | Alexander Harkness | 5 | -0/+604 | |