Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							d64ca34f1b 
							
						 
					 
					
						
						
							
							Use __cdecl also for function pointers in liblzma API when  
						
						... 
						
						
						
						on Windows. 
						
						
					 
					
						2009-02-01 00:10:07 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							6a2eb54092 
							
						 
					 
					
						
						
							
							Add LZMA_API to liblzma API headers. It's useful at least  
						
						... 
						
						
						
						on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
has to be #included separately where needed. 
						
						
					 
					
						2009-01-31 11:01:48 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							2dbdc5befb 
							
						 
					 
					
						
						
							
							Fix two lines in lzma.h on which the # wasn't at the  
						
						... 
						
						
						
						beginning of the line. 
						
						
					 
					
						2009-01-31 10:02:52 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							4ab7601091 
							
						 
					 
					
						
						
							
							Add support for using liblzma headers in MSVC, which has no  
						
						... 
						
						
						
						stdint.h or inttypes.h. 
						
						
					 
					
						2009-01-31 09:55:05 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							b2172cf823 
							
						 
					 
					
						
						
							
							Fix # -> ## in a macro in lzma.h.  
						
						
						
						
					 
					
						2009-01-31 08:49:54 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							f54bcf6f80 
							
						 
					 
					
						
						
							
							Remove dangling crc64_init.c.  
						
						
						
						
					 
					
						2009-01-30 00:29:58 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							3241317093 
							
						 
					 
					
						
						
							
							Fix uninitialized variables in alone_decoder.c. This bug was  
						
						... 
						
						
						
						triggered by the previous commit, since these variables were
not used by anything before support for a preset dictionary. 
						
						
					 
					
						2009-01-28 08:43:26 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							f76e39cf93 
							
						 
					 
					
						
						
							
							Added initial support for preset dictionary for raw LZMA1  
						
						... 
						
						
						
						and LZMA2. It is not supported by the .xz format or the xz
command line tool yet. 
						
						
					 
					
						2009-01-27 18:36:05 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							449b8c832b 
							
						 
					 
					
						
						
							
							Regenerate the CRC tables without trailing blanks.  
						
						
						
						
					 
					
						2009-01-26 20:09:17 +02:00 
						 
				 
			
				
					
						
							
							
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							850f740042 
							
						 
					 
					
						
						
							
							remove trailing blanks from all but .xz files  
						
						
						
						
					 
					
						2009-01-26 20:01:51 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							667481f1aa 
							
						 
					 
					
						
						
							
							Add lzma_block_buffer_decode().  
						
						
						
						
					 
					
						2009-01-26 14:34:10 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							5fb34d8324 
							
						 
					 
					
						
						
							
							Add more sanity checks to lzma_stream_buffer_decode().  
						
						
						
						
					 
					
						2009-01-26 14:33:28 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							c129748675 
							
						 
					 
					
						
						
							
							Avoid hardcoded constant in easy.c.  
						
						
						
						
					 
					
						2009-01-26 14:33:13 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1859d22d75 
							
						 
					 
					
						
						
							
							Tiny bit better sanity check in block_util.c  
						
						
						
						
					 
					
						2009-01-26 13:06:49 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							2c5fe958e4 
							
						 
					 
					
						
						
							
							Fix a dumb bug in Block decoder, which made it return  
						
						... 
						
						
						
						LZMA_DATA_ERROR with valid data. The bug was added in
e114502b2bc371e4a45449832cb69be036360722. 
						
						
					 
					
						2009-01-25 01:35:56 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							c81f13ff29 
							
						 
					 
					
						
						
							
							Added lzma_stream_buffer_decode() and made minor cleanups.  
						
						
						
						
					 
					
						2009-01-23 22:27:50 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							0b3318661c 
							
						 
					 
					
						
						
							
							Fix a comment.  
						
						
						
						
					 
					
						2009-01-22 12:53:33 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							9ec80355a7 
							
						 
					 
					
						
						
							
							Add some single-call buffer-to-buffer coding functions.  
						
						
						
						
					 
					
						2009-01-20 16:37:27 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							d8b58d0993 
							
						 
					 
					
						
						
							
							Block encoder cleanups  
						
						
						
						
					 
					
						2009-01-20 13:45:41 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							0c09810cb3 
							
						 
					 
					
						
						
							
							Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.  
						
						
						
						
					 
					
						2009-01-20 10:35:15 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							2f1a8e8eb8 
							
						 
					 
					
						
						
							
							Fix handling of non-fatal errors in lzma_code().  
						
						
						
						
					 
					
						2009-01-19 22:53:18 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							4810b6bc25 
							
						 
					 
					
						
						
							
							Move some LZMA2 constants to lzma2_encoder.h so that they  
						
						... 
						
						
						
						can be used outside lzma2_encoder.c. 
						
						
					 
					
						2009-01-19 14:00:33 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							00be5d2e09 
							
						 
					 
					
						
						
							
							Remove dead code.  
						
						
						
						
					 
					
						2009-01-19 13:52:36 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							128586213f 
							
						 
					 
					
						
						
							
							Beta was supposed to be API stable but I had forgot to rename  
						
						... 
						
						
						
						lzma_memlimit_encoder and lzma_memlimit_decoder to
lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
Now it is fixed. Hopefully it doesn't cause too much trouble
to those who already thought API is stable. 
						
						
					 
					
						2009-01-17 14:24:25 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							4fd43cb3a9 
							
						 
					 
					
						
						
							
							Bumped version to 4.999.8beta right after the release  
						
						... 
						
						
						
						of 4.999.7beta. 
						
						
					 
					
						2008-12-31 20:01:00 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							d1d17a40d3 
							
						 
					 
					
						
						
							
							Prepare for 4.999.7beta release.  
						
						
						
						
					 
					
						2008-12-31 17:41:46 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							88d3e6b0b1 
							
						 
					 
					
						
						
							
							Cleaned up some comments in the API headers.  
						
						
						
						
					 
					
						2008-12-31 17:15:03 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							322ecf93c9 
							
						 
					 
					
						
						
							
							Renamed lzma_options_simple to lzma_options_bcj in the API.  
						
						... 
						
						
						
						The internal implementation is still using the name "simple".
It may need some cleanups, so I look at it later. 
						
						
					 
					
						2008-12-31 16:29:39 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							28e75f7086 
							
						 
					 
					
						
						
							
							Updated src/liblzma/Makefile.am to use liblzma.pc.in, which  
						
						... 
						
						
						
						should have been in the previous commit. 
						
						
					 
					
						2008-12-31 00:48:23 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							7ed9d943b3 
							
						 
					 
					
						
						
							
							Remove lzma_init() and other init functions from liblzma API.  
						
						... 
						
						
						
						Half of developers were already forgetting to use these
functions, which could have caused total breakage in some future
liblzma version or even now if --enable-small was used. Now
liblzma uses pthread_once() to do the initializations unless
it has been built with --disable-threads which make these
initializations thread-unsafe.
When --enable-small isn't used, liblzma currently gets needlessly
linked against libpthread (on systems that have it). While it is
stupid for now, liblzma will need threads in future anyway, so
this stupidity will be temporary only.
When --enable-small is used, different code CRC32 and CRC64 is
now used than without --enable-small. This made the resulting
binary slightly smaller, but the main reason was to clean it up
and to handle the lack of lzma_init_check().
The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
sure if it works correctly and portably for static linking
(Libs.private includes -pthread or other operating system
specific flags). Hopefully someone complains if it is bad.
lzma_rc_prices[] is now included as a precomputed array even
with --enable-small. It's just 128 bytes now that it uses uint8_t
instead of uint32_t. Smaller array seemed to be at least as fast
as the more bloated uint32_t array on x86; hopefully it's not bad
on other architectures. 
						
						
					 
					
						2008-12-31 00:30:49 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							050eb14d29 
							
						 
					 
					
						
						
							
							Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680  
						
						... 
						
						
						
						that was related to LZMA_MODE_FAST. The original code is slightly
faster although it compresses slightly worse. But since it is fast
mode, it is better to select the faster version. 
						
						
					 
					
						2008-12-27 19:32:20 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							e33194e79d 
							
						 
					 
					
						
						
							
							Bunch of liblzma tweaks, including some API changes.  
						
						... 
						
						
						
						The API and ABI should now be very close to stable,
although the code behind it isn't yet. 
						
						
					 
					
						2008-12-27 19:27:49 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							4d00652e75 
							
						 
					 
					
						
						
							
							Updated Makefile.am that was missing from the previous commit.  
						
						
						
						
					 
					
						2008-12-18 13:42:52 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							634636fa56 
							
						 
					 
					
						
						
							
							Remove the alignment functions for now. Maybe they will  
						
						... 
						
						
						
						be added back in some form later, but the current version
wasn't modular, so it would need fixing anyway. 
						
						
					 
					
						2008-12-17 21:49:53 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							653e457e37 
							
						 
					 
					
						
						
							
							Fix a dumb bug in .lzma decoder which was introduced in  
						
						... 
						
						
						
						the previous commit. (Probably the previous commit has
other bugs too, it wasn't tested.) 
						
						
					 
					
						2008-12-15 23:26:43 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							671a5adf1e 
							
						 
					 
					
						
						
							
							Bunch of liblzma API cleanups and fixes.  
						
						
						
						
					 
					
						2008-12-15 19:39:13 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							17781c2c20 
							
						 
					 
					
						
						
							
							The LZMA2 decoder fix introduced a bug to LZ decoder,  
						
						... 
						
						
						
						which made LZ decoder return too early after dictionary
reset. This fixes it. 
						
						
					 
					
						2008-12-15 14:26:52 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							ff7fb2c605 
							
						 
					 
					
						
						
							
							Fix data corruption in LZMA2 decoder.  
						
						
						
						
					 
					
						2008-12-15 10:01:59 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							6efa2d80d4 
							
						 
					 
					
						
						
							
							Make the memusage functions of LZMA1 and LZMA2 encoders  
						
						... 
						
						
						
						to validate the filter options. Add missing validation
to LZMA2 encoder when options are changed in the middle
of encoding. 
						
						
					 
					
						2008-12-09 17:41:49 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							ccd57afa09 
							
						 
					 
					
						
						
							
							Validate the filter chain before checking filter-specific  
						
						... 
						
						
						
						memory usage. 
						
						
					 
					
						2008-12-01 22:59:28 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							c596fda40b 
							
						 
					 
					
						
						
							
							Make the memusage functions of LZMA1 and LZMA2 decoders  
						
						... 
						
						
						
						to validate the filter options. 
						
						
					 
					
						2008-12-01 22:58:22 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							c58f469be5 
							
						 
					 
					
						
						
							
							Added the changes for Delta filter that should have been  
						
						... 
						
						
						
						part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 
						
						
					 
					
						2008-12-01 22:55:18 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							cd70801520 
							
						 
					 
					
						
						
							
							LZMA2 decoder cleanups. Make it require new LZMA properties  
						
						... 
						
						
						
						also in the first LZMA chunk after a dictionary reset in
uncompressed chunk. 
						
						
					 
					
						2008-12-01 22:50:28 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							656ec87882 
							
						 
					 
					
						
						
							
							Added lzma_delta_coder_memusage() which also validates  
						
						... 
						
						
						
						the options. 
						
						
					 
					
						2008-12-01 16:30:11 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							a8368b75cd 
							
						 
					 
					
						
						
							
							Remove the nowadays unneeded memory limitting malloc() wrapper.  
						
						
						
						
					 
					
						2008-11-25 02:37:47 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							69472ee5f0 
							
						 
					 
					
						
						
							
							VLI encoder and decoder cleanups. Made encoder return  
						
						... 
						
						
						
						LZMA_PROG_ERROR in single-call mode if there's no output
space. 
						
						
					 
					
						2008-11-23 15:09:03 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							e114502b2b 
							
						 
					 
					
						
						
							
							Oh well, big messy commit again. Some highlights:  
						
						... 
						
						
						
						- Updated to the latest, probably final file format version.
  - Command line tool reworked to not use threads anymore.
    Threading will probably go into liblzma anyway.
  - Memory usage limit is now about 30 % for uncompression
    and about 90 % for compression.
  - Progress indicator with --verbose
  - Simplified --help and full --long-help
  - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
  - Some bug fixes 
						
						
					 
					
						2008-11-19 20:46:52 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1e8e4fd1f3 
							
						 
					 
					
						
						
							
							Made the preset numbering more logical in liblzma API.  
						
						
						
						
					 
					
						2008-10-07 09:40:31 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							8e60c889a2 
							
						 
					 
					
						
						
							
							Fixed Stream decoder to actually use the first_stream variable.  
						
						
						
						
					 
					
						2008-09-30 13:57:44 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							a6639022fd 
							
						 
					 
					
						
						
							
							Fixed uninitialized variable in Stream decoder.  
						
						
						
						
					 
					
						2008-09-30 13:34:07 +03:00