Lzip Changelog

What's new in Lzip 1.20

Aug 29, 2018
  • main.cc: Added new option '--loose-trailing'.
  • Improved corrupt header detection to HD=3.
  • main.cc: Show corrupt or truncated header in multimember file.
  • main.cc (main): Option '-S, --volume-size' now keeps input files.
  • encoder_base.*: Adjust dictionary size for each member.
  • Replaced 'bits/byte' with inverse compression ratio in output.
  • Show progress of decompression at verbosity level 2 (-vv).
  • Show progress of (de)compression only if stderr is a terminal.
  • main.cc: Show final diagnostic when testing multiple files.
  • main.cc: Do not add a second .lz extension to the arg of -o.
  • decoder.cc (verify_trailer): Show stored sizes also in hex. Show dictionary size at verbosity level 4 (-vvvv).
  • lzip.texi: Added chapter 'Output'.

New in Lzip 1.20 RC 1 (Dec 2, 2017)

  • main.cc: Added new option '--loose-trailing'.
  • Improved corrupt header detection to HD=3.
  • main.cc: Show corrupt or truncated header in multimember file.
  • main.cc (main): Option '-S, --volume-size' now keeps input files.

New in Lzip 1.20 Pre 2 (Sep 19, 2017)

  • Replaced 'bits/byte' with inverse compression ratio in output.
  • main.cc: Show final diagnostic when testing multiple files.
  • decoder.cc (verify_trailer): Show stored sizes also in hex. Show dictionary size at verbosity level 4 (-vvvv).
  • Optimized cursor and rate of progress of decompression.
  • lzip.texi: Added chapter 'Output'.

New in Lzip 1.19 (Apr 29, 2017)

  • The option '-l, --list' has been ported from lziprecover.
  • Don't allow mixing different operations (-d, -l or -t).
  • Compression time of option '-0' has been slightly reduced.
  • Decompression time has been reduced by 2%.
  • main.cc: Continue testing if any input file is a terminal.
  • main.cc: Show trailing data in both hexadecimal and ASCII.
  • encoder.cc (Matchfinder_base): Verify size passed to new.
  • file_index.cc: Improve detection of bad dict and trailing data.
  • lzip.h: Unified messages for bad magic, trailing data, etc.

New in Lzip 1.19 RC 1 (Mar 28, 2017)

  • main.cc: Continue testing if any input file is a terminal.
  • main.cc: Show trailing data in both hexadecimal and ASCII.
  • encoder.cc (Matchfinder_base): Verify size passed to new.
  • file_index.cc: Improve detection of bad dict and trailing data.
  • lzip.h: Unified messages for bad magic, trailing data, etc.

New in Lzip 1.19 Pre 2 (Jan 20, 2017)

  • testsuite/check.sh: Skip truncation test on Windows and OS/2.

New in Lzip 1.19 Pre 1 (Jan 9, 2017)

  • The option '-l, --list' has been ported from lziprecover.
  • Don't allow mixing different operations (-d, -l or -t).
  • Compression time of option '-0' has been slightly reduced.
  • Decompression time has been reduced by 2%.

New in Lzip 1.18 (Jun 3, 2016)

  • main.cc: Added new option '-a, --trailing-error'.
  • Decompression time has been reduced by 2%.
  • decoder.cc (verify_trailer): Removed test of final code.
  • main.cc (main): Delete '--output' file if infd is a terminal.
  • main.cc (main): Don't use stdin more than once.
  • Removed decompression support for version 0 files.
  • lzip.texi: Added chapter 'Trailing data'.
  • configure: Avoid warning on some shells when testing for g++.
  • Makefile.in: Detect the existence of install-info.
  • testsuite/check.sh: A POSIX shell is required to run the tests.
  • testsuite/check.sh: Don't check error messages.

New in Lzip 1.18 RC 3 (May 7, 2016)

  • EOF on truncated members is now detected more efficiently.

New in Lzip 1.17 (Aug 18, 2015)

  • Reorganization of the compression code.
  • lzip.texi: Added chapter 'Quality assurance'.
  • Makefile.in: Added new targets 'install*-compress'.

New in Lzip 1.17 RC 2 (Jun 4, 2015)

  • lzip.texi: Added chapter 'Quality assurance'.

New in Lzip 1.17 RC 1 (Apr 23, 2015)

  • main.cc (compress): Fixed spurious warning about uninitialized var.

New in Lzip 1.17 Pre 1 (Apr 16, 2015)

  • Reorganization of the compression code.
  • Makefile.in: Added new targets 'install*-compress'.

New in Lzip 1.16 (Sep 9, 2014)

  • Compression ratio of option '-9' has been slightly increased.
  • Compression time has been reduced by 4%.
  • Compression time of option '-0' has been reduced by 2%.
  • main.cc (close_and_set_permissions): Behave like 'cp -p'.
  • Minor improvements.
  • lzip.texinfo: Renamed to lzip.texi.
  • License changed to GPL version 2 or later.

New in Lzip 1.16 RC 1 (Jul 7, 2014)

  • License changed to GPL version 2 or later.

New in Lzip 1.16 Pre 2 (May 20, 2014)

  • Compression ratio of option '-9' has been slightly increased.
  • Compression time of option '-0' has been reduced by 2%.

New in Lzip 1.16 RC 1 (May 12, 2014)

  • Compression ratio of option -9 has been slightly increased.

New in Lzip 1.16 Pre 1 (Feb 1, 2014)

  • main.cc (close_and_set_permissions): Behave like 'cp -p'.
  • Compression time has been reduced by 4%.
  • Minor improvements.
  • lzip.texinfo: Renamed to lzip.texi.

New in Lzip 1.15 (Oct 2, 2013)

  • Show progress of compression at verbosity level 2 (-vv).
  • main.cc (show_header): Do not show header version.
  • Ignore option '-n, --threads' for compatibility with plzip.
  • configure: Options now accept a separate argument.
  • Added chapter 'Stream format' and appendix 'Reference source code' to the manual.

New in Lzip 1.15 RC 1 (Aug 9, 2013)

  • main.cc (show_header): Do not show header version.
  • Updated appendix 'Reference source code' to version 0.4 of lzd.
  • Minor fixes.

New in Lzip 1.15 Pre 3 (Jul 16, 2013)

  • Show progress of compression at verbosity level 2 (-vv).

New in Lzip 1.15 Pre 2 (May 13, 2013)

  • configure: Options now accept a separate argument.

New in Lzip 1.15 Pre 1 (Mar 23, 2013)

  • Decompression time has been reduced by 1%.
  • main.cc (show_header): Show header version if verbosity >= 4.
  • Ignore option '-n, --threads' for compatibility with plzip.
  • Added chapter 'Stream Format' and appendix 'Reference source code' to the manual.

New in Lzip 1.14 (Mar 6, 2013)

  • Multi-step trials have been implemented.
  • Compression ratio has been slightly increased.
  • Compression time has been reduced by 5%.
  • Decompression time has been reduced by 12%.
  • The target "install-bin" has been added to the Makefile.

New in Lzip 1.14 RC 3 (Jan 16, 2013)

  • main.cc: Define 'strtoull' to 'std::strtoul' on Windows.

New in Lzip 1.13 (Mar 13, 2012)

  • Lziprecover has been moved to its own package.
  • main.cc (close_and_set_permissions): Inability to change output file attributes has been downgraded from error to warning.
  • Compression time of option '-0' has been reduced by 2%.
  • Reorganization of the compression code.
  • Small change in '--help' output and man page.
  • Changed quote characters in messages as advised by GNU Standards.
  • configure: 'datadir' renamed to 'datarootdir'.
  • 'testsuite/unzcrash.cc' has been moved to package 'lziprecover'.

New in Lzip 1.13 RC 3 (Jan 24, 2012)

  • Minor fixes and cleanups.

New in Lzip 1.13 RC 2 (Jan 9, 2012)

  • Compression time of option '-0' has been reduced by 2%.
  • Reorganization of the compression code.
  • Small change in '--help' output and man page.
  • Changed quote characters in messages as advised by GNU Standards.

New in Lzip 1.13 RC 1 (Nov 15, 2011)

  • Lziprecover has been moved to its own package.
  • Inability to change output file attributes has been downgraded from error to warning.

New in Lzip 1.11 (Sep 27, 2010)

  • Added new option `-0' which produces a compression speed and ratio comparable to those of `gzip -9'.
  • fast_encoder.h fast_encoder.cc: New files.
  • main.cc: Match length limit set by options -1 to -8 has been reduced to extend range of use towards gzip. Lower numbers now compress less but faster. (-1 now takes 43% less time for only 20% larger compressed size).
  • encoder.cc: Compression of option -9 has been slightly increased.
  • lziprecover.cc: Added new option "--merge" which tries to produce a correct file merging the good parts of two or more damaged copies.
  • lziprecover.cc: Added new option "--repair" for repairing a 1-byte error in single-member files.
  • decoder.cc (decode_member): Detect file errors earlier to improve efficiency of lziprecover's new repair capability. This change also prevents (harmless) access to uninitialized memory when decompressing a corrupt file.
  • lziprecover.cc: Added new option "--force".
  • lziprecover.cc: Added new option "--output".
  • lziprecover.cc: Added new option "--split" to select the until now only operation of splitting multimember files.
  • lziprecover.cc: If no operation is specified, warn the user and do nothing.
  • main.cc: Fixed warning about fchown's return value being ignored.
  • decoder.cc: "-tvvvv" now also shows compression ratio.
  • main.cc: Set stdin/stdout in binary mode on MSVC and OS2.
  • New examples have been added to the manual.
  • testsuite: "test1" renamed to "test.txt"
  • Matchfinder types HC4 (4 bytes hash-chain) and HT4 (4 bytes hash-table) have been tested and found no better than the current BT4.

New in Lzip 1.11 RC5 (Aug 30, 2010)

  • Added new option `-0' which produces a compression speed and ratio comparable to those of `gzip -9'.
  • fast_encoder.h fast_encoder.cc: New files.

New in Lzip 1.11 RC3 (Aug 2, 2010)

  • lziprecover.cc: Added new option "--merge" which tries to produce a correct file merging the good parts of two or more damaged copies.
  • lziprecover.cc: Added new option "--force".
  • lziprecover.cc: Added new option "--output".
  • One new example has been added to the manual.

New in Lzip 1.11 RC2 (Jul 26, 2010)

  • decoder.cc (decode_member): Detect file errors earlier. This also prevents (harmless) access to uninitialized memory even when decompressing a corrupt file.
  • lziprecover.cc: If no operation is specified, warn the user and do nothing.
  • lziprecover.cc: Added new option "--split" for splitting multimember files.
  • lziprecover.cc: Added new option "--repair" for repairing a 1-byte error in single-member files.
  • testsuite: "test1" renamed to "test.txt"

New in Lzip 1.11 RC1 (Jun 29, 2010)

  • main.cc: Fixed warning about fchown's return value being ignored.
  • decoder.cc: "-tvvvv" now shows compression ratio.
  • main.cc: Match length limit set by options -1 to -8 has been reduced to extend range of use towards gzip. Lower numbers now compress less but faster. (-1 now takes 43% less time for only 20% larger compressed size).
  • encoder.cc: Compression of option -9 has been slightly increased.
  • New examples have been added to the manual.
  • Matchfinder types HC4 (4 bytes hash-chain) and HT4 (4 bytes hash-table) have been tested and found no better than the current BT4.

New in Lzip 1.10 (Apr 10, 2010)

  • File specified with option "-o" is now created with write permission for all if umask allows it, and deleted if lzip is interrupted by the user.
  • Regular files are now open in binary mode in non-POSIX platforms defining the O_BINARY macro.
  • Dictionary size for options -2, -3, -4 and -8 has been changed to improve linearity of compressed sizes.
  • Compiler warnings produced by over-optimization (-O3) have been fixed.

New in Lzip 1.10 RC3 (Mar 18, 2010)

  • decoder.h: Input_buffer integrated in Range_decoder.

New in Lzip 1.10 RC2 (Feb 23, 2010)

  • main.cc: Dictionary size for options -2, -3, -4 and -8 has been changed to improve linearity of compressed sizes.
  • lzip.h: Fixed warnings produced by over-optimization (-O3).

New in Lzip 1.10 RC1 (Feb 15, 2010)

  • main.cc: New constant "o_binary".
  • main.cc: File specified with option "-o" is now created with mode 0666 if umask allows it, deleted if interrupted by user.
  • Makefile.in: Added quotes to directory names.

New in Lzip 1.9 RC1 (Jan 5, 2010)

  • Lzip now returns at least 1 if closing stdout fails.
  • Lintian warnings in Debian about man pages have been fixed.
  • The "COPYING" file is no more used for decompression test.

New in Lzip 1.8 (Sep 5, 2009)

  • Compression time has been reduced by 4%.
  • Lzdiff and lzgrep have been moved to the new package zutils.
  • Fixed warnings on sistems where uint32_t != unsigned int.

New in Lzip 1.8 RC2 (Aug 14, 2009)

  • Lzdiff and lzgrep have been moved to the new package zutils.
  • Fixed some warnings on systems where uint32_t != unsigned int.

New in Lzip 1.8 RC1 (Jul 14, 2009)

  • Compression time has been reduced by 4%.

New in Lzip 1.6 RC1 (Jun 17, 2009)

  • main.cc (signal_handler): Declared as `extern "C"'.

New in Lzip 1.5 (Apr 15, 2009)

  • lzip.h: Coded dictionary size implemented in File_header.
  • Fixed some includes that prevented compilation with GCC 4.4.
  • "member_size" and "volume_size" are now accurate limits.
  • Compression speed has been improved.
  • Implemented bt4 type matchfinder.
  • Added chapter "Algorithm" to the manual.
  • Lzdiff and lzgrep now accept "-h" for "--help" and "-V" for "--version".
  • Makefile.in: Man page is now installed by default.

New in Lzip 1.5 RC3 (Apr 8, 2009)

  • Compression speed has been improved for all files and doubled for dictionary sizes < 64KiB.