Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update fmtlib to 7.0.0 | Peter Bell | 2020-07-06 | 1 | -1/+1 |
| | |||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -4/+4 |
| | |||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -3/+4 |
| | | | * Update fmt to 6.2.0 | ||||
* | Fix: Create players folder recursively (#4283) | Nate | 2018-08-13 | 1 | -2/+5 |
| | | | | | | | | | | Problem: On a new server the players folder was not created on windows. Root Cause: `GetUUIDFolderName` was returning a folder structure for players with `/` while CreateFolderRecursively was checking for `\\` for win32. The fix is to recognise both forward and backward slashes as file separators on windows. Fixes #4284 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+0 |
| | | | | 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. | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -6/+2 |
| | | | | | | | * 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. | ||||
* | Removed unnecessary check for lower and upper folder | Lukas Pioch | 2017-03-16 | 1 | -6/+0 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -1/+5 |
| | |||||
* | Removed "." and ".." from cFile:GetFolderContents(). (#3301) | Mattes D | 2016-08-07 | 1 | -0/+14 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -21/+21 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | Changed for-loop iterator in File.cpp to a reference type to reduce object copying and fix the clang build. | bibo38 | 2015-10-30 | 1 | -1/+1 |
| | | | | Fixes #2580 | ||||
* | Extended and fixed the cFile API. | Mattes D | 2015-09-26 | 1 | -58/+148 |
| | |||||
* | Moved AString reading hack to cFile. | Mattes D | 2015-07-31 | 1 | -4/+25 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -5/+5 |
| | |||||
* | Finish fixing windows | tycho | 2015-05-19 | 1 | -2/+2 |
| | |||||
* | Properly fix cFile Warnings | tycho | 2015-05-19 | 1 | -7/+7 |
| | |||||
* | Fixed a lot of warnings | tycho | 2015-05-19 | 1 | -7/+19 |
| | |||||
* | cFile:ChangeFileExt now accepts extensions with leading dot, too. | Mattes D | 2015-04-11 | 1 | -2/+14 |
| | |||||
* | Added more cFile API functions. | Mattes D | 2015-04-11 | 1 | -2/+54 |
| | | | | GetLastModificationTime, GetPathSeparator() and GetExecutableExt() | ||||
* | Added proper implementation of cFile::ChangeFileExt(). | Mattes D | 2015-04-10 | 1 | -2/+17 |
| | |||||
* | Added cFile:ChangeFileExt() function. | Mattes D | 2015-04-06 | 1 | -0/+23 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -11/+11 |
| | |||||
* | OSSupport: Fixed UNICODE Windows builds. | Mattes D | 2014-09-14 | 1 | -7/+7 |
| | | | | The files now compile even inside UNICODE applications. | ||||
* | Removed an unneeded cast. | madmaxoft | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -2/+3 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | | 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 cFile compilation under MinGW. | madmaxoft | 2014-06-30 | 1 | -0/+3 |
| | |||||
* | Open files in shared mode on windows, so that other tools may read them. | madmaxoft | 2014-05-02 | 1 | -2/+2 |
| | | | | This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode. | ||||
* | Template Magic | Tycho | 2014-04-28 | 1 | -2/+2 |
| | | | | | | Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it. | ||||
* | Fixed mobs that don't naturally spawn. | archshift | 2014-04-26 | 1 | -5/+5 |
| | |||||
* | More cFile warning fixes. | madmaxoft | 2014-04-01 | 1 | -1/+1 |
| | |||||
* | Fixed clang warnings in cFile. | madmaxoft | 2014-04-01 | 1 | -10/+10 |
| | | | | We only support 32-bit filesizes (files < 2 GiB). | ||||
* | Fixed #491 | Tiger Wang | 2014-02-03 | 1 | -2/+14 |
| | |||||
* | Added cFile::Flush(). | madmaxoft | 2014-01-25 | 1 | -0/+9 |
| | | | | This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing. | ||||
* | Another VarArgs fix. | madmaxoft | 2014-01-16 | 1 | -4/+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/+4 |
| | | | | This seems to be the only reasonable C++03-only solution. | ||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 1 | -4/+5 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+76 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+375 |