diff --git a/Changes b/Changes index 0b636da..8236167 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,18 @@ CHANGES ------- + 2.204 8 February 2022 + + * Update Gzip.pm + https://github.com/pmqs/IO-Compress/pull/49 + 6d0514b86ceeab56884c43fd1e6f09f839c12b74 + feab074420bf4059eb6fa9d0553a354e2dd33e95 + + * Allow Z_NULL + https://github.com/pmqs/Compress-Raw-Zlib/issues/17 + c42da1483767bc8afbdb2d8b03ecda7b67b4d022 + + 2.201 25 June 2022 * Disable zib header tests diff --git a/META.json b/META.json index e37b28d..1fbf461 100644 --- a/META.json +++ b/META.json @@ -34,8 +34,8 @@ }, "runtime" : { "requires" : { - "Compress::Raw::Bzip2" : "2.201", - "Compress::Raw::Zlib" : "2.201", + "Compress::Raw::Bzip2" : "2.204", + "Compress::Raw::Zlib" : "2.204", "Scalar::Util" : "0", "Encode" : "0", "Time::Local" : "0" @@ -54,6 +54,6 @@ "web" : "https://github.com/pmqs/IO-Compress" } }, - "version" : "2.201", + "version" : "2.204", "x_serialization_backend" : "JSON::PP version 2.97001" } diff --git a/META.yml b/META.yml index 782c453..7355982 100644 --- a/META.yml +++ b/META.yml @@ -20,8 +20,8 @@ no_index: - t - private requires: - Compress::Raw::Bzip2: '2.201' - Compress::Raw::Zlib: '2.201' + Compress::Raw::Bzip2: '2.204' + Compress::Raw::Zlib: '2.204' Scalar::Util: '0' Encode: '0' Time::Local: '0' @@ -29,5 +29,5 @@ resources: bugtracker: https://github.com/pmqs/IO-Compress/issues homepage: https://github.com/pmqs/IO-Compress repository: git://github.com/pmqs/IO-Compress.git -version: '2.201' +version: '2.204' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/Makefile.PL b/Makefile.PL index e9d20a4..96e9ad8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,8 +3,8 @@ use strict ; require 5.006 ; -$::VERSION = '2.201' ; -$::DEP_VERSION = '2.201'; +$::VERSION = '2.204' ; +$::DEP_VERSION = '2.204'; use lib '.'; use private::MakeUtil; diff --git a/README b/README index c2c4f15..1de1978 100644 --- a/README +++ b/README @@ -1,11 +1,11 @@ IO-Compress - Version 2.201 + Version 2.204 - 25 June 2022 + 8 February 2023 - Copyright (c) 1995-2022 Paul Marquess. All rights reserved. + Copyright (c) 1995-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. @@ -112,7 +112,7 @@ To help me help you, I need all of the following information: If you haven't installed IO-Compress then search IO::Compress::Gzip.pm for a line like this: - $VERSION = "2.201" ; + $VERSION = "2.204" ; 2. If you are having problems building IO-Compress, send me a complete log of what happened. Start by unpacking the IO-Compress diff --git a/lib/Compress/Zlib.pm b/lib/Compress/Zlib.pm index 59dfbf6..68a5a51 100644 --- a/lib/Compress/Zlib.pm +++ b/lib/Compress/Zlib.pm @@ -7,17 +7,17 @@ use Carp ; use IO::Handle ; use Scalar::Util qw(dualvar); -use IO::Compress::Base::Common 2.201 ; -use Compress::Raw::Zlib 2.201 ; -use IO::Compress::Gzip 2.201 ; -use IO::Uncompress::Gunzip 2.201 ; +use IO::Compress::Base::Common 2.204 ; +use Compress::Raw::Zlib 2.204 ; +use IO::Compress::Gzip 2.204 ; +use IO::Uncompress::Gunzip 2.204 ; use strict ; use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); -$VERSION = '2.201'; +$VERSION = '2.204'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -461,7 +461,7 @@ sub inflate package Compress::Zlib ; -use IO::Compress::Gzip::Constants 2.201 ; +use IO::Compress::Gzip::Constants 2.204 ; sub memGzip($) { @@ -1509,7 +1509,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 1995-2022 Paul Marquess. All rights reserved. +Copyright (c) 1995-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Adapter/Bzip2.pm b/lib/IO/Compress/Adapter/Bzip2.pm index 3ff2b4f..e197551 100644 --- a/lib/IO/Compress/Adapter/Bzip2.pm +++ b/lib/IO/Compress/Adapter/Bzip2.pm @@ -4,12 +4,12 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); +use IO::Compress::Base::Common 2.204 qw(:Status); -use Compress::Raw::Bzip2 2.201 ; +use Compress::Raw::Bzip2 2.204 ; our ($VERSION); -$VERSION = '2.201'; +$VERSION = '2.204'; sub mkCompObject { diff --git a/lib/IO/Compress/Adapter/Deflate.pm b/lib/IO/Compress/Adapter/Deflate.pm index 08555e9..54696ff 100644 --- a/lib/IO/Compress/Adapter/Deflate.pm +++ b/lib/IO/Compress/Adapter/Deflate.pm @@ -4,13 +4,13 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); -use Compress::Raw::Zlib 2.201 qw( !crc32 !adler32 ) ; +use IO::Compress::Base::Common 2.204 qw(:Status); +use Compress::Raw::Zlib 2.204 qw( !crc32 !adler32 ) ; require Exporter; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, @EXPORT, %DEFLATE_CONSTANTS); -$VERSION = '2.201'; +$VERSION = '2.204'; @ISA = qw(Exporter); @EXPORT_OK = @Compress::Raw::Zlib::DEFLATE_CONSTANTS; %EXPORT_TAGS = %Compress::Raw::Zlib::DEFLATE_CONSTANTS; diff --git a/lib/IO/Compress/Adapter/Identity.pm b/lib/IO/Compress/Adapter/Identity.pm index 99263d0..5938d13 100644 --- a/lib/IO/Compress/Adapter/Identity.pm +++ b/lib/IO/Compress/Adapter/Identity.pm @@ -4,10 +4,10 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); +use IO::Compress::Base::Common 2.204 qw(:Status); our ($VERSION); -$VERSION = '2.201'; +$VERSION = '2.204'; sub mkCompObject { diff --git a/lib/IO/Compress/Base.pm b/lib/IO/Compress/Base.pm index 8941c27..37a0df9 100644 --- a/lib/IO/Compress/Base.pm +++ b/lib/IO/Compress/Base.pm @@ -6,7 +6,7 @@ require 5.006 ; use strict ; use warnings; -use IO::Compress::Base::Common 2.201 ; +use IO::Compress::Base::Common 2.204 ; use IO::File (); ; use Scalar::Util (); @@ -20,7 +20,7 @@ use Symbol(); our (@ISA, $VERSION); @ISA = qw(IO::File Exporter); -$VERSION = '2.201'; +$VERSION = '2.204'; #Can't locate object method "SWASHNEW" via package "utf8" (perhaps you forgot to load "utf8"?) at .../ext/Compress-Zlib/Gzip/blib/lib/Compress/Zlib/Common.pm line 16. @@ -1051,7 +1051,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Base/Common.pm b/lib/IO/Compress/Base/Common.pm index 7374ce4..32c4aa3 100644 --- a/lib/IO/Compress/Base/Common.pm +++ b/lib/IO/Compress/Base/Common.pm @@ -11,7 +11,7 @@ use File::GlobMapper; require Exporter; our ($VERSION, @ISA, @EXPORT, %EXPORT_TAGS, $HAS_ENCODE); @ISA = qw(Exporter); -$VERSION = '2.201'; +$VERSION = '2.204'; @EXPORT = qw( isaFilehandle isaFilename isaScalar whatIsInput whatIsOutput diff --git a/lib/IO/Compress/Bzip2.pm b/lib/IO/Compress/Bzip2.pm index 7c18059..6aa0ddd 100644 --- a/lib/IO/Compress/Bzip2.pm +++ b/lib/IO/Compress/Bzip2.pm @@ -5,16 +5,16 @@ use warnings; use bytes; require Exporter ; -use IO::Compress::Base 2.201 ; +use IO::Compress::Base 2.204 ; -use IO::Compress::Base::Common 2.201 qw(); -use IO::Compress::Adapter::Bzip2 2.201 ; +use IO::Compress::Base::Common 2.204 qw(); +use IO::Compress::Adapter::Bzip2 2.204 ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $Bzip2Error); -$VERSION = '2.201'; +$VERSION = '2.204'; $Bzip2Error = ''; @ISA = qw(IO::Compress::Base Exporter); @@ -51,7 +51,7 @@ sub getExtraParams { my $self = shift ; - use IO::Compress::Base::Common 2.201 qw(:Parse); + use IO::Compress::Base::Common 2.204 qw(:Parse); return ( 'blocksize100k' => [IO::Compress::Base::Common::Parse_unsigned, 1], @@ -818,7 +818,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Deflate.pm b/lib/IO/Compress/Deflate.pm index 4f239ed..a34a6ba 100644 --- a/lib/IO/Compress/Deflate.pm +++ b/lib/IO/Compress/Deflate.pm @@ -8,16 +8,16 @@ use bytes; require Exporter ; -use IO::Compress::RawDeflate 2.201 (); -use IO::Compress::Adapter::Deflate 2.201 ; +use IO::Compress::RawDeflate 2.204 (); +use IO::Compress::Adapter::Deflate 2.204 ; -use IO::Compress::Zlib::Constants 2.201 ; -use IO::Compress::Base::Common 2.201 qw(); +use IO::Compress::Zlib::Constants 2.204 ; +use IO::Compress::Base::Common 2.204 qw(); our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $DeflateError); -$VERSION = '2.201'; +$VERSION = '2.204'; $DeflateError = ''; @ISA = qw(IO::Compress::RawDeflate Exporter); @@ -892,7 +892,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/FAQ.pod b/lib/IO/Compress/FAQ.pod index 466488b..549ea2a 100644 --- a/lib/IO/Compress/FAQ.pod +++ b/lib/IO/Compress/FAQ.pod @@ -682,7 +682,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Gzip.pm b/lib/IO/Compress/Gzip.pm index bdd6a1b..6b142d4 100644 --- a/lib/IO/Compress/Gzip.pm +++ b/lib/IO/Compress/Gzip.pm @@ -8,12 +8,12 @@ use bytes; require Exporter ; -use IO::Compress::RawDeflate 2.201 () ; -use IO::Compress::Adapter::Deflate 2.201 ; +use IO::Compress::RawDeflate 2.204 () ; +use IO::Compress::Adapter::Deflate 2.204 ; -use IO::Compress::Base::Common 2.201 qw(:Status ); -use IO::Compress::Gzip::Constants 2.201 ; -use IO::Compress::Zlib::Extra 2.201 ; +use IO::Compress::Base::Common 2.204 qw(:Status ); +use IO::Compress::Gzip::Constants 2.204 ; +use IO::Compress::Zlib::Extra 2.204 ; BEGIN { @@ -25,7 +25,7 @@ BEGIN our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $GzipError); -$VERSION = '2.201'; +$VERSION = '2.204'; $GzipError = '' ; @ISA = qw(IO::Compress::RawDeflate Exporter); @@ -839,8 +839,7 @@ Unix variants and unknown Operating Systems. This parameter allows additional metadata to be stored in the ExtraField in the gzip header. An RFC 1952 compliant ExtraField consists of zero or more subfields. Each subfield consists of a two byte header followed by the -subfield data. (The RFC 16-bit subfield length (LEN) is calculated -automatically and will be included in the generated gzip data) +subfield data. The list of subfields can be supplied in any of the following formats @@ -961,18 +960,7 @@ The ID header in an C sub-field can consist of any two bytes. =head2 Examples -``` -use IO::Compress::Gzip qw(gzip $GzipError); -gzip \"payload" => "test.gz", - Name => "test", - Comment => "springtime", - ExtraField => [ "xy" => "flowers", "ok"=>"bees"], - OS_Code => 2, - HeaderCRC => 0, - TextFlag => 1, - Time => 42, - or die "Cannot create gzip file: $GzipError" ; -``` +TODO =head1 Methods @@ -1240,7 +1228,7 @@ See L =head1 SUPPORT General feedback/questions/bug reports should be sent to -L (preferred) or +L (preferred) or L. =head1 SEE ALSO @@ -1279,7 +1267,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Gzip/Constants.pm b/lib/IO/Compress/Gzip/Constants.pm index c9c6866..f56612d 100644 --- a/lib/IO/Compress/Gzip/Constants.pm +++ b/lib/IO/Compress/Gzip/Constants.pm @@ -9,7 +9,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT, %GZIP_OS_Names); our ($GZIP_FNAME_INVALID_CHAR_RE, $GZIP_FCOMMENT_INVALID_CHAR_RE); -$VERSION = '2.201'; +$VERSION = '2.204'; @ISA = qw(Exporter); diff --git a/lib/IO/Compress/RawDeflate.pm b/lib/IO/Compress/RawDeflate.pm index ee90799..75ee62b 100644 --- a/lib/IO/Compress/RawDeflate.pm +++ b/lib/IO/Compress/RawDeflate.pm @@ -6,16 +6,16 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base 2.201 ; -use IO::Compress::Base::Common 2.201 qw(:Status :Parse); -use IO::Compress::Adapter::Deflate 2.201 ; -use Compress::Raw::Zlib 2.201 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); +use IO::Compress::Base 2.204 ; +use IO::Compress::Base::Common 2.204 qw(:Status :Parse); +use IO::Compress::Adapter::Deflate 2.204 ; +use Compress::Raw::Zlib 2.204 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY); require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateError); -$VERSION = '2.201'; +$VERSION = '2.204'; $RawDeflateError = ''; @ISA = qw(IO::Compress::Base Exporter); @@ -1010,7 +1010,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Zip.pm b/lib/IO/Compress/Zip.pm index 0f33e7b..856ae7b 100644 --- a/lib/IO/Compress/Zip.pm +++ b/lib/IO/Compress/Zip.pm @@ -4,17 +4,17 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status ); -use IO::Compress::RawDeflate 2.201 (); -use IO::Compress::Adapter::Deflate 2.201 ; -use IO::Compress::Adapter::Identity 2.201 ; -use IO::Compress::Zlib::Extra 2.201 ; -use IO::Compress::Zip::Constants 2.201 ; +use IO::Compress::Base::Common 2.204 qw(:Status ); +use IO::Compress::RawDeflate 2.204 (); +use IO::Compress::Adapter::Deflate 2.204 ; +use IO::Compress::Adapter::Identity 2.204 ; +use IO::Compress::Zlib::Extra 2.204 ; +use IO::Compress::Zip::Constants 2.204 ; use File::Spec(); use Config; -use Compress::Raw::Zlib 2.201 (); +use Compress::Raw::Zlib 2.204 (); BEGIN { @@ -47,7 +47,7 @@ require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $ZipError); -$VERSION = '2.201'; +$VERSION = '2.204'; $ZipError = ''; @ISA = qw(IO::Compress::RawDeflate Exporter); @@ -570,6 +570,8 @@ sub mkFinalTrailer $z64e .= U64::pack_V64 $entries ; # entries in central dir $z64e .= U64::pack_V64 $cd_len ; # size of central dir $z64e .= *$self->{ZipData}{Offset}->getPacked_V64() ; # offset to start central dir + $z64e .= *$self->{ZipData}{extrafieldzip64} # otional extra field + if defined *$self->{ZipData}{extrafieldzip64} ; $z64e = pack("V", ZIP64_END_CENTRAL_REC_HDR_SIG) # signature . U64::pack_V64(length $z64e) @@ -642,7 +644,7 @@ sub ckParams } *$self->{ZipData}{AnyZip64} = 1 - if $got->getValue('zip64'); + if $got->getValue('zip64') || $got->getValue('extrafieldzip64') ; *$self->{ZipData}{Zip64} = $got->getValue('zip64'); *$self->{ZipData}{Stream} = $got->getValue('stream'); @@ -662,7 +664,7 @@ sub ckParams *$self->{ZipData}{ZipComment} = $got->getValue('zipcomment') ; - for my $name (qw( extrafieldlocal extrafieldcentral )) + for my $name (qw( extrafieldlocal extrafieldcentral extrafieldzip64)) { my $data = $got->getValue($name) ; if (defined $data) { @@ -671,6 +673,7 @@ sub ckParams if $bad ; $got->setValue($name, $data) ; + *$self->{ZipData}{$name} = $data; } } @@ -735,6 +738,7 @@ our %PARAMS = ( 'textflag' => [IO::Compress::Base::Common::Parse_boolean, 0], 'extrafieldlocal' => [IO::Compress::Base::Common::Parse_any, undef], 'extrafieldcentral'=> [IO::Compress::Base::Common::Parse_any, undef], + 'extrafieldzip64' => [IO::Compress::Base::Common::Parse_any, undef], # Lzma 'preset' => [IO::Compress::Base::Common::Parse_unsigned, 6], @@ -2162,7 +2166,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Compress/Zip/Constants.pm b/lib/IO/Compress/Zip/Constants.pm index dfb3611..b6e0d35 100644 --- a/lib/IO/Compress/Zip/Constants.pm +++ b/lib/IO/Compress/Zip/Constants.pm @@ -7,7 +7,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT, %ZIP_CM_MIN_VERSIONS); -$VERSION = '2.201'; +$VERSION = '2.204'; @ISA = qw(Exporter); diff --git a/lib/IO/Compress/Zlib/Constants.pm b/lib/IO/Compress/Zlib/Constants.pm index 1118118..b0eb4cf 100644 --- a/lib/IO/Compress/Zlib/Constants.pm +++ b/lib/IO/Compress/Zlib/Constants.pm @@ -9,7 +9,7 @@ require Exporter; our ($VERSION, @ISA, @EXPORT); -$VERSION = '2.201'; +$VERSION = '2.204'; @ISA = qw(Exporter); diff --git a/lib/IO/Compress/Zlib/Extra.pm b/lib/IO/Compress/Zlib/Extra.pm index c034ed5..9767fe1 100644 --- a/lib/IO/Compress/Zlib/Extra.pm +++ b/lib/IO/Compress/Zlib/Extra.pm @@ -8,9 +8,9 @@ use bytes; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS); -$VERSION = '2.201'; +$VERSION = '2.204'; -use IO::Compress::Gzip::Constants 2.201 ; +use IO::Compress::Gzip::Constants 2.204 ; sub ExtraFieldError { diff --git a/lib/IO/Uncompress/Adapter/Bunzip2.pm b/lib/IO/Uncompress/Adapter/Bunzip2.pm index f020a32..229f8fa 100644 --- a/lib/IO/Uncompress/Adapter/Bunzip2.pm +++ b/lib/IO/Uncompress/Adapter/Bunzip2.pm @@ -4,12 +4,12 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); +use IO::Compress::Base::Common 2.204 qw(:Status); -use Compress::Raw::Bzip2 2.201 ; +use Compress::Raw::Bzip2 2.204 ; our ($VERSION, @ISA); -$VERSION = '2.201'; +$VERSION = '2.204'; sub mkUncompObject { diff --git a/lib/IO/Uncompress/Adapter/Identity.pm b/lib/IO/Uncompress/Adapter/Identity.pm index 0ec0ecc..bf64a79 100755 --- a/lib/IO/Uncompress/Adapter/Identity.pm +++ b/lib/IO/Uncompress/Adapter/Identity.pm @@ -4,14 +4,14 @@ use warnings; use strict; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); +use IO::Compress::Base::Common 2.204 qw(:Status); use IO::Compress::Zip::Constants ; our ($VERSION); -$VERSION = '2.201'; +$VERSION = '2.204'; -use Compress::Raw::Zlib 2.201 (); +use Compress::Raw::Zlib 2.204 (); sub mkUncompObject { diff --git a/lib/IO/Uncompress/Adapter/Inflate.pm b/lib/IO/Uncompress/Adapter/Inflate.pm index d23e06d..7469c36 100644 --- a/lib/IO/Uncompress/Adapter/Inflate.pm +++ b/lib/IO/Uncompress/Adapter/Inflate.pm @@ -4,11 +4,11 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status); -use Compress::Raw::Zlib 2.201 qw(Z_OK Z_BUF_ERROR Z_STREAM_END Z_FINISH MAX_WBITS); +use IO::Compress::Base::Common 2.204 qw(:Status); +use Compress::Raw::Zlib 2.204 qw(Z_OK Z_BUF_ERROR Z_STREAM_END Z_FINISH MAX_WBITS); our ($VERSION); -$VERSION = '2.201'; +$VERSION = '2.204'; diff --git a/lib/IO/Uncompress/AnyInflate.pm b/lib/IO/Uncompress/AnyInflate.pm index fb96d89..5c54295 100644 --- a/lib/IO/Uncompress/AnyInflate.pm +++ b/lib/IO/Uncompress/AnyInflate.pm @@ -6,22 +6,22 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Parse); +use IO::Compress::Base::Common 2.204 qw(:Parse); -use IO::Uncompress::Adapter::Inflate 2.201 (); +use IO::Uncompress::Adapter::Inflate 2.204 (); -use IO::Uncompress::Base 2.201 ; -use IO::Uncompress::Gunzip 2.201 ; -use IO::Uncompress::Inflate 2.201 ; -use IO::Uncompress::RawInflate 2.201 ; -use IO::Uncompress::Unzip 2.201 ; +use IO::Uncompress::Base 2.204 ; +use IO::Uncompress::Gunzip 2.204 ; +use IO::Uncompress::Inflate 2.204 ; +use IO::Uncompress::RawInflate 2.204 ; +use IO::Uncompress::Unzip 2.204 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyInflateError); -$VERSION = '2.201'; +$VERSION = '2.204'; $AnyInflateError = ''; @ISA = qw(IO::Uncompress::Base Exporter); @@ -1001,7 +1001,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/AnyUncompress.pm b/lib/IO/Uncompress/AnyUncompress.pm index 8f0edd4..2e2d83c 100644 --- a/lib/IO/Uncompress/AnyUncompress.pm +++ b/lib/IO/Uncompress/AnyUncompress.pm @@ -4,16 +4,16 @@ use strict; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 (); +use IO::Compress::Base::Common 2.204 (); -use IO::Uncompress::Base 2.201 ; +use IO::Uncompress::Base 2.204 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError); -$VERSION = '2.201'; +$VERSION = '2.204'; $AnyUncompressError = ''; @ISA = qw(IO::Uncompress::Base Exporter); @@ -33,26 +33,26 @@ BEGIN # Don't trigger any __DIE__ Hooks. local $SIG{__DIE__}; - eval ' use IO::Uncompress::Adapter::Inflate 2.201 ;'; - eval ' use IO::Uncompress::Adapter::Bunzip2 2.201 ;'; - eval ' use IO::Uncompress::Adapter::LZO 2.201 ;'; - eval ' use IO::Uncompress::Adapter::Lzf 2.201 ;'; - eval ' use IO::Uncompress::Adapter::UnLzma 2.201 ;'; - eval ' use IO::Uncompress::Adapter::UnXz 2.201 ;'; - eval ' use IO::Uncompress::Adapter::UnZstd 2.201 ;'; - eval ' use IO::Uncompress::Adapter::UnLzip 2.201 ;'; - - eval ' use IO::Uncompress::Bunzip2 2.201 ;'; - eval ' use IO::Uncompress::UnLzop 2.201 ;'; - eval ' use IO::Uncompress::Gunzip 2.201 ;'; - eval ' use IO::Uncompress::Inflate 2.201 ;'; - eval ' use IO::Uncompress::RawInflate 2.201 ;'; - eval ' use IO::Uncompress::Unzip 2.201 ;'; - eval ' use IO::Uncompress::UnLzf 2.201 ;'; - eval ' use IO::Uncompress::UnLzma 2.201 ;'; - eval ' use IO::Uncompress::UnXz 2.201 ;'; - eval ' use IO::Uncompress::UnZstd 2.201 ;'; - eval ' use IO::Uncompress::UnLzip 2.201 ;'; + eval ' use IO::Uncompress::Adapter::Inflate 2.204 ;'; + eval ' use IO::Uncompress::Adapter::Bunzip2 2.204 ;'; + eval ' use IO::Uncompress::Adapter::LZO 2.204 ;'; + eval ' use IO::Uncompress::Adapter::Lzf 2.204 ;'; + eval ' use IO::Uncompress::Adapter::UnLzma 2.204 ;'; + eval ' use IO::Uncompress::Adapter::UnXz 2.204 ;'; + eval ' use IO::Uncompress::Adapter::UnZstd 2.204 ;'; + eval ' use IO::Uncompress::Adapter::UnLzip 2.204 ;'; + + eval ' use IO::Uncompress::Bunzip2 2.204 ;'; + eval ' use IO::Uncompress::UnLzop 2.204 ;'; + eval ' use IO::Uncompress::Gunzip 2.204 ;'; + eval ' use IO::Uncompress::Inflate 2.204 ;'; + eval ' use IO::Uncompress::RawInflate 2.204 ;'; + eval ' use IO::Uncompress::Unzip 2.204 ;'; + eval ' use IO::Uncompress::UnLzf 2.204 ;'; + eval ' use IO::Uncompress::UnLzma 2.204 ;'; + eval ' use IO::Uncompress::UnXz 2.204 ;'; + eval ' use IO::Uncompress::UnZstd 2.204 ;'; + eval ' use IO::Uncompress::UnLzip 2.204 ;'; } @@ -1077,7 +1077,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/Base.pm b/lib/IO/Uncompress/Base.pm index eeca15f..2ad0a76 100644 --- a/lib/IO/Uncompress/Base.pm +++ b/lib/IO/Uncompress/Base.pm @@ -9,12 +9,12 @@ our (@ISA, $VERSION, @EXPORT_OK, %EXPORT_TAGS); @ISA = qw(IO::File Exporter); -$VERSION = '2.201'; +$VERSION = '2.204'; use constant G_EOF => 0 ; use constant G_ERR => -1 ; -use IO::Compress::Base::Common 2.201 ; +use IO::Compress::Base::Common 2.204 ; use IO::File ; use Symbol; @@ -1567,7 +1567,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/Bunzip2.pm b/lib/IO/Uncompress/Bunzip2.pm index 5230cf7..d234c46 100644 --- a/lib/IO/Uncompress/Bunzip2.pm +++ b/lib/IO/Uncompress/Bunzip2.pm @@ -4,15 +4,15 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status ); +use IO::Compress::Base::Common 2.204 qw(:Status ); -use IO::Uncompress::Base 2.201 ; -use IO::Uncompress::Adapter::Bunzip2 2.201 ; +use IO::Uncompress::Base 2.204 ; +use IO::Uncompress::Adapter::Bunzip2 2.204 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $Bunzip2Error); -$VERSION = '2.201'; +$VERSION = '2.204'; $Bunzip2Error = ''; @ISA = qw(IO::Uncompress::Base Exporter); @@ -909,7 +909,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/Gunzip.pm b/lib/IO/Uncompress/Gunzip.pm index 6500fc3..eeadb21 100644 --- a/lib/IO/Uncompress/Gunzip.pm +++ b/lib/IO/Uncompress/Gunzip.pm @@ -9,12 +9,12 @@ use strict ; use warnings; use bytes; -use IO::Uncompress::RawInflate 2.201 ; +use IO::Uncompress::RawInflate 2.204 ; -use Compress::Raw::Zlib 2.201 () ; -use IO::Compress::Base::Common 2.201 qw(:Status ); -use IO::Compress::Gzip::Constants 2.201 ; -use IO::Compress::Zlib::Extra 2.201 ; +use Compress::Raw::Zlib 2.204 () ; +use IO::Compress::Base::Common 2.204 qw(:Status ); +use IO::Compress::Gzip::Constants 2.204 ; +use IO::Compress::Zlib::Extra 2.204 ; require Exporter ; @@ -28,7 +28,7 @@ Exporter::export_ok_tags('all'); $GunzipError = ''; -$VERSION = '2.201'; +$VERSION = '2.204'; sub new { @@ -1125,7 +1125,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/Inflate.pm b/lib/IO/Uncompress/Inflate.pm index d7d848a..1573ba3 100644 --- a/lib/IO/Uncompress/Inflate.pm +++ b/lib/IO/Uncompress/Inflate.pm @@ -5,15 +5,15 @@ use strict ; use warnings; use bytes; -use IO::Compress::Base::Common 2.201 qw(:Status ); -use IO::Compress::Zlib::Constants 2.201 ; +use IO::Compress::Base::Common 2.204 qw(:Status ); +use IO::Compress::Zlib::Constants 2.204 ; -use IO::Uncompress::RawInflate 2.201 ; +use IO::Uncompress::RawInflate 2.204 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $InflateError); -$VERSION = '2.201'; +$VERSION = '2.204'; $InflateError = ''; @ISA = qw(IO::Uncompress::RawInflate Exporter); @@ -997,7 +997,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/RawInflate.pm b/lib/IO/Uncompress/RawInflate.pm index 80abfea..80ff3f1 100755 --- a/lib/IO/Uncompress/RawInflate.pm +++ b/lib/IO/Uncompress/RawInflate.pm @@ -5,16 +5,16 @@ use strict ; use warnings; use bytes; -use Compress::Raw::Zlib 2.201 ; -use IO::Compress::Base::Common 2.201 qw(:Status ); +use Compress::Raw::Zlib 2.204 ; +use IO::Compress::Base::Common 2.204 qw(:Status ); -use IO::Uncompress::Base 2.201 ; -use IO::Uncompress::Adapter::Inflate 2.201 ; +use IO::Uncompress::Base 2.204 ; +use IO::Uncompress::Adapter::Inflate 2.204 ; require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $RawInflateError); -$VERSION = '2.201'; +$VERSION = '2.204'; $RawInflateError = ''; @ISA = qw(IO::Uncompress::Base Exporter); @@ -1125,7 +1125,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/IO/Uncompress/Unzip.pm b/lib/IO/Uncompress/Unzip.pm index e689c32..f1d806b 100644 --- a/lib/IO/Uncompress/Unzip.pm +++ b/lib/IO/Uncompress/Unzip.pm @@ -9,14 +9,14 @@ use warnings; use bytes; use IO::File; -use IO::Uncompress::RawInflate 2.201 ; -use IO::Compress::Base::Common 2.201 qw(:Status ); -use IO::Uncompress::Adapter::Inflate 2.201 ; -use IO::Uncompress::Adapter::Identity 2.201 ; -use IO::Compress::Zlib::Extra 2.201 ; -use IO::Compress::Zip::Constants 2.201 ; +use IO::Uncompress::RawInflate 2.204 ; +use IO::Compress::Base::Common 2.204 qw(:Status ); +use IO::Uncompress::Adapter::Inflate 2.204 ; +use IO::Uncompress::Adapter::Identity 2.204 ; +use IO::Compress::Zlib::Extra 2.204 ; +use IO::Compress::Zip::Constants 2.204 ; -use Compress::Raw::Zlib 2.201 () ; +use Compress::Raw::Zlib 2.204 () ; BEGIN { @@ -38,7 +38,7 @@ require Exporter ; our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $UnzipError, %headerLookup); -$VERSION = '2.201'; +$VERSION = '2.204'; $UnzipError = ''; @ISA = qw(IO::Uncompress::RawInflate Exporter); @@ -1967,7 +1967,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2022 Paul Marquess. All rights reserved. +Copyright (c) 2005-2023 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/t/000prereq.t b/t/000prereq.t index 79a773f..8afef5a 100644 --- a/t/000prereq.t +++ b/t/000prereq.t @@ -25,7 +25,7 @@ BEGIN if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; - my $VERSION = '2.201'; + my $VERSION = '2.204'; my @NAMES = qw( Compress::Raw::Bzip2 Compress::Raw::Zlib