xz-analysis-mirror/src
Lasse Collin 418d64a32e Fix a design error in liblzma API.
Originally the idea was that using LZMA_FULL_FLUSH
with Stream encoder would read the filter chain
from the same array that was used to intialize the
Stream encoder. Since most apps wouldn't use
LZMA_FULL_FLUSH, most apps wouldn't need to keep
the filter chain available after initializing the
Stream encoder. However, due to my mistake, it
actually required keeping the array always available.

Since setting the new filter chain via the array
used at initialization time is not a nice way to do
it for a couple of reasons, this commit ditches it
and introduces lzma_filters_update(). This new function
replaces also the "persistent" flag used by LZMA2
(and to-be-designed Subblock filter), which was also
an ugly thing to do.

Thanks to Alexey Tourbin for reminding me about the problem
that Stream encoder used to require keeping the filter
chain allocated.
2009-11-14 18:59:19 +02:00
..
common Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
liblzma Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
lzmainfo Various changes. 2009-09-19 09:47:30 +03:00
scripts Escape dashes in xzmore.1 2009-10-16 20:39:24 +03:00
xz Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
xzdec Add support for --enable-assume-ram=SIZE. 2009-10-02 14:35:56 +03:00
Makefile.am Add lzmainfo for backward compatibility with LZMA Utils. 2009-08-13 12:55:45 +03:00