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 
							
						 
					 
					
						
						
						
						
							
						
						
							4820f10d0f 
							
						 
					 
					
						
						
							
							Some xz command line tool improvements.  
						
						
						
						
					 
					
						2008-12-27 19:30:19 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							4fed98417d 
							
						 
					 
					
						
						
							
							xz message handling improvements  
						
						
						
						
					 
					
						2008-12-17 20:11:23 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							8582d392ba 
							
						 
					 
					
						
						
							
							Remove obsolete comment.  
						
						
						
						
					 
					
						2008-12-10 01:31:00 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							b1ae6dd731 
							
						 
					 
					
						
						
							
							Use "decompression" consistently in --long-help.  
						
						
						
						
					 
					
						2008-12-10 01:27:15 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1ea9e7f15a 
							
						 
					 
					
						
						
							
							Added preset=NUM to --lzma1 and --lzma2. This makes it easy  
						
						... 
						
						
						
						to take a preset as a template and modify it a little. 
						
						
					 
					
						2008-12-10 01:23:58 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							ef7890d564 
							
						 
					 
					
						
						
							
							In command line tool, take advantage of memusage calculation's  
						
						... 
						
						
						
						ability to also validate the filter chain and options (not
implemented yet for all filters). 
						
						
					 
					
						2008-12-01 23:04:12 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							c7007ddf06 
							
						 
					 
					
						
						
							
							Tested using COLUMNS environment variable to avoid broken  
						
						... 
						
						
						
						progress indicator but since COLUMNS isn't usually available,
the code was left commented out. 
						
						
					 
					
						2008-11-28 12:00:48 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							ae65dcfde2 
							
						 
					 
					
						
						
							
							Cleanups to message.c.  
						
						
						
						
					 
					
						2008-11-27 19:28:59 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							4249c8c15a 
							
						 
					 
					
						
						
							
							Typo fix  
						
						
						
						
					 
					
						2008-11-22 17:44:33 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							6d1d6f4598 
							
						 
					 
					
						
						
							
							Support NetBSD's errno for O_NOFOLLOW.  
						
						
						
						
					 
					
						2008-11-20 22:59:10 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							f901a290ee 
							
						 
					 
					
						
						
							
							Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz  
						
						... 
						
						
						
						files and lzmadec only .lzma files. 
						
						
					 
					
						2008-11-20 18:05:52 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							86a0ed8f01 
							
						 
					 
					
						
						
							
							Minor cleanups to xzdec.  
						
						
						
						
					 
					
						2008-11-20 11:01:29 +02:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1880a3927b 
							
						 
					 
					
						
						
							
							Renamed lzma to xz and lzmadec to xzdec. We create symlinks  
						
						... 
						
						
						
						lzma, unlzma, and lzcat in "make install" for backwards
compatibility with LZMA Utils 4.32.x; I'm not sure if this
should be the default though. 
						
						
					 
					
						2008-11-19 23:52:24 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							0f295bf7a3 
							
						 
					 
					
						
						
							
							Fixed some help messages.  
						
						
						
						
					 
					
						2008-10-07 16:42:18 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1e8e4fd1f3 
							
						 
					 
					
						
						
							
							Made the preset numbering more logical in liblzma API.  
						
						
						
						
					 
					
						2008-10-07 09:40:31 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							fcfb86c777 
							
						 
					 
					
						
						
							
							Fixed suffix handling with --format=raw.  
						
						
						
						
					 
					
						2008-10-03 07:06:48 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							bd137524f2 
							
						 
					 
					
						
						
							
							Initial changes to change the suffix of the new format to .xz.  
						
						... 
						
						
						
						This also fixes a bug related to --suffix option. Some issues
with suffixes with --format=raw were not fixed. 
						
						
					 
					
						2008-10-02 22:51:46 +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 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							ea560b0ea8 
							
						 
					 
					
						
						
							
							Fix conflicting Subblock helper filter's ID.  
						
						
						
						
					 
					
						2008-09-27 23:49:24 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							ad97483b6e 
							
						 
					 
					
						
						
							
							Changed magic bytes to match the updated spec. Filename  
						
						... 
						
						
						
						suffix wasn't changed yet. 
						
						
					 
					
						2008-09-27 23:37:13 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							1dcecfb09b 
							
						 
					 
					
						
						
							
							Some API changes, bug fixes, cleanups etc.  
						
						
						
						
					 
					
						2008-09-27 19:09:21 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							f147666a5c 
							
						 
					 
					
						
						
							
							Miscellaneous LZ and LZMA encoder cleanups  
						
						
						
						
					 
					
						2008-09-17 22:11:39 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							13d68b0698 
							
						 
					 
					
						
						
							
							LZ decoder cleanup  
						
						
						
						
					 
					
						2008-09-13 13:54:00 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							13a74b78e3 
							
						 
					 
					
						
						
							
							Renamed constants:  
						
						... 
						
						
						
						- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
  - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
  - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 
						
						
					 
					
						2008-09-13 12:10:43 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							320601b2c7 
							
						 
					 
					
						
						
							
							Improved the Stream Flags handling API.  
						
						
						
						
					 
					
						2008-09-12 22:41:40 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							16e8b98f26 
							
						 
					 
					
						
						
							
							Remove a check from Block encoder that should have already  
						
						... 
						
						
						
						been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 
						
						
					 
					
						2008-09-11 23:09:24 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							5a710c3805 
							
						 
					 
					
						
						
							
							Remove bogus #includes.  
						
						
						
						
					 
					
						2008-09-11 20:02:38 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							962f2231d4 
							
						 
					 
					
						
						
							
							Fix a compiler error on big endian systems that don't  
						
						... 
						
						
						
						support unaligned memory access. 
						
						
					 
					
						2008-09-11 10:48:12 +03:00 
						 
				 
			
				
					
						
							
							
								Lasse Collin 
							
						 
					 
					
						
						
						
						
							
						
						
							fa3ab0df8a 
							
						 
					 
					
						
						
							
							Silence a compiler warning.  
						
						
						
						
					 
					
						2008-09-11 10:46:14 +03:00