aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common (follow)
AgeCommit message (Expand)AuthorFilesLines
2022-11-24liblzma: Fix another invalid free() after memory allocation failure.Lasse Collin1-0/+4
2022-11-24liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder.Jia Tan1-0/+1
2022-11-24liblzma: Add new API function lzma_filters_free().Lasse Collin1-0/+26
2022-11-23liblzma: Fix invalid free() after memory allocation failure.Lasse Collin1-8/+31
2022-11-22liblzma: Fix language in a comment.Lasse Collin1-1/+1
2022-11-14Replace the experimental ARM64 filter with a new experimental version.Lasse Collin3-22/+21
2022-11-11liblzma: Fix building with Intel ICC (the classic compiler).Lasse Collin1-1/+1
2022-11-11liblzma: Fix incorrect #ifdef for x86 SSE2 support.Lasse Collin1-2/+1
2022-11-09liblzma: Add .lz support to lzma_auto_decoder().Lasse Collin3-7/+41
2022-11-09liblzma: Add .lz (lzip) decompression support (format versions 0 and 1).Lasse Collin2-0/+418
2022-11-09liblzma: Add the missing Makefile.inc change for --disable-microlzma.Lasse Collin1-2/+10
2022-11-08liblzma: Use the return_if_error() macro in alone_decoder.c.Lasse Collin1-4/+2
2022-11-08liblzma: Fix a comment in auto_decoder.c.Lasse Collin1-2/+2
2022-11-07liblzma: Include cached memory in reported memusage in threaded decoder.Lasse Collin1-3/+19
2022-10-24liblzma: Threaded decoder: Stop the worker threads on errors.Lasse Collin1-7/+26
2022-10-05liblzma: Fix a compilation issue when encoders are disabled.Jia Tan1-3/+4
2022-10-05tuklib_integer: Add 64-bit endianness-converting reads and writes.Lasse Collin1-6/+3
2022-09-28liblzma: Add dest and src NULL checks to lzma_index_cat.Jia Tan1-0/+3
2022-09-28liblzma: Fix copying of check type statistics in lzma_index_cat().Jia Tan1-1/+6
2022-09-28liblzma: Stream decoder: Fix restarting after LZMA_MEMLIMIT_ERROR.Lasse Collin1-3/+13
2022-09-28liblzma: Stream decoder: Fix comments.Lasse Collin1-7/+5
2022-09-19liblzma: Add experimental ARM64 BCJ filter with a temporary Filter ID.Lasse Collin3-0/+28
2022-09-09liblzma: lzma_filters_copy: Keep dest[] unmodified if an error occurs.Lasse Collin1-6/+12
2022-09-08liblzma: lzma_index_append: Add missing integer overflow check.Jia Tan1-0/+4
2022-09-08liblzma: Vaccinate against an ill patch from RHEL/CentOS 7.Lasse Collin5-0/+114
2022-08-18liblzma: Threaded decoder: Improve LZMA_FAIL_FAST when LZMA_FINISH is used.Lasse Collin1-0/+42
2022-07-13liblzma: Add optional autodetection of LZMA end marker.Lasse Collin2-2/+2
2022-05-23liblzma: Silence a warning.Lasse Collin1-1/+1
2022-04-06liblzma: Threaded decoder: Improve setting of pending_error.Lasse Collin1-16/+35
2022-04-06liblzma: Add a new flag LZMA_FAIL_FAST for threaded decoder.Lasse Collin2-25/+32
2022-04-05liblzma: Threaded decoder: Always wait for output if LZMA_FINISH is used.Lasse Collin1-2/+24
2022-04-02liblzma: Threaded decoder: Support zpipe.c-style decoding loop.Lasse Collin1-10/+67
2022-03-26liblzma: Fix a deadlock in threaded decoder.Lasse Collin1-19/+52
2022-03-23liblzma: Threaded decoder: Don't stop threads on LZMA_TIMED_OUT.Lasse Collin1-1/+1
2022-03-07liblzma: Add threaded .xz decompressor.Lasse Collin3-0/+1823
2022-03-06liblzma: Add new output queue (lzma_outq) features.Lasse Collin2-8/+79
2022-03-06liblzma: Index hash: Change return value type of hash_append() to void.Lasse Collin1-6/+5
2022-02-22liblzma: Check the return value of lzma_index_append() in threaded encoder.Lasse Collin1-2/+5
2022-02-20liblzma: Make Block decoder catch certain types of errors better.Lasse Collin1-25/+54
2021-09-05liblzma: Rename EROFS LZMA to MicroLZMA.Lasse Collin3-33/+33
2021-01-24liblzma: Fix a wrong comment in stream_encoder_mt.c.Lasse Collin1-3/+7
2021-01-17liblzma: In EROFS LZMA decoder, verify that comp_size matches at the end.Lasse Collin1-1/+6
2021-01-17liblzma: Make EROFS LZMA decoder work when exact uncomp_size isn't known.Lasse Collin1-7/+73
2021-01-14liblzma: Add EROFS LZMA encoder and decoder.Lasse Collin3-0/+289
2021-01-14liblzma: Add rough support for output-size-limited encoding in LZMA1.Lasse Collin1-0/+11
2021-01-09liblzma: Make lzma_outq usable for threaded decompression too.Lasse Collin3-157/+301
2020-03-23Typo fixes from fossies.org.Lasse Collin1-1/+1
2019-12-31Rename unaligned_read32ne to read32ne, and similarly for the others.Lasse Collin6-16/+13
2019-06-24liblzma: Add a comment.Lasse Collin1-1/+1
2019-06-24Add LZMA_RET_INTERNAL1..8 to lzma_ret and use one for LZMA_TIMED_OUT.Lasse Collin2-6/+3
2019-06-24liblzma: Remove incorrect uses of lzma_attribute((__unused__)).Lasse Collin2-4/+2
2019-06-23liblzma: Fix warnings from -Wsign-conversion.Lasse Collin1-1/+1
2019-06-03liblzma: Fix comments.Lasse Collin6-7/+7
2019-06-01liblzma: memcmplen: Use ctz32() from tuklib_integer.h.Lasse Collin1-9/+1
2019-06-01liblzma: Use unaligned_readXXne functions instead of type punning.Lasse Collin1-6/+6
2019-05-13liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior.Lasse Collin1-1/+5
2019-05-11spellingAntoine Cœur5-7/+7
2018-10-26liblzma: Don't verify header CRC32s if building for fuzz testing.Lasse Collin4-5/+20
2018-07-27liblzma: Remove an always-true condition from lzma_index_cat().Lasse Collin1-2/+2
2017-04-24liblzma: Add lzma_file_info_decoder().Lasse Collin2-0/+856
2017-04-21liblzma: Rename LZMA_SEEK to LZMA_SEEK_NEEDED and seek_in to seek_pos.Lasse Collin1-1/+1
2017-03-30liblzma: Make lzma_index_decoder_init() visible to other liblzma funcs.Lasse Collin3-5/+30
2017-03-30liblzma: Add generic support for input seeking (LZMA_SEEK).Lasse Collin1-1/+11
2017-03-30liblzma: Fix lzma_memlimit_set(strm, 0).Lasse Collin2-2/+7
2017-03-30liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.Lasse Collin3-12/+3
2017-03-30liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().Lasse Collin1-2/+2
2016-11-21liblzma: Avoid multiple definitions of lzma_coder structures.Lasse Collin11-212/+279
2015-11-03Build: Don't omit lzma_cputhreads() unless using --disable-threads.Lasse Collin1-1/+4
2015-10-12liblzma: Fix lzma_index_dup() for empty Streams.Lasse Collin1-5/+6
2015-10-12liblzma: Add a note to index.c for those using static analyzers.Lasse Collin1-0/+3
2015-10-12liblzma: Fix a memory leak in error path of lzma_index_dup().Lasse Collin1-9/+9
2015-03-07liblzma: Fix a warning in index.c.Lasse Collin1-1/+3
2015-01-26liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.Lasse Collin1-5/+10
2014-11-26Remove LZMA_UNSTABLE macro.Lasse Collin1-2/+0
2014-11-25liblzma: Verify the filter chain in threaded encoder initialization.Lasse Collin1-3/+6
2014-11-10liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().Lasse Collin1-2/+1
2014-08-05liblzma: Add support for LZMA_IGNORE_CHECK.Lasse Collin2-2/+13
2014-08-05liblzma: Add support for lzma_block.ignore_check.Lasse Collin6-10/+28
2014-07-25liblzma: Add lzma_memcmplen() for fast memory comparison.Lasse Collin2-0/+171
2014-06-18liblzma: Add lzma_cputhreads().Lasse Collin2-0/+23
2014-05-25liblzma: Add the internal function lzma_alloc_zero().Lasse Collin2-0/+27
2014-01-29liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().Lasse Collin1-2/+2
2013-10-02liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.Lasse Collin1-16/+39
2013-10-02liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.Lasse Collin3-4/+24
2013-09-17liblzma: Add block_buffer_encoder.h into Makefile.inc.Lasse Collin1-0/+1
2013-09-17Add native threading support on Windows.Lasse Collin1-47/+36
2013-06-23liblzma: Avoid a warning about a shadowed variable.Lasse Collin1-2/+2
2013-03-23liblzma: Be less picky in lzma_alone_decoder().Lasse Collin3-11/+18
2013-03-23liblzma: Use lzma_block_buffer_bound64() in threaded encoder.Lasse Collin1-16/+50
2013-03-23liblzma: Fix another deadlock in the threaded encoder.Lasse Collin1-3/+6
2013-03-23liblzma: Add lzma_block_uncomp_encode().Lasse Collin2-31/+87
2012-12-14Make the progress indicator smooth in threaded mode.Lasse Collin3-5/+94
2012-07-17liblzma: Make the use of lzma_allocator const-correct.Lasse Collin36-105/+116
2011-10-23liblzma: Fix invalid free() in the threaded encoder.Lasse Collin1-0/+4
2011-10-23liblzma: Fix a deadlock in the threaded encoder.Lasse Collin1-1/+3
2011-05-27liblzma: Handle allocation failures correctly in lzma_index_init().Lasse Collin1-2/+5
2011-05-17Add underscores to attributes (__attribute((__foo__))).Lasse Collin7-14/+16
2011-04-12Put the unstable APIs behind #ifdef LZMA_UNSTABLE.Lasse Collin1-0/+2
2011-04-12Remove doubled words from documentation and comments.Lasse Collin1-1/+1
2011-04-11liblzma: Add lzma_stream_encoder_mt() for threaded compression.Lasse Collin6-1/+1375
2011-04-11liblzma: Use memzero() to initialize supported_actions[].Lasse Collin1-4/+2
2011-04-11liblzma: Add an internal function lzma_mt_block_size().Lasse Collin2-26/+24
2011-04-11liblzma: Don't create an empty Block in lzma_stream_buffer_encode().Lasse Collin1-7/+13
2011-04-11liblzma: Validate encoder arguments better.Lasse Collin3-6/+20
2011-04-11liblzma: Make lzma_stream_encoder_init() static (second try).Lasse Collin4-32/+6
2011-04-11Revert "liblzma: Make lzma_stream_encoder_init() static."Lasse Collin3-4/+29
2011-04-10liblzma: Make lzma_stream_encoder_init() static.Lasse Collin3-29/+4
2011-04-09liblzma: Add missing #ifdefs to filter_common.c.Lasse Collin1-3/+3
2011-04-02liblzma: Fix a memory leak in stream_encoder.c.Lasse Collin1-1/+1
2011-01-18Add alloc_size and malloc attributes to a few functions.Lasse Collin1-1/+1
2010-10-23liblzma: Make lzma_code() check the reserved members in lzma_stream.Lasse Collin1-0/+14
2010-10-23liblzma: Use 512 as INDEX_GROUP_SIZE.Lasse Collin1-1/+1
2010-10-21liblzma: Update the comments in the API headers.Lasse Collin2-0/+2
2010-10-19Clean up a few FIXMEs and TODOs.Lasse Collin2-2/+4
2010-05-27Fix lzma_block_compressed_size().Lasse Collin1-3/+3
2010-05-27Remove unused chunk_size.c.Lasse Collin1-67/+0
2010-05-26Rename MIN() and MAX() to my_min() and my_max().Lasse Collin3-3/+3
2010-05-26Remove the Subblock filter code for now.Lasse Collin4-43/+0
2010-03-06Fix missing initialization in lzma_strm_init().Lasse Collin1-0/+1
2010-02-12Collection of language fixes to comments and docs.Lasse Collin9-14/+14
2010-02-07Subtle change to liblzma Block handling API.Lasse Collin1-0/+3
2010-01-01Fix _memconfig() functions.Lasse Collin3-12/+20
2009-12-31Revised the Index handling code.Lasse Collin7-578/+1040
2009-11-25Fix bugs in lzma_index_read() and lzma_index_cat().Lasse Collin1-11/+19
2009-11-25Index decoder fixes.Lasse Collin1-6/+20
2009-11-22Make fastpos.h use tuklib_integer.h instead of bsr.hLasse Collin2-61/+0
2009-11-15Add lzma_physmem().Lasse Collin2-0/+26
2009-11-14Fix a design error in liblzma API.Lasse Collin8-71/+156
2009-10-17Fix wrong function name in the previous commit.Lasse Collin1-1/+1
2009-10-17Add lzma_filters_copy().Lasse Collin1-0/+82
2009-10-04Use a tuklib module for integer handling.Lasse Collin6-10/+10
2009-09-15Fix incorrect use of "restrict".Lasse Collin2-2/+2
2009-09-12A few grammar fixes.Lasse Collin2-2/+2
2009-09-11Fix a couple of warnings.Lasse Collin1-1/+1
2009-06-30Build system fixesLasse Collin3-84/+77
2009-06-26Basic support for building with Cygwin and MinGW usingLasse Collin1-1/+1
2009-06-26Fix @variables@ to $(variables) in Makefile.am files.Lasse Collin1-8/+8
2009-05-26Make the raw value of the Check field available to applicationsLasse Collin3-31/+25
2009-04-28Fixed a crash in liblzma.Lasse Collin11-13/+13
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin53-524/+159
2009-02-18Added files missing from the previous commit.Lasse Collin1-1/+6
2009-02-17Added lzma_easy_buffer_encode(). Splitted easy.c into smallLasse Collin6-47/+175
2009-02-13Changed how the version number is specified in various places.Lasse Collin1-1/+1
2009-02-07Introduced LZMA_API_STATIC macro, which the applicationsLasse Collin1-1/+1
2009-02-02Modify LZMA_API macro so that it works on Windows withLasse Collin34-80/+80
2009-02-01Fix a bug in lzma_block_buffer_decode(), although thisLasse Collin1-4/+4
2009-02-01Added initial version of raw buffer-to-buffer codingLasse Collin3-0/+157
2009-02-01Use __cdecl also for function pointers in liblzma API whenLasse Collin1-11/+7
2009-01-31Add LZMA_API to liblzma API headers. It's useful at leastLasse Collin1-2/+11
2009-01-28Fix uninitialized variables in alone_decoder.c. This bug wasLasse Collin1-0/+2
2009-01-26Add lzma_block_buffer_decode().Lasse Collin2-0/+88
2009-01-26Add more sanity checks to lzma_stream_buffer_decode().Lasse Collin1-0/+7
2009-01-26Avoid hardcoded constant in easy.c.Lasse Collin1-1/+1
2009-01-26Tiny bit better sanity check in block_util.cLasse Collin1-1/+1
2009-01-25Fix a dumb bug in Block decoder, which made it returnLasse Collin1-3/+3
2009-01-23Added lzma_stream_buffer_decode() and made minor cleanups.Lasse Collin2-0/+92
2009-01-22Fix a comment.Lasse Collin1-1/+1
2009-01-20Add some single-call buffer-to-buffer coding functions.Lasse Collin5-20/+567
2009-01-20Block encoder cleanupsLasse Collin2-21/+32
2009-01-20Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.Lasse Collin1-16/+8
2009-01-19Fix handling of non-fatal errors in lzma_code().Lasse Collin1-1/+8
2009-01-17Beta was supposed to be API stable but I had forgot to renameLasse Collin6-9/+9
2008-12-31Remove lzma_init() and other init functions from liblzma API.Lasse Collin5-113/+1
2008-12-27Bunch of liblzma tweaks, including some API changes.Lasse Collin17-163/+150
2008-12-18Updated Makefile.am that was missing from the previous commit.Lasse Collin1-1/+0
2008-12-17Remove the alignment functions for now. Maybe they willLasse Collin1-114/+0
2008-12-15Fix a dumb bug in .lzma decoder which was introduced inLasse Collin1-15/+14
2008-12-15Bunch of liblzma API cleanups and fixes.Lasse Collin10-64/+270
2008-12-01Validate the filter chain before checking filter-specificLasse Collin1-4/+10
2008-12-01Added the changes for Delta filter that should have beenLasse Collin2-2/+2
2008-11-25Remove the nowadays unneeded memory limitting malloc() wrapper.Lasse Collin2-289/+0
2008-11-23VLI encoder and decoder cleanups. Made encoder returnLasse Collin2-13/+33
2008-11-19Oh well, big messy commit again. Some highlights:Lasse Collin14-331/+348
2008-09-30Fixed Stream decoder to actually use the first_stream variable.Lasse Collin1-0/+5
2008-09-30Fixed uninitialized variable in Stream decoder.Lasse Collin1-0/+1
2008-09-27Fix conflicting Subblock helper filter's ID.Lasse Collin1-1/+1
2008-09-27Changed magic bytes to match the updated spec. FilenameLasse Collin2-3/+3
2008-09-27Some API changes, bug fixes, cleanups etc.Lasse Collin9-30/+33
2008-09-13Renamed constants:Lasse Collin23-97/+94
2008-09-12Improved the Stream Flags handling API.Lasse Collin6-14/+43
2008-09-11Remove a check from Block encoder that should have alreadyLasse Collin1-5/+0
2008-09-11Remove bogus #includes.Lasse Collin4-36/+0
2008-09-10Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.larhzu/v4.999.5alphaLasse Collin1-3/+4
2008-09-10Filter handling cleanupsLasse Collin5-120/+54
2008-09-10CommentsLasse Collin1-1/+5
2008-09-10Cleaned up Block encoder and moved the no longer sharedLasse Collin4-97/+66
2008-09-06Some API cleanupsLasse Collin5-34/+42
2008-09-04Don't allow LZMA_SYNC_FLUSH with decoders anymore. There'sLasse Collin3-3/+2
2008-09-02Auto decoder cleanupLasse Collin1-1/+1
2008-09-02Updated auto decoder to handle LZMA_CONCATENATED when decodingLasse Collin1-16/+71
2008-09-02Stream decoder cleanupsLasse Collin1-25/+32
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin54-1900/+1583
2008-06-18Update the code to mostly match the new simpler file formatLasse Collin54-5315/+2944
2008-05-11Remove support for pre-C89 libc versions that lack memcpy,Lasse Collin1-1/+1
2008-04-28Fixed wrong spelling "limitter" to "limiter". This affectsLasse Collin2-2/+2
2008-04-25Removed src/liblzma/common/sysdefs.h symlink, which wasLasse Collin3-3/+1
2008-04-24Fix a memory leak by calling free(extra->data) inLasse Collin1-0/+1
2008-03-10Don't fill allocated memory with 0xFD when debugging isLasse Collin1-3/+4
2008-02-01Do uncompressed size validation in raw encoder. This wayLasse Collin1-17/+73
2008-02-01Avoid unneeded function call in raw_common.c.Lasse Collin1-9/+11