aboutsummaryrefslogtreecommitdiff
path: root/common/stream.cpp
AgeCommit message (Collapse)Author
2008-07-21Silence a warning which complains about using an uninitialized variable.Kari Salminen
svn-id: r33169
2008-07-20New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, ↵Max Horn
w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted) svn-id: r33139
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-20Added new ReadStream::readStream method which can be used to read a portion ↵Max Horn
of an arbitrary ReadStream into a memory buffer wrapped by a MemoryReadStream svn-id: r25754
2007-02-19Enhance (Seekable)SubReadStream so be able to (optionally) dispose the ↵Max Horn
parent stream after it's been used (simplifies memory management for client code) svn-id: r25732
2006-11-13Fix compileTravis Howell
svn-id: r24716
2006-11-13Patch #1583931: (Seekable)SubReadStreamMax Horn
svn-id: r24713
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-30Fixes a bug when loading the theme config file from a directory instead of ↵Johannes Schickel
the zip file. svn-id: r20310
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-01-09Since _pos is unsigned it's always >= 0, so testing for negativity willTorbjörn Andersson
generate a warning in GCC. svn-id: r16496
2005-01-09Added new interface SeekableReadStreamMax Horn
svn-id: r16493
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-11Modified version of patch #1082777 (common/stream optimization)Max Horn
svn-id: r16034
2004-05-04Enchance ReadStream and MemoryReadStream with 24bits operations as wellEugene Sandulenko
as tell() and rewind() methods, as needed by SAGA engine. svn-id: r13772
2004-04-29Added signed read/write methods to the Stream classesMax Horn
svn-id: r13680
2004-04-17Introduce ReadStream and WriteStream (as explained in my File class design ↵Max Horn
mails on scummvm-devel) svn-id: r13595