Skip to content

Commit

Permalink
v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed May 13, 2020
1 parent 0f5238f commit 753d4a1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
Version 1.6:
Prevented gcc 10 from miscompiling libdeflate (workaround for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94994).

Removed workaround for gcc 5 and earlier producing slow code on
ARM32. If this affects you, please upgrade your compiler.

New API function: libdeflate_zlib_decompress_ex(). It provides
the actual size of the stream that was decompressed, like the
gzip and DEFLATE equivalents.

libdeflate_zlib_decompress() now accepts trailing bytes after
the end of the stream, like the gzip and DEFLATE equivalents.

Added support for custom memory allocators.
(New API function: libdeflate_set_memory_allocator())

Added support for building the library in freestanding mode.

Building libdeflate no longer requires CPPFLAGS=-Icommon.

Version 1.5:
Fixed up stdcall support on 32-bit Windows: the functions are
now exported using both suffixed and non-suffixed names, and
Expand Down
4 changes: 2 additions & 2 deletions libdeflate.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ extern "C" {
#endif

#define LIBDEFLATE_VERSION_MAJOR 1
#define LIBDEFLATE_VERSION_MINOR 5
#define LIBDEFLATE_VERSION_STRING "1.5"
#define LIBDEFLATE_VERSION_MINOR 6
#define LIBDEFLATE_VERSION_STRING "1.6"

#include <stddef.h>
#include <stdint.h>
Expand Down

0 comments on commit 753d4a1

Please sign in to comment.