lzo: update to 2.09
[tomato.git] / release / src / router / lzo / NEWS
blob80da4ea3c26d23bb7d19666378a46a8c202bc493
1 ============================================================================
2 User visible changes for LZO -- a real-time data compression library
3 ============================================================================
5 Changes in 2.09 (04 Feb 2015)
6   * Work around gcc bug #64516 that could affect architectures like
7     armv4, armv5 and sparc.
9 Changes in 2.08 (29 Jun 2014)
10   * Updated the Autoconf scripts to fix some reported build problems.
11   * Added CMake build support.
12   * Fixed lzo_init() on big-endian architectures like Sparc.
14 Changes in 2.07 (25 Jun 2014)
15   * Fixed a potential integer overflow condition in the "safe" decompressor
16     variants which could result in a possible buffer overrun when
17     processing maliciously crafted compressed input data.
19     Fortunately this issue only affects 32-bit systems and also can only happen
20     if you use uncommonly huge buffer sizes where you have to decompress more
21     than 16 MiB (> 2^24 bytes) untrusted compressed bytes within a single
22     function call, so the practical implications are limited.
24     POTENTIAL SECURITY ISSUE. CVE-2014-4607.
26   * Removed support for ancient configurations like 16-bit "huge" pointers -
27     LZO now requires a flat 32-bit or 64-bit memory model.
28   * Assorted cleanups.
30 Changes in 2.06 (12 Aug 2011)
31   * Some minor optimizations for big-endian architectures.
32   * Fixed overly strict malloc() misalignment check in examples.
34 Changes in 2.05 (23 Apr 2011)
35   * Converted the configure system to non-recursive Automake.
36   * Applied some overdue speed optimizations for modern x86/x64 architectures
37     and current compilers like gcc 4.6 and MSVC 2010.
39 Changes in 2.04 (31 Oct 2010)
40   * Fixed a gcc-4.5 aliasing issue in lzo_init().
41   * Updated the configure system.
42   * Assorted cleanups.
44 Changes in 2.03 (30 Apr 2008)
45   * Updated the ELF assembler sources to mark the stack as non-executable.
46   * Fixed a HP-UX 11 build issue with Itanium in ILP32 mode.
47   * Updated the configure system.
49 Changes in 2.02 (17 Oct 2005)
50   * Updated the build and Autoconf scripts to fix some reported
51     compilation problems.
53 Changes in 2.01 (27 Jun 2005)
54   * Changed the configure system to install the LZO library under the
55     name "liblzo2" so that parallel installation with LZO v1 is possible.
56   * Improved auto-configuration in miniLZO for some embedded targets like
57     Blackfin and H8/300 processors.
59 Changes in 2.00 (30 May 2005)
61   [Library interface changes]
62   * The 'lzo_uint' typedef has been changed to match 'size_t', which means
63     it now is 64 bits on most 64-bit architectures. 32-bit machines
64     are not affected by this change.
65   * The formula for maximum expansion of incompressible data has changed.
66     See doc/LZO.FAQ. This is needed for some upcoming speed improvements,
67     and also for compatibility with our commercial LZO Professional product.
68   * The progress indicator callback interface has been revamped.
69   * All public header files now get installed into a "lzo" subdirectory, so
70     your applications should use #include <lzo/lzoXXX.h>.
71   * A number of (internal) macros have been renamed. See LZO_CFG_COMPAT
72     in <lzo/lzoconf.h> if your code depends on these.
74   [Speed]
75   * Small overall speedup by exploiting features like branch prediction
76     hints and explicit inline control present in modern C/C++ compilers.
77   * Significant speedup for 64-bit architectures like AMD64.
79   [Portability]
80   * LZO now fully supports the LLP64 programming model.
81   * LZO now fully supports the ILP64 and SILP64 programming models which
82     are used on some supercomputing architectures.
83   * Full Win64 support for AMD64 (aka x64) and IA64 (Itanium).
84   * Full 16-bit support for ancient DOS 286 protected mode, OS/2 1.x
85     and Windows 3.x.
86   * The LZO library now compiles and works on completely freestanding or
87     embedded systems as long as you have <limits.h> and <stddef.h> header
88     files. See the B/generic/build_freestanding.sh build script.
90   [Misc]
91   * The i386 assembler versions of the decompressors are now automatically
92     built and installed. See also asm/i386/00README.TXT.
93   * Added include file <lzo/lzo_asm.h> that provides prototypes for all
94     assembler functions.
95   * Under MacOS X, the configure script now will use the '-no-cpp-precomp'
96     compiler option in order to work around bugs in some versions of
97     Apple's native "smart" preprocessor.
98   * Worked around a preprocessor bug that is present in all compilers which
99     are based on the lcc compiler kit.
100   * Added simple B/generic/build.sh build script family.
101   * Added lots of new build scripts for various DOS/Windows compilers.
103   [Upgrade instructions from LZO v1 to LZO v2]
104   * On 64-bit architectures, revisit all uses of lzo_uint.
105   * Adapt for the maximum expansion change of incompressible data.
106   * If you use the progress callback then adapt for the new interface.
107   * Use #include <lzo/lzoXXX.h> or adjust your include path.
108   * Check your code for use of deprecated macros. Add a
109     #define LZO_CFG_COMPAT if necessary.
110   * Other than that LZO v2 should be fully source-compatible with LZO v1.
111     Of course, the compressed data is fully compatible as well.
112   * Re-compile and re-link your application.
113   * Enjoy the improvements!
115 ----------------------------------------------------------------------------
117 Changes in 1.08 (12 Jul 2002)
118   * Much better support for cross compiling.
119   * Straighten out ANSI-conforming compiler checks.
120   * Avoid harmless compiler warnings reported by -Wcast-align.
121   * Fixed some sign extension problems on rather exotic machines where
122     sizeof(size_t) < sizeof(ptrdiff_t) and sizeof(lzo_uint) == sizeof(size_t)
123   * Updated the configure system to use the latest Autoconf, Automake
124     and Libtool versions.
126 Changes in 1.07 (18 Oct 2000)
127   * Default to '--disable-shared' (I'm getting tired of Libtool's
128     shared library build problems, this time AIX was the culprit).
129   * Avoid some harmless compiler warnings.
131 Changes in 1.06 (29 Nov 1999)
132   * Updated the configure system to use Autoconf 2.13, Automake 1.4 and
133     Libtool 1.3.3. This should hopefully fix the shared-library build
134     problems that were reported on some machines.
135   * Enhanced example programs a little bit.
137 Changes in 1.05 (14 Apr 1998)
138   * Just a one-line change in the configure script to workaround
139     a HPUX and IRIX build problem.
141 Changes in 1.04 (15 Mar 1998)
142   * Worked around a bug in the cpp preprocessor under HPUX 10.20.
143   * Adapted for Automake 1.2f and Libtool 1.1.
145 Changes in 1.03 (18 Jan 1998)
146   * minor compression ratio improvement
147   * extended example program to show how to do overlapping compression
148   * assembler changes, added support for the nasm assembler
149   * better support for cross compiling
150   * some cleanups
152 Changes in 1.02 (07 Dec 1997)
153   * improved LZO1X-999 and LZO1Y-999 compression ratio a little bit again
154   * introduced compression levels for LZO1X-999 and LZO1Y-999
155   * added support for preset dictionaries
156   * implemented LZO1X-1(12): needs 16 KiB for compression
157   * new algorithm LZO1Z: this is another variant of LZO1X
158   * added example program: how to use preset dictionaries
159   * added example program: how to do in-place decompression
160   * added a little file-packer example program
161   * LZO now works cleanly under checkergcc
162   * strict 16-bit memory model is working (but not officially supported)
163   * shared libraries are supported on many platforms
164   * adapted for Automake 1.2d and Libtool 1.0h
166 Changes in 1.01 (10 Aug 1997)
167   * improved LZO1X-999 and LZO1Y-999 compression ratio a little bit
168   * i386+gcc: significant speedup of the C version of the LZO1, LZO1A,
169     LZO1B and LZO1C decompressors
170   * added example programs that show how to generate pre-compressed data
171   * added Makefiles for DOS, Windows and OS/2 targets
173 Changes in 1.00 (13 Jul 1997)
174   * added miniLZO - can be easily included in your project
175   * improved documentation, added LZO.FAQ
176   * added build scripts for many systems where Autoconf is not available:
177     Windows 3.1 (LIB+DLL), Windows 95/NT (LIB+DLL), DOS (16+32 bit), OS/2
178   * adapted for Automake 1.2 and Libtool 1.0
180 Changes in 0.90 (27 Jun 1997): never released
181   * LZO now uses GNU Automake 1.0 - lots of configuration changes
182   * added LZO1X-1(11): this version needs only 8 KiB for compression
183   * implemented LZO1Y-1
184   * added i386 assembler decompressors for MASM/TASM/WASM
185   * the name of some assembler functions changed
186   * the numeric value of some error codes changed
187   * portability fixes
189 Changes in 0.29 (04 May 1997)
190   * Linux ELF shared library support
191   * workaround for gcc 2.7.2 optimizer bug under AIX
192   * added lzo_crc32() checksum
194 Changes in 0.28 (22 Feb 1997)
195   * new algorithm LZO1Y: LZO1Y-999 and LZO1Y decompressor
196   * added lzo1x_optimize() and lzo1y_optimize()
197   * minor speedup in assembler decompressors (i386+gcc)
198   * ltest.c rewritten
200 Changes in 0.27 (19 Jan 1997)
201   * fixed a bug in LZO1B-999 and LZO1C-999 that could produce
202     invalid compressed data in very rare cases
204 Changes in 0.26 (18 Jan 1997): never released
205   * implemented LZO1B-999
206   * renamed LZO1D to LZO2A (also updated all docs)
207   * some cleanups
209 Changes in 0.25 (28 Dec 1996): never released
210   * some portability fixes (LZO now works on my old Atari ST :-)
211   * adapted for Autoconf 2.12
213 Changes in 0.24 (30 Nov 1996): never released
214   * improved performance of LZO1X assembler decompressor on a Pentium (i386+gcc)
216 Changes in 0.23 (23 Nov 1996)
217   * added LZO1C, LZO1F and LZO1X decompressors in assembler (i386+gcc)
218   * added corresponding LZO_PUBLIC to all LZO_EXTERN functions
219   * added support for Microsoft C 7.0 (16-bit DOS)
220   * introduced lzo_uint32. This could prove useful for a strict 16-bit
221     version that doesn't use 'huge' pointers.
222   * all algorithms use incremental hashing now
223   * some cleanups and portability fixes
225 Changes in 0.22 (19 Sep 1996)
226   * LZO1X: minor decompressor speedup, added some checks in safe decompressor
227   * Autoconf: added detection of gcc strength-reduction bug
228   * Makefile changes
230 Changes in 0.21 (08 Sep 1996)
231   * LZO now uses GNU Autoconf 2.10 - lots of configuration changes
232   * a few cosmetical changes
234 Changes in 0.20 (11 Aug 1996)
235   * new algorithm LZO1X: LZO1X-1, LZO1X-999 and LZO1X decompressor
236   * significantly speeded up LZO1B, LZO1C and LZO1F decompressors
237     on CPUs which allow unaligned memory access (e.g. Intel i386)
238   * greatly speeded up LZO2A-999 compressor at the cost of some memory
239   * some cleanups, portability fixes and minor speedups
241 Changes in 0.16 (22 Jul 1996)
242   * speeded up LZO1F decompressor a little bit
243   * improved LZO1F-999 compression ratio
245 Changes in 0.15 (10 Jul 1996)
246   * new algorithm LZO1F: LZO1F-1, LZO1F-999 and LZO1F decompressor
247   * improved LZO2A-999 compression ratio
248   * removed LZO1E as it is dominated by LZO1F
250 Changes in 0.14 (06 Jul 1996): never released
251   * experimental algorithms: LZO1E and LZO1F
252   * added LZO_EXTERN to all prototypes. Useful when building a DLL.
253   * improved LZO1C-999 and LZO2A-999 compression ratio a little bit
254   * fixed progress indicator callback (it was called only once)
256 Changes in 0.13 (20 Jun 1996)
257   * some speed improvements in LZO1C-999 and LZO2A-999
259 Changes in 0.12 (18 Jun 1996): never released
260   * added LZO1C-999, a slow but nearly optimal compressor
261     intended for generating pre-compressed data
262   * added tests for lookbehind-overrun in all safe decompressors
263   * source tree completely rearranged, some filenames changed
264   * extensions changed: a .ch file is a C source code that is included
265     for reasons of code sharing
266   * new algorithm LZO2A: LZO2A-999 and LZO2A decompressor. There is
267     no fast compressor yet.
268   * some cleanups
270 Changes in 0.11 (29 May 1996)
271   * source tree rearranged
272   * LZO now compiles fine as a C++ library (interface still has C linkage)
273   * improved overall compression ratio a little bit
274   * LZO1B-99/LZO1C-99 now search for longer matches
275   * incremental hash is working, it's a little bit faster
276   * Makefile changed
277   * added lzo_uint and lzo_sizeof in some places
278   * split LZO1B compressor into even more include-files
280 Changes in 0.10 (20 May 1996): first public release of the LZO library
281   * includes LZO1, LZO1A, LZO1B and LZO1C algorithms
282     (compression levels 1-9 and 99)
284 14 Mar 1996:
285   * public release of the LZO1A algorithm
287 04 Mar 1996:
288   * public release of the LZO1 algorithm