Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
44219dfa1a
BACKENDS: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paul Gilbert
bb83fdfbfc
WIN32: Add StdioStream 64-bit changes for different systems
2021-07-08 18:24:28 -07:00
Paul Gilbert
76e2a42240
ENGINES: Convert advanced detector file sizes to int64
2021-07-08 18:24:28 -07:00
Paul Gilbert
005561d305
COMMON: Increase Stream pos, seek, size from int32 to int64
2021-07-08 18:24:28 -07:00
sluicebox
e592afe160
WIN32: Make StdioStream UNICODE compatible
2021-06-29 12:38:01 -05:00
Eugene Sandulenko
3d79ce5cc0
MORPHOS: Update backends/fs/stdiostream.cpp
...
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
2020-08-21 00:59:18 +02:00
BeWorld
7bc8340f69
MORPHOS: MorphOS Support
2020-08-21 00:59:18 +02:00
Bastien Bouclet
36ef316518
BACKENDS: Allow to configure the stdio buffer size
2020-02-07 18:33:56 +01:00
Cameron Cawley
f2b9f7bb76
BACKENDS: Remove the Windows CE port
2019-11-17 22:33:56 +01:00
Cameron Cawley
bcef809e61
WINCE: Fix compilation
2019-04-15 08:06:39 +03:00
Johannes Schickel
121687d2ed
BACKENDS: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
Chris Warren-Smith
59739a7a0e
BADA: Initial BADA port implementation
2011-08-21 16:37:06 +10:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
44393b2dc8
ALL: Add code to help stop people from accidentally using "bad" APIs
...
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
2010-10-30 21:27:42 +00:00
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