Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-01 | STREAM: add read/write functions for double LE/BE | Le Philousophe | |
2019-05-12 | COMMON: Created SeekableWriteStream class | Paul Gilbert | |
2017-09-30 | COMMON: Unconditionally enable 64 bit integer features | Bastien Bouclet | |
2017-07-13 | STREAM: add read/write functions for float LE/BE | yinsimei | |
2017-01-14 | COMMON: Add ReadStream::readPascalString() | Eugene Sandulenko | |
2016-10-26 | COMMON: Added debug method for printing out stream contents | Eugene Sandulenko | |
2016-09-29 | COMMON: Add ReadFloatLE to Common::ReadStream | Eugene Sandulenko | |
2016-08-04 | COMMON: Add WriteStream::pos() | Alexander Tkachev | |
It returns int32, because some complex streams are derived from both WriteStream and ReadStream, and in ReadStream pos() returns int32, because -1 means an error. I had to change MemoryStream's uint32 to int32, which is probably not so good. | |||
2015-01-04 | COMMON: Add missing readUint64/readSint64 to ReadStreamEndian. | Johannes Schickel | |
2015-01-04 | COMMON: Put more 64-bit stuff under HAVE_INT64 | Eugene Sandulenko | |
2014-12-21 | COMMON: Fix typo that caused uint64 reads to return a uint32 | Adrian Astley | |
2014-09-16 | COMMON: Add support for endian-safe reading/writing of int64 | Adrian Astley | |
2014-08-29 | COMMON: Fix some Doxygen comments that seem wrong. | Einar Johan Trøan Sømåen | |
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-01-26 | JANITORIAL: Enforce "} // End of namespace" with a single space after }. | Johannes Schickel | |
2011-05-18 | COMMON: Document that Stream API is meant to imitate ISO C FILE semantics | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2010-11-26 | COMMON: Add an isBE() function to get the endianness of a ReadStreamEndian | Matthew Hoops | |
svn-id: r54500 | |||
2010-11-23 | COMMON: Add SeekableReadStreamEndian class | Max Horn | |
svn-id: r54445 | |||
2010-11-23 | COMMON: Remove default value for endianess in ReadStreamEndian subclasses | Max Horn | |
svn-id: r54441 | |||
2010-11-23 | COMMON: Add ReadStreamEndian mixin class | Max Horn | |
svn-id: r54438 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-18 | COMMON: Change wrapBufferedWriteStream() to always disposes wrapped stream | Max Horn | |
This is the only we need right now, and it saves a few bytes per instance. The template approach I used before has the drawback that it increases the binary size, which negates the benefit. Thanks to LordHoto for pointing this out. svn-id: r54344 | |||
2010-11-18 | COMMON: Make implementation of Buffered*Stream classes internal | Max Horn | |
svn-id: r54326 | |||
2010-11-18 | COMMON: Fix incorrect use of assert() macro | Max Horn | |
The assert() macro may be compiled to be empty. In that case, its arguments are *NOT* evaluated. Hence, things like assert(doSomething()) must not be used whenever doSomething() has important side effects. Also document BufferedWriteStream::flushBuffer() and explain why it exists parallel to BufferedWriteStream::flush(). svn-id: r54322 | |||
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 |