]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
zlib 1.3.1
authorMark Adler <madler@alumni.caltech.edu>
Mon, 29 Jan 2024 04:00:26 +0000 (20:00 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 7 Feb 2024 18:15:56 +0000 (19:15 +0100)
madler/zlib#51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf

18 files changed:
Makefile.in
deflate.c
deflate_fast.c
deflate_huff.c
deflate_p.h
deflate_rle.c
deflate_slow.c
deflate_stored.c
gzguts.h
gzlib.c
inftrees.c
test/Makefile.in
trees.c
zconf-ng.h.in
zconf.h.in
zlib-ng.h.in
zlib.h.in
zutil.h

index d7e01bcbf55cf5479ccc7961ee2f713c19b3773f..a1c3290ab48e46dc2ada108c63997212dc1a76b4 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for zlib
-# Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
+# Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
 # For conditions of distribution and use, see copyright notice in zlib.h
 
 # To compile and test, type:
index 8f6300dc99a404418321f4deefa04119dae99c97..81cc5b09df7615e86c42542ec7957aa3af5fc4ba 100644 (file)
--- a/deflate.c
+++ b/deflate.c
@@ -1,5 +1,5 @@
 /* deflate.c -- compress data using the deflation algorithm
- * Copyright (C) 1995-2023 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
@@ -58,7 +58,7 @@
 # undef deflateInit2
 #endif
 
-const char PREFIX(deflate_copyright)[] = " deflate 1.3.0 Copyright 1995-2023 Jean-loup Gailly and Mark Adler ";
+const char PREFIX(deflate_copyright)[] = " deflate 1.3.1 Copyright 1995-2024 Jean-loup Gailly and Mark Adler ";
 /*
   If you use the zlib library in a product, an acknowledgment is welcome
   in the documentation of your product. If for some reason you cannot
index 3184aa718c7ead23b47a3a25614245a178124220..951bda157c0f1d08c9df110e298a701ef7962bb4 100644 (file)
@@ -1,6 +1,6 @@
 /* deflate_fast.c -- compress data using the fast strategy of deflation algorithm
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index b197e24d7c38f1375ce9f328cc30d8b979d08a0b..d5a234b114a42a499de910ef4de3cdeec5ba7cc6 100644 (file)
@@ -1,6 +1,6 @@
 /* deflate_huff.c -- compress data using huffman encoding only strategy
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index 2b15b91d8803325f119653467e5df7a800ed4005..7c74ebf5ad771a41717cc6a9886052dbdd532b69 100644 (file)
@@ -1,7 +1,7 @@
 /* deflate_p.h -- Private inline functions and macros shared with more than
  *                one deflate method
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  *
  */
index cd08509946066ac7255c415f2753d6e1b54e3757..ee442141bea0d37b5b497b329f795615a2b77623 100644 (file)
@@ -1,6 +1,6 @@
 /* deflate_rle.c -- compress data using RLE strategy of deflation algorithm
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index cbafdb9862eeb12d7b2d50d04e91d09d8b3cf2f5..3629f8268a8a2955bd6391c275c9de6fe43dacd6 100644 (file)
@@ -1,6 +1,6 @@
 /* deflate_slow.c -- compress data using the slow strategy of deflation algorithm
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index 6160896b3fed47bae6959247ebafed9e563ab780..b09029a28667f11530cc8111ca02654cc3d9fb1e 100644 (file)
@@ -1,6 +1,6 @@
 /* deflate_stored.c -- store data without compression using deflation algorithm
  *
- * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index d501525316432336d8b5e5f970a7bd3d8809c273..14f2391152a44899ce2848189bc9e9d8e32cfafd 100644 (file)
--- a/gzguts.h
+++ b/gzguts.h
@@ -1,7 +1,7 @@
 #ifndef GZGUTS_H_
 #define GZGUTS_H_
 /* gzguts.h -- zlib internal header definitions for gz* operations
- * Copyright (C) 2004-2019 Mark Adler
+ * Copyright (C) 2004-2024 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
diff --git a/gzlib.c b/gzlib.c
index c8bca4d5e1e10d4984b96f36bb3d4df57c8b1c3b..b8a506b6a51f31c058dbb4d4e84cb6a5383c11a3 100644 (file)
--- a/gzlib.c
+++ b/gzlib.c
@@ -1,5 +1,5 @@
 /* gzlib.c -- zlib functions common to reading and writing gzip files
- * Copyright (C) 2004-2019 Mark Adler
+ * Copyright (C) 2004-2024 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index 423f7b461d7c66793031e6ef7bf34be954886977..5234fe7ae0cdd51e33b3953bc888b2dece57a1f7 100644 (file)
@@ -1,5 +1,5 @@
 /* inftrees.c -- generate Huffman trees for efficient decoding
- * Copyright (C) 1995-2023 Mark Adler
+ * Copyright (C) 1995-2024 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
@@ -7,7 +7,7 @@
 #include "zutil.h"
 #include "inftrees.h"
 
-const char PREFIX(inflate_copyright)[] = " inflate 1.3.0 Copyright 1995-2023 Mark Adler ";
+const char PREFIX(inflate_copyright)[] = " inflate 1.3.1 Copyright 1995-2024 Mark Adler ";
 /*
   If you use the zlib library in a product, an acknowledgment is welcome
   in the documentation of your product. If for some reason you cannot
@@ -54,7 +54,7 @@ int Z_INTERNAL zng_inflate_table(codetype type, uint16_t *lens, unsigned codes,
         35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
     static const uint16_t lext[31] = { /* Length codes 257..285 extra */
         16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
-        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 77, 202};
+        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 203, 77};
     static const uint16_t dbase[32] = { /* Distance codes 0..29 base */
         1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
         257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
index 429e2c77084e24c1e386b5f55ab7f6adf372bc0e..5b45965926c71bd80483d8c2cb855c29927ffe70 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
+# Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
 # Copyright 2015, Daniel Axtens, IBM Corporation
 # zlib license, see zlib.h
 
diff --git a/trees.c b/trees.c
index e3e02a487a41f13539d99d5746788cfc652469be..44b4a8786fd8964a85a3692831045a432fde9905 100644 (file)
--- a/trees.c
+++ b/trees.c
@@ -1,5 +1,5 @@
 /* trees.c -- output deflated data using Huffman coding
- * Copyright (C) 1995-2021 Jean-loup Gailly
+ * Copyright (C) 1995-2024 Jean-loup Gailly
  * detect_data_type() function provided freely by Cosmin Truta, 2006
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
index 226f06a037792ca104538899d003d0217af2b688..a1b5311b85378c41e76886f3c5516c5d40ebb833 100644 (file)
@@ -1,5 +1,5 @@
 /* zconf-ng.h -- configuration of the zlib-ng compression library
- * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index 7a6e281e849d6143df3d43fc92e9e84367944770..be8221fd861e1ef4d91ff9764d2c7f7442b2deba 100644 (file)
@@ -1,5 +1,5 @@
 /* zconf.h -- configuration of the zlib compression library
- * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
index a2117b5c3756693b32889c70a84208c4a9d8dbdd..f29bd4321b21286c0f26e96ed4551a4464470055 100644 (file)
@@ -2,7 +2,7 @@
 #define ZNGLIB_H_
 /* zlib-ng.h -- interface of the 'zlib-ng' compression library, forked from zlib.
 
-  Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler
+  Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
 
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
index 1b49311649fb46461f67d45432efd16cad134a75..0924004455a1c70612afc91b8c87efe5cb64717b 100644 (file)
--- a/zlib.h.in
+++ b/zlib.h.in
@@ -1,9 +1,9 @@
 #ifndef ZLIB_H_
 #define ZLIB_H_
 /* zlib.h -- interface of the 'zlib-ng' compression library
-   Forked from and compatible with zlib 1.2.13
+   Forked from and compatible with zlib 1.3.1
 
-  Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
+  Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
 
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
@@ -58,11 +58,11 @@ extern "C" {
 #define ZLIBNG_VER_STATUSH 0xF      /* Hex values: 0=devel, 1-E=beta, F=Release */
 #define ZLIBNG_VER_MODIFIED 0       /* non-zero if modified externally from zlib-ng */
 
-#define ZLIB_VERSION "1.3.0.zlib-ng"
-#define ZLIB_VERNUM 0x130f
+#define ZLIB_VERSION "1.3.1.zlib-ng"
+#define ZLIB_VERNUM 0x131f
 #define ZLIB_VER_MAJOR 1
 #define ZLIB_VER_MINOR 3
-#define ZLIB_VER_REVISION 0
+#define ZLIB_VER_REVISION 1
 #define ZLIB_VER_SUBREVISION 15    /* 15=fork (0xf) */
 
 /*
diff --git a/zutil.h b/zutil.h
index f2d058fc69a20144695783f935f6877a3d076c09..20881ab25a676e8dc5fd65fd0c217704a9481563 100644 (file)
--- a/zutil.h
+++ b/zutil.h
@@ -1,7 +1,7 @@
 #ifndef ZUTIL_H_
 #define ZUTIL_H_
 /* zutil.h -- internal interface and configuration of the compression library
- * Copyright (C) 1995-2022 Jean-loup Gailly, Mark Adler
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */