1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma/common
Lasse Collin 33b8a24b66 liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker.
Some file formats need support for LZMA1 streams that don't use
the end of payload marker (EOPM) alias end of stream (EOS) marker.
So far liblzma API has supported decompressing such streams via
lzma_alone_decoder() when .lzma header specifies a known
uncompressed size. Encoding support hasn't been available in the API.

Instead of adding a new LZMA1-only API for this purpose, this commit
adds a new filter ID for use with raw encoder and decoder. The main
benefit of this approach is that then also filter chains are possible,
for example, if someone wants to implement support for .7z files that
use the x86 BCJ filter with LZMA1 (not BCJ2 as that isn't supported
in liblzma).
2022-11-27 23:16:21 +02:00
..
alone_decoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
alone_decoder.h liblzma: Be less picky in lzma_alone_decoder(). 2013-03-23 22:25:15 +02:00
alone_encoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
auto_decoder.c liblzma: Add .lz support to lzma_auto_decoder(). 2022-11-09 14:25:26 +02:00
block_buffer_decoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
block_buffer_encoder.c liblzma: Vaccinate against an ill patch from RHEL/CentOS 7. 2022-09-08 15:01:29 +03:00
block_buffer_encoder.h liblzma: Add lzma_block_uncomp_encode(). 2013-03-23 19:17:33 +02:00
block_decoder.c liblzma: Make Block decoder catch certain types of errors better. 2022-02-20 20:36:27 +02:00
block_decoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
block_encoder.c liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder. 2022-11-24 01:07:32 +02:00
block_encoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
block_header_decoder.c liblzma: Use lzma_filters_free() in more places. 2022-11-26 22:21:13 +02:00
block_header_encoder.c Rename unaligned_read32ne to read32ne, and similarly for the others. 2019-12-31 00:47:49 +02:00
block_util.c liblzma: Fix comments. 2019-06-03 20:41:54 +03:00
common.c liblzma: Vaccinate against an ill patch from RHEL/CentOS 7. 2022-09-08 15:01:29 +03:00
common.h liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
easy_buffer_encoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
easy_decoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_encoder.c liblzma: Make lzma_stream_encoder_init() static (second try). 2011-04-11 09:27:57 +03:00
easy_encoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
file_info.c spelling 2019-05-11 20:52:37 +03:00
filter_buffer_decoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
filter_buffer_encoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
filter_common.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
filter_common.h liblzma: Fix comments. 2019-06-03 20:41:54 +03:00
filter_decoder.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
filter_decoder.h liblzma: Fix comments. 2019-06-03 20:41:54 +03:00
filter_encoder.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
filter_encoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
filter_flags_decoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
filter_flags_encoder.c liblzma: Fix comments. 2019-06-03 20:41:54 +03:00
hardware_cputhreads.c liblzma: Vaccinate against an ill patch from RHEL/CentOS 7. 2022-09-08 15:01:29 +03:00
hardware_physmem.c spelling 2019-05-11 20:52:37 +03:00
index.c liblzma: Add dest and src NULL checks to lzma_index_cat. 2022-09-28 15:48:03 +03:00
index.h Revised the Index handling code. 2009-12-31 22:45:53 +02:00
index_decoder.c liblzma: Don't verify header CRC32s if building for fuzz testing. 2018-10-26 22:49:10 +03:00
index_decoder.h liblzma: Make lzma_index_decoder_init() visible to other liblzma funcs. 2017-03-30 20:03:05 +03:00
index_encoder.c liblzma: Avoid multiple definitions of lzma_coder structures. 2016-11-21 20:24:50 +02:00
index_encoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
index_hash.c liblzma: Index hash: Change return value type of hash_append() to void. 2022-03-06 15:18:58 +02:00
lzip_decoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
lzip_decoder.h liblzma: Add .lz support to lzma_auto_decoder(). 2022-11-09 14:25:26 +02:00
Makefile.inc liblzma: Add .lz support to lzma_auto_decoder(). 2022-11-09 14:25:26 +02:00
memcmplen.h liblzma: Fix incorrect #ifdef for x86 SSE2 support. 2022-11-11 14:35:58 +02:00
microlzma_decoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
microlzma_encoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
outqueue.c liblzma: Add new output queue (lzma_outq) features. 2022-03-06 16:41:19 +02:00
outqueue.h liblzma: Add new output queue (lzma_outq) features. 2022-03-06 16:41:19 +02:00
stream_buffer_decoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
stream_buffer_encoder.c liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
stream_decoder.c liblzma: Use lzma_filters_free() in more places. 2022-11-26 22:21:13 +02:00
stream_decoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
stream_decoder_mt.c liblzma: Use lzma_filters_free() in more places. 2022-11-26 22:21:13 +02:00
stream_encoder.c liblzma: Refactor to use lzma_filters_free(). 2022-11-24 01:32:16 +02:00
stream_encoder_mt.c liblzma: Add lzma_filters_update() support to the multi-threaded encoder. 2022-11-24 16:25:10 +02:00
stream_flags_common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_decoder.c Rename unaligned_read32ne to read32ne, and similarly for the others. 2019-12-31 00:47:49 +02:00
stream_flags_encoder.c Rename unaligned_read32ne to read32ne, and similarly for the others. 2019-12-31 00:47:49 +02:00
vli_decoder.c spelling 2019-05-11 20:52:37 +03:00
vli_encoder.c Fix incorrect use of "restrict". 2009-09-15 21:07:23 +03:00
vli_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00