updated dict graphs to 2D mode

This commit is contained in:
Yann Collet 2017-05-03 14:32:33 -07:00
parent 710497d8ea
commit c08e56861e
5 changed files with 6 additions and 4 deletions

2
NEWS
View File

@ -5,7 +5,7 @@ cli : new : zstdmt symlink hardwired to `zstd -T0`
cli : new : command --threads=# (#671) cli : new : command --threads=# (#671)
cli : changed : cover dictionary builder by default, for improved quality, by Nick Terrell 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 : 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 : does not output compressed data on console
cli : fix : ignore symbolic links unless --force specified, cli : fix : ignore symbolic links unless --force specified,
API : breaking change : ZSTD_createCDict_advanced(), only use compressionParameters as argument API : breaking change : ZSTD_createCDict_advanced(), only use compressionParameters as argument

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -106,6 +106,7 @@ ZLIBLD = -lz
else else
ZLIB_MSG := $(NO_ZLIB_MSG) ZLIB_MSG := $(NO_ZLIB_MSG)
endif endif
# lzma detection # lzma detection
NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support
HAVE_LZMA := $(shell printf '\#include <lzma.h>\nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lzma$(EXT) -x c - -llzma 2> $(VOID) && rm have_lzma$(EXT) && echo 1 || echo 0) HAVE_LZMA := $(shell printf '\#include <lzma.h>\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 else
LZMA_MSG := $(NO_LZMA_MSG) LZMA_MSG := $(NO_LZMA_MSG)
endif endif
# lz4 detection # lz4 detection
NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support
HAVE_LZ4 := $(shell printf '\#include <lz4frame.h>\n\#include <lz4.h>\nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lz4$(EXT) -x c - -llz4 2> $(VOID) && rm have_lz4$(EXT) && echo 1 || echo 0) HAVE_LZ4 := $(shell printf '\#include <lz4frame.h>\n\#include <lz4.h>\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) LZ4_MSG := $(NO_LZ4_MSG)
endif 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 .PHONY: default all clean clean_decomp_o install uninstall generate_res
default: zstd-release default: zstd-release
@ -221,6 +220,9 @@ clean:
clean_decomp_o: clean_decomp_o:
@$(RM) $(ZSTDDECOMP_O) @$(RM) $(ZSTDDECOMP_O)
MD2ROFF = ronn
MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="zstd $(ZSTD_VERSION)"
zstd.1: zstd.1.md zstd.1: zstd.1.md
cat $^ | $(MD2ROFF) $(MD2ROFF_FLAGS) | sed -n '/^\.\\\".*/!p' > $@ cat $^ | $(MD2ROFF) $(MD2ROFF_FLAGS) | sed -n '/^\.\\\".*/!p' > $@