aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2009-02-14Cleanups to the code that detects the amount of RAM andLasse Collin7-43/+102
2009-02-13Changed how the version number is specified in various places.Lasse Collin4-6/+70
2009-02-13Fix handling of integrity check type in the xz command line tool.Lasse Collin2-1/+12
2009-02-13Improve support for DOS-like systems.Lasse Collin10-30/+86
2009-02-09Let the user specify custom CFLAGS on the make commandLasse Collin1-1/+1
2009-02-08Fix aliasing issue in physmem.h.Lasse Collin1-9/+10
2009-02-08Add a separate internal function to initialize the CRC32Lasse Collin3-3/+12
2009-02-08Make "xz --force" to write to terminal as the errorLasse Collin1-1/+1
2009-02-08Support both slash and backslash as path componentLasse Collin1-0/+9
2009-02-07Make it easy to choose if command line tools should beLasse Collin2-7/+6
2009-02-07Assume 32 MiB of RAM on unsupported operating systems likeLasse Collin1-1/+1
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-05Various code cleanups the the xz command line tool.Lasse Collin18-246/+399
2009-02-03Another utime() fix.Lasse Collin1-4/+5
2009-02-03Fix wrong filename argument for utime() and utimes().Lasse Collin1-2/+2
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-01Fix missing newlines in xzdec.c.Lasse Collin1-3/+3
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 Collin16-88/+130
2009-01-31Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.Lasse Collin1-2/+2
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 Meyering4-7/+7
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 Collin8-14/+14
2009-01-07Use pthread_sigmask() instead of sigprocmask() when pthreadsLasse Collin3-2/+9
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 Collin30-441/+322
2008-12-27Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680Lasse Collin1-15/+8
2008-12-27Some xz command line tool improvements.Lasse Collin5-44/+121
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-17xz message handling improvementsLasse Collin3-14/+146
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-10Remove obsolete comment.Lasse Collin1-1/+0
2008-12-10Use "decompression" consistently in --long-help.Lasse Collin1-1/+1
2008-12-10Added preset=NUM to --lzma1 and --lzma2. This makes it easyLasse Collin2-0/+9
2008-12-09Make the memusage functions of LZMA1 and LZMA2 encodersLasse Collin3-16/+35
2008-12-01In command line tool, take advantage of memusage calculation'sLasse Collin1-4/+4
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-28Tested using COLUMNS environment variable to avoid brokenLasse Collin1-5/+9
2008-11-27Cleanups to message.c.Lasse Collin1-29/+18
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-22Typo fixLasse Collin1-1/+1
2008-11-20Support NetBSD's errno for O_NOFOLLOW.Lasse Collin1-0/+8
2008-11-20Build xzdec and lzmadec from xzdec.c. xzdec supports only .xzLasse Collin2-178/+140
2008-11-20Minor cleanups to xzdec.Lasse Collin1-10/+10
2008-11-19Renamed lzma to xz and lzmadec to xzdec. We create symlinksLasse Collin24-24/+26
2008-11-19Oh well, big messy commit again. Some highlights:Lasse Collin50-2258/+2963
2008-10-07Fixed some help messages.Lasse Collin1-3/+3
2008-10-07Made the preset numbering more logical in liblzma API.Lasse Collin5-17/+18
2008-10-03Fixed suffix handling with --format=raw.Lasse Collin1-9/+19
2008-10-02Initial changes to change the suffix of the new format to .xz.Lasse Collin5-51/+131
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 Collin33-361/+433
2008-09-17Miscellaneous LZ and LZMA encoder cleanupsLasse Collin5-117/+29
2008-09-13LZ decoder cleanupLasse Collin1-3/+2
2008-09-13Renamed constants:Lasse Collin49-195/+191
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-11Fix a compiler error on big endian systems that don'tLasse Collin1-14/+18
2008-09-11Silence a compiler warning.Lasse Collin1-1/+1
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 Collin10-166/+282
2008-09-04Added support for raw encoding and decoding to the commandLasse Collin4-34/+50
2008-09-04Don't allow LZMA_SYNC_FLUSH with decoders anymore. There'sLasse Collin3-3/+2
2008-09-02Command line tool fixesLasse Collin1-8/+13
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 Collin147-7082/+8453
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 Collin98-6746/+3836
2008-06-11Fix uninitialized variable in LZMA encoder. This wasLasse Collin1-0/+2
2008-06-11Improve command line integer parsing a little in lzma andLasse Collin2-22/+32
2008-06-10s/decompressed/compressed/ in the command line tool'sLasse Collin1-1/+1
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 Collin2-14/+3
2008-05-06Bunch of grammar fixes from meyering.Lasse Collin2-4/+4
2008-05-06Typo fixLasse Collin1-1/+1
2008-05-04Don't print an error message on broken pipe unless --verboseLasse Collin1-1/+14
2008-04-30Fix a crash with --format=alone if other filters than LZMALasse Collin1-0/+9
2008-04-28Fixed wrong spelling "limitter" to "limiter". This affectsLasse Collin7-20/+20
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-24Make unlzma and lzcat symlinks.Lasse Collin1-0/+12
2008-04-24Fixed a bug in command line option parsing.Lasse Collin1-1/+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-18Set stdin and stdout to binary mode on Windows. This patch isLasse Collin1-0/+9
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-17Added --delta to the output of "lzma --help".Lasse Collin1-0/+4
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 memory leak detection to lzmadec.c.Lasse Collin1-0/+3
2008-01-16Added lzma_memlimit_count().Lasse Collin2-0/+29
2008-01-16Added ARRAY_SIZE(array) macro.Lasse Collin1-0/+4
2008-01-16Make Uncompresed Size validation more strictLasse Collin1-1/+2
2008-01-15Free the allocated memory in lzmadec if debugging isLasse Collin1-0/+7
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