Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+9 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -1/+1 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Smelting Gives Experience (#4094) | Alex Sweet | 2018-04-11 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Smelting Exp Smelting now gives experience * Furnace.txt update Exp rewards are entered in furnace.txt, Reward calculation is now done is the furnaceentity class * furnace.txt update Changed alignment tabs to spaces Included documentation of exp in recipe * Updated StringToFloat changed strtod to strtof * Explicit Float to Int * Reworked Smelting Rewards * No C casts -Adds new function to the api -Sets reward counter to 0 in furnace constructor * Style and exp lock removed -Fixed style mistakes accoring to PR notes -XP isn't locked to a single player anymore * No Smelter API -Removed SetLastSmelter and GetLastSmelter -Fixed comments -Fixed log reward amounts | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -123/+30 |
| | | | | | | | * 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. | ||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 1 | -0/+36 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | Remove stricmp macro in favour of NoCaseCompare | peterbell10 | 2017-07-21 | 1 | -3/+1 |
| | |||||
* | fix endless loop in StringReplace (#3658) | Marvin Kopf | 2017-04-01 | 1 | -1/+7 |
| | | | | * Fixed a recursive loop where the replacement would again be searched for the needle. * Skip if the needle is empty. Find(needle) always matches if needle is empty. | ||||
* | StringUtils: Dropped an unneeded copy in lower-/upper-casing. (#3512) | Mattes D | 2017-02-13 | 1 | -4/+6 |
| | |||||
* | Refactored to put URL Encoding / Decoding in a single place. (#3491) | Mattes D | 2016-12-25 | 1 | -57/+163 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -4/+0 |
| | |||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 1 | -2/+2 |
| | |||||
* | Fix unicode handling in StringUtils::TrimString | LogicParrot | 2016-02-16 | 1 | -2/+2 |
| | |||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -13/+9 |
| | |||||
* | Improved types of utf 16 strings | tycho | 2015-10-02 | 1 | -9/+9 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -23/+23 |
| | |||||
* | StringUtils: Fixed StringSplitWithQuotes(). | Mattes D | 2015-05-10 | 1 | -0/+7 |
| | | | | The function would crash when given a string that started with the delimiter. | ||||
* | Performance improvements for #1807 | flx5 | 2015-03-12 | 1 | -3/+3 |
| | |||||
* | Fixed coding conventions for Pull Request #1807 | flx5 | 2015-03-11 | 1 | -1/+6 |
| | |||||
* | Fixed issue with quotes not appearing in pairs | flx5 | 2015-03-11 | 1 | -4/+5 |
| | |||||
* | Fixed some markup issues | flx5 | 2015-03-11 | 1 | -3/+4 |
| | |||||
* | Fixed some markup issues | flx5 | 2015-03-11 | 1 | -3/+5 |
| | |||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -0/+39 |
| | |||||
* | StringUtils: Fixed bad predicate in MergeStringVectors(). | Mattes D | 2015-01-27 | 1 | -1/+1 |
| | | | | Instead of preventing duplicates it was allowing only duplicates. | ||||
* | StringUtils: Added string vector manipulation. | Mattes D | 2015-01-27 | 1 | -0/+44 |
| | |||||
* | Fixed warnings in StringUtils. | Mattes D | 2015-01-21 | 1 | -29/+28 |
| | |||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -2/+8 |
| | |||||
* | Fixed reported parentheses around comparisons. | Mattes D | 2014-12-05 | 1 | -15/+18 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Bug fix | Tiger Wang | 2014-09-27 | 1 | -10/+10 |
| | |||||
* | Initial BungeeCord support. | madmaxoft | 2014-09-17 | 1 | -0/+28 |
| | | | | Ref.: #1392 | ||||
* | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 1 | -8/+17 |
| | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | Rewritten string case manipulation to use std::transform. | madmaxoft | 2014-08-04 | 1 | -22/+4 |
| | |||||
* | Attempting a compilation fix for gcc / clang. | madmaxoft | 2014-08-03 | 1 | -0/+15 |
| | |||||
* | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 1 | -3/+5 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -4/+4 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -36/+35 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -10/+14 |
| | |||||
* | Fixed CreateHexDump's format string. | madmaxoft | 2014-04-04 | 1 | -2/+2 |
| | |||||
* | Fixed CreateHexDump's signedness. | madmaxoft | 2014-04-04 | 1 | -9/+9 |
| | |||||
* | More Clang warning fixes in the protocols. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | |||||
* | Fixed a few unneeded breaks | Tycho | 2014-03-14 | 1 | -1/+0 |
| | |||||
* | Fixed xofts issues | Tycho | 2014-03-10 | 1 | -1/+1 |
| | |||||
* | Fixed Alignment issue in ByteBuffer | Tycho | 2014-03-10 | 1 | -5/+2 |
| | |||||
* | Fixed Byte-order reading. | madmaxoft | 2014-01-26 | 1 | -2/+4 |
| | | | | The functions would fail on bytes that were above 127. | ||||
* | Yet another attempt at VarArgs. | madmaxoft | 2014-01-16 | 1 | -10/+15 |
| | |||||
* | Another VarArgs fix. | madmaxoft | 2014-01-16 | 1 | -18/+26 |
| | | | | 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 | -13/+15 |
| | | | | This seems to be the only reasonable C++03-only solution. | ||||
* | Fixed varargs modification. | madmaxoft | 2014-01-15 | 1 | -1/+5 |
| | | | | Ref.: #541. | ||||
* | Fixed AppendVPrintf() handling for large strings. | madmaxoft | 2014-01-08 | 1 | -6/+4 |
| | | | | This caused a failure in server favicons. | ||||
* | Fixed favicons | Tiger Wang | 2014-01-07 | 1 | -3/+4 |
| | |||||
* | More MSVC warning fixes. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | Added Base64Encode(). | madmaxoft | 2014-01-07 | 1 | -0/+48 |
| | |||||
* | Fixed unaligned memory access in FastNBT. | madmaxoft | 2014-01-02 | 1 | -0/+30 |
| | | | | This should fix #420. | ||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -49/+0 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+815 |