1
0
Fork 0

Adding upstream version 1.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 04:17:36 +01:00
parent cc73e0fc78
commit e28a4525c4
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
29 changed files with 2003 additions and 1566 deletions

71
NEWS
View file

@ -1,31 +1,58 @@
Changes in version 1.8:
Changes in version 1.9:
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.
Plzip now reports an error if a file name is empty (plzip -t "").
The default number of input packets buffered per worker thread when
decompressing from non-seekable input has been increased from 2 to 4.
Option '-o, --output' now behaves like '-c, --stdout', but sending the
output unconditionally to a file instead of to standard output. See the new
description of '-o' in the manual. This change is backwards compatible only
when (de)compressing from standard input alone. Therefore commands like:
plzip -o foo.lz - bar < foo
must now be split into:
plzip -o foo.lz - < foo
plzip bar
or rewritten as:
plzip - bar < foo > foo.lz
The default number of output packets buffered per worker thread when
decompressing to non-seekable output has been increased from 32 to 64.
When using '-c' or '-o', plzip now checks whether the output is a terminal
only once.
Detection of forbidden combinations of characters in trailing data has been
improved.
Plzip now does not even open the output file if the input file is a terminal.
Errors are now also checked when closing the input file.
The new option '--check-lib', which compares the version of lzlib used to
compile plzip with the version actually being used at run time, has been added.
The descriptions of '-0..-9', '-m' and '-s' in the manual have been
improved.
The words 'decompressed' and 'compressed' have been replaced with the
shorter 'out' and 'in' in the verbose output when decompressing or testing.
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).
When checking the integrity of multiple files, plzip is now able to continue
checking the rest of the files (instead of exiting) if some of them fail the
test, allowing 'plzip --test' to show a final diagnostic with the number of
files that failed (just as 'lzip --test').
The configure script now accepts appending options to CXXFLAGS using the
syntax 'CXXFLAGS+=OPTIONS'.
Testing is now slightly (1.6%) faster when using lzlib 1.12.
It has been documented in INSTALL the use of
CXXFLAGS+='-D __USE_MINGW_ANSI_STDIO' when compiling on MinGW.
When compressing, or when decompressing or testing from a non-seekable file
or from standard input, plzip now starts only the number of worker threads
required.
When decompressing or testing from a non-seekable file or from standard
input, trailing data are now not counted in the compressed size shown.
When decompressing or testing a multimember file, plzip now shows the
largest dictionary size of all members in the file instead of showing the
dictionary size of the first member.
Option '--list' now reports corruption or truncation of the last header in a
multimenber file specifically instead of showing the generic message "Last
member in input file is truncated or corrupt."
The error messages for 'Data error' and 'Unexpected EOF' have been shortened.
The commands needed to extract files from a tar.lz archive have been
documented in the manual, in the output of '--help', and in the man page.
Tarlz is mentioned in the manual as an alternative to tar + plzip.
Several fixes and improvements have been made to the manual.
8 new test files have been added to the testsuite.