From 27125469cdb62432f6ebaf2f0619f99f7bfbaf77 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 21 May 2016 15:04:51 -0500 Subject: [PATCH] v0.2 --- NEWS | 16 ++++++++++++++++ libdeflate.h | 4 ++++ programs/benchmark.c | 2 +- programs/gzip.c | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 NEWS diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..71e32f0 --- /dev/null +++ b/NEWS @@ -0,0 +1,16 @@ +Version 0.2: + Implemented a new block splitting algorithm which typically improves the + compression ratio slightly at all compression levels. + + The compressor now outputs each block using the cheapest type (dynamic + Huffman, static Huffman, or uncompressed). + + The gzip program has received an overhaul and now behaves more like the + standard version. + + Build system updates, including: some build options were changed and + some build options were removed, and the default 'make' target now + includes the gzip program as well as the library. + +Version 0.1: + Initial official release. diff --git a/libdeflate.h b/libdeflate.h index 3da7b24..96b34ad 100644 --- a/libdeflate.h +++ b/libdeflate.h @@ -9,6 +9,10 @@ extern "C" { #endif +#define LIBDEFLATE_VERSION_MAJOR 0 +#define LIBDEFLATE_VERSION_MINOR 2 +#define LIBDEFLATE_VERSION_STRING "0.2" + #include /* Microsoft C / Visual Studio garbage. If you want to link to the DLL version diff --git a/programs/benchmark.c b/programs/benchmark.c index c5e5f14..cba69d6 100644 --- a/programs/benchmark.c +++ b/programs/benchmark.c @@ -56,7 +56,7 @@ static void show_version(void) { printf( -"libdeflate compression benchmark program\n" +"libdeflate compression benchmark program v" LIBDEFLATE_VERSION_STRING "\n" "Copyright 2016 Eric Biggers\n" "\n" "This program is free software which may be modified and/or redistributed\n" diff --git a/programs/gzip.c b/programs/gzip.c index 7b13afc..874fdb6 100644 --- a/programs/gzip.c +++ b/programs/gzip.c @@ -73,7 +73,7 @@ static void show_version(void) { printf( -"gzip compression program\n" +"gzip compression program v" LIBDEFLATE_VERSION_STRING "\n" "Copyright 2016 Eric Biggers\n" "\n" "This program is free software which may be modified and/or redistributed\n"