1
0
Fork 0

Merging upstream version 1.8.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 04:16:09 +01:00
parent 95e76700ee
commit 3ab3342c4f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
21 changed files with 729 additions and 460 deletions

47
NEWS
View file

@ -1,34 +1,31 @@
Changes in version 1.7:
Changes in version 1.8:
When compressing on a 32 bit system, plzip now tries to limit the memory
use to under 2.22 GiB (4 worker threads at level -9) by reducing the
number of threads below the system's default.
The new options '--in-slots' and '--out-slots', setting the number of input
and output packets buffered during streamed decompression, have been added.
Increasing the number of packets may increase decompression speed, but
requires more memory.
The option '--loose-trailing', has been added.
The default number of input packets buffered per worker thread when
decompressing from non-seekable input has been increased from 2 to 4.
The test used by plzip to discriminate trailing data from a corrupt
header in multimember regular (seekable) files has been improved to a
Hamming distance (HD) of 3, and the 3 bit flips must happen in different
magic bytes for the test to fail. As a consequence some kinds of files
no longer can be appended to a lzip file as trailing data unless the
'--loose-trailing' option is used when decompressing.
Lzlib 1.10 or newer is required for this test to work on non-seekable
files.
Lziprecover can be used to remove conflicting trailing data from a file.
The default number of output packets buffered per worker thread when
decompressing to non-seekable output has been increased from 32 to 64.
The 'bits/byte' ratio has been replaced with the inverse compression
ratio in the output.
Detection of forbidden combinations of characters in trailing data has been
improved.
The progress of decompression is now shown at verbosity level 2 (-vv) or
higher.
Errors are now also checked when closing the input file.
Progress of (de)compression is only shown if stderr is a terminal.
The descriptions of '-0..-9', '-m' and '-s' in the manual have been
improved.
A second '.lz' extension is no longer added to the argument of '-o' if
it already ends in '.lz' or '.tlz'.
The configure script now accepts the option '--with-mingw' to enable the
compilation of plzip under MS Windows (with the MinGW compiler). Use with
care. The Windows I/O functions used are not guaranteed to be thread safe.
(Code based on a patch by Hannes Domani).
The dictionary size is now shown at verbosity level 4 (-vvvv) when
decompressing or testing.
The configure script now accepts appending options to CXXFLAGS using the
syntax 'CXXFLAGS+=OPTIONS'.
The new chapter "Meaning of plzip's output", and a block diagram of
plzip have been added to the manual.
It has been documented in INSTALL the use of
CXXFLAGS+='-D __USE_MINGW_ANSI_STDIO' when compiling on MinGW.