Fabio Battaglia
3a418c13a7
remove bad hackery caused by n64 port and avoid polluting StdioStream using a custom Stream subclass
...
svn-id: r46777
2009-12-30 22:56:19 +00:00
Fabio Battaglia
a108df30a7
Add Nintendo 64 port to trunk.
...
svn-id: r46773
2009-12-30 21:11:38 +00:00
Max Horn
fc84e258b2
PS2: Add new PS2FileStream class for std I/O.
...
* 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-23 23:17:50 +00:00
Max Horn
fe48378eb2
Remove unnecessary #include errno.h
...
svn-id: r46109
2009-11-23 23:15:44 +00:00
Max Horn
3d342bec3c
PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
...
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn
6312da6d13
PS2: cleanup
...
svn-id: r46105
2009-11-23 22:28:44 +00:00
Max Horn
68ebbf9022
Remove obsolete OSX & NDS specific stuff from StdioStream code
...
svn-id: r46104
2009-11-23 22:28:14 +00:00
Max Lingua
344a4f5199
Added more ps2_* pseudo-posix entries for PS2 backend in
...
fs/stdiostream.cpp to properly support eof / clearerr.
svn-id: r39143
2009-03-06 00:26:48 +00:00
Andre Heider
18e67a8ed7
disable buffering for newlib's poor fread() implementation
...
svn-id: r35675
2009-01-02 18:00:12 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Max Horn
ace51b317a
DS: Some more compile fixes (prope solution would of course be to overload ::openForReading & ::openForWriting)
...
svn-id: r34550
2008-09-14 22:44:49 +00:00
Willem Jan Palenstijn
c8eeae8d4d
Big patch changing semantics of ReadStream::eos():
...
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-14 22:28:53 +00:00
Max Horn
655ce26b3f
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
...
svn-id: r34514
2008-09-13 16:51:46 +00:00
Lars Persson
c4fcd2b578
Remove symbian defines from stdiostream.cpp
...
svn-id: r34399
2008-09-07 10:57:28 +00:00
Max Horn
f8bcb0782b
Unlike ferror, our Stream::ioFailed() is also supposed to return true when the end of stream has been reached
...
svn-id: r34385
2008-09-06 17:00:50 +00:00
Lars Persson
80dd18a820
Updated filehandling for Symbian OS
...
svn-id: r34346
2008-09-05 12:02:15 +00:00
Max Horn
5308f12c75
Ported AMIGA specific file buffering 'hack' from class File to StdioStream
...
svn-id: r34345
2008-09-05 11:59:33 +00:00
Max Horn
7f18aaf8ec
Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
...
svn-id: r34304
2008-09-03 12:56:46 +00:00
Max Horn
320a5dc99f
Moved StdioStream to its own files inside backends
...
svn-id: r34303
2008-09-03 11:49:02 +00:00