|
Packit |
989e37 |
Revision history for Perl extension Compress::Bzip2.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.00 Wed Apr 13 16:33:35 2005
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
This is a complete re-write of Compress::Bzip2. I left the in-memory
|
|
Packit |
989e37 |
compress routines much as is, compress and decompress.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
(re)created by h2xs 1.23 with options
|
|
Packit |
989e37 |
-b 5.6.0 -n Compress::Bzip2 bzlib.h
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
I wanted Compress::Zlib compatibility cause I have s/w that uses
|
|
Packit |
989e37 |
Compress::Zlib and I wanted an easy migration path, since bzlib gives
|
|
Packit |
989e37 |
about 20-30% better compression on ascii files than gzip.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
This is a 2.x release. Since there was a change in authorship, I
|
|
Packit |
989e37 |
figured I should bump the major version number. I could have easily
|
|
Packit |
989e37 |
given this a slightly different name. Given the minimal functionality
|
|
Packit |
989e37 |
of version 1, that didn't seem like a useful thing to do. Heck,
|
|
Packit |
989e37 |
version 1 doesn't even work with bzlib 1.x, you have to patch in the
|
|
Packit |
989e37 |
BZ2_ prefixes, so my guess is that Compress::Bzip2 isn't being used
|
|
Packit |
989e37 |
in a lot of places.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.01 Sat Apr 23 2005
|
|
Packit |
989e37 |
- cleaned up for 64bit, HPUX PA-RISC 2.0W and itanium
|
|
Packit |
989e37 |
- fleshed out the Compress::Zlib compatibility, added a
|
|
Packit |
989e37 |
couple of tests for it.
|
|
Packit |
989e37 |
- added bzip2, bunzip2 and bzcat, which act like the bzip
|
|
Packit |
989e37 |
commands.
|
|
Packit |
989e37 |
- added some compatibility for windows, can't test it out really
|
|
Packit |
989e37 |
- added the bzlib library underneath
|
|
Packit |
989e37 |
- changed the test suite so that it does not rely on bzip2
|
|
Packit |
989e37 |
being installed.
|
|
Packit |
989e37 |
- added a test to the Makefile.PL to determine whether or
|
|
Packit |
989e37 |
not the internal Bzlib is necessary.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.02 Sat Apr 23 2005
|
|
Packit |
989e37 |
- 2.01 rejected by PAUSE because the META.yml was invalid
|
|
Packit |
989e37 |
- learned how to do "make dist"
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.03 Sun Apr 24 2005
|
|
Packit |
989e37 |
- didn't have config.in in the MANIFEST, the tarball was unbuildable.
|
|
Packit |
989e37 |
- rewrote the INSTALL, README to give help on the config.in options
|
|
Packit |
989e37 |
for locating your bzip2 installation.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.04 Mon Apr 25 2005
|
|
Packit |
989e37 |
- tested different styles of builds. confirmed some errors in the
|
|
Packit |
989e37 |
Makefile.PL test for bzip2 that were pointed out by Sisyphus.
|
|
Packit |
989e37 |
- Sisyphus reported some changes necessary for windows builds. I
|
|
Packit |
989e37 |
injected those changes into the code. one of them, adding
|
|
Packit |
989e37 |
aTHX_ to the call to PerlIO_binmode seems like a perl version
|
|
Packit |
989e37 |
thing.
|
|
Packit |
989e37 |
- added tests for internal_bzlib, copied from bzip2 1.0.2.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.05 Wed Apr 27 2005
|
|
Packit |
989e37 |
- cleaned up the pod so it's more presentable online.
|
|
Packit |
989e37 |
- win32 builds - the eye of the needle. Sisyphus has been doing most of
|
|
Packit |
989e37 |
the work.
|
|
Packit |
989e37 |
- cater to win32 nmake - :: ok but $^ not
|
|
Packit |
989e37 |
- cater to win32 dmake - :: bad but $^ ok
|
|
Packit |
989e37 |
- cater to win32 - use File::Spec catfile and rel2abs all over the place
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.06 Fri Apr 29 2005
|
|
Packit |
989e37 |
- build for bzip2.exe fine tuning for win32 nmake
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.07 Sun May 1 2005
|
|
Packit |
989e37 |
- bzlib-src/Makefile.PL had a stupid mistake in it that shows up for
|
|
Packit |
989e37 |
win32 nmake. I can't test that stuff out. Plus, got some new
|
|
Packit |
989e37 |
info from Sisyphus, so tossed my scribble and put in something
|
|
Packit |
989e37 |
known to work.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- implemented Compress::Bzip2 1.03 compatibility layer to encompass
|
|
Packit |
989e37 |
the post-1.00 development thread taken by Marco Carnut and David
|
|
Packit |
989e37 |
Robins. Made an effort to include the three .t test files asis.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- Why? Cause I found that PerlIO::via::Bzip2, by Arjen Laarhoven,
|
|
Packit |
989e37 |
is built on the streaming interface of 1.03. From looking over
|
|
Packit |
989e37 |
it, I gather it redirects a 1.03 compression/decompression stream
|
|
Packit |
989e37 |
to/from a file. It doesn't do the extra bit of fiddling with the
|
|
Packit |
989e37 |
trailers to make the resultant file usable by the bzip2 commands.
|
|
Packit |
989e37 |
Additionally, the 1.03 decompress stream doesn't handle the pause
|
|
Packit |
989e37 |
when an embedded EOF marker is found, which is an issue for files
|
|
Packit |
989e37 |
larger than the buffer size (900k by default).
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
So, I figured it would be easy to provide a compatibility layer
|
|
Packit |
989e37 |
for packages that use 1.03. By using my stuff, the headers and
|
|
Packit |
989e37 |
trailers would be automatically taken care of, as would the EOF
|
|
Packit |
989e37 |
marker. Something like PerlIO::via::Bzip2 would then
|
|
Packit |
989e37 |
interoperate with bzip2 commands. Sure, I think bzread and bzwrite
|
|
Packit |
989e37 |
are better choices for file IO, but this is perl, right? There has
|
|
Packit |
989e37 |
to be at least 10 ways to do the same thing.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.08 Wed May 11 2005
|
|
Packit |
989e37 |
- Sisyphus got the win32 nmake problem licked. merging his stuff in.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- perldoc changes for bzip2 1.03 compatibility.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- got ownership of the module on cpan
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.09 Tue Aug 9 2005
|
|
Packit |
989e37 |
- change email addy
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- patch for test 041-error.t, thanks to Dave Evans
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
- prototype error for bzwrite, limit variable was not optional, thanks
|
|
Packit |
989e37 |
to Christian Drauch for pointing this out.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.10 2013-03-25 rurban
|
|
Packit |
989e37 |
- updated bzlib-src from 1.0.2 to 1.0.6
|
|
Packit |
989e37 |
- [cpan #82308] make breaks on 5.17.7 by schubiger
|
|
Packit |
989e37 |
- [cpan #21961] update ppport.h
|
|
Packit |
989e37 |
- [cpan #25002] memBzip() ignores level
|
|
Packit |
989e37 |
keep using default 6, but honor optional level argument
|
|
Packit |
989e37 |
- use -std=c89 on gcc compat compilers
|
|
Packit |
989e37 |
- fix -Wimplicit-int warning for show_bzversion main()
|
|
Packit |
989e37 |
- fix a couple if dangling else corner cases
|
|
Packit |
989e37 |
format string errors, and unused variables.
|
|
Packit |
989e37 |
- [cpan #82576] fix pod formatting errors
|
|
Packit |
989e37 |
- [cpan #48128] support memBunzip BZh header w/o extra size prefix
|
|
Packit |
989e37 |
and grow dest buf dynamically. Tests in t/040-memory.t
|
|
Packit |
989e37 |
- [cpan #40741] fix bzreadline blocked on the broken bz2 files
|
|
Packit |
989e37 |
- [cpan #84223] fix ignored bzinflateInit args
|
|
Packit |
989e37 |
- [cpan #48124] Multiple issues with bzinflate
|
|
Packit |
989e37 |
support PV ref as bzinflate() buffer arg as documented.
|
|
Packit |
989e37 |
support status checks in chunked bzinflate() calls. t/060-inflate.t
|
|
Packit |
989e37 |
- [cpan #49618] fix for win32 nmake + gcc
|
|
Packit |
989e37 |
- fix t/041-error.t bzopen does not work with filehandles with 5.6,
|
|
Packit |
989e37 |
global destruction of IO::Handle mixed up with a socket
|
|
Packit |
989e37 |
- [cpan #36246] compress 0-byte srcfiles correctly. by Jeffrey Ratcliffe.
|
|
Packit |
989e37 |
fixes debian bug 464205
|
|
Packit |
989e37 |
- [cpan #28366] added testcase for double free or corruption on 32 bit, threaded
|
|
Packit |
989e37 |
but could not repro it.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.11 2013-04-01 rurban
|
|
Packit |
989e37 |
- [cpan #84239] Updated FSF address
|
|
Packit |
989e37 |
- [cpan #68572] Workaround EUMM bug #84345 missing -R
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.12 2013-04-01 rurban
|
|
Packit |
989e37 |
- Fixed META.yml, added META records and SIGN, LICENSE, repository to Makefile.PL,
|
|
Packit |
989e37 |
META.yml is now autogenerated
|
|
Packit |
989e37 |
- added META and POD tests
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.13 2013-04-01 rurban
|
|
Packit |
989e37 |
- Fixed POD coverage
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.14 2013-04-05 rurban
|
|
Packit |
989e37 |
- Fixed solaris gcc issue [cpan #84432] by removing -std=c89
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.15 2013-04-05 rurban
|
|
Packit |
989e37 |
- Silence show_bzversion warnings with make test in t/lib.pl when -lbz2 is unusable.
|
|
Packit |
989e37 |
ParseConfig is duplicated and not needed in t/lib.pl, but I'll leave it there.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.16 2013-06-18 rurban
|
|
Packit |
989e37 |
- pod typo fixed by GH dsteinbrunner.
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.17 2013-08-28 rurban
|
|
Packit |
989e37 |
- Fixed license in README (thanks to John Peacock)
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.18 2014-08-06 rurban
|
|
Packit |
989e37 |
- [cpan #68572] add ccdlflags for show_bzversion missing -R also, similar to the
|
|
Packit |
989e37 |
fix in 2.11. Not a EUMM bug.
|
|
Packit |
989e37 |
- require constant 1.04 (since 5.8) to accept hashrefs.
|
|
Packit |
989e37 |
- add META to MANIFEST
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.19 2015-10-24 rurban
|
|
Packit |
989e37 |
- fixed generated SIGNATURE (EUMM parallel make issue)
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.20 2015-01-15 rurban
|
|
Packit |
989e37 |
- Convert README to markdown, mention the preferred IO::Compress::Bzip2 in
|
|
Packit |
989e37 |
the docs (done by Pattarawat Chormai, GH PR #2)
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.21 2015-02-17 rurban
|
|
Packit |
989e37 |
- Add leaktrace test
|
|
Packit |
989e37 |
- Add .gitignore
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.22 2015-02-17 rurban
|
|
Packit |
989e37 |
- Fixed huge decompress memory leak, leaking every single XS outbut buffer.
|
|
Packit |
989e37 |
- Better memory leak testcase with Memory::Dump, t/090-memory-usage.pl
|
|
Packit |
989e37 |
(RT #102211 by Nick Koston)
|
|
Packit |
989e37 |
- clarify docs that deflate = compress, inflate = uncompress
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.23 2015-06-08 rurban
|
|
Packit |
989e37 |
- HP-UX lddlflags fix by Merjin Brand (RT #105096)
|
|
Packit |
989e37 |
"ld: Unrecognized argument: -Wl,-E"
|
|
Packit |
989e37 |
- -Wformat fixes
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.24 2015-12-08 rurban
|
|
Packit |
989e37 |
- Silence gcc-5 optimizer warning (RT #105647)
|
|
Packit |
989e37 |
with internal BUILD_BZLIB=1
|
|
Packit |
989e37 |
- Improve kwalitee test
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.25 2016-11-11 rurban
|
|
Packit |
989e37 |
- Workaround EUMM 7.16 (RT #117800) by chorny
|
|
Packit |
989e37 |
|
|
Packit |
989e37 |
2.26 2017-04-10 rurban
|
|
Packit |
989e37 |
- . in @INC test fixes for perl5.26 (RT #121020)
|