Archive-Zip
view release on metacpan or search on metacpan
Revision history for Perl extension Archive-Zip
1.68 Thr 12 Mar 2020
- Switched to GitHub as issue tracker
- Replaced references to Test::MockModule in
t/23_closed_handle.t with code from PR #32, RT #110087
- Unixified line endings in t/23_closed_handle.t
- Added documentation for Archive::Zip::Member::isSymbolicLink,
RT #130524
- Implemented other, unrelated doc fixes
- Fixed examples/zipcheck.pl to skip symbolic links, RT #130525
- Described version 1.59, RT #117371 (tagged important!)
- Completely re-did test suite:
. Created new test APIs in t/common.pm and documented them in
t/README.md
. Changed tests to be less dependent on OS-specific quirks of "unzip -t"
. Changed tests to write more diagnostic information if executed in
automated test environments
. Normalized access to test data and to temporary results. Removed
references to obsolete temporary results (for example, those to
directory "extracted").
. Normalized test headers and brushed up tests in general
1.67 Sun 06 Oct 2019
- Fixed compatibility issues with zip64 format (defined-or, pack)
- Fixed hard-coded version fields introduced in version 1.66
- Fixed merge glitch with tests 26 and 27
- Fixed merge glitch with bzip passthrough
- Updated bzip test file to avoid zip bomb detection
1.66 Mon 16 Sep 2019
- Refactored low-level methods for reading and writing zip files
in zip64 format. Added new parameters and return values to
most of these. Extended constants in Archive::Zip to cover
zip64 formats and lengths.
- Added public APIs
Archive::Zip::Archive::zip64
Archive::Zip::Archive::desiredZip64Mode
Archive::Zip::Archive::versionMadeBy
Archive::Zip::Archive::versionNeededToExtract
Archive::Zip::Member::zip64
Archive::Zip::Member::desiredZip64Mode
and constants
Archive::Zip::ZIP64_AS_NEEDED
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
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
- Win32 with ZIP executable cannot create temp file [github.com/revhippie]
1.43 Wed 14 Jan 2015
- Restore 101374 - failing tests were not regressions.
1.42 Sun 11 Jan 2015
- Revert 101374, caused tester regression
- https://rt.cpan.org/Public/Bug/Display.html?id=101240 [cpan/PMQS]
1.41 Fri 09 Jan 2015
- https://rt.cpan.org/Public/Bug/Display.html?id=101374 [zefram]
1.40 Sun 04 Jan 2015
- https://rt.cpan.org/Public/Bug/Display.html?id=92205 [cpan/PMQS]
- https://rt.cpan.org/Public/Bug/Display.html?id=101092 [cpan/PMQS]
1.39 Tue 21 Oct 2014
- store test data in temp dirs to fix parallelism and shuffling
[Graham Knop]
1.38 Tue 02 Sep 2014
- Setting unicode flag for each member when using $Archive::Zip::UNICODE [github.com/lackas]
https://rt.cpan.org/Ticket/Display.html?id=83367
1.37 Wed 08 Jan 2014
- Need newer Test::More to support done_testing() [thaljef]
1.36 Mon 30 Dec 2013
- Fix error in version update with 1.35 [RT #91744]
1.35 Mon 30 Dec 2013
- fallback on copy if move gives permission denied [github.com/plicease]
1.34 Mon 2 Dec 2013
- Restore svn history from svn.ali.as (thanks H. Merijn Brand)
- #90854 Test 17 in t/03_ex.t is failing
- Allow reading ZIP from seekable streams (like PerlIO::Scalar)
- RT#75197
- Fixes: #76780: Cannot create member called "0" with addString (HAGGAI)
1.33 Sat 9 Nov 2013
- #59102 (Spelling error in manapage) [github.com/dsteinbrunner]
- #86600 typo fixes [github.com/dsteinbrunner]
1.32 Fri 8 Nov 2013
- #89777 Unlink temp files generated by tempFile. [PHRED]
1.31_04 Fri 14 Oct 2011 - Alan Haggai Alavi
- Updated Perl dependency to 5.006 to reflect implicit dependencies
in the code exposed by Perl::MinimumVersion xt test (ADAMK)
- Fixes: #68446: Set compressed size and uncompressed size of an entry to 0
if either of them is 0 (HAGGAI)
- Added $VERSION to crc32 (ADAMK)
1.31_03 Thu 30 Jun 2011 - H.Merijn Brand
- Add decryption support
1.31_02 Wed 9 Mar 2011 - Adam Kennedy
- More fixes by HAGGAI, which he still doesn't detail in Changes
1.31_01 Fri 5 Mar 2010 - Adam Kennedy
- Various fixes by HAGGAI, which he has not yet provided details on:
- Experimental Unicode in file/dir names
1.30 Tue 30 Jun 2009 - Adam Kennedy
- Fixed a bad use of Cwd::getcwd
1.29 Mon 29 Jun 2009 - Adam Kennedy
It only had out of date files and non-free copyrighted materials.
The tarball was probably illegal to distribute as a result.
(reported by Debian devs)
1.19 Internal use, public release skipped
1.18 Wed 25 Oct 2006 - Adam Kennedy
- Changing to a production version for final release
- No other changes of any kind
1.17_05 Tue 19 Sep 2006 - Adam Kennedy
- Seperated the classes from the main file into seperate packages.
- Merged the Zip.pod into the main Zip.pm file.
- Applied default Perl::Tidy to all of the source files, to improve
the readability and maintainability of the files.
- Added license in Makefile.PL
- Added some additional entries to the realclean files
1.17_03 Sat 16 Sep 2006 - Adam Kennedy
- Adding dependency on File::Which to deal with problems on systems
that lack zip and unzip programs. This really should be a build-time
dependency only, but ExtUtils::MakeMaker lacks that capability.
- Builds and tests cleanly on Win32 now.
1.17_02 Sun 7 May 2006 - Adam Kennedy
- Renamed the test scripts to the more conventional 01_name.t style
- Upgraded all test scripts from Test.pm to Test::More (removing Test.pm dependency)
- Various other miscellaneous cleanups of the test scripts
- Removed MANIFEST and pod.t from repository (will be auto-generated)
- Some cleaning up of the POD documentation for readability
- Added SUPPORT section to docs
- Merged external TODO file into the POD as a more-common TO DO section
- Added a BUGS section to the docs
1.17_01 Sun 30 Apr 2006 - Adam Kennedy
- Imported Archive::Zip into http://svn.ali.as/cpan/ orphanage.
If you have a CPAN login and have released a module, ask ADAMK about an
account and you can repair your bug directly in the repository.
- Removed the revision comments from the old CVS repository
- DOS DateTime Format doesn't support dates before 1980 and goes crazy when
decoding back to unix time. If we don't get passed a time at all
(0 or undef) we now throw an error.
- DOS DateTime Format doesn't support dates before 1980, so if we find any
we warn and use Jan 1 12:01pm 1980 if we encounter any
- Win32 doesn't support directory modification times.
Tentatively use the current time as the mod-time to prevent sending
null times to the unix2dos converter (and the resulting error)
- Reformat the expected empty zip warning in the output to add a note that
the warning is entirely normal. Would be nice if some time later we can
suppress it altogether, but I don't have the cross-platform STDERR-fu
without adding a dependency to IPC::Run3 (which would be bad).
- Adding a proper $VERSION to all classes, and synchronising them to the
same value.
- Adding a BEGIN block around the require 5.003_96 so it works at
compile-time instead of post-compile.
- Moved crc32 to bin/crc32 in line with package layout conventions
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
( run in 2.643 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )