Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-05-16 | Removed all Printf-family functions from StringUtils. | Mattes D | 1 | -14/+3 | |
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. | |||||
2021-01-11 | zlib -> libdeflate (#5085) | Tiger Wang | 1 | -9/+58 | |
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | |||||
2020-10-05 | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 1 | -26/+0 | |
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-08-19 | Add FileStream wrapper | Tiger Wang | 1 | -1/+26 | |
2020-07-23 | Update submodules | Tiger Wang | 1 | -6/+2 | |
2020-07-19 | Precompile unordered_map/set | Tiger Wang | 1 | -0/+1 | |
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | |||||
2020-07-13 | Remove unnecessary includes | Tiger Wang | 1 | -0/+2 | |
2020-07-06 | Update fmtlib to 7.0.0 | Peter Bell | 1 | -1/+1 | |
2020-05-07 | Remove old Android leftovers (#4722) | Mat | 1 | -4/+4 | |
2020-05-05 | Update fmt to 6.2.0 (#4718) | peterbell10 | 1 | -3/+4 | |
* Update fmt to 6.2.0 | |||||
2018-08-13 | Fix: Create players folder recursively (#4283) | Nate | 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 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -1/+0 | |
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-01-03 | Add the fmt library (#4065) | peterbell10 | 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. | |||||
2017-03-16 | Removed unnecessary check for lower and upper folder | Lukas Pioch | 1 | -6/+0 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 1 | -1/+5 | |
2016-08-07 | Removed "." and ".." from cFile:GetFolderContents(). (#3301) | Mattes D | 1 | -0/+14 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -21/+21 | |
2015-12-17 | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 1 | -1/+1 | |
2015-10-30 | Changed for-loop iterator in File.cpp to a reference type to reduce object copying and fix the clang build. | bibo38 | 1 | -1/+1 | |
Fixes #2580 | |||||
2015-09-26 | Extended and fixed the cFile API. | Mattes D | 1 | -58/+148 | |
2015-07-31 | Moved AString reading hack to cFile. | Mattes D | 1 | -4/+25 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -5/+5 | |
2015-05-19 | Finish fixing windows | tycho | 1 | -2/+2 | |
2015-05-19 | Properly fix cFile Warnings | tycho | 1 | -7/+7 | |
2015-05-19 | Fixed a lot of warnings | tycho | 1 | -7/+19 | |
2015-04-11 | cFile:ChangeFileExt now accepts extensions with leading dot, too. | Mattes D | 1 | -2/+14 | |
2015-04-11 | Added more cFile API functions. | Mattes D | 1 | -2/+54 | |
GetLastModificationTime, GetPathSeparator() and GetExecutableExt() | |||||
2015-04-10 | Added proper implementation of cFile::ChangeFileExt(). | Mattes D | 1 | -2/+17 | |
2015-04-06 | Added cFile:ChangeFileExt() function. | Mattes D | 1 | -0/+23 | |
2015-01-27 | Removed cFile::ReplaceFileNameInvalidChars(). | Mattes D | 1 | -23/+0 | |
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems. | |||||
2015-01-27 | cFile: Added ReplaceFileNameInvalidChars(). | Mattes D | 1 | -0/+23 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -11/+11 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -11/+11 | |
2014-09-14 | OSSupport: Fixed UNICODE Windows builds. | Mattes D | 1 | -7/+7 | |
The files now compile even inside UNICODE applications. | |||||
2014-08-15 | Removed an unneeded cast. | madmaxoft | 1 | -1/+1 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 1 | -2/+3 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-06-30 | Fixed cFile compilation under MinGW. | madmaxoft | 1 | -0/+3 | |
2014-05-02 | Open files in shared mode on windows, so that other tools may read them. | madmaxoft | 1 | -2/+2 | |
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode. | |||||
2014-04-28 | Template Magic | Tycho | 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. | |||||
2014-04-26 | Fixed mobs that don't naturally spawn. | archshift | 1 | -5/+5 | |
2014-04-01 | More cFile warning fixes. | madmaxoft | 1 | -1/+1 | |
2014-04-01 | Fixed clang warnings in cFile. | madmaxoft | 1 | -10/+10 | |
We only support 32-bit filesizes (files < 2 GiB). | |||||
2014-02-03 | Fixed #491 | Tiger Wang | 1 | -2/+14 | |
2014-01-25 | Added cFile::Flush(). | madmaxoft | 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. | |||||
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. | |||||
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-23 | Added cFile:ReadWholeFile() to Lua API. | madmaxoft | 1 | -0/+16 | |
2013-11-22 | Added cFile:GetFolderContents(). | madmaxoft | 1 | -0/+60 | |
Fix 162. | |||||
2013-10-09 | Fixed cFile::CopyFile Linux compilation. | madmaxoft | 1 | -7/+3 | |
2013-10-09 | Moved cMakeDir::MakeDir to cFile::CreateFolder. | madmaxoft | 1 | -8/+21 | |
And exported to Lua. | |||||
2013-10-09 | Added static cFile functions to Lua API. | madmaxoft | 1 | -4/+53 | |
2013-09-21 | Fixed cFile:IsFolder() and plugin-loading. | madmaxoft | 1 | -1/+2 | |
This should fix loading plugins on Linux. | |||||
2013-09-18 | Proper folder / file distinction in plugin loading. | madmaxoft | 1 | -0/+14 | |
2013-05-01 | File: Added file rename and deletion functions | madmaxoft@gmail.com | 1 | -0/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-25 | AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks. | madmaxoft@gmail.com | 1 | -2/+1 | |
Both original zlibbed chunks and re-gzipped chunks are output. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1223 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-07 | Added a cGZipFile class for reading GZipped files. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Extended the cFile interface with Printf() | madmaxoft@gmail.com | 1 | -0/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 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 | -271/+271 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-23 | Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers) | madmaxoft@gmail.com | 1 | -1/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -1/+22 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Fixed a sigsegv on *nix (cFile double-closing files) | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@208 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Replaced most FILE operations with a cFile object | madmaxoft@gmail.com | 1 | -0/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@196 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Initial cFile implementation (using stdio FILE) and test in cChunkMap | madmaxoft@gmail.com | 1 | -0/+200 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@192 0a769ca7-a7f5-676a-18bf-c427514a06d6 |