aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common (follow)
AgeCommit message (Expand)AuthorFilesLines
2023-10-30liblzma: Use lzma_attr_visibility_hidden on private extern declarations.Lasse Collin1-0/+3
2023-10-30liblzma: #define lzma_attr_visibility_hidden in common.h.Lasse Collin1-0/+11
2023-09-22liblzma: Move a few __attribute__ uses in function declarations.Lasse Collin3-7/+10
2023-09-22Remove incorrect uses of __attribute__((__malloc__)).Lasse Collin2-4/+4
2023-08-28liblzma: Update assert in vli_ceil4().Jia Tan1-1/+1
2023-08-28liblzma: Add overflow check for Unpadded size in lzma_index_append().Jia Tan1-0/+6
2023-07-31Docs: Fix typos found by codespellDimitri Papadopoulos Orfanos6-11/+11
2023-07-18liblzma: Improve comment in string_conversion.c.Jia Tan1-2/+2
2023-07-18liblzma: Tweak #if condition in memcmplen.h.Lasse Collin1-2/+2
2023-07-18liblzma: Omit unnecessary parenthesis in a preprocessor directive.Lasse Collin1-2/+2
2023-07-08liblzma: Remove non-portable empty initializer.Jia Tan1-1/+1
2023-06-29liblzma: Prevent uninitialzed warning in mt stream encoder.Jia Tan1-1/+1
2023-06-28liblzma: Prevent warning for MSYS2 Windows build.Jia Tan1-2/+4
2023-05-11liblzma: Exports lzma_mt_block_size() as an API function.Jia Tan3-22/+20
2023-04-19Windows: Include <intrin.h> when needed.Jia Tan1-0/+10
2023-04-13liblzma: Cleans up old commented out code.Jia Tan1-11/+0
2023-03-19liblzma: Silence -Wsign-conversion in SSE2 code in memcmplen.h.Lasse Collin1-1/+2
2023-02-23liblzma: Avoid null pointer + 0 (undefined behavior in C).Lasse Collin7-18/+57
2023-02-03liblzma: Fix bug in lzma_str_from_filters() not checking filters[] length.Jia Tan1-0/+7
2023-02-03liblzma: Fix typos in comments in string_conversion.c.Jia Tan1-2/+2
2023-01-12liblzma: Silence warnings from clang -Wconditional-uninitialized.Lasse Collin2-4/+6
2023-01-05liblzma: Remove common.h include from common/index.h.Jia Tan4-2/+10
2023-01-02liblzma: Add NULL check to lzma_index_hash_append.Jia Tan1-1/+1
2023-01-02liblzma: Replaced hardcoded 0x0 index indicator byte with macroJia Tan6-5/+9
2022-12-30liblzma: Update documentation for lzma_filter_encoder.Jia Tan1-2/+5
2022-12-30liblzma: Fix lzma_microlzma_encoder() return value.Jia Tan1-1/+2
2022-12-08liblzma: Check for unexpected NULL pointers in block_header_decode().Lasse Collin1-0/+4
2022-12-01liblzma: Use __has_attribute(__symver__) to fix Clang detection.Lasse Collin1-1/+14
2022-12-01liblzma: Silence unused variable warning when BCJ filters are disabled.Lasse Collin1-0/+15
2022-11-28liblzma: Add lzma_str_to_filters, _from_filters, and _list_filters.Lasse Collin2-0/+1303
2022-11-28liblzma: Make lzma_validate_chain() available outside filter_common.c.Lasse Collin2-4/+7
2022-11-28liblzma: Use LZMA1EXT feature in lzma_microlzma_decoder().Lasse Collin1-7/+8
2022-11-28liblzma: Use LZMA1EXT feature in lzma_alone_decoder().Lasse Collin1-5/+13
2022-11-27liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker.Lasse Collin3-0/+22
2022-11-27liblzma: Pass the Filter ID to LZ encoder and decoder.Lasse Collin6-2/+10
2022-11-27liblzma: Remove two FIXME comments.Lasse Collin1-2/+2
2022-11-26liblzma: Use lzma_filters_free() in more places.Lasse Collin3-38/+8
2022-11-24liblzma: Add lzma_filters_update() support to the multi-threaded encoder.Lasse Collin1-8/+88
2022-11-24Build: Don't put GNU/Linux-specific symbol versions into static liblzma.Lasse Collin1-0/+12
2022-11-24liblzma: Refactor to use lzma_filters_free().Lasse Collin2-21/+6
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