aboutsummaryrefslogtreecommitdiff
path: root/common/unarj.cpp
AgeCommit message (Collapse)Author
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2013-10-05COMMON: Fix missing arjDecoder class variable init. CID 1002929D G Turner
This fixes a couple of these variables by removing them as they are unused or set-but-unused variables.
2011-12-13COMMON: Make more members of Archive constant.Andrea Corna
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-28COMMON: Fixed memory leakage in unarj readHeader().David Turner
This manifested in Drascula. svn-id: r55582
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-05-05Replace various strncpy usages by strlcpy.Johannes Schickel
svn-id: r48955
2010-02-09Merged _headers and _filemap.Nicola Mettifogo
svn-id: r48012
2010-02-08Reduce header interdependenciesMax Horn
svn-id: r48010
2010-02-08Introduce factory function makeArjArchive, hide ArjArchive class implementationMax Horn
svn-id: r48009
2010-02-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
2010-02-08Moved ArjFile to drascula.Nicola Mettifogo
svn-id: r47999
2010-02-08Fix trunk after fscking up.Nicola Mettifogo
svn-id: r47998
2010-02-08Made ArjFile use a new ArjArchive class.Nicola Mettifogo
svn-id: r47997
2010-02-08Objectified CRC32 calculator.Nicola Mettifogo
svn-id: r47996
2010-02-08Shuffled code around a bit.Nicola Mettifogo
svn-id: r47995
2010-02-08Let ArjFile return a SeekableReadStream instead of implementingNicola Mettifogo
the same interface itself. The caller is now responsible for deleting the returned streams. svn-id: r47994
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-07-21Use a BufferedReadStream to buffer ArjFile's input to reduce memory usageWillem Jan Palenstijn
svn-id: r42637
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-07Refactoring the Arj decoder code, phase 4 (done for now, TODO added for ↵Max Horn
future work) svn-id: r34925
2008-11-07Refactoring the Arj decoder code, phase 3 (fixing some more leaks, too)Max Horn
svn-id: r34924
2008-11-07Refactoring the Arj decoder code, phase 2Max Horn
svn-id: r34923
2008-11-07Refactoring the Arj decoder code, phase 1Max Horn
svn-id: r34922
2008-11-04dead codeMax Horn
svn-id: r34900
2008-10-05Fixed ambiguous 'else'Max Horn
svn-id: r34750
2008-09-29Don't subclass ArjFile from Common::File (there seems to be no good reason ↵Max Horn
for it). BTW, this code is an abomination and should be replaced by an Archive/SearchSet approach svn-id: r34681
2008-09-13Portability fixes.Eugene Sandulenko
svn-id: r34515
2008-09-13Big 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-08-09hotfix around drascula mem leak problems. see also bug reportKostas Nakos
svn-id: r33716
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-06-08Don't attempt to close the arj file if it hasn't been openedFilippos Karapetis
svn-id: r32608
2008-06-02Plug memory leakEugene Sandulenko
svn-id: r32496
2008-06-01Fix for crash that occurs in the unarj's fallback code - _uncompressedData ↵Filippos Karapetis
is not allocated when ARJ files have not been opened svn-id: r32480
2008-06-01Implement file fallback for archivesEugene Sandulenko
svn-id: r32476
2008-06-01Fixed MSVC warningsFilippos Karapetis
svn-id: r32474
2008-06-01Speed up decoding by memory cachingEugene Sandulenko
svn-id: r32472
2008-06-01Unarj code based on unarj 2.62. Used by Drascula engineEugene Sandulenko
svn-id: r32460