Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-07-23 | Update submodules | Tiger Wang | 1 | -12/+12 | |
2020-07-06 | Update fmtlib to 7.0.0 | Peter Bell | 1 | -2/+2 | |
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 1 | -11/+3 | |
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | |||||
2020-05-05 | Update fmt to 6.2.0 (#4718) | peterbell10 | 1 | -10/+33 | |
* Update fmt to 6.2.0 | |||||
2019-09-13 | GCC: Added pragma to ignore fallthrough warnings within Unicode Inc. code (#4392) | E14 | 1 | -0/+7 | |
2019-06-11 | Ignore whitespace only lines in brewing and furnace recipes (#4332) | peterbell10 | 1 | -0/+8 | |
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -1/+9 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 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. | |||||
2018-04-11 | Smelting Gives Experience (#4094) | Alex Sweet | 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 | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 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. | |||||
2017-08-18 | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 1 | -0/+36 | |
* Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | |||||
2017-07-21 | Remove stricmp macro in favour of NoCaseCompare | peterbell10 | 1 | -3/+1 | |
2017-04-01 | fix endless loop in StringReplace (#3658) | Marvin Kopf | 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. | |||||
2017-02-13 | StringUtils: Dropped an unneeded copy in lower-/upper-casing. (#3512) | Mattes D | 1 | -4/+6 | |
2016-12-25 | Refactored to put URL Encoding / Decoding in a single place. (#3491) | Mattes D | 1 | -57/+163 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 1 | -4/+0 | |
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 1 | -2/+2 | |
2016-02-16 | Fix unicode handling in StringUtils::TrimString | LogicParrot | 1 | -2/+2 | |
2015-12-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 1 | -13/+9 | |
2015-10-02 | Improved types of utf 16 strings | tycho | 1 | -9/+9 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+1 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -23/+23 | |
2015-05-10 | StringUtils: Fixed StringSplitWithQuotes(). | Mattes D | 1 | -0/+7 | |
The function would crash when given a string that started with the delimiter. | |||||
2015-03-12 | Performance improvements for #1807 | flx5 | 1 | -3/+3 | |
2015-03-11 | Fixed coding conventions for Pull Request #1807 | flx5 | 1 | -1/+6 | |
2015-03-11 | Fixed issue with quotes not appearing in pairs | flx5 | 1 | -4/+5 | |
2015-03-11 | Fixed some markup issues | flx5 | 1 | -3/+4 | |
2015-03-11 | Fixed some markup issues | flx5 | 1 | -3/+5 | |
2015-03-11 | Fixes #493 and #490 | flx5 | 1 | -0/+39 | |
2015-01-27 | StringUtils: Fixed bad predicate in MergeStringVectors(). | Mattes D | 1 | -1/+1 | |
Instead of preventing duplicates it was allowing only duplicates. | |||||
2015-01-27 | StringUtils: Added string vector manipulation. | Mattes D | 1 | -0/+44 | |
2015-01-21 | Fixed warnings in StringUtils. | Mattes D | 1 | -29/+28 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -2/+8 | |
2014-12-05 | Fixed reported parentheses around comparisons. | Mattes D | 1 | -15/+18 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-09-27 | Bug fix | Tiger Wang | 1 | -10/+10 | |
2014-09-17 | Initial BungeeCord support. | madmaxoft | 1 | -0/+28 | |
Ref.: #1392 | |||||
2014-08-04 | Refactored case-conversion functions. | madmaxoft | 1 | -8/+17 | |
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | |||||
2014-08-04 | Rewritten string case manipulation to use std::transform. | madmaxoft | 1 | -22/+4 | |
2014-08-03 | Attempting a compilation fix for gcc / clang. | madmaxoft | 1 | -0/+15 | |
2014-07-19 | Code style: Fixed braces on separate lines. | madmaxoft | 1 | -3/+5 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -4/+4 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -36/+35 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -10/+14 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -10/+14 | |
2014-04-04 | Fixed CreateHexDump's format string. | madmaxoft | 1 | -2/+2 | |
2014-04-04 | Fixed CreateHexDump's signedness. | madmaxoft | 1 | -9/+9 | |
2014-04-04 | More Clang warning fixes in the protocols. | madmaxoft | 1 | -1/+1 | |
2014-03-14 | Fixed a few unneeded breaks | Tycho | 1 | -1/+0 | |
2014-03-10 | Fixed xofts issues | Tycho | 1 | -1/+1 | |
2014-03-10 | Fixed Alignment issue in ByteBuffer | Tycho | 1 | -5/+2 | |
2014-01-26 | Fixed Byte-order reading. | madmaxoft | 1 | -2/+4 | |
The functions would fail on bytes that were above 127. | |||||
2014-01-16 | Yet another attempt at VarArgs. | madmaxoft | 1 | -10/+15 | |
2014-01-16 | Another VarArgs fix. | madmaxoft | 1 | -18/+26 | |
This time using va_copy() on platforms that have it and simple assignment on platforms that don't. | |||||
2014-01-15 | Using a 2nd argument instead of va_copy(). | madmaxoft | 1 | -13/+15 | |
This seems to be the only reasonable C++03-only solution. | |||||
2014-01-15 | Fixed varargs modification. | madmaxoft | 1 | -1/+5 | |
Ref.: #541. | |||||
2014-01-08 | Fixed AppendVPrintf() handling for large strings. | madmaxoft | 1 | -6/+4 | |
This caused a failure in server favicons. | |||||
2014-01-07 | Fixed favicons | Tiger Wang | 1 | -3/+4 | |
2014-01-07 | More MSVC warning fixes. | madmaxoft | 1 | -1/+1 | |
2014-01-07 | Added Base64Encode(). | madmaxoft | 1 | -0/+48 | |
2014-01-02 | Fixed unaligned memory access in FastNBT. | madmaxoft | 1 | -0/+30 | |
This should fix #420. | |||||
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-22 | Added cFile:GetFolderContents(). | madmaxoft | 1 | -49/+0 | |
Fix 162. | |||||
2013-10-05 | Fixed Base64Decode() returning wrong value. | madmaxoft | 1 | -1/+1 | |
2013-10-04 | Added Basic auth support to cHTTPRequest. | madmaxoft | 1 | -0/+68 | |
2013-10-04 | Added StrToLower(), URLDecode() and ReplaceAllCharOccurrences(). | madmaxoft | 1 | -0/+17 | |
2013-09-28 | Added URLDecode() and ReplaceAllCharOccurrences() to StringUtils. | madmaxoft | 1 | -0/+70 | |
2013-08-24 | Added Unicode, Inc.'s notice. | madmaxoft | 1 | -5/+38 | |
Fixes #123. | |||||
2013-07-07 | Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages. | madmaxoft@gmail.com | 1 | -2/+21 | |
Fixes FS #398 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1661 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes. | madmaxoft@gmail.com | 1 | -0/+37 | |
Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-29 | Advanced RCON: Command output is sent to the RCON client. | madmaxoft@gmail.com | 1 | -23/+0 | |
RCON authentication is now required before executing commands. Console command handlers now return two values, bool (IsHandled) and string (CommandOutput). API change: removed cRoot:ExecuteConsoleCommand(), added cRoot:QueueExecuteConsoleCommand(). API change: removed cPluginManager:ExecuteConsoleCommand(), use cRoot:QueueExecuteConsoleCommand() instead git-svn-id: http://mc-server.googlecode.com/svn/trunk@1631 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | ToLuaDoxy: initial import | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1544 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-02 | StringUtils: Fixed the HexDump in DEBUG mode | madmaxoft@gmail.com | 1 | -4/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1538 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-01 | StringUtils: Fixed StringSplit to work with multiple delimiters | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1438 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-04 | Fixed CreateHexDump() filling the string with garbage | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1357 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Added water and lava springs. | madmaxoft@gmail.com | 1 | -0/+24 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-04 | Moved client socket accepting into a separate thread object, cListenThread | madmaxoft@gmail.com | 1 | -0/+23 | |
MCServer can now listen on multiple ports FS #312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1252 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-15 | Added a Printf() function that returns a new AString by value. | madmaxoft@gmail.com | 1 | -1/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1041 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-02 | Added a CreateHexDump() function for easier raw data debugging | madmaxoft@gmail.com | 1 | -1/+57 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@818 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-28 | Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore. | madmaxoft@gmail.com | 1 | -0/+159 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-23 | Added a RateCompareString function to StringUtils | faketruth | 1 | -0/+27 | |
Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-17 | Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 ) | madmaxoft@gmail.com | 1 | -0/+46 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android! | faketruth | 1 | -0/+3 | |
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -232/+232 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-04 | Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon. | madmaxoft@gmail.com | 1 | -4/+35 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -14/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-04 | StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix) | madmaxoft@gmail.com | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@450 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-25 | A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringList | madmaxoft@gmail.com | 1 | -0/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@433 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -0/+13 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | StringUtils: SplitString() fix | madmaxoft@gmail.com | 1 | -2/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@212 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()! | madmaxoft@gmail.com | 1 | -0/+129 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@209 0a769ca7-a7f5-676a-18bf-c427514a06d6 |