aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/stdiostream.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2009-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777
2009-12-30Add Nintendo 64 port to trunk.Fabio Battaglia
svn-id: r46773
2009-11-23PS2: Add new PS2FileStream class for std I/O.Max Horn
* Add new class PS2FileStream as substitute for class StdioStream on PS2 * Remove PS2 specific hacks from stdiostream.cpp / class StdioStream * Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream TODO: Merge class Ps2File into PS2FileStream svn-id: r46111
2009-11-23Remove unnecessary #include errno.hMax Horn
svn-id: r46109
2009-11-23PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use ↵Max Horn
fputs instead of fprintf svn-id: r46107
2009-11-23PS2: cleanupMax Horn
svn-id: r46105
2009-11-23Remove obsolete OSX & NDS specific stuff from StdioStream codeMax Horn
svn-id: r46104
2009-03-06Added more ps2_* pseudo-posix entries for PS2 backend inMax Lingua
fs/stdiostream.cpp to properly support eof / clearerr. svn-id: r39143
2009-01-02disable buffering for newlib's poor fread() implementationAndre Heider
svn-id: r35675
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-09-14DS: Some more compile fixes (prope solution would of course be to overload ↵Max Horn
::openForReading & ::openForWriting) svn-id: r34550
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-07Remove symbian defines from stdiostream.cppLars Persson
svn-id: r34399
2008-09-06Unlike ferror, our Stream::ioFailed() is also supposed to return true when ↵Max Horn
the end of stream has been reached svn-id: r34385
2008-09-05Updated filehandling for Symbian OSLars Persson
svn-id: r34346
2008-09-05Ported AMIGA specific file buffering 'hack' from class File to StdioStreamMax Horn
svn-id: r34345
2008-09-03Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵Max Horn
to backends svn-id: r34304
2008-09-03Moved StdioStream to its own files inside backendsMax Horn
svn-id: r34303