Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix FreeBSD/clang errors caused by -Werror | linnemannr | 2015-05-30 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With FreeBSD/clang, -Werror combined with the configured warning flags yields some fatal errors, specifically related to signed conversion, 64 to 32 bit conversion, and tautological compares. CONTRIBUTORS Add myself to the contributor list src/Generating/FinishGen.cpp In cFinishGenPassiveMobs::GetRandomMob(), change the type of RandMob from size_t to the difference_type of the ListOfSpawnables iterator MobIter. Using size_t triggers a 64 bit to 32 bit conversion if the difference_type of the iterator class is 64 bit Also explicitly cast the noise expression to unsigned long so we don't get a signed conversion warning from the modulo against ListOfSpawnables.size() src/OSSupport/StackTrace.cpp FreeBSD 10 and above includes a non glibc implementation of benchmark() for which size_t, not int, is the return type. To account for this and prevent a signed conversion warning, abstract the type for numItems with a macro btsize src/StringUtils.h In StringToInteger(), correct a tautological compare warning for unsigned types with the template. If T is unsigned, comparing std::numeric_limits<T>::min() to the unsigned result is always false. That control can enter this branch in an evaluated template with an unsigned type T may also permit a signed number to be parsed and erroneously stripped of its signedness at runtime. To guard against this and avoid the warning in the case that the number parsed from the string is non-positive, return false and don't try to parse if T is unsigned and control enters the non-positive branch | ||||
* | Fixed a lot of warnings | tycho | 2015-05-19 | 1 | -2/+2 |
| | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -0/+5 |
| | |||||
* | StringUtils: Added string vector manipulation. | Mattes D | 2015-01-27 | 1 | -1/+10 |
| | |||||
* | Fixed warnings in StringUtils. | Mattes D | 2015-01-21 | 1 | -20/+31 |
| | |||||
* | Bug fix | Tiger Wang | 2014-09-27 | 1 | -2/+2 |
| | |||||
* | Initial BungeeCord support. | madmaxoft | 2014-09-17 | 1 | -0/+5 |
| | | | | Ref.: #1392 | ||||
* | Fixed spaces. | Mattes D | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Hotfixed recipe.txt loading. | Hownaer | 2014-08-29 | 1 | -2/+2 |
| | |||||
* | More template keyword fixes. | Mattes D | 2014-08-28 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into CraftingFixes | Mattes D | 2014-08-28 | 1 | -1/+0 |
|\ | |||||
| * | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -1/+0 |
| | | |||||
* | | Fixed spaces after "template" keyword. | Mattes D | 2014-08-28 | 1 | -1/+1 |
| | | |||||
* | | Fixed comments | Tycho | 2014-08-13 | 1 | -5/+5 |
| | | |||||
* | | Added missing header | Tycho | 2014-08-13 | 1 | -0/+1 |
| | | |||||
* | | Fixed Integer pasing warnings in CraftingRecipies.cpp | Tycho | 2014-08-13 | 1 | -0/+62 |
|/ | |||||
* | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 1 | -2/+5 |
| | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | Attempting a compilation fix for gcc / clang. | madmaxoft | 2014-08-03 | 1 | -0/+3 |
| | |||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -9/+1 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-10 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: src/Chunk.h | ||||
| * | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -2/+2 |
| | | |||||
* | | cCHunkBuffer that compiles with TestGlobals.h | Tycho | 2014-05-03 | 1 | -0/+3 |
|/ | |||||
* | Fixed CreateHexDump's signedness. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | |||||
* | More Clang warning fixes in the protocols. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | |||||
* | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | Fixed xofts issues | Tycho | 2014-03-14 | 1 | -4/+4 |
| | |||||
* | Fixed more Format issues | Tycho | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | Added macros to follow format string checking through wrappers | Tycho | 2014-03-11 | 1 | -3/+3 |
| | |||||
* | Fixed Alignment issue in ByteBuffer | Tycho | 2014-03-10 | 1 | -1/+1 |
| | |||||
* | Another VarArgs fix. | madmaxoft | 2014-01-16 | 1 | -6/+2 |
| | | | | This time using va_copy() on platforms that have it and simple assignment on platforms that don't. | ||||
* | Using a 2nd argument instead of va_copy(). | madmaxoft | 2014-01-15 | 1 | -2/+6 |
| | | | | This seems to be the only reasonable C++03-only solution. | ||||
* | Added Base64Encode(). | madmaxoft | 2014-01-07 | 1 | -0/+3 |
| | |||||
* | Fixed unaligned memory access in FastNBT. | madmaxoft | 2014-01-02 | 1 | -0/+9 |
| | | | | This should fix #420. | ||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -3/+0 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+96 |