Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-06-25 | Compile the entire Lua stack as C++ | Tiger Wang | 3 | -3/+3 | |
* Fixes #5216 | |||||
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 3 | -81/+9 | |
* Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | |||||
2021-05-04 | Rename files to match code | Tiger Wang | 1 | -1/+1 | |
2021-04-12 | Update entity sizes | Tiger Wang | 1 | -5/+5 | |
2021-04-12 | Update the minimodules | Tiger Wang | 3 | -4/+4 | |
2021-04-08 | cPieceModifier interface and cPieceModifierRandomizeBlocks class (#5122) | Damián Imrich | 3 | -0/+13 | |
2021-04-08 | Obsidian pillars, end fountain, not Ender dragon spawning (#4993) | 12xx12 | 2 | -0/+646 | |
* added generator for obsidian pillars and central fountain which then is used for the exit portal * checkstyle * checkstyle the second * fixed clang removed magic number added Clamp * make the pillars configurable * fixed clang added warning if there was a unknown value if the tower should have a cage or not * forgot to cancel on unkwon value * fixed clang this time maybe * added new generator to generator test * fixed test * added prefab generation for end fountain * fixed checkstyle and updated the prefab * added ender dragon spawning made the fountain positioning dynamic removed fountain placement functions * added enderdragon stuff to testing * pls compile * added changes suggested by @peterbell10 * fixed clang * added debug for further research on the ARM build * ok - it wasn't my tower placement * checking in setup * readded the fountain schematic * removed finisher * readded generator * removed generator trigger - kept ini file access * using cChunkDef function to calculate abs pos of endercrystal * yes, I know it's unused... * commented everything in the ComposableGenerator.cpp - so only the new class in compiled in but not called at all * don't compile in the new generator at all (removed from CMakeLists.txt) * readded the new generator * readded the new generator * removed debug output * made the towers generate acrocc chunk borders * fixed bad merge * fixed clang * fixed clang * generate the dragon 20 blocks above terrain * trying to fixed weird undefined reference * maybe this fixes the weird behaviour * takes chunk width as parameter now * added new comments with info to generated structures removed ender dragon spawning removed chunkwidth from parameter * fixed linker * maybe fixed linking. tried with gc and clang * fixed ender crystal * fixed test * updated output strings * fixed build * fixed up test * fixed test compile * fixed test - cant get the tests to show up * removed the semicolon * maybe this is the fix? * at this point i have no idea - in MVSC it works * removed the ender dragon Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2021-03-28 | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 3 | -3/+3 | |
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | |||||
2021-03-15 | Remove DoesDropOnUnsuitable | Tiger Wang | 3 | -27/+0 | |
This is only overridden false in Vines and Snow. It is called when a CanBeAt check fails, to determine whether DropBlockAsPickups is called. However, Vines and Snow already drop nothing without the right tool, so this function is superfluous. | |||||
2021-03-05 | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 7 | -266/+187 | |
* Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | |||||
2021-02-08 | CompositeChat: use variants | 12xx12 | 1 | -34/+48 | |
2021-01-26 | Fix debug macro situation (#5114) | Tiger Wang | 1 | -4/+4 | |
Use the standard NDEBUG. | |||||
2021-01-11 | zlib -> libdeflate (#5085) | Tiger Wang | 5 | -7/+6 | |
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | |||||
2020-12-21 | Remove unused Temporary namespace | Tiger Wang | 4 | -10/+10 | |
- Remove unused temporary mapping generation at startup | |||||
2020-11-11 | changing cComposite Chat to newer c++ standart (#5028) | 12xx12 | 1 | -0/+14 | |
* upgraded to new C++ for loops and fixed errors * readded delete instruction * now using unique ptr * added test for text only (that was causing an error for me) * using unique ptr constructor * added move constructor and deleted copy constructor * fixed deconstuctor http prefixes are constexpr and std::string_view * fixed whitespace Co-authored-by: 12xx12 <12xx12100@gmail.com> | |||||
2020-10-18 | cBlockInfo: further cleanup (#5001) | Tiger Wang | 2 | -25/+2 | |
* cBlockInfo: further cleanup + Use switch statements instead of lookup in dynamically initialised arrays - Remove some deprecated bindings * Update Stubs removing references to BlockInfoArray | |||||
2020-10-15 | Fix Android builds (#4998) | Tiger Wang | 14 | -415/+415 | |
Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply. | |||||
2020-09-25 | Remove unused Temporary namespace | Tiger Wang | 2 | -2/+0 | |
2020-09-25 | Unify block entity pickup conversion | Tiger Wang | 3 | -3/+3 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 3 | -92/+72 | |
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-09-18 | Adding Generator For Single Piece Structures (#4830) | 12xx12 | 1 | -0/+2 | |
* the beginning of a magnificent work - added basic files and classes without functionality * fixed checkstyle * added imports * moved imports * - Adding SinglePieceStructureGen - Adding a cPrefabChestStructure to generate Chests with contents - Added the options and calls to the ComposableGenerator * moved Globals to .h file * removed the chest thingy from the code (for now) * Update SinglePieceStructureGen.cpp * readded whitespace * renamed to SinglePieceStructuresGen for consistency added new classes to test * fixed small things (mostly style and cleanup) removed loottables * added small changes suggested by madmaxoft * small change to documentation * added check for allowed biomes * check only the biome of the origin position * fixed error on IsBiomeAllowed * added new cubesets * updated structures for with sponging * updated biome names * updated metadata to prevent crashing removed debug output * updated structures with sponging * added sponging to deserterWell to make it disappear in sand * small change in meta * rename DesertTemple -> DesertPyramid * minor style changes Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-09-17 | BlockHandler: no dynamic allocation (#4862) | Tiger Wang | 3 | -23/+11 | |
* BlockHandler: no dynamic allocation | |||||
2020-08-04 | Fixup test block handler stubs | Tiger Wang | 3 | -51/+3 | |
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -4/+4 | |
2020-07-12 | More CMake cleanup | Tiger Wang | 1 | -4/+4 | |
2020-07-06 | Update libevent to 2.1.12-stable | Peter Bell | 2 | -2/+0 | |
2020-05-16 | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 15 | -109/+32 | |
* Make our CMake slightly less insane | |||||
2020-05-10 | Cleanup unneeded globals (#4736) | peterbell10 | 5 | -5/+5 | |
2020-05-09 | Update submodules (#4727) | peterbell10 | 3 | -4/+8 | |
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-05 | Require semi-colon at end of function-like macros (#4719) | peterbell10 | 3 | -62/+83 | |
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 3 | -12/+15 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-17 | More Vector3 in cBlockHandler (#4644) | Mattes D | 3 | -3/+3 | |
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | |||||
2020-04-03 | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 3 | -10/+6 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 5 | -45/+79 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2020-02-24 | BlockTypePalette: Improved loading speed in MSVC Debug builds. | Mattes D | 1 | -2/+2 | |
2019-12-28 | BlockTypePalette: Load from TSV or original reports' JSON. | Mattes D | 3 | -222/+143 | |
2019-12-28 | Moved ProtocolBlockTypePalette functionality into BlockTypePalette. | Mattes D | 6 | -218/+158 | |
2019-12-28 | BlockTypePalette: Refactored for usage in both directions. | Mattes D | 1 | -48/+60 | |
Improves index() lookup speeds and allows BlockTypePalette to be used in place of ProtocolBlockTypePalette. | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 3 | -63/+36 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 3 | -13/+12 | |
2019-09-22 | Add ProtocolBlockTypePalette (#4391) | E14 | 5 | -0/+420 | |
2019-09-10 | Fix race condition in UrlClientTest | peterbell10 | 1 | -15/+16 | |
2019-09-08 | ChunkGenerator: Changed to use cChunkCoords. | Mattes D | 1 | -3/+3 | |
2019-09-07 | Generator: Added repeatability test. | Mattes D | 2 | -24/+114 | |
2019-09-06 | Added a BasicGeneratorTest. | Mattes D | 4 | -1/+336 | |
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 | |