Lasse Collin
0d21f49a80
liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
...
The decoder considered empty LZMA2 streams to be corrupt.
This shouldn't matter much with .xz files, because no encoder
creates empty LZMA2 streams in .xz. This bug is more likely
to cause problems in applications that use raw LZMA2 streams.
2011-03-31 11:54:48 +03:00
Lasse Collin
0076e03641
Clean up a few FIXMEs and TODOs.
...
lzma_chunk_size() was commented out because it is
currently useless.
2010-10-19 11:44:37 +03:00
Lasse Collin
02ddf09bc3
Put the interesting parts of XZ Utils into the public domain.
...
Some minor documentation cleanups were made at the same time.
2009-04-13 11:27:40 +03:00
Lasse Collin
f76e39cf93
Added initial support for preset dictionary for raw LZMA1
...
and LZMA2. It is not supported by the .xz format or the xz
command line tool yet.
2009-01-27 18:36:05 +02:00
Lasse Collin
ff7fb2c605
Fix data corruption in LZMA2 decoder.
2008-12-15 10:01:59 +02:00
Lasse Collin
c596fda40b
Make the memusage functions of LZMA1 and LZMA2 decoders
...
to validate the filter options.
2008-12-01 22:58:22 +02:00
Lasse Collin
cd70801520
LZMA2 decoder cleanups. Make it require new LZMA properties
...
also in the first LZMA chunk after a dictionary reset in
uncompressed chunk.
2008-12-01 22:50:28 +02:00
Lasse Collin
1dcecfb09b
Some API changes, bug fixes, cleanups etc.
2008-09-27 19:09:21 +03:00
Lasse Collin
13a74b78e3
Renamed constants:
...
- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
- LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
- LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
2008-09-13 12:10:43 +03:00
Lasse Collin
3b34851de1
Sort of garbage collection commit. :-| Many things are still
...
broken. API has changed a lot and it will still change a
little more here and there. The command line tool doesn't
have all the required changes to reflect the API changes, so
it's easy to get "internal error" or trigger assertions.
2008-08-28 22:53:15 +03:00