From 5fc94e271f253bfc9685333287db76b73524f355 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 07:47:26 +0100 Subject: Adding upstream version 0.5. Signed-off-by: Daniel Baumann --- ChangeLog | 5 +++++ NEWS | 4 ++-- configure | 2 +- lzd.cc | 14 +++++++------- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index eb56908..8921458 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-17 Antonio Diaz Diaz + + * Version 0.5 released. + * Minor changes. + 2013-08-01 Antonio Diaz Diaz * Version 0.4 released. diff --git a/NEWS b/NEWS index d4f019c..9be0ea7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,3 @@ -Changes in version 0.4: +Changes in version 0.5: -A portability problem in the testsuite has been fixed. +Minor changes. diff --git a/configure b/configure index f74b397..3f7c890 100755 --- a/configure +++ b/configure @@ -6,7 +6,7 @@ # to copy, distribute and modify it. pkgname=lzd -pkgversion=0.4 +pkgversion=0.5 progname=lzd srctrigger=lzd.cc diff --git a/lzd.cc b/lzd.cc index b5c5ac8..b069f0c 100644 --- a/lzd.cc +++ b/lzd.cc @@ -56,6 +56,7 @@ enum { pos_states = 1 << pos_state_bits, pos_state_mask = pos_states - 1, + len_states = 4, dis_slot_bits = 6, start_dis_model = 4, end_dis_model = 14, @@ -72,7 +73,6 @@ enum { max_len_symbols = len_low_symbols + len_mid_symbols + len_high_symbols, min_match_len = 2, // must be 2 - max_dis_states = 4, bit_model_move_bits = 5, bit_model_total_bits = 11, @@ -299,7 +299,7 @@ bool LZ_decoder::decode_member() // Returns false if error Bit_model bm_rep1[State::states]; Bit_model bm_rep2[State::states]; Bit_model bm_len[State::states][pos_states]; - Bit_model bm_dis_slot[max_dis_states][1<