1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
2026-02-02 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.16-rc2 released.
* decoder.c (decode_member): Rename rep[0-3] to dis[0-3].
* list.c (list_files): Print size of tdata below sizes of members.
* lzip_index.c (skip_box): New function.
* main.c: (show_help): Print "*Exit status*" for section in man page.
(Suggested by Murray Calavera).
(show_help): New argument 'bool full' to print usage or full help.
(Suggested by Murray Calavera and Adam Tuja).
* clzip.texi: Several improvements suggested by John Gilmore.
2025-12-10 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.16-rc1 released.
* decoder.c (check_trailer): With -vv print sizes, not ratios.
* list.c (list_files): With -vv print a blank line between files.
* main.c (getnum): Accept underscore separators ('_').
(show_help): Print short help by default, full help with '-vh'.
(Suggested by Murray Calavera and Adam Tuja).
* Print large numbers with underscore separators ('_').
2025-01-10 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.15 released.
* Remove options '--empty-error' and '--marking-error'.
* main.c (Pp_free): New function.
* decoder.c (LZd_decode_member): Remove support for Sync Flush marker.
* list.c (list_files): Detect write error on stdout.
* clzip.texi: New chapter 'Syntax of command-line arguments'.
* check.sh: Use 'cp' instead of 'cat'.
* testsuite: Add fox_nz.lz. Remove fox6.lz,fox6_mark.lz,test_em.txt.lz.
2024-01-22 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.14 released.
* New options '--empty-error' and '--marking-error'.
* main.c: Reformat file diagnostics as 'PROGRAM: FILE: MESSAGE'.
(show_option_error): New function showing argument and option name.
(main): Make -o preserve date/mode/owner if 1 input file.
(open_outstream): Create missing intermediate directories.
* lzip.h: Rename verify_* to check_*.
* configure, Makefile.in: New variable 'MAKEINFO'.
* INSTALL: Document use of CFLAGS+='--std=c99 -D_XOPEN_SOURCE=500'.
* testsuite: New test files fox6.lz, fox6_mark.lz.
2022-01-24 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.13 released.
* Decompression time has been reduced by 5-12% depending on the file.
* main.c (getnum): Show option name and valid range if error.
* Improve several descriptions in manual, '--help', and man page.
* clzip.texi: Change GNU Texinfo category to 'Compression'.
(Reported by Alfred M. Szmidt).
2021-01-04 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.12 released.
* Require C99 instead of 'C89 + bool + inline + long long'.
* main.c (main): Report an error if a file name is empty.
Make '-o' behave like '-c', but writing to file instead of stdout.
Make '-c' and '-o' check whether the output is a terminal only once.
Do not open output if input is a terminal.
Set a valid invocation_name even if argc == 0.
* Replace 'decompressed', 'compressed' with 'out', 'in' in output.
* lzip_index.c: Improve messages for corruption in last header.
* Document extraction from tar.lz in manual, '--help', and man page.
* clzip.texi (Introduction): Mention plzip and tarlz as alternatives.
Several fixes and improvements.
* testsuite: Add 9 new test files.
2019-01-03 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.11 released.
* Rename File_* to Lzip_*.
* lzip.h (Lzip_trailer): New function 'Lt_verify_consistency'.
* lzip_index.c: Detect some kinds of corrupt trailers.
* main.c (main): Check return value of close( infd ).
Compile on DOS with DJGPP. (Reported by Robert Riebisch).
* clzip.texi: Improve descriptions of '-0..-9', '-m', and '-s'.
* configure: Accept appending to CFLAGS; 'CFLAGS+=OPTIONS'.
* INSTALL: Document use of CFLAGS+='-D __USE_MINGW_ANSI_STDIO'.
2018-02-06 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.10 released.
* New option '--loose-trailing'.
* Improve corrupt header detection to HD=3.
* main.c: Show corrupt or truncated header in multimember file.
(main): Make option '-S, --volume-size' keep input files.
(main): Show final diagnostic when testing multiple files.
(set_c_outname): Do not add a second '.lz' to the arg of '-o'.
* encoder_base.*: Adjust dictionary size for each member.
* Replace '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.
* decoder.c (LZd_verify_trailer): Show stored sizes also in hex.
Show dictionary size at verbosity level 4 (-vvvv).
* clzip.texi: New chapter 'Meaning of clzip's output'.
2017-04-13 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.9 released.
* 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 reduced by 6%.
* Compression time of options -1 to -9 has been reduced by 1%.
* Decompression time has been reduced by 7%.
* main.c: Continue testing if any input file is a terminal.
Show trailing data in both hexadecimal and ASCII.
* lzip_index.c: Improve detection of bad dict and trailing data.
* lzip.h: Unify messages for bad magic, trailing data, etc.
* clzip.texi: Add missing chapters from lzip.texi.
2016-05-13 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.8 released.
* New option '-a, --trailing-error'.
* main.c (main): Delete '--output' file if infd is a terminal.
(main): Don't use stdin more than once.
(decompress): Print 6 bytes of trailing data at verbosity level 4.
* decoder.c (LZd_verify_trailer): Remove test of final code.
* clzip.texi: New chapter 'Trailing data'.
* configure: Avoid warning on some shells when testing for gcc.
* Makefile.in: Detect the existence of install-info.
* check.sh: Require a POSIX shell. Don't check error messages.
2015-07-07 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.7 released.
* Port fast encoder and option '-0' from lzip.
* Makefile.in: New targets 'install*-compress'.
2014-08-28 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.6 released.
* Compression ratio of option '-9' has been slightly increased.
* main.c (close_and_set_permissions): Behave like 'cp -p'.
* clzip.texinfo: Rename to clzip.texi.
* Change license to GPL version 2 or later.
2013-09-17 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.5 released.
* Show progress of compression at verbosity level 2 (-vv).
* main.c (show_header): Don't show header version.
* Ignore option '-n, --threads' for compatibility with plzip.
* configure: Options now accept a separate argument.
2013-02-18 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 1.4 released.
* Multi-step trials have been implemented.
* Compression ratio has been slightly increased.
* Compression time has been reduced by 10%.
* Decompression time has been reduced by 8%.
* Makefile.in: New targets 'install-as-lzip' and 'install-bin'.
* main.c: Define 'strtoull' to 'strtoul' on Windows.
(main): Use 'setmode' instead of '_setmode' on Windows and OS/2.
2012-02-25 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 1.3 released.
* main.c (close_and_set_permissions): Inability to change output
file attributes has been downgraded from error to warning.
* encoder.c (Mf_init): Return false if out of memory instead of
calling cleanup_and_fail.
* Small change in '--help' output and man page.
* Change quote characters in messages as advised by GNU Standards.
* configure: Rename 'datadir' to 'datarootdir'.
2011-05-18 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 1.2 released.
* New option '-F, --recompress'.
* encoder.h (Lee_update_prices): Update high length symbol prices
independently of the value of 'pos_state'. This gives better
compression for large values of '--match-length' without being
slower.
* encoder.h, encoder.c: Optimize pair price calculations, reducing
compression time for large values of '--match-length' by up to 6%.
* main.c (decompress): Print only one status line for each
multimember file when only one '-v' is specified.
2011-01-11 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 1.1 released.
* Code has been converted to 'C89 + long long' from C99.
* decoder.c: '-tvvvv' now shows compression ratio.
* main.c: 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).
Exit with status 1 if any output file exists and is skipped.
Fix warning about fchown's return value being ignored.
(open_instream): Don't show the message
" and '--stdout' was not specified" for directories, etc.
* Compression ratio of option '-9' has been slightly increased.
* New examples have been added to the manual.
2010-04-05 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 1.0 released.
* Initial release.
* Translated to C from the C++ source of lzip 1.10.
Copyright (C) 2010-2026 Antonio Diaz Diaz.
This file is a collection of facts, and thus it is not copyrightable, but just
in case, you have unlimited permission to copy, distribute, and modify it.
|