aboutsummaryrefslogtreecommitdiff
path: root/common/unzip.cpp
AgeCommit message (Collapse)Author
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-08-19COMMON: Add caching to ZipArchive. Patch #3048388Eugene Sandulenko
Based on patch #3048388: "Hash map for ZipArchive class", though I made the hashing by default and removed the old code. It is a really good thing and will speed up any archive operations. svn-id: r52204
2010-06-29unzip.cpp can read uncompressed ZIP archives even when zlib is not linked inRobert Špalek
svn-id: r50482
2010-05-30Fix file length of zip file members inside ZipArchive (thanks to fuzzie for ↵Johannes Schickel
reporting). svn-id: r49321
2010-02-28Add a comment to document my removal of stream delete in previous commitFabio Battaglia
svn-id: r48155
2010-02-28do not delete the stream twice in makeZipArchive as it's already deleted by ↵Fabio Battaglia
unzOpen if a problem is encountered svn-id: r48154
2010-02-13Hide ZipArchive implementation, only expose it via factory functions: ↵Max Horn
makeZipArchive() svn-id: r48040
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-05-19COMMON: 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-02-22Modified ZipArchive::createReadStreamForMember to check whether the zip ↵Max Horn
archive contains a file with the given name svn-id: r38786
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵Max Horn
(const); same for Archive::openFile svn-id: r36020
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-04Improved ZipArchive to take arbitrary SeekableReadStream; also, the variant ↵Max Horn
which is inited using a filename now uses SearchMan to lookup the filename's file svn-id: r34899
2008-11-01Commit of patch #2207782 "ARCHIVE: New method 'getMember'".Johannes Schickel
svn-id: r34871
2008-10-09- Fixed theme loading from Zip files.Vicent Marti
- Changed Common::ZipArchive to use FSNodes instead of full paths (external API unchanged). svn-id: r34761
2008-10-03Committed slightly modified patch #2034983 "Case-insensitivy and directory ↵Johannes Schickel
handling for engines". svn-id: r34734
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Fixed functionality of ZipArchive::getAllNames(). Now it expects a possibly ↵Vicent Marti
non-empty string list and returns the amount of new filenames added to it. svn-id: r34698
2008-09-29Ported ZipArchive::getAllNames() implementation from GUI branch.Vicent Marti
svn-id: r34691
2008-09-23Perform error checking when reading from a ZIP fileMax Horn
svn-id: r34634
2008-09-23cleanupMax Horn
svn-id: r34633
2008-09-23Moved ZipArchive to namespace Common; moved unzip internals from unzip.h to ↵Max Horn
unzip.cpp (to be cleaned up) svn-id: r34632
2008-09-23Moved ZipArchive implementation into unzip.cpp, added new ZipArchive::isOpen ↵Max Horn
method svn-id: r34630
2008-01-03Different zlib.h included paths for Symbian OS to differenciate between ↵Lars Persson
system and user includes svn-id: r30189
2007-10-28some source formatting fixesKostas Nakos
svn-id: r29297
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-18Renamed crc32 which conflicts with Tapwave system functionChris Apers
svn-id: r25692
2006-06-11Applied the patch included in bug rep [ 1503716 ] Leak in File::Open (on OS ↵Oystein Eftevaag
X) and unzOpen (on all) svn-id: r23019
2006-04-26Use File::size to determine the size of a file, instead of doing a seek(0, ↵Max Horn
SEEK_END) svn-id: r22184
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-27Proper RCS IDsEugene Sandulenko
svn-id: r20236
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227