Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-05-16 | Removed all Printf-family functions from StringUtils. | Mattes D | 1 | -15/+10 | |
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | |||||
2023-03-22 | Handle newlines in cIniFile (#5447) | Jomar Milan | 1 | -1/+5 | |
* Handle newlines during read and write in cIniFile When reading the ini file, replace \n with newline. When writing, replace the newline with \n. * Use ReplaceString instead of regex in IniFile * Update cIniFile description * Removed duplicate variable * Revert "Removed duplicate variable" This reverts commit de11bac047d871dfbffec28b72f72a2935bd339e. * Removed duplicate variable Now without plugin changes --------- Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> | |||||
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 1 | -1/+1 | |
* 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-07 | Remove old Android leftovers (#4722) | Mat | 1 | -4/+4 | |
2018-05-06 | Use clang-tidy to check more code conventions (#4214) | Bond-009 | 1 | -68/+68 | |
* Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164 | |||||
2016-04-14 | Revert "Issue3136" | LogicParrot | 1 | -0/+3 | |
2016-04-12 | Fixed port override code. | Alexander Harkness | 1 | -3/+0 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -3/+3 | |
2016-02-05 | Ignore trailing and leading spaces in INI values# Please enter the commit message for your changes. Lines starting | LogicParrot | 1 | -4/+4 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -46/+46 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -1/+1 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -1/+1 | |
Ad fix a load of warnings | |||||
2015-05-18 | Add support for setting ports through command line | tycho | 1 | -1/+12 | |
2015-05-16 | Initial implementation of IniFile overloading | tycho | 1 | -10/+41 | |
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-01-27 | IniFile: Added common code to migrate ports. | Mattes D | 1 | -0/+36 | |
Old settings have IPv4 and IPv6 ports as separate values, new settings have a single value for the ports. | |||||
2014-10-27 | CheckBasicStyle'd | Alexander Harkness | 1 | -3/+3 | |
2014-10-24 | IniFile: Removed the problematic printf-like Set function. | Mattes D | 1 | -14/+0 | |
It wasn't used in any client code anyway. | |||||
2014-10-23 | IniFile: Removed an unused macro. | Mattes D | 1 | -4/+0 | |
2014-10-23 | Merged IniFile into main MCS sources. | Mattes D | 1 | -1/+1 | |
2014-09-03 | Added cIniFile::HasValue() function. | madmaxoft | 1 | -0/+18 | |
2014-07-21 | Suggestions | Tiger Wang | 1 | -1/+1 | |
2014-06-10 | Portal improvements and suggestions | Tiger Wang | 1 | -0/+4 | |
2014-06-07 | Capitalising | worktycho | 1 | -1/+1 | |
2014-06-07 | Fix reading 64 bit values | worktycho | 1 | -2/+5 | |
2014-06-05 | Suggestions | Tiger Wang | 1 | -0/+20 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -3/+3 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -3/+3 | |
2014-04-17 | Added new AI rules | Tiger Wang | 1 | -2/+3 | |
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT | |||||
2014-02-17 | Fixed comment typo | narroo | 1 | -1/+1 | |
2014-02-17 | Fixed Comment Typo. | narroo | 1 | -1/+1 | |
2014-02-17 | Fixed the tab spacing. | narroo | 1 | -22/+22 | |
2014-02-17 | Fixed Tab spacing of cases. | narroo | 1 | -10/+10 | |
2014-02-16 | Reworked RemoveBom to use unsigned chars and reverted the logic changes in WriteFile. Should work fine now. | narroo | 1 | -82/+96 | |
2014-02-16 | Changed unsigned char[] back to char[]. | narroo | 1 | -1/+1 | |
2014-02-16 | Changed char[] to unsigned char[] in cIniFile::RemoveBom | narroo | 1 | -1/+1 | |
2014-02-16 | Addressed Issue #402. cIniFile can now process UTF-8 files that have a | narroo | 1 | -67/+89 | |
Byte Order Marker, BOM. | |||||
2014-01-16 | Another VarArgs fix. | madmaxoft | 1 | -4/+2 | |
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 | -2/+4 | |
This seems to be the only reasonable C++03-only solution. | |||||
2014-01-11 | Fixed reading the files. | madmaxoft | 1 | -1/+1 | |
Duplicate values were ignored. | |||||
2014-01-11 | IniFile: Split SetValue() into AddValue() and SetValue(). | madmaxoft | 1 | -28/+55 | |
Each function does what one would assume - AddValue adds a new value, SetValue overwrites existing value (creates a new one if not exists, if instructed to do so). | |||||
2014-01-10 | Fixed cIniFile's SetValue(). | madmaxoft | 1 | -9/+1 | |
How did we not see this earlier? Each call to SetValue would actually ADD a value! | |||||
2013-11-24 | Moved iniFile | Alexander Harkness | 1 | -0/+0 | |
2013-10-25 | cIniFile: Renamed functions to make meaning more explicit. | madmaxoft | 1 | -100/+102 | |
For example KeyComment() -> GetKeyComment() / AddKeyComment() | |||||
2013-10-25 | cIniFile doesn't store filename internally anymore. | madmaxoft | 1 | -8/+7 | |
2013-08-05 | cIniFile now reads .example.ini if not requested not to. | madmaxoft | 1 | -279/+450 | |
As specified in #44, when the .ini file cannot be opened, a .example.ini is tried, and if it succeeds, it is written as .ini. This makes it easy to provide ini file templates. | |||||
2012-09-08 | Added the ItemToString() and ItemTypeToString() functions. | madmaxoft@gmail.com | 1 | -59/+88 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4506#pid4506 git-svn-id: http://mc-server.googlecode.com/svn/trunk@847 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-16 | MCServer should run just fine on Android now :D | faketruth | 1 | -2/+2 | |
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -606/+606 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Removed an unneeded include | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@589 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorld | madmaxoft@gmail.com | 1 | -24/+36 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@586 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-04 | strstream is deprecated, using sstream instead | cedeel@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@554 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -21/+100 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Plugins can now be enabled and disabled through WebAdmin | faketruth | 1 | -7/+15 | |
WebPlugins can now have spaces in their tab names git-svn-id: http://mc-server.googlecode.com/svn/trunk@204 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | Source for additional projects | faketruth | 1 | -0/+507 | |
-jsoncpp -lua -tolua++ -WebServer -zlib -iniFile git-svn-id: http://mc-server.googlecode.com/svn/trunk@4 0a769ca7-a7f5-676a-18bf-c427514a06d6 |