Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-02 | COMMON: Add Default Cases to Switch Statements in Memstream Classes | D G Turner | |
These are flagged by GCC if -Wswitch-default is enabled. This avoids possible hard to diagnose bugs if the whence int parameter is accidently set to an unexpected value. | |||
2019-05-12 | COMMON: Fix seek return values, memory stream use in create_titanic | Paul Gilbert | |
2019-05-12 | COMMON: Created SeekableWriteStream class | Paul Gilbert | |
2018-05-10 | COMMON: Use nullptr instead of NULL or 0 where appropriate | Bastien Bouclet | |
2018-04-15 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2017-09-22 | COMMON: Remove DisposeAfterUse default value from dynamic write memory streams | Bastien Bouclet | |
The default value was DisposeAfterUse::NO, which made it very easy to accidentally leak memory by omitting to specify a value. | |||
2017-08-20 | COMMON: Implement SeekableReadStream interface for MemoryReadWriteStream | Colin Snover | |
This allows MemoryReadWriteStream to be passed successfully to functions that use the SeekableReadStream type so that they can call the `pos` method, like the DPCMStream class of the VMD decoder. | |||
2016-08-24 | COMMON: Fix WriteStream::pos() once again | Alexander Tkachev | |
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't ever return -1 to indicate that an error occured, so uint32 was a better choice, but that's what is used in WriteStream base class now. That method is abstract, so that's also why OutSaveFile had to override it. | |||
2016-08-24 | JANITORIAL: Remove spaces at the end of the line | Alexander Tkachev | |
I knew there were some, but I wanted to fix them once, instead of doing it all the time. | |||
2016-08-24 | CLOUD: Fix MemoryReadWriteStream | Alexander Tkachev | |
There was a problem with file downloading in MinGW. Strangely, there is no such problem in Visual Studio, yet this fixes the problem. | |||
2016-08-24 | CLOUD: Rewrite NetworkReadStream | Alexander Tkachev | |
Now it is based on MemoryReadWriteStream, which is introduced by this commit. This stream is using ring buffer and is dynamically increasing its size when necessary. | |||
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. | |||
2016-07-02 | COMMON: Make MemoryWriteStreamDynamic private members protected | Willem Jan Palenstijn | |
2016-03-28 | COMMON: Use better reallocation strategy in MemoryWriteStreamDynamic. | Eugene Sandulenko | |
Fixes bug #6983: "SWORD25: long saving time" | |||
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-05-17 | RECORDER: Implement Events Recorder | Eugene Sandulenko | |
2013-01-26 | JANITORIAL: Enforce "} // End of namespace" with a single space after }. | Johannes Schickel | |
2012-10-09 | COMMON: Properly handle error indicator in MemoryWriteStream. | Johannes Schickel | |
Thanks to waltervn for noticing that MemoryWriteStream::write doesn't handle setting the error indicator properly. | |||
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-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-23 | COMMON: Remove XOR decoding capability from MemoryReadStream | Max Horn | |
svn-id: r54436 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 |