aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma (follow)
AgeCommit message (Expand)AuthorFilesLines
2009-05-26Make the raw value of the Check field available to applicationsLasse Collin4-31/+42
2009-05-02Use a GCC-specific #pragma instead of GCC-specificLasse Collin2-5/+5
2009-04-28Fixed a crash in liblzma.Lasse Collin11-13/+13
2009-04-15Fix uint32_t -> size_t in ARM and ARM-Thumb filters.Lasse Collin2-2/+2
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin143-1459/+617
2009-04-10Fix off-by-one in LZ decoder.Lasse Collin1-1/+1
2009-02-18Added files missing from the previous commit.Lasse Collin2-1/+39
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 Collin2-4/+68
2009-02-13Improve support for DOS-like systems.Lasse Collin2-6/+6
2009-02-09Let the user specify custom CFLAGS on the make commandLasse Collin1-1/+1
2009-02-08Add a separate internal function to initialize the CRC32Lasse Collin3-3/+12
2009-02-07Support LZMA_API_STATIC in assembler files toLasse Collin2-0/+6
2009-02-07Introduced LZMA_API_STATIC macro, which the applicationsLasse Collin2-8/+25
2009-02-02Updated the x86 assembler code:Lasse Collin2-22/+144
2009-02-02Modify LZMA_API macro so that it works on Windows withLasse Collin54-176/+177
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 Collin4-20/+221
2009-02-01Use __cdecl also for function pointers in liblzma API whenLasse Collin3-20/+20
2009-01-31Add LZMA_API to liblzma API headers. It's useful at leastLasse Collin13-86/+128
2009-01-31Fix two lines in lzma.h on which the # wasn't at theLasse Collin1-2/+2
2009-01-31Add support for using liblzma headers in MSVC, which has noLasse Collin1-24/+46
2009-01-31Fix # -> ## in a macro in lzma.h.Lasse Collin1-1/+1
2009-01-30Remove dangling crc64_init.c.Lasse Collin1-55/+0
2009-01-28Fix uninitialized variables in alone_decoder.c. This bug wasLasse Collin1-0/+2
2009-01-27Added initial support for preset dictionary for raw LZMA1Lasse Collin8-27/+77
2009-01-26Regenerate the CRC tables without trailing blanks.Lasse Collin4-2024/+2024
2009-01-26remove trailing blanks from all but .xz filesJim Meyering2-2/+2
2009-01-26Add lzma_block_buffer_decode().Lasse Collin3-0/+129
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 Collin4-2/+144
2009-01-22Fix a comment.Lasse Collin1-1/+1
2009-01-20Add some single-call buffer-to-buffer coding functions.Lasse Collin8-26/+744
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-19Move some LZMA2 constants to lzma2_encoder.h so that theyLasse Collin3-14/+16
2009-01-19Remove dead code.Lasse Collin1-8/+0
2009-01-17Beta was supposed to be API stable but I had forgot to renameLasse Collin7-11/+11
2008-12-31Bumped version to 4.999.8beta right after the releaseLasse Collin1-1/+1
2008-12-31Prepare for 4.999.7beta release.Lasse Collin1-1/+1
2008-12-31Cleaned up some comments in the API headers.Lasse Collin3-14/+15
2008-12-31Renamed lzma_options_simple to lzma_options_bcj in the API.Lasse Collin6-18/+18
2008-12-31Updated src/liblzma/Makefile.am to use liblzma.pc.in, whichLasse Collin1-2/+2
2008-12-31Remove lzma_init() and other init functions from liblzma API.Lasse Collin26-431/+287
2008-12-27Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680Lasse Collin1-15/+8
2008-12-27Bunch of liblzma tweaks, including some API changes.Lasse Collin23-262/+294
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 Collin4-176/+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 Collin26-422/+857
2008-12-15The LZMA2 decoder fix introduced a bug to LZ decoder,Lasse Collin1-10/+23
2008-12-15Fix data corruption in LZMA2 decoder.Lasse Collin3-8/+32
2008-12-09Make the memusage functions of LZMA1 and LZMA2 encodersLasse Collin3-16/+35
2008-12-01Validate the filter chain before checking filter-specificLasse Collin1-4/+10
2008-12-01Make the memusage functions of LZMA1 and LZMA2 decodersLasse Collin3-9/+17
2008-12-01Added the changes for Delta filter that should have beenLasse Collin2-2/+2
2008-12-01LZMA2 decoder cleanups. Make it require new LZMA propertiesLasse Collin1-54/+41
2008-12-01Added lzma_delta_coder_memusage() which also validatesLasse Collin8-39/+75
2008-11-25Remove the nowadays unneeded memory limitting malloc() wrapper.Lasse Collin5-498/+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 Collin20-358/+407
2008-10-07Made the preset numbering more logical in liblzma API.Lasse Collin3-12/+13
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 Collin30-301/+351
2008-09-17Miscellaneous LZ and LZMA encoder cleanupsLasse Collin5-117/+29
2008-09-13LZ decoder cleanupLasse Collin1-3/+2
2008-09-13Renamed constants:Lasse Collin45-189/+185
2008-09-12Improved the Stream Flags handling API.Lasse Collin7-18/+123
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-10Bumped version to 4.999.6alpha.Lasse Collin1-1/+1
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 Collin6-151/+156
2008-09-10CommentsLasse Collin1-1/+5
2008-09-10Cleaned up Block encoder and moved the no longer sharedLasse Collin5-100/+66
2008-09-07Changed Filter ID of LZMA to 0x20.Lasse Collin1-1/+1
2008-09-06CommentsLasse Collin5-39/+65
2008-09-06Some API cleanupsLasse Collin8-161/+279
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-09-02Some fixes to LZ encoder.Lasse Collin3-75/+94
2008-08-31Fix wrong pointer calculation in LZMA encoder.Lasse Collin1-1/+3
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin140-6879/+8290
2008-06-20Remove some redundant code from LZMA encoder.Lasse Collin1-14/+1
2008-06-19Add limit of lc + lp <= 4. Now we can allocate theLasse Collin6-91/+43
2008-06-18CommentsLasse Collin1-5/+2
2008-06-18Update the code to mostly match the new simpler file formatLasse Collin92-6733/+3646
2008-06-11Fix uninitialized variable in LZMA encoder. This wasLasse Collin1-0/+2
2008-06-01Fix a buffer overflow in the LZMA encoder. It was due to myLasse Collin8-620/+532
2008-05-11Remove support for pre-C89 libc versions that lack memcpy,Lasse Collin1-1/+1
2008-05-06Bunch of grammar fixes from meyering.Lasse Collin1-3/+3
2008-05-06Typo fixLasse Collin1-1/+1
2008-04-28Fixed wrong spelling "limitter" to "limiter". This affectsLasse Collin5-11/+11
2008-04-25Prevent LZ encoder from hanging with known uncompressedlarhzu/v4.999.3alphaLasse Collin1-2/+7
2008-04-25Removed src/liblzma/common/sysdefs.h symlink, which wasLasse Collin5-5/+3
2008-04-25Bumped version number to 4.999.3alpha. It will become 5.0.0Lasse Collin1-12/+10
2008-04-24Fix a memory leak by calling free(extra->data) inLasse Collin1-0/+1
2008-04-24Added two assert()s.Lasse Collin1-1/+3
2008-04-24Switch to uint16_t as the type of range coder probabilities.Lasse Collin1-6/+19
2008-04-24Fix wrong return type (uint32_t -> bool).Lasse Collin2-2/+2
2008-04-24Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.Lasse Collin3-5/+38
2008-04-24Fix fastpos problem in Makefile.am when built with --enable-small.Lasse Collin1-1/+4
2008-04-24Use 64-bit integer as range encoder's cache size. This fixes aLasse Collin1-1/+1
2008-03-24Replaced the range decoder optimization that used arithmeticLasse Collin1-37/+16
2008-03-22Take advantage of arithmetic right shift in range decoder.Lasse Collin1-15/+37
2008-03-22Update a comment to use the variable name rep_len_decoder.Lasse Collin1-1/+1
2008-03-22Demystified the "state" variable in LZMA code. Use theLasse Collin6-70/+107
2008-03-14Fix data corruption in LZMA encoder. Note that this bug wasLasse Collin1-0/+4
2008-03-14Fix a comment API header.Lasse Collin1-1/+1
2008-03-12Make lzma_stream.next_in const. Let's see if anyone complains.Lasse Collin1-1/+1
2008-03-11Apply a minor speed optimization to LZMA decoder.Lasse Collin1-42/+43
2008-03-11Initialize the last byte of the dictionary to zero so thatLasse Collin1-0/+1
2008-03-10Really fix the price count initialization.Lasse Collin1-2/+2
2008-03-10Initialize align_price_count and match_price_count inLasse Collin1-0/+2
2008-03-10Always initialize lz->temp_size in lz_decoder.c. temp_size didLasse Collin1-5/+6
2008-03-10Don't fill allocated memory with 0xFD when debugging isLasse Collin1-3/+4
2008-02-28Remove two redundant validity checks from the LZMA decoder.Lasse Collin1-19/+4
2008-02-02Don't memzero() the history buffer when initializing LZLasse Collin1-4/+3
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
2008-01-26Added note.GNU-stack to x86 assembler files. It is neededLasse Collin2-0/+18
2008-01-26Added api/lzma/easy.h. I had forgot to add this to theLasse Collin1-0/+174
2008-01-26Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with anyLasse Collin2-0/+17
2008-01-25Combine lzma_options_block validation needed by both BlockLasse Collin3-48/+71
2008-01-25Improved the memory limitter:Lasse Collin2-14/+118
2008-01-23Fix decoding of empty Metadata Blocks, that don't haveLasse Collin1-1/+3
2008-01-23Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.Lasse Collin1-6/+7
2008-01-23Fix decoding of Extra Records that have empty Data.Lasse Collin1-1/+12
2008-01-23Add the trailing '\0' to lzma_extra.data as the API headerLasse Collin1-1/+3
2008-01-23Return LZMA_STREAM_END instead of LZMA_OK ifLasse Collin1-1/+5
2008-01-23Fixed a typo.Lasse Collin1-1/+1
2008-01-23Fix a memory leak in the Subblock encoder.Lasse Collin1-0/+1
2008-01-23Fix Size of Header Metadata Block handling. NowLasse Collin3-15/+15
2008-01-23Fix a memory leak in metadata_decoder.c.Lasse Collin1-0/+1
2008-01-23Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f whichLasse Collin1-1/+4
2008-01-23Take advantage of return_if_error() macro inLasse Collin1-16/+8
2008-01-23Fixed a dangling pointer that caused invalid free().Lasse Collin1-0/+1
2008-01-22Added lzma_easy_* functions. These should make usingLasse Collin9-2/+256
2008-01-22Fix Multi-Block Stream encoder's EOPM usage.Lasse Collin1-1/+1
2008-01-22Made lzma_extra pointers const in lzma_options_stream.Lasse Collin2-4/+8
2008-01-20Fix alignment handling bugs in Subblock encoder.Lasse Collin1-51/+119
2008-01-19Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.Lasse Collin2-78/+214
2008-01-19Revised the Delta filter implementation. The initializationLasse Collin10-200/+363
2008-01-18Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.Lasse Collin3-33/+29
2008-01-17Subblock decoder: Don't exit the main loop in decode_buffer()Lasse Collin1-133/+139
2008-01-17Fix wrong too small size of argument unfiltered_maxLasse Collin1-1/+1
2008-01-17Fix Subblock docoder: If Subblock filter was used with knownLasse Collin1-0/+6
2008-01-16Plugged a memory leak in stream_decoder.c.Lasse Collin1-0/+20
2008-01-16Added lzma_memlimit_count().Lasse Collin2-0/+29
2008-01-16Make Uncompresed Size validation more strictLasse Collin1-1/+2
2008-01-15Use fastpos.h when encoding LZMA dictionary size inLasse Collin1-21/+19
2008-01-15Revised the fastpos code. It now uses the slightly fasterLasse Collin10-47/+746
2008-01-15Added bsr.h.Lasse Collin2-0/+62
2008-01-15Omit invalid space from printf() format stringLasse Collin1-1/+1
2008-01-15Removed a few unused macros from lzma_common.h.Lasse Collin1-6/+2
2008-01-15Fix a typo in lzma_encoder.c.Lasse Collin1-1/+1
2008-01-15Convert bittree_get_price() and bittree_reverse_get_price()Lasse Collin3-55/+56
2008-01-15Fix CRC code in case --enable-small is used.Lasse Collin4-6/+2
2008-01-15Added precomputed range coder probability price table.Lasse Collin7-17/+153
2008-01-14Remove RC_BUFFER_SIZE from lzma_encoder_private.hLasse Collin1-2/+4
2008-01-14Major changes to LZ encoder, LZMA encoder, and range encoder.Lasse Collin4-140/+206
2008-01-14Don't use coder->lz.stream_end_was_reached in assertionsLasse Collin1-2/+0
2008-01-14In lzma_read_match_distances(), don't useLasse Collin1-3/+3
2008-01-14Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.Lasse Collin2-2/+3
2008-01-14More fixes to LZMA decoder's flush marker handling.Lasse Collin1-22/+30
2008-01-10Eliminate lzma_lz_encoder.must_move_pos. It's neededLasse Collin2-8/+2
2008-01-08Take advantage of return_if_error() in block_decoder.c.Lasse Collin1-16/+7
2008-01-08Fix decoding of Blocks that have only Block Header.Lasse Collin1-23/+14
2008-01-08Fixed encoding of empty files. Arguments to is_size_valid()Lasse Collin1-1/+1
2008-01-08More pre-C99 inttypes.h compatibility fixes. Now the codeLasse Collin4-18/+6
2008-01-06Introduced compatibility with systems that have pre-C99Lasse Collin9-30/+28
2008-01-05Fix typo in comment (INT64_MAX -> UINT64_MAX).Lasse Collin1-1/+1
2008-01-05Another bug fix for flush marker detection.Lasse Collin1-1/+9
2008-01-04Fix stupid bugs in flush marker detection.Lasse Collin1-3/+4
2008-01-04Added support for flush marker, which will be in filesLasse Collin2-117/+104
2008-01-04Moved range decoder initialization (reading the firstLasse Collin2-63/+66
2007-12-14Use the filename suffix .S instead of .s for assembler filesLasse Collin3-2/+2
2007-12-14Fixed wrong symbol name in crc64_x86.s.Lasse Collin1-1/+1
2007-12-14Use .globl instead of .global in x86 assembler code forLasse Collin2-2/+2
2007-12-11Removed uncompressed size tracking from Delta encoder too.Lasse Collin1-18/+3
2007-12-11Remove uncompressed size tracking from the filter encoders.Lasse Collin3-80/+12
2007-12-11Fixed wrong type of flags_size in Subblock encoder.Lasse Collin1-1/+1
2007-12-10Bumped version number to 4.42.3alpha.Lasse Collin1-1/+1
2007-12-09Added LZMA_SYNC_FLUSH support to the Copy filter.Lasse Collin1-35/+57
2007-12-09Added missing LZMA_API to the C versions of the CRC functions.Lasse Collin2-2/+2
2007-12-09Take advantage of return_if_error() macro in more places.Lasse Collin7-138/+63
2007-12-09Re-enabled the security checks in Subblock decoderLasse Collin1-3/+3
2007-12-09Imported to git.Lasse Collin158-0/+25171