zippecl.php.netA zip management extensionZip is an extension to create, modify and read zip files.Pierre-Alain Joyepajoyepajoye@php.netyes2009-08-111.10.22.0.0stablestablePHP License
- #49072, feof never returns true for damaged file in zip
- Fix possible crash when zip stream are used, the file entry stream was desroyed after the archive.
4.3.01.7.0zip2009-07-201.10.12.0.0stablestablePHP License
- #48763, ZipArchive produces corrupted archive (dani dot church at gmail dot com)
- Fixed regression in the overwrite mode
- Fixed binary mode with FCGI on Windows
2008-12-241.10.02.0.0stablestablePHP License
- #12965, archive files with many root entries cannot be opened
- #12414, extracting files from damaged archives
- fix test for OOo stream test
- Sync Code with 0.8.x (and port our php zip fixes)
2007-01-181.9.12.0.0alphaalphaPHP License
- #40228, extractTo does not create recursive empty path (empty1/empty2/)
2007-01-181.9.02.0.0alphaalphaPHP License
- fix some memleaks and double-free()s on error conditions (Nuno Lopes)
- Add experimental support for addGlob and addPattern. They use respectively
glob or regexp patterns to add entries. They also accept options like remove_path
, add_path or remove_all_path. See the examples addglob and addpattern.php
- requires pcre
2006-12-171.8.42.0.0stablestablePHP License
- Use phplibdir in config.m4 (for lib64 or other custom location)
- Add path length sanity checks (Ilia, Tony)
- Update year, happy new year
2006-12-171.8.32.0.0stablestablePHP License
- Fixed threadsafe issue with localtime function, it uses now the
php php_localtime_r (Ron Korving, Ilia)
2006-12-021.8.22.0.0stablestablePHP License
- restore compatibility with php 5.1.0 to 5.1.2 (other versions are not affected)
2006-11-281.8.12.0.0stablestablePHP License
- PECL #9278, Binary access issues on Windows in any SAPI but CGI, CLI and embed
(windows API does not respect "b" mode given to fopen)
- Fixed a possible leak in the entries managements (Nuno Lopes)
- createEmptyDir returns true one success
- Use static for each internal functions when possible (Nuno Lopes)
- Update protos in the sources
2006-11-011.8.02.0.0stablestablePHP License
- Fixed a possible leak in statName and statIndex
- Added zipArchive::adEmptyDir() method, creates an empty directory
- Fixed setComment when used with a freshly added entry
- setComment now returns the expected value (boolean) (Hannes)
2006-10-251.7.52.0.0stablestablePHP License
- PECL Bug #9082, wrong entry name like "a/b//file.txt" cannot be extracted on windows
A "bug" in php mkdir was the cause, a work around has been introduced for php versions before 5.2.0
1.7.42.0.0stablestablePHP License
- PHP Bug #38943, properties in extended class cannot be set
- PHP Bug #38944, freshly created archive has no comment or cdir
2006-09-161.7.32.0.0stablestablePHP License
- PECL Bug #8700, zipArchive::getFromIndex fails
- PECL Bug #8676, zipArchive::addFile was not updated and still used VCWD_REALPATH, it now uses expand_filename
- Fixed wrong internal types for comment lenghts, does not affect userland script (Nuno Lopes)
2006-09-062.0.02.0.0stablestablePHP License
- Fix wrong internal types for comment lenghts, does not affect userland script (Nuno Lopes)
2006-08-241.7.21.7.0betabetaPHP License
- Previous release was broken in non threaded environment.
This release works smoothly in threaded and non threaded.
Thanks to "FamilleCollet dot com" (Fedora-Extra maintainer for the
head up)
2006-08-241.7.11.7.0betabeta
- Fix issues with relative path in threaded environment,
VCWD_REALPATH is used in ZipArchive::open() and ::addFile
2006-07-141.7.01.7.0betabetaPHP License
- Add ZIPARCHIVE::OVERWRITE mode for ::open(), creates a new
archive and write over an existing file
- locateName do not change anymore the state, it can now be used to test an entry
- fix possilbe crashes when two entries with the same name have been added
- Enhanced safemode support
- fix builds against php 6.0 (HEAD)
- fix compiler warning (Ilia, Tony)
- cleanup phpinfo() output (Ilia)
2006-07-141.6.01.6.0betaalphaPHP License
- Rename Class Zip to ZipArchive, required to be bundled
in php 5.2.0 (Zip being a ZipCode in US), making the role of
this class more obvious *Gah*
2006-07-141.5.01.5.0alphaalphaPHP License
- bring consistency to the method names:
- rename zip::delete() to deleteIndex()
- add zip::deleteName()
- rename zip::statPath to zip::statName()
- rename zip::rename to zip::renameIndex()
- add zip::renameName();
- add zip::locateName(), returns the index of an entry, allows case insensitive
or directory free lookup (ZIP::FL_NOCASE, ZIP::FL_NODIR)
- add zip::unchangeName(), ::unchangeIndex(), unchangeAll() and unchangeArchive()
revert changes to an entry, to all entries or the archive
- add zip::getNameIndex(), get the name of the entry at the given position
- Bug #7658, Modify zip archives causes corruption if the data descriptor is used
(bit 3 of the general flags)
- fix a bug when in the delete and rename methods when the index is lower than 1
- zip::addFile() must return true on success
- zip::open() returns now the error code on error and true on success
2006-06-281.4.11.4.0alphaalphaPHP License
- Add missing files in the package release
2006-06-281.4.01.4.0alphaalphaPHP License
- Add write mode to the archive comment (zip::comment property)
- Add zip::setCommentName and ::setCommentIndex, add or remove entrie comment
- Add zip::getCommentName and ::getCommentIndex, get an entrie comment
- Add zip::setArchiveComment
- Full sync with zip-0.7.1
- #8009, modify archives on windows cannot be closed
2006-04-261.3.11.3.0alphaalphaPHP License- #7500, Fix build with php 5.1.0, 5.1.1 and 5.1.22006-04-261.3.01.3.0alphaalpha
- Fix possible leak with __set/__get in classes extending the Zip
intern object (tony2001[at]php.net)
- Added getFromName(), return the contents of an entry using its name
- Added getFromIndex(), return the contents of an entry using its index
2006-03-301.2.31.2.1alphaalphaPHP License
- #7214, use binary safe string as return value, 0x00 was considered as
the end of the content, affected only the procedural API
2006-03-221.2.21.2.1alphaalphaPHP License
- fix a bug in internal zip_close, new archives were not written
- ::open returns now false on error
- update the "create.php" example, status and returned codes are now checked
- fix a leak when the ::open method is called twice or more with the same
object
2006-03-191.2.11.2.1alphaalphaPHP License
- fixed a possible build problem (mkstemp missing)
- fix a bug where extending the Zip class does allow
to write to a property, see php bugs #36743 (array)
2006-03-121.2.01.2.0alphaalphaPHP License
- enable stream by default,
* use uri like zip:///path/to/my.zip#entryname.dat
(the URI format may change in future version)
- add support for print_r/var_dump (Zip object)
- add tests for the OO (still need more)
- add more example, like using xmlreader and zip
stream to parse OpenDocument meta info
2006-03-051.1.21.1.0alphaalphaPHP License
- do not create empty file when a zip entry is only
a directory (empty or not)
2006-03-021.1.11.1.0alphaalphaPHP License
- Fix PHP 5.1 detection at compiletie
- fix possible build errors with gcc other than 4.0.x
- add better zlib detection
- "--with-zlib-dir=[DIR]" added
2006-03-011.1.01.1.0alphaalphaPHP License
- replace the old zip extensions
* 100% compatible with the old API
* added zip creation support (write mode)
* added OO interface
* Stream support, getStream method
returns a file handler
- bundled libzip and drop zzlib usage
(see http://www.nih.at/libzip/)