CHANGES
-------
+ 2.008 2 November 2007
+
+ * Minor documentation changes in README
+
2.006 1 September 2007
* Makefile.PL
- Compress::Raw::Zlib
+ Compress-Raw-Zlib
- Version 2.006
+ Version 2.008
- 1st September 2007
+ 2nd November 2007
Copyright (c) 2005-2007 Paul Marquess. All rights reserved.
PREREQUISITES
-------------
-Before you can build Compress::Raw::Zlib you need to have the following
+Before you can build Compress-Raw-Zlib you need to have the following
installed on your system:
-By default, Compress::Raw::Zlib will build its own private copy of the
+By default, Compress-Raw-Zlib will build its own private copy of the
zlib library. If you want to use a different version of
zlib, follow the instructions in the section called
-"Controlling the version of zlib used by Compress::Raw::Zlib"
+"Controlling the version of zlib used by Compress-Raw-Zlib"
later in this document.
INSTALLATION
------------
-To install Compress::Raw::Zlib, run the command below:
+To install Compress-Raw-Zlib, run the command below:
make install
-Controlling the version of zlib used by Compress::Raw::Zlib
+Controlling the version of zlib used by Compress-Raw-Zlib
----------------------------------------------------------
-Compress::Raw::Zlib interfaces to the zlib compression library. There
+Compress-Raw-Zlib interfaces to the zlib compression library. There
are three options available to control which version/instance of the
zlib library is used:
--------
For option 2, fetch a copy of the zlib source distribution from
- http://www.zlib.org and unpack it into the Compress::Raw::Zlib source
+ http://www.zlib.org and unpack it into the Compress-Raw-Zlib source
directory. Assuming you have fetched zlib 1.2.3,
it will create a directory called zlib-1.2.3.
Every gzip stream stores a byte in its header to identify the Operating
System that was used to create the gzip stream. When you build
-Compress::Raw::Zlib it will attempt to determine the value that is correct for
+Compress-Raw-Zlib it will attempt to determine the value that is correct for
your Operating System. This will then be used by IO::Gzip as the default
value for the OS byte in all gzip headers it creates.
The variable GZIP_OS_CODE in the config.in file controls the setting of
-this value when building Compress::Raw::Zlib. If GZIP_OS_CODE is set to
-AUTO_DETECT, Compress::Raw::Zlib will attempt to determine the correct value for
+this value when building Compress-Raw-Zlib. If GZIP_OS_CODE is set to
+AUTO_DETECT, Compress-Raw-Zlib will attempt to determine the correct value for
your Operating System.
Alternatively, you can override auto-detection of the default OS code and
If you are running one of the less popular Operating Systems, it is
possible that the default value picked by this module is incorrect or the
default value (3) is used when there is a better value available. When
-Compress::Raw::Zlib cannot determine what operating system you are running, it
+Compress-Raw-Zlib cannot determine what operating system you are running, it
will use the default value 3 for the OS code.
If you find you have to change this value, because you think the value auto
HP-UX Notes
-----------
-I've had a report that when building Compress::Raw::Zlib under HP-UX that it
+I've had a report that when building Compress-Raw-Zlib under HP-UX that it
is necessary to have first built the zlib library with the -fpic
option.
-----------
If you are running Activestate Perl (from http://www.activestate.com),
-it ships with a pre-compiled version of Compress::Raw::Zlib. To check if a
-newer version of Compress::Raw::Zlib is available run this from the command
+it ships with a pre-compiled version of Compress-Raw-Zlib. To check if a
+newer version of Compress-Raw-Zlib is available run this from the command
prompt
C:\> ppm verify -upgrade Compress-Zlib
Win32 & Cygwin Notes
--------------------
-It is not possible to install Compress::Raw::Zlib using the CPAN shell.
-This is because the Compress::Raw::Zlib DLL is itself used by the CPAN shell
+It is not possible to install Compress-Raw-Zlib using the CPAN shell.
+This is because the Compress-Raw-Zlib DLL is itself used by the CPAN shell
and it is impossible to remove a DLL while it is already loaded under
Windows.
-The workaround is to install Compress::Raw::Zlib manually using the
+The workaround is to install Compress-Raw-Zlib manually using the
instructions given at the start of this file.
FEEDBACK
--------
-How to report a problem with Compress::Raw::Zlib.
+How to report a problem with Compress-Raw-Zlib.
To help me help you, I need all of the following information:
If your perl does not understand the "-V" option it is too
old. This module needs Perl version 5.004 or better.
- b. The version of Compress::Raw::Zlib you have.
- If you have successfully installed Compress::Raw::Zlib, this one-liner
- will tell you:
-
- perl -MCompress::Raw::Zlib -e 'print qq[ver $Compress::Raw::Zlib::VERSION\n]'
-
- If you areplete* output from running this
-
- perl -V
-
- Do not edit the output in any way.
- Note, I want you to run "perl -V" and NOT "perl -v".
-
- If your perl does not understand the "-V" option it is too
- old. This module needs Perl version 5.004 or better.
-
- b. The version of Compress::Raw::Zlib you have.
- If you have successfully installed Compress::Raw::Zlib, this one-liner
+ b. The version of Compress-Raw-Zlib you have.
+ If you have successfully installed Compress-Raw-Zlib, this one-liner
will tell you:
perl -MCompress::Raw::Zlib -e 'print qq[ver $Compress::Raw::Zlib::VERSION\n]'
perl -MCompress::Raw::Zlib -e "print qq[ver $Compress::Raw::Zlib::VERSION\n]"
- If you haven't installed Compress::Raw::Zlib then search Compress::Raw::Zlib.pm
+ If you haven't installed Compress-Raw-Zlib then search Compress::Raw::Zlib.pm
for a line like this:
- $VERSION = "1.05" ;
+ $VERSION = "2.008" ;
c. The version of zlib you have used.
- If you have successfully installed Compress::Raw::Zlib, this one-liner
+ If you have successfully installed Compress-Raw-Zlib, this one-liner
will tell you:
perl -MCompress::Raw::Zlib -e "print q[zlib ver ]. Compress::Raw::Zlib::ZLIB_VERSION.qq[\n]"
If not, look at the beginning of the file zlib.h.
- 2. If you are having problems building Compress::Raw::Zlib, send me a
- complete log of what happened. Start by unpacking the Compress::Raw::Zlib
+ 2. If you are having problems building Compress-Raw-Zlib, send me a
+ complete log of what happened. Start by unpacking the Compress-Raw-Zlib
module into a fresh directory and keep a log of all the steps
[edit config.in, if necessary]
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
-$VERSION = '2.006';
+$VERSION = '2.008';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
CHANGES
-------
+ 2.008 2 November 2007
+
+ * Minor documentation changes in README
+
2.007 22 September 20007
* lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
use strict ;
require 5.004 ;
-$::VERSION = '2.006' ;
+$::VERSION = '2.008' ;
use private::MakeUtil;
use ExtUtils::MakeMaker 5.16 ;
- Compress::Zlib
+ Compress-Zlib
- Version 2.007
+ Version 2.008
- 22nd September 2007
+ 2nd November 2007
Copyright (c) 1995-2007 Paul Marquess. All rights reserved.
PREREQUISITES
-------------
-Before you can build Compress::Zlib you need to have the following
+Before you can build Compress-Zlib you need to have the following
installed on your system:
* Perl 5.004 or better.
* Compress::Raw::Zlib
- * IO::Compress::Zlib
+ * IO::Compress::Gzip
INSTALLATION
------------
-To install Compress::Zlib, run the command below:
+To install Compress-Zlib, run the command below:
make install
Undefined Symbol gzsetparams
----------------------------
-If you get the error shown below when you run the Compress::Zlib test
+If you get the error shown below when you run the Compress-Zlib test
harness it probably means you are running a copy of zlib that is
version 1.0.5 or older.
FEEDBACK
--------
-How to report a problem with Compress::Zlib.
+How to report a problem with Compress-Zlib.
To help me help you, I need all of the following information:
If your perl does not understand the "-V" option it is too
old. This module needs Perl version 5.004 or better.
- b. The version of Compress::Zlib you have.
- If you have successfully installed Compress::Zlib, this one-liner
- will tell you:
-
- perl -MCompress::Zlib -e 'print qq[ver $Compress::Zlib::VERSION\n]'
-
- If you areplete* output from running this
-
- perl -V
-
- Do not edit the output in any way.
- Note, I want you to run "perl -V" and NOT "perl -v".
-
- If your perl does not understand the "-V" option it is too
- old. This module needs Perl version 5.004 or better.
-
- b. The version of Compress::Zlib you have.
- If you have successfully installed Compress::Zlib, this one-liner
+ b. The version of Compress-Zlib you have.
+ If you have successfully installed Compress-Zlib, this one-liner
will tell you:
perl -MCompress::Zlib -e 'print qq[ver $Compress::Zlib::VERSION\n]'
perl -MCompress::Zlib -e "print qq[ver $Compress::Zlib::VERSION\n]"
- If you haven't installed Compress::Zlib then search Compress::Zlib.pm
+ If you haven't installed Compress-Zlib then search Compress::Zlib.pm
for a line like this:
- $VERSION = "1.05" ;
+ $VERSION = "2.008" ;
- 2. If you are having problems building Compress::Zlib, send me a
- complete log of what happened. Start by unpacking the Compress::Zlib
+ 2. If you are having problems building Compress-Zlib, send me a
+ complete log of what happened. Start by unpacking the Compress-Zlib
module into a fresh directory and keep a log of all the steps
[edit config.in, if necessary]
use IO::Handle ;
use Scalar::Util qw(dualvar);
-use IO::Compress::Base::Common 2.006 ;
-use Compress::Raw::Zlib 2.006 ;
-use IO::Compress::Gzip 2.006 ;
-use IO::Uncompress::Gunzip 2.006 ;
+use IO::Compress::Base::Common 2.008 ;
+use Compress::Raw::Zlib 2.008 ;
+use IO::Compress::Gzip 2.008 ;
+use IO::Uncompress::Gunzip 2.008 ;
use strict ;
use warnings ;
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
-$VERSION = '2.007';
+$VERSION = '2.008';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
package Compress::Zlib ;
-use IO::Compress::Gzip::Constants 2.006 ;
+use IO::Compress::Gzip::Constants 2.008 ;
sub memGzip($)
{
CHANGES
-------
+ 2.008 2 November 2007
+
+ * Minor documentation changes in README
+
2.006 1 September 20007
* Makefile.PL
- IO::Compress::Base
+ IO-Compress-Base
- Version 2.006
+ Version 2.008
- 1st September 2007
+ 2nd November 2007
Copyright (c) 2005-2007 Paul Marquess. All rights reserved.
PREREQUISITES
-------------
-Before you can build IO::Compress::Base you need to have the following
+Before you can build IO-Compress-Base you need to have the following
installed on your system:
INSTALLATION
------------
-To install IO::Compress::Base, run the command below:
+To install IO-Compress-Base, run the command below:
make install
FEEDBACK
--------
-How to report a problem with IO::Compress::Base.
+How to report a problem with IO-Compress-Base.
To help me help you, I need all of the following information:
If your perl does not understand the "-V" option it is too
old. This module needs Perl version 5.004 or better.
- b. The version of IO::Compress::Base you have.
- If you have successfully installed IO::Compress::Base, this one-liner
- will tell you:
-
- perl -MIO::Compress::Base -e 'print qq[ver $IO::Compress::Base::VERSION\n]'
-
- If you areplete* output from running this
-
- perl -V
-
- Do not edit the output in any way.
- Note, I want you to run "perl -V" and NOT "perl -v".
-
- If your perl does not understand the "-V" option it is too
- old. This module needs Perl version 5.004 or better.
-
- b. The version of IO::Compress::Base you have.
- If you have successfully installed IO::Compress::Base, this one-liner
+ b. The version of IO-Compress-Base you have.
+ If you have successfully installed IO-Compress-Base, this one-liner
will tell you:
perl -MIO::Compress::Base -e 'print qq[ver $IO::Compress::Base::VERSION\n]'
perl -MIO::Compress::Base -e "print qq[ver $IO::Compress::Base::VERSION\n]"
- If you haven't installed IO::Compress::Base then search IO::Compress::Base.pm
+ If you haven't installed IO-Compress-Base then search IO::Compress::Base.pm
for a line like this:
- $VERSION = "1.05" ;
+ $VERSION = "2.008" ;
- 2. If you are having problems building IO::Compress::Base, send me a
- complete log of what happened. Start by unpacking the IO::Compress::Base
+ 2. If you are having problems building IO-Compress-Base, send me a
+ complete log of what happened. Start by unpacking the IO-Compress-Base
module into a fresh directory and keep a log of all the steps
[edit config.in, if necessary]
use strict ;
use warnings;
-use IO::Compress::Base::Common 2.006 ;
+use IO::Compress::Base::Common 2.008 ;
use IO::File ;
use Scalar::Util qw(blessed readonly);
our (@ISA, $VERSION);
@ISA = qw(Exporter IO::File);
-$VERSION = '2.006';
+$VERSION = '2.008';
#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.
require Exporter;
our ($VERSION, @ISA, @EXPORT, %EXPORT_TAGS, $HAS_ENCODE);
@ISA = qw(Exporter);
-$VERSION = '2.006';
+$VERSION = '2.008';
@EXPORT = qw( isaFilehandle isaFilename whatIsInput whatIsOutput
isaFileGlobString cleanFileGlobString oneTarget
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(createSelfTiedObject);
+use IO::Compress::Base::Common 2.008 qw(createSelfTiedObject);
-use IO::Uncompress::Base 2.006 ;
+use IO::Uncompress::Base 2.008 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$AnyUncompressError = '';
@ISA = qw( Exporter IO::Uncompress::Base );
BEGIN
{
- eval ' use IO::Uncompress::Adapter::Inflate 2.006 ;';
- eval ' use IO::Uncompress::Adapter::Bunzip2 2.006 ;';
- eval ' use IO::Uncompress::Adapter::LZO 2.006 ;';
- eval ' use IO::Uncompress::Adapter::Lzf 2.006 ;';
-
- eval ' use IO::Uncompress::Bunzip2 2.006 ;';
- eval ' use IO::Uncompress::UnLzop 2.006 ;';
- eval ' use IO::Uncompress::Gunzip 2.006 ;';
- eval ' use IO::Uncompress::Inflate 2.006 ;';
- eval ' use IO::Uncompress::RawInflate 2.006 ;';
- eval ' use IO::Uncompress::Unzip 2.006 ;';
- eval ' use IO::Uncompress::UnLzf 2.006 ;';
+ eval ' use IO::Uncompress::Adapter::Inflate 2.008 ;';
+ eval ' use IO::Uncompress::Adapter::Bunzip2 2.008 ;';
+ eval ' use IO::Uncompress::Adapter::LZO 2.008 ;';
+ eval ' use IO::Uncompress::Adapter::Lzf 2.008 ;';
+
+ eval ' use IO::Uncompress::Bunzip2 2.008 ;';
+ eval ' use IO::Uncompress::UnLzop 2.008 ;';
+ eval ' use IO::Uncompress::Gunzip 2.008 ;';
+ eval ' use IO::Uncompress::Inflate 2.008 ;';
+ eval ' use IO::Uncompress::RawInflate 2.008 ;';
+ eval ' use IO::Uncompress::Unzip 2.008 ;';
+ eval ' use IO::Uncompress::UnLzf 2.008 ;';
}
sub new
sub getExtraParams
{
- use IO::Compress::Base::Common 2.006 qw(:Parse);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
return ( 'RawInflate' => [1, 1, Parse_boolean, 0] ) ;
}
@ISA = qw(Exporter IO::File);
-$VERSION = '2.006';
+$VERSION = '2.008';
use constant G_EOF => 0 ;
use constant G_ERR => -1 ;
-use IO::Compress::Base::Common 2.006 ;
+use IO::Compress::Base::Common 2.008 ;
#use Parse::Parameters ;
use IO::File ;
CHANGES
-------
+ 2.008 2 November 2007
+
+ * Minor documentation changes in README
+
+ * t/compress/truncate.pl
+ EBCDIC Cleanup.
+
+ * IO::Compress::Gzip::Constants.pm
+ Tidied up the character classes used to defined invalid
+ FNAME & FCOMMENT fields for EBCDIC.
+
2.006 1 September 2007
* Makefile.PL
use strict ;
require 5.004 ;
-$::VERSION = '2.006' ;
+$::VERSION = '2.008' ;
use private::MakeUtil;
use ExtUtils::MakeMaker 5.16 ;
- IO::Compress::Zlib
+ IO-Compress-Zlib
- Version 2.006
+ Version 2.008
- 1st September 2007
+ 2nd November 2007
Copyright (c) 2005-2007 Paul Marquess. All rights reserved.
PREREQUISITES
-------------
-Before you can build IO::Compress::Zlib you need to have the following
+Before you can build IO-Compress-Zlib you need to have the following
installed on your system:
INSTALLATION
------------
-To install IO::Compress::Zlib, run the command below:
+To install IO-Compress-Zlib, run the command below:
make install
The t/020isize Test Suite
------------------------
-This test suite checks that IO::Compress::Zlib can cope with gzip files
+This test suite checks that IO-Compress-Zlib can cope with gzip files
that are larger than 2^32 bytes.
By default these test are NOT run when you do a "make test". If you
Also, due to the way the tests are constructed, some architectures will
run out of memory during this test. This should not be considered a bug
-in the IO::Compress::Zlib module.
+in the IO-Compress-Zlib module.
FEEDBACK
--------
-How to report a problem with IO::Compress::Zlib.
+How to report a problem with IO-Compress-Zlib.
To help me help you, I need all of the following information:
If your perl does not understand the "-V" option it is too
old. This module needs Perl version 5.004 or better.
- b. The version of IO::Compress::Zlib you have.
- If you have successfully installed IO::Compress::Zlib, this one-liner
+ b. The version of IO-Compress-Zlib you have.
+ If you have successfully installed IO-Compress-Zlib, this one-liner
will tell you:
- perl -MIO::Compress::Zlib -e 'print qq[ver $IO::Compress::Zlib::VERSION\n]'
-
- If you areplete* output from running this
-
- perl -V
-
- Do not edit the output in any way.
- Note, I want you to run "perl -V" and NOT "perl -v".
-
- If your perl does not understand the "-V" option it is too
- old. This module needs Perl version 5.004 or better.
-
- b. The version of IO::Compress::Zlib you have.
- If you have successfully installed IO::Compress::Zlib, this one-liner
- will tell you:
-
- perl -MIO::Compress::Zlib -e 'print qq[ver $IO::Compress::Zlib::VERSION\n]'
+ perl -MIO::Compress::Gzip -e 'print qq[ver $IO::Compress::Gzip::VERSION\n]'
If you are running windows use this
- perl -MIO::Compress::Zlib -e "print qq[ver $IO::Compress::Zlib::VERSION\n]"
+ perl -MIO::Compress::Gzip -e "print qq[ver $IO::Compress::Gzip::VERSION\n]"
- If you haven't installed IO::Compress::Zlib then search IO::Compress::Zlib.pm
+ If you haven't installed IO-Compress-Zlib then search IO::Compress::Gzip.pm
for a line like this:
- $VERSION = "1.05" ;
+ $VERSION = "2.008" ;
- 2. If you are having problems building IO::Compress::Zlib, send me a
- complete log of what happened. Start by unpacking the IO::Compress::Zlib
+ 2. If you are having problems building IO-Compress-Zlib, send me a
+ complete log of what happened. Start by unpacking the IO-Compress-Zlib
module into a fresh directory and keep a log of all the steps
[edit config.in, if necessary]
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status);
+use IO::Compress::Base::Common 2.008 qw(:Status);
-use Compress::Raw::Zlib 2.006 qw(Z_OK Z_FINISH MAX_WBITS) ;
+use Compress::Raw::Zlib 2.008 qw(Z_OK Z_FINISH MAX_WBITS) ;
our ($VERSION);
-$VERSION = '2.006';
+$VERSION = '2.008';
sub mkCompObject
{
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status);
+use IO::Compress::Base::Common 2.008 qw(:Status);
our ($VERSION);
-$VERSION = '2.006';
+$VERSION = '2.008';
sub mkCompObject
{
require Exporter ;
-use IO::Compress::RawDeflate 2.006 ;
+use IO::Compress::RawDeflate 2.008 ;
-use Compress::Raw::Zlib 2.006 ;
-use IO::Compress::Zlib::Constants 2.006 ;
-use IO::Compress::Base::Common 2.006 qw(createSelfTiedObject);
+use Compress::Raw::Zlib 2.008 ;
+use IO::Compress::Zlib::Constants 2.008 ;
+use IO::Compress::Base::Common 2.008 qw(createSelfTiedObject);
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $DeflateError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$DeflateError = '';
@ISA = qw(Exporter IO::Compress::RawDeflate);
use bytes;
-use IO::Compress::RawDeflate 2.006 ;
+use IO::Compress::RawDeflate 2.008 ;
-use Compress::Raw::Zlib 2.006 ;
-use IO::Compress::Base::Common 2.006 qw(:Status :Parse createSelfTiedObject);
-use IO::Compress::Gzip::Constants 2.006 ;
-use IO::Compress::Zlib::Extra 2.006 ;
+use Compress::Raw::Zlib 2.008 ;
+use IO::Compress::Base::Common 2.008 qw(:Status :Parse createSelfTiedObject);
+use IO::Compress::Gzip::Constants 2.008 ;
+use IO::Compress::Zlib::Extra 2.008 ;
BEGIN
{
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $GzipError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$GzipError = '' ;
@ISA = qw(Exporter IO::Compress::RawDeflate);
our ($VERSION, @ISA, @EXPORT, %GZIP_OS_Names);
our ($GZIP_FNAME_INVALID_CHAR_RE, $GZIP_FCOMMENT_INVALID_CHAR_RE);
-$VERSION = '2.006';
+$VERSION = '2.008';
@ISA = qw(Exporter);
if (ord('A') == 193)
{
# EBCDIC
- $GZIP_FNAME_INVALID_CHAR_RE = '[\x00-\x03\x37\x2d-\x2f\x16\x05\x15\x0b-\x13\x3c\x3d\x32\x26\x18\x19\x3f\x27\x1c-\x1f\x07\x20-\x25\x06\x17\x28-\x2c\x09\x0a\x1b\x30\x31\x1a\x33-\x36\x08\x38-\x3b\x04\x14\x3e\xff]';
- $GZIP_FCOMMENT_INVALID_CHAR_RE = '[\x00-\x03\x37\x2d-\x2f\x16\x05\x15\x0b-\x0f\x11-\x13\x3c\x3d\x32\x26\x18\x19\x3f\x27\x1c-\x1f\x07\x20-\x25\x06\x17\x28-\x2c\x09\x0a\x1b\x30\x31\x1a\x33-\x36\x08\x38-\x3b\x04\x14\x3e\xff]';
+ $GZIP_FNAME_INVALID_CHAR_RE = '[\x00-\x3f\xff]';
+ $GZIP_FCOMMENT_INVALID_CHAR_RE = '[\x00-\x0a\x11-\x14\x16-\x3f\xff]';
}
else
use bytes;
-use IO::Compress::Base 2.006 ;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
-use IO::Compress::Adapter::Deflate 2.006 ;
+use IO::Compress::Base 2.008 ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
+use IO::Compress::Adapter::Deflate 2.008 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$RawDeflateError = '';
@ISA = qw(Exporter IO::Compress::Base);
{
my $self = shift ;
- use IO::Compress::Base::Common 2.006 qw(:Parse);
- use Compress::Raw::Zlib 2.006 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
+ use Compress::Raw::Zlib 2.008 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY);
return (
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
-use IO::Compress::RawDeflate 2.006 ;
-use IO::Compress::Adapter::Deflate 2.006 ;
-use IO::Compress::Adapter::Identity 2.006 ;
-use IO::Compress::Zlib::Extra 2.006 ;
-use IO::Compress::Zip::Constants 2.006 ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
+use IO::Compress::RawDeflate 2.008 ;
+use IO::Compress::Adapter::Deflate 2.008 ;
+use IO::Compress::Adapter::Identity 2.008 ;
+use IO::Compress::Zlib::Extra 2.008 ;
+use IO::Compress::Zip::Constants 2.008 ;
-use Compress::Raw::Zlib 2.006 qw(crc32) ;
+use Compress::Raw::Zlib 2.008 qw(crc32) ;
BEGIN
{
eval { require IO::Compress::Adapter::Bzip2 ;
- import IO::Compress::Adapter::Bzip2 2.006 ;
+ import IO::Compress::Adapter::Bzip2 2.008 ;
require IO::Compress::Bzip2 ;
- import IO::Compress::Bzip2 2.006 ;
+ import IO::Compress::Bzip2 2.008 ;
} ;
}
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $ZipError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$ZipError = '';
@ISA = qw(Exporter IO::Compress::RawDeflate);
{
my $self = shift ;
- use IO::Compress::Base::Common 2.006 qw(:Parse);
- use Compress::Raw::Zlib 2.006 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
+ use Compress::Raw::Zlib 2.008 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STRATEGY);
my @Bzip2 = ();
our ($VERSION, @ISA, @EXPORT, %ZIP_CM_MIN_VERSIONS);
-$VERSION = '2.006';
+$VERSION = '2.008';
@ISA = qw(Exporter);
ZIP_GP_FLAG_STREAMING_MASK
ZIP_GP_FLAG_PATCHED_MASK
ZIP_GP_FLAG_STRONG_ENCRYPTED_MASK
+ ZIP_GP_FLAG_LZMA_EOS_PRESENT
ZIP_EXTRA_ID_ZIP64
ZIP_EXTRA_ID_EXT_TIMESTAMP
use constant ZIP_GP_FLAG_STREAMING_MASK => 8 ;
use constant ZIP_GP_FLAG_PATCHED_MASK => 32 ;
use constant ZIP_GP_FLAG_STRONG_ENCRYPTED_MASK => 64 ;
+use constant ZIP_GP_FLAG_LZMA_EOS_PRESENT => 2 ;
# Internal File Attributes
use constant ZIP_IFA_TEXT_MASK => 1;
our ($VERSION, @ISA, @EXPORT);
-$VERSION = '2.006';
+$VERSION = '2.008';
@ISA = qw(Exporter);
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS);
-$VERSION = '2.006';
+$VERSION = '2.008';
-use IO::Compress::Gzip::Constants 2.006 ;
+use IO::Compress::Gzip::Constants 2.008 ;
sub ExtraFieldError
{
use strict;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status);
+use IO::Compress::Base::Common 2.008 qw(:Status);
our ($VERSION);
-$VERSION = '2.006';
+$VERSION = '2.008';
-use Compress::Raw::Zlib 2.006 ();
+use Compress::Raw::Zlib 2.008 ();
sub mkUncompObject
{
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status);
-use Compress::Raw::Zlib 2.006 qw(Z_OK Z_DATA_ERROR Z_STREAM_END Z_FINISH MAX_WBITS);
+use IO::Compress::Base::Common 2.008 qw(:Status);
+use Compress::Raw::Zlib 2.008 qw(Z_OK Z_DATA_ERROR Z_STREAM_END Z_FINISH MAX_WBITS);
our ($VERSION);
-$VERSION = '2.006';
+$VERSION = '2.008';
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(createSelfTiedObject);
+use IO::Compress::Base::Common 2.008 qw(createSelfTiedObject);
-use IO::Uncompress::Adapter::Inflate 2.006 ();
+use IO::Uncompress::Adapter::Inflate 2.008 ();
-use IO::Uncompress::Base 2.006 ;
-use IO::Uncompress::Gunzip 2.006 ;
-use IO::Uncompress::Inflate 2.006 ;
-use IO::Uncompress::RawInflate 2.006 ;
-use IO::Uncompress::Unzip 2.006 ;
+use IO::Uncompress::Base 2.008 ;
+use IO::Uncompress::Gunzip 2.008 ;
+use IO::Uncompress::Inflate 2.008 ;
+use IO::Uncompress::RawInflate 2.008 ;
+use IO::Uncompress::Unzip 2.008 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyInflateError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$AnyInflateError = '';
@ISA = qw( Exporter IO::Uncompress::Base );
sub getExtraParams
{
- use IO::Compress::Base::Common 2.006 qw(:Parse);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
return ( 'RawInflate' => [1, 1, Parse_boolean, 0] ) ;
}
use warnings;
use bytes;
-use IO::Uncompress::RawInflate 2.006 ;
+use IO::Uncompress::RawInflate 2.008 ;
-use Compress::Raw::Zlib 2.006 qw( crc32 ) ;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
-use IO::Compress::Gzip::Constants 2.006 ;
-use IO::Compress::Zlib::Extra 2.006 ;
+use Compress::Raw::Zlib 2.008 qw( crc32 ) ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
+use IO::Compress::Gzip::Constants 2.008 ;
+use IO::Compress::Zlib::Extra 2.008 ;
require Exporter ;
$GunzipError = '';
-$VERSION = '2.006';
+$VERSION = '2.008';
sub new
{
sub getExtraParams
{
- use IO::Compress::Base::Common 2.006 qw(:Parse);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
return ( 'ParseExtra' => [1, 1, Parse_boolean, 0] ) ;
}
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
-use IO::Compress::Zlib::Constants 2.006 ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
+use IO::Compress::Zlib::Constants 2.008 ;
-use IO::Uncompress::RawInflate 2.006 ;
+use IO::Uncompress::RawInflate 2.008 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $InflateError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$InflateError = '';
@ISA = qw( Exporter IO::Uncompress::RawInflate );
use warnings;
use bytes;
-use Compress::Raw::Zlib 2.006 ;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
+use Compress::Raw::Zlib 2.008 ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
-use IO::Uncompress::Base 2.006 ;
-use IO::Uncompress::Adapter::Inflate 2.006 ;
+use IO::Uncompress::Base 2.008 ;
+use IO::Uncompress::Adapter::Inflate 2.008 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $RawInflateError);
-$VERSION = '2.006';
+$VERSION = '2.008';
$RawInflateError = '';
@ISA = qw( Exporter IO::Uncompress::Base );
use warnings;
use bytes;
-use IO::Uncompress::RawInflate 2.006 ;
-use IO::Compress::Base::Common 2.006 qw(:Status createSelfTiedObject);
-use IO::Uncompress::Adapter::Identity 2.006 ;
-use IO::Compress::Zlib::Extra 2.006 ;
-use IO::Compress::Zip::Constants 2.006 ;
+use IO::Uncompress::RawInflate 2.008 ;
+use IO::Compress::Base::Common 2.008 qw(:Status createSelfTiedObject);
+use IO::Uncompress::Adapter::Identity 2.008 ;
+use IO::Compress::Zlib::Extra 2.008 ;
+use IO::Compress::Zip::Constants 2.008 ;
-use Compress::Raw::Zlib 2.006 qw(crc32) ;
+use Compress::Raw::Zlib 2.008 qw(crc32) ;
BEGIN
{
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $UnzipError, %headerLookup);
-$VERSION = '2.006';
+$VERSION = '2.008';
$UnzipError = '';
@ISA = qw(Exporter IO::Uncompress::RawInflate);
sub getExtraParams
{
- use IO::Compress::Base::Common 2.006 qw(:Parse);
+ use IO::Compress::Base::Common 2.008 qw(:Parse);
return (
my $Error = getErrorRef($CompressClass);
my $UnError = getErrorRef($UncompressClass);
- my $hello = <<EOM ;
-hello world
-this is a test
-some more stuff on this line
-and finally...
-EOM
+# my $hello = <<EOM ;
+#hello world
+#this is a test
+#some more stuff on this line
+#and finally...
+#EOM
+
+ # ASCII hex equivalent of the text above. This makes the test
+ # harness behave identically on an EBCDIC platform.
+ my $hello =
+ "\x68\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64\x0a\x74\x68\x69\x73" .
+ "\x20\x69\x73\x20\x61\x20\x74\x65\x73\x74\x0a\x73\x6f\x6d\x65\x20" .
+ "\x6d\x6f\x72\x65\x20\x73\x74\x75\x66\x66\x20\x6f\x6e\x20\x74\x68" .
+ "\x69\x73\x20\x6c\x69\x6e\x65\x0a\x61\x6e\x64\x20\x66\x69\x6e\x61" .
+ "\x6c\x6c\x79\x2e\x2e\x2e\x0a" ;
my $blocksize = 10 ;