Skip to content

Commit

Permalink
v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed May 21, 2016
1 parent f2c3a5b commit 2712546
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
16 changes: 16 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 4 additions & 0 deletions libdeflate.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
extern "C" {
#endif

#define LIBDEFLATE_VERSION_MAJOR 0
#define LIBDEFLATE_VERSION_MINOR 2
#define LIBDEFLATE_VERSION_STRING "0.2"

#include <stddef.h>

/* Microsoft C / Visual Studio garbage. If you want to link to the DLL version
Expand Down
2 changes: 1 addition & 1 deletion programs/benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion programs/gzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2712546

Please sign in to comment.