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
- 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
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
t/09_output_record_sep.t
t/10_chmod.t
t/11_explorer.t
t/12_bug_47223.t
t/13_bug_46303.t
t/14_leading_separator.t
t/15_decrypt.t
t/16_decrypt.t
t/17_101092.t
t/18_bug_92205.t
t/19_bug_101240.t
t/20_bug_github11.t
t/21_zip64.t
t/22_deflated_dir.t
t/23_closed_handle.t
t/24_unicode_win32.t
t/25_traversal.t
t/26_bzip2.t
t/27_symlinks.t
t/28_zip64_unsupported.t
t/common.pm
t/19_bug_101240.t view on Meta::CPAN
BEGIN { $^W = 1; }
use Test::More tests => 7;
use Archive::Zip qw(:CONSTANTS);
use lib 't';
use common;
#101240: Possible issue with zero length files on Win32 when UNICODE is enabled
my $input_file = testPath("empty.zip");
# Create a zip file that contains a member where compressed size is 0
{
my $zip = Archive::Zip->new();
my $string_member = $zip->addString( '', 'fred' );
$string_member->desiredCompressionMethod(COMPRESSION_STORED);
azok($zip->writeToFileNamed($input_file));
}
( run in 0.408 second using v1.01-cache-2.11-cpan-88abd93f124 )