|
| 1 | +2021-01-02 Antonio Diaz Diaz < [email protected]> |
| 2 | + |
| 3 | + * Version 1.12 released. |
| 4 | + * lzlib.h: Define LZ_API_VERSION as 1000 * major + minor. 1.12 = 1012. |
| 5 | + This change does not affect the soversion. |
| 6 | + * lzlib.h, lzlib.c: New function LZ_api_version. |
| 7 | + * LZd_try_verify_trailer: Return 2 if EOF at trailer or EOS marker. |
| 8 | + * Decompression speed has been slightly increased. |
| 9 | + * decoder.h: Increase 'rd_min_available_bytes' from 8 to 10. |
| 10 | + * encoder_base.c (LZeb_try_sync_flush): |
| 11 | + Compensate for the increase in 'rd_min_available_bytes'. |
| 12 | + * main.c (do_decompress): Fix false report about library stall. |
| 13 | + * main.c: New option '--check-lib'. |
| 14 | + * main.c (main): Report an error if a file name is empty. |
| 15 | + Make '-o' behave like '-c', but writing to file instead of stdout. |
| 16 | + Make '-c' and '-o' check whether the output is a terminal only once. |
| 17 | + Do not open output if input is a terminal. |
| 18 | + Replace 'decompressed', 'compressed' with 'out', 'in' in output. |
| 19 | + Set a valid invocation_name even if argc == 0. |
| 20 | + * lzlib.texi: Document the new way of verifying the library version. |
| 21 | + Document that 'LZ_(de)compress_close' and 'LZ_(de)compress_errno' |
| 22 | + can be called with a null argument. |
| 23 | + Document that sync flush marker is not allowed in lzip files. |
| 24 | + Document the consequences of not calling 'LZ_decompress_finish'. |
| 25 | + Document that 'LZ_decompress_read' returns at least once per member. |
| 26 | + Document that 'LZ_(de)compress_read' can be called with a null |
| 27 | + buffer pointer argument. |
| 28 | + Real code examples for common uses have been added to the tutorial. |
| 29 | + * bbexample.c: Don't use 'LZ_(de)compress_write_size'. |
| 30 | + * lzcheck.c: New options '-s' (sync) and '-m' (member by member). |
| 31 | + Test member by member without 'LZ_decompress_finish'. |
| 32 | + * ffexample.c: New file containing example functions for file-to-file |
| 33 | + compression/decompression. |
| 34 | + * Document extraction from tar.lz in '--help' output and man page. |
| 35 | + * Makefile.in: 'install-bin' no longer installs the man page. |
| 36 | + New targets 'install-bin-compress' and 'install-bin-strip-compress'. |
| 37 | + * testsuite: Add 9 new test files. |
| 38 | + |
1 | 39 | 2019-01-02 Antonio Diaz Diaz < [email protected]>
|
2 | 40 |
|
3 | 41 | * Version 1.11 released.
|
4 |
| - * File_* renamed to Lzip_*. |
| 42 | + * Rename File_* to Lzip_*. |
5 | 43 | * LZ_decompress_read: Don't return error until all data is read.
|
6 | 44 | * decoder.c (LZd_decode_member): Decode truncated data until EOF.
|
| 45 | + * cbuffer.c (Cb_read_data): Allow a null buffer pointer. |
7 | 46 | * main.c: Don't allow mixing different operations (-d and -t).
|
8 | 47 | * main.c: Check return value of close( infd ).
|
9 | 48 | * main.c: Compile on DOS with DJGPP.
|
10 |
| - * lzlib.texi: Improved descriptions of '-0..-9', '-m' and '-s'. |
| 49 | + * lzlib.texi: Improve descriptions of '-0..-9', '-m', and '-s'. |
11 | 50 | Document that 'LZ_(de)compress_finish' can be called repeatedly.
|
12 | 51 | * configure: Accept appending to CFLAGS, 'CFLAGS+=OPTIONS'.
|
13 |
| - * Makefile.in: Targets 'install-bin*' renamed to 'install-lib*'. |
| 52 | + * Makefile.in: Rename targets 'install-bin*' to 'install-lib*'. |
14 | 53 | * Makefile.in: Targets 'install-bin*' now install minilzip.
|
15 | 54 | * INSTALL: Document use of CFLAGS+='-D __USE_MINGW_ANSI_STDIO'.
|
16 | 55 |
|
|
19 | 58 | * Version 1.10 released.
|
20 | 59 | * LZ_compress_finish now adjusts dictionary size for each member.
|
21 | 60 | * lzlib.c (LZ_decompress_read): Detect corrupt header with HD=3.
|
22 |
| - * main.c: Added new option '--loose-trailing'. |
| 61 | + * main.c: New option '--loose-trailing'. |
23 | 62 | * main.c (main): Option '-S, --volume-size' now keeps input files.
|
24 |
| - * main.c: Replaced 'bits/byte' with inverse compression ratio. |
| 63 | + * main.c: Replace 'bits/byte' with inverse compression ratio. |
25 | 64 | * main.c: Show final diagnostic when testing multiple files.
|
26 | 65 | * main.c: Do not add a second .lz extension to the arg of -o.
|
27 | 66 | * main.c: Show dictionary size at verbosity level 4 (-vvvv).
|
28 |
| - * lzlib.texi: Added chapter 'Invoking minilzip'. |
| 67 | + * lzlib.texi: New chapter 'Invoking minilzip'. |
29 | 68 |
|
30 | 69 | 2017-04-11 Antonio Diaz Diaz < [email protected]>
|
31 | 70 |
|
|
34 | 73 | * Compression time of options -1 to -9 has been reduced by 1%.
|
35 | 74 | * Decompression time has been reduced by 3%.
|
36 | 75 | * main.c: Continue testing if any input file is a terminal.
|
37 |
| - * License of the library changed to "2-clause BSD". |
| 76 | + * Change the license of the library to "2-clause BSD". |
38 | 77 |
|
39 | 78 | 2016-05-17 Antonio Diaz Diaz < [email protected]>
|
40 | 79 |
|
41 | 80 | * Version 1.8 released.
|
42 | 81 | * lzlib.h: Define LZ_API_VERSION to 1.
|
43 |
| - * decoder.c (LZd_verify_trailer): Removed test of final code. |
44 |
| - * main.c: Added new option '-a, --trailing-error'. |
| 82 | + * lzlib.c (LZ_decompress_sync_to_member): Add skipped size to in_size. |
| 83 | + * decoder.c (LZd_verify_trailer): Remove test of final code. |
| 84 | + * main.c: New option '-a, --trailing-error'. |
45 | 85 | * main.c (main): Delete '--output' file if infd is a terminal.
|
46 | 86 | * main.c (main): Don't use stdin more than once.
|
47 | 87 | * configure: Avoid warning on some shells when testing for gcc.
|
|
52 | 92 | 2015-07-08 Antonio Diaz Diaz < [email protected]>
|
53 | 93 |
|
54 | 94 | * Version 1.7 released.
|
55 |
| - * Ported fast encoder and option '-0' from lzip. |
| 95 | + * Port fast encoder and option '-0' from lzip. |
56 | 96 | * If open-->write-->finish, produce same dictionary size as lzip.
|
57 |
| - * Makefile.in: Added new targets 'install*-compress'. |
| 97 | + * Makefile.in: New targets 'install*-compress'. |
58 | 98 |
|
59 | 99 | 2014-08-27 Antonio Diaz Diaz < [email protected]>
|
60 | 100 |
|
61 | 101 | * Version 1.6 released.
|
62 | 102 | * Compression ratio of option '-9' has been slightly increased.
|
63 |
| - * configure: Added new option '--disable-static'. |
64 |
| - * configure: Added new option '--disable-ldconfig'. |
| 103 | + * configure: New options '--disable-static' and '--disable-ldconfig'. |
65 | 104 | * Makefile.in: Ignore errors from ldconfig.
|
66 | 105 | * Makefile.in: Use 'CFLAGS' in every invocation of 'CC'.
|
67 | 106 | * main.c (close_and_set_permissions): Behave like 'cp -p'.
|
68 |
| - * lzlib.texinfo: Renamed to lzlib.texi. |
69 |
| - * License changed to "GPL version 2 or later with link exception". |
| 107 | + * lzlib.texinfo: Rename to lzlib.texi. |
| 108 | + * Change license to "GPL version 2 or later with link exception". |
70 | 109 |
|
71 | 110 | 2013-09-15 Antonio Diaz Diaz < [email protected]>
|
72 | 111 |
|
73 | 112 | * Version 1.5 released.
|
74 |
| - * Removed decompression support for version 0 files. |
| 113 | + * Remove decompression support for version 0 files. |
75 | 114 | * The LZ_compress_sync_flush mechanism has been fixed (again).
|
76 | 115 | * Minor fixes.
|
77 | 116 |
|
|
82 | 121 | * Compression ratio has been slightly increased.
|
83 | 122 | * Compression time has been reduced by 8%.
|
84 | 123 | * Decompression time has been reduced by 7%.
|
85 |
| - * lzlib.h: Changed 'long long' values to 'unsigned long long'. |
| 124 | + * lzlib.h: Change 'long long' values to 'unsigned long long'. |
86 | 125 | * encoder.c (Mf_init): Reduce minimum buffer size to 64KiB.
|
87 | 126 | * lzlib.c (LZ_decompress_read): Tell LZ_header_error from
|
88 | 127 | LZ_unexpected_eof the same way as lzip does.
|
89 |
| - * Makefile.in: Added new target 'install-as-lzip'. |
90 |
| - * Makefile.in: Added new target 'install-bin'. |
| 128 | + * Makefile.in: New targets 'install-as-lzip' and 'install-bin'. |
91 | 129 | * main.c: Use 'setmode' instead of '_setmode' on Windows and OS/2.
|
92 | 130 | * main.c: Define 'strtoull' to 'strtoul' on Windows.
|
93 | 131 |
|
94 | 132 | 2012-02-29 Antonio Diaz Diaz < [email protected]>
|
95 | 133 |
|
96 | 134 | * Version 1.3 released.
|
97 | 135 | * Translated to C from the C++ source of lzlib 1.2.
|
98 |
| - * configure: 'datadir' renamed to 'datarootdir'. |
| 136 | + * configure: Rename 'datadir' to 'datarootdir'. |
99 | 137 |
|
100 | 138 | 2011-10-25 Antonio Diaz Diaz < [email protected]>
|
101 | 139 |
|
|
104 | 142 | independently of the value of 'pos_state'. This gives better
|
105 | 143 | compression for large values of '--match-length' without being
|
106 | 144 | slower.
|
107 |
| - * encoder.h encoder.cc: Optimize pair price calculations. This |
108 |
| - reduces compression time for large values of '--match-length' |
109 |
| - by up to 6%. |
110 |
| - * main.cc: Added new option '-F, --recompress'. |
| 145 | + * encoder.h, encoder.cc: Optimize pair price calculations, reducing |
| 146 | + compression time for large values of '--match-length' by up to 6%. |
| 147 | + * main.cc: New option '-F, --recompress'. |
111 | 148 | * Makefile.in: 'make install' no longer tries to run
|
112 | 149 | '/sbin/ldconfig' on systems lacking it.
|
113 | 150 |
|
|
117 | 154 | * Compression time has been reduced by 2%.
|
118 | 155 | * All declarations not belonging to the API have been
|
119 | 156 | encapsulated in the namespace 'Lzlib'.
|
120 |
| - * testsuite: 'test1' renamed to 'test.txt'. Added new tests. |
| 157 | + * testsuite: Rename 'test1' to 'test.txt'. New tests. |
121 | 158 | * Match length limits set by options -1 to -9 of minilzip have
|
122 | 159 | been changed to match those of lzip 1.11.
|
123 | 160 | * main.cc: Set stdin/stdout in binary mode on OS2.
|
|
127 | 164 | 2010-05-08 Antonio Diaz Diaz < [email protected]>
|
128 | 165 |
|
129 | 166 | * Version 1.0 released.
|
130 |
| - * Added new function LZ_decompress_member_finished. |
131 |
| - * Added new function LZ_decompress_member_version. |
132 |
| - * Added new function LZ_decompress_dictionary_size. |
133 |
| - * Added new function LZ_decompress_data_crc. |
134 |
| - * Variables declared 'extern' have been encapsulated in a |
135 |
| - namespace. |
136 |
| - * main.cc: Fixed warning about fchown's return value being ignored. |
137 |
| - * decoder.h: Input_buffer integrated in Range_decoder. |
| 167 | + * New functions LZ_decompress_member_version, LZ_decompress_data_crc, |
| 168 | + LZ_decompress_member_finished, and LZ_decompress_dictionary_size. |
| 169 | + * Variables declared 'extern' have been encapsulated in a namespace. |
| 170 | + * main.cc: Fix warning about fchown's return value being ignored. |
| 171 | + * decoder.h: Integrate Input_buffer in Range_decoder. |
138 | 172 |
|
139 | 173 | 2010-02-10 Antonio Diaz Diaz < [email protected]>
|
140 | 174 |
|
|
145 | 179 | 2010-01-17 Antonio Diaz Diaz < [email protected]>
|
146 | 180 |
|
147 | 181 | * Version 0.8 released.
|
148 |
| - * Added new function LZ_decompress_reset. |
149 |
| - * Added new function LZ_decompress_sync_to_member. |
150 |
| - * Added new function LZ_decompress_write_size. |
151 |
| - * Added new function LZ_strerror. |
152 |
| - * lzlib.h: API change. Replaced 'enum' with functions for values |
153 |
| - of dictionary size limits to make interface names consistent. |
154 |
| - * lzlib.h: API change. 'LZ_errno' replaced with 'LZ_Errno'. |
155 |
| - * lzlib.h: API change. Replaced 'void *' with 'struct LZ_Encoder *' |
| 182 | + * New functions LZ_decompress_reset, LZ_decompress_sync_to_member, |
| 183 | + LZ_decompress_write_size, and LZ_strerror. |
| 184 | + * lzlib.h: API change. Replace 'enum' with functions for values of |
| 185 | + dictionary size limits to make interface names consistent. |
| 186 | + * lzlib.h: API change. Rename 'LZ_errno' to 'LZ_Errno'. |
| 187 | + * lzlib.h: API change. Replace 'void *' with 'struct LZ_Encoder *' |
156 | 188 | and 'struct LZ_Decoder *' to make interface type safe.
|
157 |
| - * decoder.cc: Truncated member trailer is now correctly detected. |
| 189 | + * decoder.cc: A truncated member trailer is now correctly detected. |
158 | 190 | * encoder.cc: Matchfinder::reset now also clears at_stream_end_,
|
159 | 191 | allowing LZ_compress_restart_member to restart a finished stream.
|
160 | 192 | * lzlib.cc: Accept only query or close operations after a fatal
|
161 | 193 | error has occurred.
|
162 |
| - * Shared version of lzlib is no longer built by default. |
| 194 | + * The shared version of lzlib is no longer built by default. |
163 | 195 | * check.sh: Use 'test1' instead of 'COPYING' for testing.
|
164 | 196 |
|
165 | 197 | 2009-10-20 Antonio Diaz Diaz < [email protected]>
|
166 | 198 |
|
167 | 199 | * Version 0.7 released.
|
168 | 200 | * Compression time has been reduced by 4%.
|
169 |
| - * check.sh: Removed -9 to run in less than 256MiB of RAM. |
| 201 | + * check.sh: Remove -9 to run in less than 256MiB of RAM. |
170 | 202 | * lzcheck.cc: Read files of any size up to 2^63 bytes.
|
171 | 203 |
|
172 | 204 | 2009-09-02 Antonio Diaz Diaz < [email protected]>
|
|
178 | 210 |
|
179 | 211 | * Version 0.5 released.
|
180 | 212 | * Decompression speed has been improved.
|
181 |
| - * main.cc (signal_handler): Declared as 'extern "C"'. |
| 213 | + * main.cc (signal_handler): Declare as 'extern "C"'. |
182 | 214 |
|
183 | 215 | 2009-06-03 Antonio Diaz Diaz < [email protected]>
|
184 | 216 |
|
185 | 217 | * Version 0.4 released.
|
186 |
| - * Added new function LZ_compress_sync_flush. |
187 |
| - * Added new function LZ_compress_write_size. |
| 218 | + * New functions LZ_compress_sync_flush and LZ_compress_write_size. |
188 | 219 | * Decompression speed has been improved.
|
189 |
| - * Added chapter 'Buffering' to the manual. |
| 220 | + * lzlib.texinfo: New chapter 'Buffering'. |
190 | 221 |
|
191 | 222 | 2009-05-03 Antonio Diaz Diaz < [email protected]>
|
192 | 223 |
|
|
196 | 227 | 2009-04-26 Antonio Diaz Diaz < [email protected]>
|
197 | 228 |
|
198 | 229 | * Version 0.2 released.
|
199 |
| - * Fixed a segfault when decompressing trailing garbage. |
200 |
| - * Fixed a false positive in LZ_(de)compress_finished. |
| 230 | + * Fix a segfault when decompressing trailing garbage. |
| 231 | + * Fix a false positive in LZ_(de)compress_finished. |
201 | 232 |
|
202 | 233 | 2009-04-21 Antonio Diaz Diaz < [email protected]>
|
203 | 234 |
|
204 | 235 | * Version 0.1 released.
|
205 | 236 |
|
206 | 237 |
|
207 |
| -Copyright (C) 2009-2019 Antonio Diaz Diaz. |
| 238 | +Copyright (C) 2009-2021 Antonio Diaz Diaz. |
208 | 239 |
|
209 | 240 | This file is a collection of facts, and thus it is not copyrightable,
|
210 |
| -but just in case, you have unlimited permission to copy, distribute and |
| 241 | +but just in case, you have unlimited permission to copy, distribute, and |
211 | 242 | modify it.
|
0 commit comments