summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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