Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |