summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-1/+11
| | | | | | | | | | | | | | | * 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>
* Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol132020-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
* Add FileStream wrapperTiger Wang2020-08-191-0/+16
|
* Update submodulesTiger Wang2020-07-231-3/+3
|
* Update logging code to reduce unnecessary string copying:Peter Bell2020-05-161-0/+5
| | | | | | * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type
* Update fmt to 6.2.0 (#4718)peterbell102020-05-051-2/+6
| | | * Update fmt to 6.2.0
* Add the fmt library (#4065)peterbell102018-01-031-7/+10
| | | | | | | * 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.
* Bulk clearing of whitespaceLogicParrot2016-02-051-25/+25
|
* Extended and fixed the cFile API.Mattes D2015-09-261-37/+38
|
* Moved AString reading hack to cFile.Mattes D2015-07-311-4/+7
|
* Properly fix cFile Warningstycho2015-05-191-4/+4
|
* Fixed a lot of warningstycho2015-05-191-3/+3
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Fixed bindings for cFile:ReadWholeFile().Mattes D2015-04-301-1/+6
| | | | Fixes #1914
* Added more cFile API functions.Mattes D2015-04-111-0/+12
| | | | GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
* Added cFile:ChangeFileExt() function.Mattes D2015-04-061-0/+4
|
* Removed cFile::ReplaceFileNameInvalidChars().Mattes D2015-01-271-3/+0
| | | | Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
* cFile: Added ReplaceFileNameInvalidChars().Mattes D2015-01-271-0/+3
|
* Fixed windows compilation and style issues.madmaxoft2014-08-121-4/+4
|
* First Implementatation of new Loggin frameworkTycho2014-08-101-1/+2
|
* Template MagicTycho2014-04-281-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 xofts issuesTycho2014-03-141-1/+1
|
* Added macros to follow format string checking through wrappersTycho2014-03-111-1/+1
|
* Added cFile::Flush().madmaxoft2014-01-251-20/+25
| | | | 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.
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-0/+6
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+138