Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							0ff67511e6 
							
						 
					 
					
						
						
							
							fixed link order for old compilers  
						
						 
						
						
						
						
					 
					
						2018-08-30 16:43:28 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							f76253bb70 
							
						 
					 
					
						
						
							
							minor : createDictionaryBuffer() can create dictionaries of different sizes  
						
						 
						
						
						
						
					 
					
						2018-08-30 16:24:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							39c55a118f 
							
						 
					 
					
						
						
							
							fixed minor compatibility issues with older compilers  
						
						 
						
						
						
						
					 
					
						2018-08-30 16:00:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							39ef91a599 
							
						 
					 
					
						
						
							
							-std=c99 for largeNbDicts  
						
						 
						
						
						
						
					 
					
						2018-08-30 14:59:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							4086b2871b 
							
						 
					 
					
						
						
							
							largeNbDicts compatible with multiple source files  
						
						 
						
						... 
						
						
						
						splitting is disabled by default, but can be re-enabled using usual command -B#
update commands to look like zstd ones 
						
						
					 
					
						2018-08-30 14:38:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							a5a77965d3 
							
						 
					 
					
						
						
							
							make all includes contrib/largeNbDicts  
						
						 
						
						
						
						
					 
					
						2018-08-29 16:17:22 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							d89fa814c1 
							
						 
					 
					
						
						
							
							added a README  
						
						 
						
						... 
						
						
						
						for documentation 
						
						
					 
					
						2018-08-28 18:19:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							6444c50035 
							
						 
					 
					
						
						
							
							increases randomness of ddict ptrs  
						
						 
						
						
						
						
					 
					
						2018-08-28 18:13:46 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							6c398df241 
							
						 
					 
					
						
						
							
							level, block size and nb dicts can be set on command line  
						
						 
						
						
						
						
					 
					
						2018-08-28 18:05:31 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							0c66a44d1b 
							
						 
					 
					
						
						
							
							first working test program  
						
						 
						
						... 
						
						
						
						measures :
- compression ratio with / without dictionary
- create one dictionary per block
- memory budget for dictionaries
- decompression speed, using one different dictionary per block
current limitations :
- only one file
- 4K blocks only
- automatic dictionary built with 4K size
dictionary can be selected on command line, with -D 
						
						
					 
					
						2018-08-28 15:47:07 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							0491037db9 
							
						 
					 
					
						
						
							
							Merge branch 'bench' into largeNbDicts  
						
						 
						
						
						
						
					 
					
						2018-08-28 11:26:46 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							55affc09de 
							
						 
					 
					
						
						
							
							timedFn : measurement delay is programmable  
						
						 
						
						... 
						
						
						
						instead of hard-coded 1 second per measurement 
						
						
					 
					
						2018-08-28 11:26:27 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							0ff9b67552 
							
						 
					 
					
						
						
							
							paramgrill: removed useless tests  
						
						 
						
						... 
						
						
						
						designed to compensate iter_mode,
but since only time_mode is available now,
all tests are guaranteed to last a minimum amount of time. 
						
						
					 
					
						2018-08-27 19:07:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							9e26893e07 
							
						 
					 
					
						
						
							
							paramgrill: fixed a bunch of div-by-zero  
						
						 
						
						... 
						
						
						
						they were pretty easy to trigger by the way,
just start an extended paramgrill session
to find a compression table based on any sample,
it would necessarily happen at some point. 
						
						
					 
					
						2018-08-27 18:47:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							0071e8348f 
							
						 
					 
					
						
						
							
							restored assert() in paramgrill  
						
						 
						
						... 
						
						
						
						assert() in paramgrill are not in the benchmark path.
They should remain active, as they don't impact measurements, and their runtime is insignificant. 
						
						
					 
					
						2018-08-27 17:52:04 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							274b60e6e6 
							
						 
					 
					
						
						
							
							largeNbDicts can compress and compare dict vs noDict  
						
						 
						
						
						
						
					 
					
						2018-08-27 17:08:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							d97e92dfad 
							
						 
					 
					
						
						
							
							Merge branch 'bench' into largeNbDicts  
						
						 
						
						
						
						
					 
					
						2018-08-27 12:12:51 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							01dcd0fd17 
							
						 
					 
					
						
						
							
							bench: minor api update, for consistency  
						
						 
						
						... 
						
						
						
						BMK_benchTimedFn()
BMK_isCompleted_TimedFn() uses TimedFnState 
						
						
					 
					
						2018-08-26 21:30:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							6782725155 
							
						 
					 
					
						
						
							
							first sketch for largeNbDicts test program  
						
						 
						
						
						
						
					 
					
						2018-08-26 19:29:12 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							c3a4baaf6e 
							
						 
					 
					
						
						
							
							fixed minor warnings  
						
						 
						
						... 
						
						
						
						valgrind: memory leak of a few bytes in fullbench
static analyzer: uninitialized data passed as result 
						
						
					 
					
						2018-08-24 23:25:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							2279f3d127 
							
						 
					 
					
						
						
							
							bench: reduce nb of return type  
						
						 
						
						... 
						
						
						
						runOutcome is enough
removed timedFnOutcome 
						
						
					 
					
						2018-08-24 17:28:38 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							6ce7b08f17 
							
						 
					 
					
						
						
							
							fix minor warnings  
						
						 
						
						... 
						
						
						
						gcc : prototype with 0 parameter must be labelled (void)
visual : const property must be identical in both declaration and implementation 
						
						
					 
					
						2018-08-24 15:59:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							7b23cc4d1e 
							
						 
					 
					
						
						
							
							fixed fullbench behavior  
						
						 
						
						... 
						
						
						
						now same as v1.3.5 
						
						
					 
					
						2018-08-24 12:40:10 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							4da5bdf482 
							
						 
					 
					
						
						
							
							fixed zstd -b speed result  
						
						 
						
						... 
						
						
						
						the benchmark was displaying the speed of last run
instead of the best of all previous runs. 
						
						
					 
					
						2018-08-23 18:13:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							b0e1f3982d 
							
						 
					 
					
						
						
							
							fixed paramgrill  
						
						 
						
						... 
						
						
						
						to work with new bench.c 
						
						
					 
					
						2018-08-23 17:21:38 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							1f9ec13621 
							
						 
					 
					
						
						
							
							introduced MB_UNIT  
						
						 
						
						... 
						
						
						
						so that all benchmarking programs use the same speed scale 
						
						
					 
					
						2018-08-23 16:03:30 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							d39a25c5ed 
							
						 
					 
					
						
						
							
							update fullbench.c to work with new bench.h  
						
						 
						
						
						
						
					 
					
						2018-08-23 15:00:09 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							2e45badff4 
							
						 
					 
					
						
						
							
							refactored bench.c  
						
						 
						
						... 
						
						
						
						for clarity and safety, especially at interface level 
						
						
					 
					
						2018-08-23 14:21:18 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							77e805e3db 
							
						 
					 
					
						
						
							
							bench: changed creation/reset function to timedFnState  
						
						 
						
						... 
						
						
						
						for consistency 
						
						
					 
					
						2018-08-21 18:19:27 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1af27a7ed7 
							
						 
					 
					
						
						
							
							Merge pull request  #1287  from tgurr/cmake-docdir  
						
						 
						
						... 
						
						
						
						Use GNUInstallDirs DOCDIR for installing the manual 
						
						
					 
					
						2018-08-21 14:48:50 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							801e3bcd97 
							
						 
					 
					
						
						
							
							Merge pull request  #1290  from edenzik/ezik/1119-safe-strcpy-in-fileio  
						
						 
						
						... 
						
						
						
						Fixed unsafe string copy and concat in `fileio.c`. 
						
						
					 
					
						2018-08-21 13:18:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eden Zik 
							
						 
					 
					
						
						
						
						
							
						
						
							78af534f82 
							
						 
					 
					
						
						
							
							Fixed unsafe string copy and concat in fileio.c.  
						
						 
						
						... 
						
						
						
						Per warnings from flawfinder: "Does not check for buffer overflows when
copying to destination [MS-banned] (CWE-120). Consider using snprintf,
strcpy_s, or strlcpy (warning: strncpy easily misused).".
Replaced called to strcpy and strcat in `fileio.c` to calls with a
specified size (`strncpy` and `strncat`).
Tested the changes on OSX, Linux, Windows.
On OSX + Linux, changes were tested with ASAN. The following flags were
used: 'check_initialization_order=1:strict_init_order=1:detect_odr_violation=1:detect_stack_use_after_return=1'
To reproduce warning:
./flawfinder.py ./programs/fileio.c 
						
						
					 
					
						2018-08-20 22:15:24 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea0b5fc193 
							
						 
					 
					
						
						
							
							Merge pull request  #1285  from facebook/scanbuild  
						
						 
						
						... 
						
						
						
						static analyzer tests 
						
						
					 
					
						2018-08-17 16:38:41 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Timo Gurr 
							
						 
					 
					
						
						
						
						
							
						
						
							e400a86f17 
							
						 
					 
					
						
						
							
							Use GNUInstallDirs DOCDIR for installing the manual  
						
						 
						
						
						
						
					 
					
						2018-08-17 13:50:00 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							77fa1d6e42 
							
						 
					 
					
						
						
							
							Merge pull request  #1284  from GeorgeLu97/negativeLvlDisplay  
						
						 
						
						... 
						
						
						
						Fix negative lvl display value 
						
						
					 
					
						2018-08-16 18:20:37 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							3959ba15e6 
							
						 
					 
					
						
						
							
							Clarify README  
						
						 
						
						
						
						
					 
					
						2018-08-16 17:22:29 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							8175b28f03 
							
						 
					 
					
						
						
							
							Fix negative lvl display value  
						
						 
						
						... 
						
						
						
						Also fix synthetic benchmark parameter setting 
						
						
					 
					
						2018-08-16 16:46:37 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							36d6165a2d 
							
						 
					 
					
						
						
							
							Makefile: added variable SCANBUILD  
						
						 
						
						... 
						
						
						
						so that a different version of scan-build can be selected 
						
						
					 
					
						2018-08-16 16:44:13 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							1515f0bb0d 
							
						 
					 
					
						
						
							
							fixed more issues detected by recent version of scan-build  
						
						 
						
						... 
						
						
						
						test run on Linux 
						
						
					 
					
						2018-08-16 15:20:25 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1dd3156f2b 
							
						 
					 
					
						
						
							
							Merge pull request  #1281  from GeorgeLu97/cleanUp  
						
						 
						
						... 
						
						
						
						Clean up paramgrill code 
						
						
					 
					
						2018-08-15 17:56:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							31224cc126 
							
						 
					 
					
						
						
							
							added static analyzer tests to travis CI  
						
						 
						
						
						
						
					 
					
						2018-08-15 17:44:27 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							5291d9ac31 
							
						 
					 
					
						
						
							
							fix scope of scan-build tests  
						
						 
						
						... 
						
						
						
						exclude zlib code 
						
						
					 
					
						2018-08-15 17:41:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							da55865e47 
							
						 
					 
					
						
						
							
							ensure dependency for zlib wrapper  
						
						 
						
						
						
						
					 
					
						2018-08-15 16:43:13 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							239e114d62 
							
						 
					 
					
						
						
							
							prune comments  
						
						 
						
						
						
						
					 
					
						2018-08-15 16:04:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							8a296d3e1f 
							
						 
					 
					
						
						
							
							Move Stuff around  
						
						 
						
						... 
						
						
						
						Group similar functions together, remove outdated comments 
						
						
					 
					
						2018-08-15 16:04:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							3f8b10baa1 
							
						 
					 
					
						
						
							
							consts  
						
						 
						
						
						
						
					 
					
						2018-08-15 16:04:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							46be2ef5d8 
							
						 
					 
					
						
						
							
							Remove unused stuff  
						
						 
						
						
						
						
					 
					
						2018-08-15 16:04:34 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							512919415c 
							
						 
					 
					
						
						
							
							Merge pull request  #1280  from GeorgeLu97/betterDisplay  
						
						 
						
						... 
						
						
						
						Better Paramgrill Display 
						
						
					 
					
						2018-08-15 15:20:56 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yann Collet 
							
						 
					 
					
						
						
						
						
							
						
						
							42a02ab745 
							
						 
					 
					
						
						
							
							fixed minor warnings issued by scan-build  
						
						 
						
						
						
						
					 
					
						2018-08-15 14:36:02 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								George Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							b234870c33 
							
						 
					 
					
						
						
							
							clarify display README  
						
						 
						
						
						
						
					 
					
						2018-08-15 14:29:49 -07:00