From: Yann Collet Date: Wed, 3 May 2017 21:32:33 +0000 (-0700) Subject: updated dict graphs to 2D mode X-Git-Tag: v1.2.0^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08e56861e2a3c4e5df5e6a63b580e7661f519c1;p=thirdparty%2Fzstd.git updated dict graphs to 2D mode --- diff --git a/NEWS b/NEWS index 407f3b8ac..7d9c9c94e 100644 --- a/NEWS +++ b/NEWS @@ -5,7 +5,7 @@ cli : new : zstdmt symlink hardwired to `zstd -T0` cli : new : command --threads=# (#671) cli : changed : cover dictionary builder by default, for improved quality, by Nick Terrell cli : new : commands --train-cover and --train-legacy, to select dictionary algorithm and parameters -cli : new : experimental target `zstd4`, with support for lz4 format, by Sean Purcell +cli : experimental targets `zstd4` and `xzstd4`, with support for lz4 format, by Sean Purcell cli : fix : does not output compressed data on console cli : fix : ignore symbolic links unless --force specified, API : breaking change : ZSTD_createCDict_advanced(), only use compressionParameters as argument diff --git a/doc/images/dict-cr.png b/doc/images/dict-cr.png index f555a46c7..f3a9ce2bd 100644 Binary files a/doc/images/dict-cr.png and b/doc/images/dict-cr.png differ diff --git a/doc/images/dict-cs.png b/doc/images/dict-cs.png index ccc02b0d1..55e5ef518 100644 Binary files a/doc/images/dict-cs.png and b/doc/images/dict-cs.png differ diff --git a/doc/images/dict-ds.png b/doc/images/dict-ds.png index 858cad685..1153f1b95 100644 Binary files a/doc/images/dict-ds.png and b/doc/images/dict-ds.png differ diff --git a/programs/Makefile b/programs/Makefile index 491b3ed3a..0c920a87b 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -106,6 +106,7 @@ ZLIBLD = -lz else ZLIB_MSG := $(NO_ZLIB_MSG) endif + # lzma detection NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support HAVE_LZMA := $(shell printf '\#include \nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lzma$(EXT) -x c - -llzma 2> $(VOID) && rm have_lzma$(EXT) && echo 1 || echo 0) @@ -116,6 +117,7 @@ LZMALD = -llzma else LZMA_MSG := $(NO_LZMA_MSG) endif + # lz4 detection NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support HAVE_LZ4 := $(shell printf '\#include \n\#include \nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lz4$(EXT) -x c - -llz4 2> $(VOID) && rm have_lz4$(EXT) && echo 1 || echo 0) @@ -127,9 +129,6 @@ else LZ4_MSG := $(NO_LZ4_MSG) endif -MD2ROFF =ronn -MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="zstd $(ZSTD_VERSION)" - .PHONY: default all clean clean_decomp_o install uninstall generate_res default: zstd-release @@ -221,6 +220,9 @@ clean: clean_decomp_o: @$(RM) $(ZSTDDECOMP_O) +MD2ROFF = ronn +MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="zstd $(ZSTD_VERSION)" + zstd.1: zstd.1.md cat $^ | $(MD2ROFF) $(MD2ROFF_FLAGS) | sed -n '/^\.\\\".*/!p' > $@