Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-30 | COMMON: Use the file cache in ZipArchive::listMembers for performance. | Johannes Schickel | |
This avoids a new iteration through the .zip file for every listMember call. Instead it uses the "_hash" HashMap, which already contains all the filenames and is filled on initializing the ZipArchive by unzOpen. | |||
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) | |||
2011-12-13 | COMMON: Make more members of Archive constant. | Andrea Corna | |
2011-08-07 | COMMON: Remove superfluous Common:: qualifiers. | Christoph Mallon | |
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-02 | COMMON: Fix compilation when zlib support is enabled. | Johannes Schickel | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-25 | COMMON: Add proper error handling to the ZipArchive class | Littleboy | |
- Add check in listMembers and skip files that can't be enumerated. - Add checks for all function calls in createReadStreamForMember (and no longer return a stream from an uninitialized buffer when the file cannot be read). | |||
2011-02-12 | JANITORIAL: Remove extraneous parentheses | Ori Avtalion | |
svn-id: r55890 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-10-24 | ALL: Fix various typos (patch #3093266) | Max Horn | |
svn-id: r53762 | |||
2010-10-12 | JANITORAL: Clean trailing whitespaces. | Jordi Vilalta Prat | |
svn-id: r53160 | |||
2010-08-19 | COMMON: Add caching to ZipArchive. Patch #3048388 | Eugene 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-29 | unzip.cpp can read uncompressed ZIP archives even when zlib is not linked in | Robert Špalek | |
svn-id: r50482 | |||
2010-05-30 | Fix file length of zip file members inside ZipArchive (thanks to fuzzie for ↵ | Johannes Schickel | |
reporting). svn-id: r49321 | |||
2010-02-28 | Add a comment to document my removal of stream delete in previous commit | Fabio Battaglia | |
svn-id: r48155 | |||
2010-02-28 | do 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-13 | Hide ZipArchive implementation, only expose it via factory functions: ↵ | Max Horn | |
makeZipArchive() svn-id: r48040 | |||
2009-10-18 | Introduced new type Common::DisposeAfterUse::Flag | Max Horn | |
svn-id: r45233 | |||
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-02-22 | Modified ZipArchive::createReadStreamForMember to check whether the zip ↵ | Max Horn | |
archive contains a file with the given name svn-id: r38786 | |||
2009-01-23 | Renamed Archive::openFile to createReadStreamForMember | Max Horn | |
svn-id: r36021 | |||
2009-01-23 | Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵ | Max Horn | |
(const); same for Archive::openFile svn-id: r36020 | |||
2009-01-23 | Renamed FSNode::openForReading / openForWriting to createReadStream / ↵ | Max Horn | |
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 | |||
2009-01-01 | Whoa! Removing trailing spaces. | Eugene Sandulenko | |
svn-id: r35648 | |||
2008-11-04 | Improved 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-01 | Commit 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-03 | Committed slightly modified patch #2034983 "Case-insensitivy and directory ↵ | Johannes Schickel | |
handling for engines". svn-id: r34734 | |||
2008-10-02 | Renamed FilesystemNode -> FSNode | Max Horn | |
svn-id: r34716 | |||
2008-09-30 | Fixed 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-29 | Ported ZipArchive::getAllNames() implementation from GUI branch. | Vicent Marti | |
svn-id: r34691 | |||
2008-09-23 | Perform error checking when reading from a ZIP file | Max Horn | |
svn-id: r34634 | |||
2008-09-23 | cleanup | Max Horn | |
svn-id: r34633 | |||
2008-09-23 | Moved ZipArchive to namespace Common; moved unzip internals from unzip.h to ↵ | Max Horn | |
unzip.cpp (to be cleaned up) svn-id: r34632 | |||
2008-09-23 | Moved ZipArchive implementation into unzip.cpp, added new ZipArchive::isOpen ↵ | Max Horn | |
method svn-id: r34630 | |||
2008-01-03 | Different zlib.h included paths for Symbian OS to differenciate between ↵ | Lars Persson | |
system and user includes svn-id: r30189 | |||
2007-10-28 | some source formatting fixes | Kostas Nakos | |
svn-id: r29297 | |||
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-02-18 | Renamed crc32 which conflicts with Tapwave system function | Chris Apers | |
svn-id: r25692 | |||
2006-06-11 | Applied 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-26 | Use File::size to determine the size of a file, instead of doing a seek(0, ↵ | Max Horn | |
SEEK_END) svn-id: r22184 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20510 | |||
2006-01-27 | Proper RCS IDs | Eugene Sandulenko | |
svn-id: r20236 | |||
2006-01-27 | - adds the new gui renderer also a new implementation for the classic gui | Johannes 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 |