This commit is contained in:
Eric Biggers 2016-05-21 15:04:51 -05:00
parent f2c3a5b4e9
commit 27125469cd
4 changed files with 22 additions and 2 deletions

16
NEWS Normal file
View File

@ -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.

View File

@ -9,6 +9,10 @@
extern "C" { extern "C" {
#endif #endif
#define LIBDEFLATE_VERSION_MAJOR 0
#define LIBDEFLATE_VERSION_MINOR 2
#define LIBDEFLATE_VERSION_STRING "0.2"
#include <stddef.h> #include <stddef.h>
/* Microsoft C / Visual Studio garbage. If you want to link to the DLL version /* Microsoft C / Visual Studio garbage. If you want to link to the DLL version

View File

@ -56,7 +56,7 @@ static void
show_version(void) show_version(void)
{ {
printf( printf(
"libdeflate compression benchmark program\n" "libdeflate compression benchmark program v" LIBDEFLATE_VERSION_STRING "\n"
"Copyright 2016 Eric Biggers\n" "Copyright 2016 Eric Biggers\n"
"\n" "\n"
"This program is free software which may be modified and/or redistributed\n" "This program is free software which may be modified and/or redistributed\n"

View File

@ -73,7 +73,7 @@ static void
show_version(void) show_version(void)
{ {
printf( printf(
"gzip compression program\n" "gzip compression program v" LIBDEFLATE_VERSION_STRING "\n"
"Copyright 2016 Eric Biggers\n" "Copyright 2016 Eric Biggers\n"
"\n" "\n"
"This program is free software which may be modified and/or redistributed\n" "This program is free software which may be modified and/or redistributed\n"