Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MSVC warnings | Tiger Wang | 2021-02-10 | 1 | -26/+0 |
| | |||||
* | CompositeChat: use variants | 12xx12 | 2021-02-08 | 1 | -0/+20 |
| | |||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 1 | -16/+14 |
| | | | Use the standard NDEBUG. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -32/+52 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 2020-09-25 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h. | ||||
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -4/+4 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Add FileStream wrapper | Tiger Wang | 2020-08-19 | 1 | -0/+1 |
| | |||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -5/+0 |
| | |||||
* | Precompile unordered_map/set | Tiger Wang | 2020-07-19 | 1 | -11/+12 |
| | | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | ||||
* | Remove unnecessary includes | Tiger Wang | 2020-07-13 | 1 | -13/+0 |
| | |||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -0/+6 |
| | | | * Make our CMake slightly less insane | ||||
* | Update logging code to reduce unnecessary string copying: | Peter Bell | 2020-05-16 | 1 | -23/+20 |
| | | | | | | * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type | ||||
* | Cleanup unneeded globals (#4736) | peterbell10 | 2020-05-10 | 1 | -37/+2 |
| | |||||
* | Enable C++17 in build | Peter Bell | 2020-05-09 | 1 | -0/+7 |
| | |||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -6/+0 |
| | |||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -1/+1 |
| | | | * Update fmt to 6.2.0 | ||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -6/+0 |
| | | | | | | | | | 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 | ||||
* | Improved testing framework. (#4376) | Mattes D | 2019-08-26 | 1 | -37/+25 |
| | |||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -0/+3 |
| | | | | | | | * 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() | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -81/+20 |
| | | | | | | | * 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. | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -14/+0 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -0/+14 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -14/+0 |
| | |||||
* | Add TOLUA_EXPOSITION for readability | peterbell10 | 2017-08-28 | 1 | -0/+4 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -2/+5 |
| | |||||
* | cParsedNBT: Improved error reporting (#3876) | peterbell10 | 2017-07-30 | 1 | -2/+4 |
| | | | | | | * cParsedNBT: Improved error reporting * Fix typos | ||||
* | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 2017-07-28 | 1 | -1/+3 |
| | | | | | | | | | | * Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | ||||
* | Remove comment | peterbell10 | 2017-07-21 | 1 | -1/+0 |
| | |||||
* | Simplify SizeCheck | peterbell10 | 2017-07-21 | 1 | -6/+2 |
| | |||||
* | Remove stricmp macro in favour of NoCaseCompare | peterbell10 | 2017-07-21 | 1 | -2/+0 |
| | |||||
* | Remove alignment macros | peterbell10 | 2017-07-21 | 1 | -7/+0 |
| | |||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 1 | -5/+0 |
| | |||||
* | Allocate redstone component handlers upfront | peterbell10 | 2017-07-17 | 1 | -4/+3 |
| | |||||
* | NetworkSingleton: Fixed a throw warning in VS2017. (#3792) | Mattes D | 2017-06-22 | 1 | -3/+3 |
| | | | Also fixed the misleading name. | ||||
* | MSVC Debug builds: Added operator new redirection to provide more info. (#3781) | Mattes D | 2017-06-19 | 1 | -0/+18 |
| | |||||
* | LuaState: Fixed VS2017's throw warnings for destructors. (#3779) | Mattes D | 2017-06-19 | 1 | -2/+9 |
| | |||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 1 | -6/+13 |
| | | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | ||||
* | Flush immediately after each line when running tests. | Mattes D | 2016-06-18 | 1 | -54/+55 |
| | |||||
* | Removed old and wrong code from Globals.h. | Mattes D | 2016-02-24 | 1 | -16/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -6/+6 |
| | |||||
* | MSVC: Reviewed warnings, disabled a useless one, re-enabled an old one. | Mattes D | 2015-11-05 | 1 | -3/+1 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Increase robustness of the logging subsystem | tycho | 2015-09-15 | 1 | -1/+19 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -4/+4 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -0/+2 |
| | |||||
* | Externalized cPrefabPiecePool self-test. | Mattes D | 2015-06-19 | 1 | -6/+10 |
| | |||||
* | Merge pull request #2144 from mc-server/comparators | Alexander Harkness | 2015-06-09 | 1 | -4/+3 |
|\ | | | | | Redstone improvements [SEE DESC] | ||||
| * | Comparators | Tiger Wang | 2015-06-06 | 1 | -4/+3 |
| | | |||||
* | | Daemon support on Linux. | Anthony Birkett | 2015-06-05 | 1 | -0/+1 |
| | | | | | | | | Added null console log listener, avoid printf() when stdout is closed. | ||||
* | | Skip unknown cflag for Apple clang & remove cSemaphore | Cengiz Can | 2015-06-04 | 1 | -1/+0 |
|/ | |||||
* | Move make_unique into a namespace to avoid ADL issues | tycho | 2015-05-16 | 1 | -3/+7 |
| | | | | this prevents VS finding std::make_unique for constructors that take types from std | ||||
* | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Unified cByteBuffer types. | Mattes D | 2015-03-21 | 1 | -3/+7 |
| | | | | cByteBuffer now reads and writes any of the [U]Int<N> types. | ||||
* | LuaAPI: Added client TLS support for TCP links. | Mattes D | 2015-02-12 | 1 | -1/+2 |
| | |||||
* | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 2015-02-04 | 1 | -0/+1 |
| | | | | Also added an example to the NetworkTest plugin. | ||||
* | Added newline to logged messages in the tests. | Mattes D | 2015-01-22 | 1 | -8/+12 |
| | |||||
* | Extracted Google connection test | Tycho | 2015-01-22 | 1 | -0/+10 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -0/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | Created new type cTickTime and rewrote cWorld::TickThread to use it | Tycho | 2015-01-11 | 1 | -0/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into c++11Events | Mattes D | 2014-12-07 | 1 | -6/+6 |
|\ | |||||
| * | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -2/+3 |
| |\ | |||||
| | * | Added a basic stacktracing for assert and signal failures. | Mattes D | 2014-11-29 | 1 | -2/+3 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 2014-11-26 | 1 | -2/+2 |
| | | | |||||
| * | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -2/+4 |
| |\| | |||||
| * | | Suggestions | Tiger Wang | 2014-10-24 | 1 | -2/+1 |
| | | | |||||
| * | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-10-20 | 1 | -13/+2 |
| |\ \ | |||||
| * | | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -1/+0 |
| | | | | |||||
| * | | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -0/+1 |
| | | | | |||||
| * | | | Use std::thread | Tiger Wang | 2014-10-19 | 1 | -1/+1 |
| | | | | |||||
* | | | | Moved the chrono include into Globals. | Mattes D | 2014-10-24 | 1 | -0/+2 |
| |_|/ |/| | | |||||
* | | | Removed the "conditional expression is constant" warning. | Mattes D | 2014-10-23 | 1 | -2/+4 |
| |/ |/| | | | | | MSVC spits out many of these on its own std libraries. | ||||
* | | Removed obsolete tr1::shared_ptr. | Mattes D | 2014-10-19 | 1 | -13/+2 |
|/ | |||||
* | Fix spaces | worktycho | 2014-10-12 | 1 | -2/+2 |
| | |||||
* | Moved a few objects to unique_ptr | tycho | 2014-10-10 | 1 | -0/+7 |
| | |||||
* | Fixed MSVC compilation. | Mattes D | 2014-10-10 | 1 | -0/+3 |
| | |||||
* | Float/Ciel: If it's going to use C++11, it might as well take advantage of it | archshift | 2014-10-09 | 1 | -20/+6 |
| | |||||
* | Use static casts instead of C casts, add floor-cast functions | archshift | 2014-10-09 | 1 | -4/+36 |
| | |||||
* | Fixed UNUSED macro so that it doesn't require type knowledge. | madmaxoft | 2014-09-26 | 1 | -1/+10 |
| | | | | Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables). | ||||
* | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -0/+21 |
| | |||||
* | Renamed Loggers | Tycho | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -1/+1 |
| | |||||
* | Fixed a ToLua warning - operator = not supported. | madmaxoft | 2014-08-03 | 1 | -2/+2 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -4/+4 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -11/+11 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -5/+5 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -3/+18 |
|\ | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | Fixed size_t printfing under MinGW. | Mattes D | 2014-06-30 | 1 | -3/+18 |
| | | |||||
* | | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 2014-06-17 | 1 | -1/+0 |
|/ | |||||
* | Test failures break into MSVC debugger. | madmaxoft | 2014-05-30 | 1 | -0/+6 |
| | |||||
* | Test failures are reported verbosely and into the debug console on Win. | madmaxoft | 2014-05-30 | 1 | -2/+18 |
| | |||||
* | Fixed test globals to work with precompiled headers | Tycho | 2014-05-27 | 1 | -12/+36 |
| | |||||
* | Fixed MSVC2013 compilation. | Mattes D | 2014-05-01 | 1 | -1/+1 |
| | |||||
* | Fixed C++11 check for SharedPtr. | madmaxoft | 2014-04-25 | 1 | -1/+1 |
| | |||||
* | Added shared_ptr handling for C++03 mode. | madmaxoft | 2014-04-25 | 1 | -3/+7 |
| | |||||
* | Declared a SharedPtr that hopefully resolves on all platforms. | madmaxoft | 2014-04-24 | 1 | -1/+9 |
| | | | | MSVC2008 has it in std::tr1, all the others in std. | ||||
* | Initial C++ SSL classes. | madmaxoft | 2014-04-24 | 1 | -2/+4 |
| | |||||
* | Fixed a few MSVC type warnings. | Mattes D | 2014-04-03 | 1 | -0/+3 |
| | |||||
* | Fixed non-virtual destructors warnings. | madmaxoft | 2014-03-28 | 1 | -2/+8 |
| | |||||
* | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 2014-03-14 | 1 | -2/+9 |
| | |||||
* | Added NORETURN macro | Tycho | 2014-03-14 | 1 | -0/+4 |
| | |||||
* | Fixed xofts issues | Tycho | 2014-03-14 | 1 | -1/+2 |
| | |||||
* | Fixed comma | Tycho | 2014-03-12 | 1 | -2/+2 |
| | |||||
* | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 1 | -0/+4 |
| | |||||
* | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 1 | -1/+14 |
|\ | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | Fixed printf format compatabilty | Tycho | 2014-03-12 | 1 | -0/+5 |
| | | |||||
| * | Merge branch 'master' into Werror | Tycho | 2014-03-12 | 1 | -0/+8 |
| |\ | | | | | | | | | | | | | Conflicts: src/Generating/PieceGenerator.cpp | ||||
| | * | Unified Vector classes | andrew | 2014-03-11 | 1 | -0/+8 |
| | | | |||||
| * | | Fixed comments an assert | Tycho | 2014-03-12 | 1 | -1/+1 |
| | | | |||||
* | | | Added macros to follow format string checking through wrappers | Tycho | 2014-03-11 | 1 | -0/+4 |
|/ / | |||||
* | | Fixed test asserts | Tycho | 2014-03-10 | 1 | -3/+4 |
| | | |||||
* | | Be more parinoid about int sizes | Tycho | 2014-03-09 | 1 | -2/+16 |
| | | |||||
* | | Globals.h is now warnings free again. | Tycho | 2014-03-09 | 1 | -2/+0 |
|/ | | | | Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs | ||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -0/+1 |
| | |||||
* | Thread safe cMap manager | andrew | 2014-02-20 | 1 | -3/+3 |
| | |||||
* | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 1 | -0/+10 |
| | |||||
* | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-01-26 | 1 | -0/+3 |
|\ | | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h | ||||
| * | PolarSSL is fully used for 1.3.2 protocol encryption. | madmaxoft | 2014-01-23 | 1 | -0/+3 |
| | | |||||
* | | Added support for overide in c++11 supporting varients of gcc/clang | Tycho | 2014-01-26 | 1 | -2/+4 |
|/ | |||||
* | Move biome definition to separate files | Bill Derouin | 2014-01-09 | 1 | -0/+1 |
| | |||||
* | Disabled an unneeded MSVC warning. | madmaxoft | 2014-01-07 | 1 | -4/+7 |
| | | | | Also sorted the enabled warnings by their numerical code for easier searching.. | ||||
* | Disabled the type conversion MSVC warning. | madmaxoft | 2014-01-06 | 1 | -1/+3 |
| | | | | It was hitting way too many false positives. | ||||
* | Changed the release version of ASSERT. | Diusrex | 2014-01-05 | 1 | -1/+1 |
| | | | | This was so a variable only used in ASSERT statements will not give a warning about not being used. | ||||
* | Making all of the useful level 4 warnings be active. | Diusrex | 2014-01-05 | 1 | -1/+13 |
| | |||||
* | Removed offending tr1/memory header inclusion. | madmaxoft | 2013-12-18 | 1 | -3/+0 |
| | | | | We already use <memory> at line 160, this was a double include, additionally causing problems (#424). | ||||
* | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 2013-12-14 | 1 | -0/+1 |
| | |||||
* | Fixed a load of issues, clang autodetection works now. | Alexander Harkness | 2013-11-27 | 1 | -1/+0 |
| | | | | | | | | This fixes issue #210. This also removes the disableasm option, so it would be wise to remove it from any scripts that use it. I also removed a random line in the middle of globals.h, why was it there? | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+227 |