Archive-Zip
view release on metacpan or search on metacpan
Archive::Zip::ZIP64_EOCD
Archive::Zip::ZIP64_HEADERS
plus POD on these.
- Added tests for zip64 format in t/21_zip64.t and more test zip
files below t/data. Extended tests in t/02_main.t to perform
all existing tests in all possible desired zip64 modes.
- Extended methods
Archive::Zip::Member::localExtraField
Archive::Zip::Member::cdExtraField
to perform format checks when called as setters and to reject
any zip64 extended information extra fields passed by the user.
Extended POD and tests in t/02_main.t accordingly.
- Setting {'compressedSize'} after writing central directory
header.
- Added new optional parameter $noFormatError to method
Archive::Zip::_readSignature to silence any format errros when
testing for signatures.
- Added error handling for potentially failed object conversion
after calling method Archive::Zip::Member::_become. Factored
in method Archive::Zip::Member::_becomeDirectoryIfNecessary
into caller.
- Changed methods
Archive::Zip::Archive::contents
Archive::Zip::Member::contents
(and all inheriting from these) to consistently return a pair
($contents, $status) when called in list context and a scalar
$contents when called in scalar context. Extended tests in
t/02_main.t accordingly.
- Changed method Archive::Zip::Member::extractToFileHandle to
accept a file name instead of a file handle when extracting
symbolic links. Changed lower-level and higher-level methods
to use that feature. Cleaned up code related to the handling
of symbolic links. Added creation of intermediate directories
in method Archive::Zip::Member::extractToFileNamed for symbolic
links as well. Reporting errors from symlink call as AZ-error.
Added POD and test zip file t/data/symlink.zip and tests in
t/26_symlinks.t for these changes.
- Cleaned up code and added comment related to that highly
dubious (?) {'wasWritten'} logic.
1.65 Sat 7 Sep 2019
- Fix for members using bzip compression [github/pmqs]
- NetBSD doesn't mind empty zips [github/pmqs]
- Solaris test failure, Add diag to failing test to collect data [github/pmqs]
- Test for presence of Test::MockModule [github/pmqs]
- Fix skip line for Windows [github/pmqs]
- Skip tests that assume /tmp on Windows [github/pmqs]
1.64 Wed 12 Sep 2018
- Fix for year 2030
1.63 Wed 21 Aug 2018
- Restore missing META.yml deps (needed updated MB)
- Symlink traversal test fix [github/haarg]
- Added missing prereq Encode as suggested by CPANTS [github/manwar]
1.62 Sun 19 Aug 2018
- Add link-samename.zip to MANIFEST
1.61 Sat 18 Aug 2018
- File::Find will not untaint [github/ThisUsedToBeAnEmail]
- Prevent from traversing symlinks and parent directories when extracting [github/ppisar]
1.60 Tue 19 Dec 2017
- RT 123913 Wrong shell bang in examples/selfex.pl
1.59 Thu 11 Aug 2016
- update Makefile.PL metadata to CPAN Meta specification 2.0
1.58 Tue 2 Aug 2016
- avoid relying on . being in @INC [github/karenetheridge]
- update MANIFEST.SKIP [github/haarg]
1.57 Fri 1 Apr 2016
- RT# 106548,106089,105330,111541 [github/ozcoder]
1.56 Thu 17 Dec 2015
- fix $Archive::Zip::UNICODE issues [github/xlat]
- on MSWin32 in methods addFile, addDirectory, addTree: the externalFileName was
used in place of newName
- make sure that file names are utf8 in memberNames
- use Encode on all platform
1.55 Fri 04 Dec 2015
- rt.cpan.org #110064 - fix empty archive issue with OS X gnu tar
1.54 Wed 02 Dec 2015
- Ensure filehandles created by Archive::Zip::tempFile are closed [github/antoniomonty]
1.53 Wed 22 Sep 2015
- rt.cpan.org #107268 - Archive-Zip-1.52.tar.gz is (nearly) empty
Thanks to SREZIC for the spot on my dad brain sleep schedule error
Creating the dist on OS X caused 'Numeric user ID too largeNumeric group ID too large'
1.52 Tue 22 Sep 2015
- rt.cpan.org #105902, thanks HMBRAND
1.51 Tue 22 Sep 2015
- Compare vs filename checksum in crc32 script [github/talisein]
1.50 Tue 25 Aug 2015
- Fix t/08_readmember_record_sep.t for Win32 [github/pauloscustodio]
1.49 Fri 31 Jul 2015
- Fails on unseekable file handle after desiredCompressionLevel(), RT #54827
- Upgrade build tools to avoid tar warnings, RT #105547
1.48 Thu 18 Jun 2015
- Wrap skip in a SKIP: block [github/plicease]
1.47 Wed 17 Jun 2015
- zip file with a deflated directory cannot be written out again [github/ntyni]
- add missing test data to MANIFEST
1.46 Tue 24 Mar 2015
- "CRC or size mismatch" when extracting member second time [github/AGWA github/pwr22]
1.45 Mon 26 Jan 2015
- FreeBSD unzip sets $? to 0 for empty zip file [github.com/revhippie]
1.44 Fri 23 Jan 2015
1.16 Mon Jul 04 12:49:30 CDT 2005
- Grrrr...removed test that fails when installing under CPANPLUS.
1.15 Wed Jun 22 10:24:25 CDT 2005
- added fix for RT #12771 Minor nit: warning in Archive::Zip::DirectoryMember::contents()
- added fix for RT #13327 Formatting problem in Archive::Zip::Tree manpage
1.15_02 Sat Mar 12 09:16:30 CST 2005
- fixed dates in previous entry!
- began the process of migrating from the monolithic t/test.t to
smaller scripts using Test::More.
- started work on improving Archive::Zip's test coverage. Coverage
is now up to just over 80%.
- added error handling to writeToFileHandle
- fixed small bug in extractMember from previous version
1.15_01 Wed Mar 9 22:26:52 CST 2005
- added fix for RT #11818 extractMember method corrupts archive
- added t/pod.t to test for pod correctness
1.10 Thu Mar 25 06:24:17 PST 2004
- Fixed documentation of setErrorHandler()
- Fixed link to Japanese translation of docs
- Added Compress::Zlib Bufsize patch from Yeasah Pell that was supposed to
have been added in 1.02
- Fixed problems with backup filenames for zips with no extension
- Fixed problems with undef volume names in _asLocalName()
1.09 Wed Nov 26 17:43:49 PST 2003
- Fixed handling of inserted garbage (as from viruses)
- Always check for local header signatures before using them
- Added updateMember() and updateTree() functions
- Added examples/mailZip.pl
- Added examples/updateTree.pl
- Fixed some potential but unreported bugs with function parameters like '0'
- Removed stray warn() call
- Caught undef second arg to replaceMember()
- Fixed test suite run with spaces in build dir name (ticket 4214)
1.08 Tue Oct 21 07:01:29 PDT 2003
- test noise fix from Michael Schwern (ticket 4174)
- FAQ NAME fix from Michael Schwern (ticket 4175)
1.07 Mon Oct 20 06:48:41 PDT 2003
- Added file attribute code by Maurice Aubrey
- Added FAQ about RedHat 9
- Added check for empty filenames
1.06 Thu Jul 17 11:06:18 PDT 2003
- Fixed seek use with IO::Scalar and IO::String
- Fixed use of binmode with pseudo-file handles
- Removed qr{} form for older Perl versions
- Changed rel2abs logic in _asLocalName() if there is a volume
- Fixed errors with making directories in extractMember() when none provided
- Return AZ_OK in extractMemberWithoutPaths() if member is a directory
- Fixed problem in extractTree with blank directory becoming "." prefix
- Added examples/writeScalar2.pl to show how to use IO::String as destination of Zip write
- Edited docs and FAQ to recommend against using absolute path names in zip files.
1.05 Wed Sep 11 12:31:20 PDT 2002
- fixed untaint from 1.04
1.04 Wed Sep 11 07:22:04 PDT 2002
- added untaint of lastModFileDateTime
1.03 Mon Sep 2 20:42:43 PDT 2002
- Removed dependency on IO::Scalar
- Set required version of File::Spec to 0.8
- Removed tests of examples that needed IO::Scalar
- Added binmode() call to read/writeScalar examples
- Fixed addTree() for 5.005 compatibility (still untested with 5.004)
- Fixed mkdir() calls for 5.005
- Clarified documentation of tree operations
1.02 Fri Aug 23 17:07:22 PDT 2002
- Many changes for cross-platform use (use File::Spec everywhere)
- Separated POD from Perl
- Moved Archive::Zip::Tree contents into Archive::Zip
A::Z::Tree is now deprecated and will warn with -w
- Reorganized docs
- Added FAQ
- Added chunkSize() call to report current chunk size
and added C::Z BufSize patch from Yeasah Pell.
- Added fileName() to report last read zip file name
- Added capability to prepend data, like for SFX files
- Added examples/selfex.pl for self-extracting archives creation
- Added examples/zipcheck.pl for validity testing
- Made extractToFileNamed() set access/modification times
- Added t/testTree.t to test A::Z::Tree
- Fix/speed up memberNamed()
- Added Archive::Zip::MemberRead by Sreeji K. Das
- Added tempFile(), tempName()
- Added overwrite() and overwriteAs() to allow read/modify/write of zip
- added examples/updateZip.pl to show how to read/modify/write
1.01 Tue Apr 30 10:34:44 PDT 2002
- Changed mkpath call for directories to work with BSD/OS
- Changed tests to work with BSD/OS
1.00 Sun Apr 28 2002
- Added several examples:
- examples/calcSizes.pl
How to find out how big a zip file will be before writing it
- examples/readScalar.pl
shows how to use IO::Scalar as the source of a zip read
- examples/unzipAll.pl
uses Archive::Zip::Tree to unzip an entire zip
- examples/writeScalar.pl
shows how to use IO::Scalar as the destination of a zip write
- examples/zipGrep.pl
Searches for text in zip files
- Changed required version of Compress::Zlib to 1.08
- Added detection and repair of zips with added garbage (as caused by
the Sircam worm)
- Added more documentation for FAQ-type questions, though few seem to
actually read the documentation.
- Fixed problem with stat vs lstat
- Changed version number to 1.00 for PHB compatibility
0.12 Wed May 23 17:48:21 PDT 2001
- Added writeScalar.pl and readScalar.pl to show use of IO::Scalar
- Fixed docs
- Fixed bug with EOCD signature on block boundary
- Made it work with IO::Scalar as file handles
( run in 3.093 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )