Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-12 | JANITORAL: Clean trailing whitespaces. | Jordi Vilalta Prat | |
svn-id: r53160 | |||
2010-09-14 | COMMON: remove virtual functions from BufferedStreams | Yotam Barnoy | |
As Max pointed out to me, they don't work as expected when called from constructors/destructors. svn-id: r52724 | |||
2010-09-14 | COMMON: Remove dangerous virtual keywords. | Willem Jan Palenstijn | |
See r52722. svn-id: r52723 | |||
2010-08-25 | COMMON: Fix eos handling in BufferedReadStream | Willem Jan Palenstijn | |
This makes it pass the test added in r52382. svn-id: r52389 | |||
2010-08-25 | COMMON: fixed EOS handling in BufferedReadStream and BufferedSeekableReadStream | Yotam Barnoy | |
EOS problem was causing Discworld to crash and zip files not to load on the PSP. svn-id: r52377 | |||
2010-08-24 | COMMON: implemented BufferedWriteStream and fixed bug in BufferedReadStream | Yotam Barnoy | |
I need the write buffering for the new version of the PSP streams and thought the simplest way to implement it would be along the lines of BufferedReadStream. Sadly, I found a nasty little bug in BRS but that's taken care of. Also, I adapted these streams for target-specific memory allocation by using virtual functions for allocation/deallocation. svn-id: r52325 | |||
2010-06-15 | Added seek() method to MemoryWriteStreamDynamic. | Eugene Sandulenko | |
If it deserves a separate class, shout. svn-id: r49750 | |||
2010-05-27 | correct typo | Max Horn | |
svn-id: r49270 | |||
2010-01-08 | Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵ | Max Horn | |
header common/types.h svn-id: r47180 | |||
2009-12-31 | Remove the getBeginOffset() hack from Common::SeekableReadStream and ↵ | Matthew Hoops | |
introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use. svn-id: r46786 | |||
2009-12-30 | Rename Common::Stream::readLine_NEW to readLine | Max Horn | |
svn-id: r46779 | |||
2009-12-30 | spelling | Max Horn | |
svn-id: r46778 | |||
2009-12-29 | Add Mohawk engine code. Part 2/3: common code changes. | Eugene Sandulenko | |
svn-id: r46728 | |||
2009-12-15 | Got rid of ReadStream::ioFailed() | Max Horn | |
svn-id: r46379 | |||
2009-10-18 | Introduced new type Common::DisposeAfterUse::Flag | Max Horn | |
svn-id: r45233 | |||
2009-09-11 | Slightly modified version of Patch #2838562: Improve endian.h and stream.h | Max Horn | |
svn-id: r44027 | |||
2009-09-03 | Fix a new/free mismatch when creating a MemoryReadStream from a ↵ | Matthew Hoops | |
MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame(). svn-id: r43918 | |||
2009-08-24 | reverting changes from patch 43696 that shouldnt have been committed | Norbert Lange | |
svn-id: r43697 | |||
2009-08-24 | Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787 | Norbert Lange | |
use tables for palette colors instead of code with constants svn-id: r43696 | |||
2009-08-17 | - Add note about that modifing the parent stream will mess up ↵ | Johannes Schickel | |
SeekableSubReadStream and SeekableSubReadStreamEndian. - Link to SubReadStream documentation from SeekableSubReadStream and SeekableSubReadStreamEndian. svn-id: r43465 | |||
2009-07-29 | Removed redundant File::ioFailed() implementation; also turned ↵ | Max Horn | |
ReadStream::ioFailed from a virtual into an inline method svn-id: r42911 | |||
2009-05-19 | COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵ | Max Horn | |
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725 | |||
2009-04-24 | Fixed typo. | Torbjörn Andersson | |
svn-id: r40121 | |||
2009-03-15 | Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the ↵ | Max Horn | |
SCI engine svn-id: r39428 | |||
2008-12-22 | Fixed indentation and removed whitespaces at the end of line | Jordi Vilalta Prat | |
svn-id: r35481 | |||
2008-12-03 | Get rid of readLine_OLD for good | Max Horn | |
svn-id: r35229 | |||
2008-09-15 | Fix SubReadStream by initing _eos to false in the constructor (spotted ↵ | Max Horn | |
thanks to our unit tests) svn-id: r34555 | |||
2008-09-14 | Big 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-14 | Fixed a typo & clarified a comment | Max Horn | |
svn-id: r34541 | |||
2008-09-13 | Big 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-06 | Added some unit tests for Stream::readLine_NEW, and clarified that ↵ | Max Horn | |
readLine_NEW is essentially fgets in disguise svn-id: r34384 | |||
2008-09-03 | Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵ | Max Horn | |
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315 | |||
2008-08-04 | Moved the OutSaveFile::finalize method to WriteStream; implemented ↵ | Max Horn | |
DumpFile::flush() svn-id: r33604 | |||
2008-07-30 | Reordered initialization order to kill a ton of warnings. | Nicola Mettifogo | |
svn-id: r33452 | |||
2008-07-30 | Changed BufferedReadStream to not permanently decrease its buffer size at ↵ | Max Horn | |
the end of a stream (this would fail when using BufferedSeekableReadStream and then seeking back from the end); this also fixes a bug which let you seek back beyond the start of a stream (not that we currently support that in other streams) svn-id: r33436 | |||
2008-07-29 | Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as ↵ | Max Horn | |
proposed on scummvm-devel svn-id: r33419 | |||
2008-07-20 | New 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 | |||
2008-04-13 | Added eriktorbjorn's MemoryWriteStreamDynamic class - a stream that grows as ↵ | Filippos Karapetis | |
it's written to svn-id: r31498 | |||
2008-03-27 | Implemented SeekableSubReadStreamEndian moddeled after MemoryReadStreamEndian. | Johannes Schickel | |
svn-id: r31270 | |||
2008-03-26 | Added some inlines to MemoryReadStreamEndian. | Johannes Schickel | |
svn-id: r31248 | |||
2007-09-23 | Moved MemoryStreamEndian from Saga to Common. | Eugene Sandulenko | |
svn-id: r29038 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-05-30 | Updated 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-03-04 | Removing _ptrOrig (hi Torbjorn, have fun recompiling) | Max Horn | |
svn-id: r25980 | |||
2007-02-25 | Typo | Max Horn | |
svn-id: r25861 | |||
2007-02-25 | Add some doxygen comments to Common::Stream | Max Horn | |
svn-id: r25859 | |||
2007-02-20 | Added 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-20 | Removed XORReadStream (it was unused); enhanced MemoryReadStream to be able ↵ | Max Horn | |
to dispose the memory block it wraps (simplifies memory management) svn-id: r25748 | |||
2007-02-19 | Enhance (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-13 | Patch #1583931: (Seekable)SubReadStream | Max Horn | |
svn-id: r24713 |