Skip to content

Commit

Permalink
Version 2.204
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Feb 8, 2023
1 parent 6d0514b commit 91d131f
Show file tree
Hide file tree
Showing 33 changed files with 170 additions and 166 deletions.
12 changes: 12 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
}
6 changes: 3 additions & 3 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ 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'
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'
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions lib/Compress/Zlib.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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($)
{
Expand Down Expand Up @@ -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.
6 changes: 3 additions & 3 deletions lib/IO/Compress/Adapter/Bzip2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
6 changes: 3 additions & 3 deletions lib/IO/Compress/Adapter/Deflate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions lib/IO/Compress/Adapter/Identity.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
6 changes: 3 additions & 3 deletions lib/IO/Compress/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand All @@ -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.

Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion lib/IO/Compress/Base/Common.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions lib/IO/Compress/Bzip2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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],
Expand Down Expand Up @@ -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.
12 changes: 6 additions & 6 deletions lib/IO/Compress/Deflate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion lib/IO/Compress/FAQ.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
32 changes: 10 additions & 22 deletions lib/IO/Compress/Gzip.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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);
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -961,18 +960,7 @@ The ID header in an C<ExtraField> 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
Expand Down Expand Up @@ -1240,7 +1228,7 @@ See L<IO::Compress::FAQ|IO::Compress::FAQ/"Compressed files and Net::FTP">
=head1 SUPPORT
General feedback/questions/bug reports should be sent to
L<https://github.com/pmqs/IO-Compress/issues> (preferred) or
L<https://github.com/pmqs/IO-Copress/issues> (preferred) or
L<https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Copress>.
=head1 SEE ALSO
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion lib/IO/Compress/Gzip/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Loading

0 comments on commit 91d131f

Please sign in to comment.