summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cFile: Added ReplaceFileNameInvalidChars().Mattes D2015-01-271-0/+23
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-11/+11
|
* OSSupport: Fixed UNICODE Windows builds.Mattes D2014-09-141-7/+7
| | | | The files now compile even inside UNICODE applications.
* Removed an unneeded cast.madmaxoft2014-08-151-1/+1
|
* First Implementatation of new Loggin frameworkTycho2014-08-101-2/+3
|
* Normalized comments.madmaxoft2014-07-171-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.madmaxoft2014-06-301-0/+3
|
* Open files in shared mode on windows, so that other tools may read them.madmaxoft2014-05-021-2/+2
| | | | This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
* 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 mobs that don't naturally spawn.archshift2014-04-261-5/+5
|
* More cFile warning fixes.madmaxoft2014-04-011-1/+1
|
* Fixed clang warnings in cFile.madmaxoft2014-04-011-10/+10
| | | | We only support 32-bit filesizes (files < 2 GiB).
* Fixed #491Tiger Wang2014-02-031-2/+14
|
* Added cFile::Flush().madmaxoft2014-01-251-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.madmaxoft2014-01-161-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().madmaxoft2014-01-151-2/+4
| | | | This seems to be the only reasonable C++03-only solution.
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-4/+5
| | | | | Conflicts: VC2008/MCServer.vcproj
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-0/+76
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+375