Permalink
Browse files

deps: upgrade zlib to 1.2.11

PR-URL: #10980
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
  • Loading branch information...
sam-github authored and addaleax committed Jan 20, 2017
1 parent 2f1ce29 commit af0154535cce78026903db193fafcf14d76c6295
Showing with 3,202 additions and 1,720 deletions.
  1. +1 −1 deps/zlib/CMakeLists.txt
  2. +49 −6 deps/zlib/ChangeLog
  3. +177 −55 deps/zlib/Makefile.in
  4. +3 −3 deps/zlib/README
  5. +14 −7 deps/zlib/adler32.c
  6. +0 −215 deps/zlib/as400/bndsrc
  7. +0 −110 deps/zlib/as400/compile.clp
  8. +0 −115 deps/zlib/as400/readme.txt
  9. +24 −18 deps/zlib/compress.c
  10. +112 −22 deps/zlib/configure
  11. +2 −2 deps/zlib/contrib/README.contrib
  12. +3 −3 deps/zlib/contrib/ada/zlib-streams.ads
  13. +1 −1 deps/zlib/contrib/ada/zlib-thin.ads
  14. +33 −13 deps/zlib/contrib/blast/blast.c
  15. +11 −3 deps/zlib/contrib/blast/blast.h
  16. +1 −1 deps/zlib/contrib/delphi/ZLib.pas
  17. +1 −1 deps/zlib/contrib/dotzlib/DotZLib.build
  18. +1 −1 deps/zlib/contrib/dotzlib/DotZLib/UnitTests.cs
  19. +3 −3 deps/zlib/contrib/infback9/inftree9.c
  20. +0 −67 deps/zlib/contrib/minizip/ChangeLogUnzip
  21. +1 −1 deps/zlib/contrib/minizip/configure.ac
  22. +4 −3 deps/zlib/contrib/minizip/iowin32.c
  23. +1 −1 deps/zlib/contrib/minizip/unzip.c
  24. +11 −11 deps/zlib/contrib/minizip/zip.c
  25. +2 −2 deps/zlib/contrib/pascal/zlibpas.pas
  26. +1 −1 deps/zlib/contrib/puff/puff.c
  27. +17 −4 deps/zlib/contrib/vstudio/readme.txt
  28. +4 −4 deps/zlib/contrib/vstudio/vc10/zlib.rc
  29. +11 −1 deps/zlib/contrib/vstudio/vc10/zlibvc.def
  30. +4 −4 deps/zlib/contrib/vstudio/vc11/zlib.rc
  31. +11 −1 deps/zlib/contrib/vstudio/vc11/zlibvc.def
  32. +32 −0 deps/zlib/contrib/vstudio/vc12/zlib.rc
  33. +153 −0 deps/zlib/contrib/vstudio/vc12/zlibvc.def
  34. +32 −0 deps/zlib/contrib/vstudio/vc14/zlib.rc
  35. +153 −0 deps/zlib/contrib/vstudio/vc14/zlibvc.def
  36. +4 −4 deps/zlib/contrib/vstudio/vc9/zlib.rc
  37. +11 −1 deps/zlib/contrib/vstudio/vc9/zlibvc.def
  38. +29 −12 deps/zlib/crc32.c
  39. +499 −303 deps/zlib/deflate.c
  40. +19 −16 deps/zlib/deflate.h
  41. +1 −1 deps/zlib/examples/gun.c
  42. +2 −2 deps/zlib/examples/gzlog.c
  43. +1 −1 deps/zlib/examples/zran.c
  44. +16 −7 deps/zlib/gzguts.h
  45. +17 −14 deps/zlib/gzlib.c
  46. +108 −48 deps/zlib/gzread.c
  47. +210 −122 deps/zlib/gzwrite.c
  48. +2 −2 deps/zlib/infback.c
  49. +34 −51 deps/zlib/inffast.c
  50. +86 −37 deps/zlib/inflate.c
  51. +7 −4 deps/zlib/inflate.h
  52. +12 −14 deps/zlib/inftrees.c
  53. +1 −1 deps/zlib/msdos/Makefile.dj2
  54. +1 −1 deps/zlib/msdos/Makefile.emx
  55. +1 −1 deps/zlib/old/Makefile.emx
  56. +1 −1 deps/zlib/old/os2/Makefile.os2
  57. +48 −0 deps/zlib/os400/README400
  58. +119 −0 deps/zlib/os400/bndsrc
  59. +366 −0 deps/zlib/os400/make.sh
  60. +83 −7 deps/zlib/{as400 → os400}/zlib.inc
  61. +5 −5 deps/zlib/qnx/package.qpg
  62. +9 −8 deps/zlib/test/example.c
  63. +9 −9 deps/zlib/test/infcover.c
  64. +6 −6 deps/zlib/test/minigzip.c
  65. +3 −3 deps/zlib/treebuild.xml
  66. +38 −61 deps/zlib/trees.c
  67. +66 −32 deps/zlib/uncompr.c
  68. +1 −1 deps/zlib/win32/Makefile.gcc
  69. +1 −1 deps/zlib/win32/Makefile.msc
  70. +3 −3 deps/zlib/win32/README-WIN32.txt
  71. +1 −1 deps/zlib/win32/VisualC.txt
  72. +8 −0 deps/zlib/win32/zlib.def
  73. +1 −1 deps/zlib/win32/zlib1.rc
  74. +32 −9 deps/zlib/zconf.h
  75. +32 −9 deps/zlib/zconf.h.cmakein
  76. +32 −9 deps/zlib/zconf.h.in
  77. +35 −37 deps/zlib/zlib.3
  78. BIN deps/zlib/zlib.3.pdf
  79. +298 −154 deps/zlib/zlib.h
  80. +11 −0 deps/zlib/zlib.map
  81. +25 −24 deps/zlib/zutil.c
  82. +35 −17 deps/zlib/zutil.h
View
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
project(zlib C)
-set(VERSION "1.2.8")
+set(VERSION "1.2.11")
option(ASM686 "Enable building i686 assembly implementation")
option(AMD64 "Enable building amd64 assembly implementation")
View
@@ -1,10 +1,53 @@
ChangeLog file for zlib
+Changes in 1.2.11 (15 Jan 2017)
+- Fix deflate stored bug when pulling last block from window
+- Permit immediate deflateParams changes before any deflate input
+
+Changes in 1.2.10 (2 Jan 2017)
+- Avoid warnings on snprintf() return value
+- Fix bug in deflate_stored() for zero-length input
+- Fix bug in gzwrite.c that produced corrupt gzip files
+- Remove files to be installed before copying them in Makefile.in
+- Add warnings when compiling with assembler code
+
+Changes in 1.2.9 (31 Dec 2016)
+- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
+- Improve contrib/blast to return unused bytes
+- Assure that gzoffset() is correct when appending
+- Improve compress() and uncompress() to support large lengths
+- Fix bug in test/example.c where error code not saved
+- Remedy Coverity warning [Randers-Pehrson]
+- Improve speed of gzprintf() in transparent mode
+- Fix inflateInit2() bug when windowBits is 16 or 32
+- Change DEBUG macro to ZLIB_DEBUG
+- Avoid uninitialized access by gzclose_w()
+- Allow building zlib outside of the source directory
+- Fix bug that accepted invalid zlib header when windowBits is zero
+- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
+- Loop on write() calls in gzwrite.c in case of non-blocking I/O
+- Add --warn (-w) option to ./configure for more compiler warnings
+- Reject a window size of 256 bytes if not using the zlib wrapper
+- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
+- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
+- Fix bugs in creating a very large gzip header
+- Add uncompress2() function, which returns the input size used
+- Assure that deflateParams() will not switch functions mid-block
+- Dramatically speed up deflation for level 0 (storing)
+- Add gzfread(), duplicating the interface of fread()
+- Add gzfwrite(), duplicating the interface of fwrite()
+- Add deflateGetDictionary() function
+- Use snprintf() for later versions of Microsoft C
+- Fix *Init macros to use z_ prefix when requested
+- Replace as400 with os400 for OS/400 support [Monnerat]
+- Add crc32_z() and adler32_z() functions with size_t lengths
+- Update Visual Studio project files [AraHaan]
+
Changes in 1.2.8 (28 Apr 2013)
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
- Do not force Z_CONST for C++
-- Clean up contrib/vstudio [Ro§]
+- Clean up contrib/vstudio [Roß]
- Correct spelling error in zlib.h
- Fix mixed line endings in contrib/vstudio
@@ -34,7 +77,7 @@ Changes in 1.2.7.1 (24 Mar 2013)
- Clean up the usage of z_const and respect const usage within zlib
- Clean up examples/gzlog.[ch] comparisons of different types
- Avoid shift equal to bits in type (caused endless loop)
-- Fix unintialized value bug in gzputc() introduced by const patches
+- Fix uninitialized value bug in gzputc() introduced by const patches
- Fix memory allocation error in examples/zran.c [Nor]
- Fix bug where gzopen(), gzclose() would write an empty file
- Fix bug in gzclose() when gzwrite() runs out of memory
@@ -194,7 +237,7 @@ Changes in 1.2.5.2 (17 Dec 2011)
- Add a transparent write mode to gzopen() when 'T' is in the mode
- Update python link in zlib man page
- Get inffixed.h and MAKEFIXED result to match
-- Add a ./config --solo option to make zlib subset with no libary use
+- Add a ./config --solo option to make zlib subset with no library use
- Add undocumented inflateResetKeep() function for CAB file decoding
- Add --cover option to ./configure for gcc coverage testing
- Add #define ZLIB_CONST option to use const in the z_stream interface
@@ -564,7 +607,7 @@ Changes in 1.2.3.1 (16 August 2006)
- Update make_vms.com [Zinser]
- Use -fPIC for shared build in configure [Teredesai, Nicholson]
- Use only major version number for libz.so on IRIX and OSF1 [Reinholdtsen]
-- Use fdopen() (not _fdopen()) for Interix in zutil.h [BŠck]
+- Use fdopen() (not _fdopen()) for Interix in zutil.h [Bäck]
- Add some FAQ entries about the contrib directory
- Update the MVS question in the FAQ
- Avoid extraneous reads after EOF in gzio.c [Brown]
@@ -1178,7 +1221,7 @@ Changes in 1.0.6 (19 Jan 1998)
386 asm code replacing longest_match().
contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
A C++ I/O streams interface to the zlib gz* functions
- contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no>
+ contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no>
Another C++ I/O streams interface
contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
A very simple tar.gz file extractor using zlib
@@ -1267,7 +1310,7 @@ Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
- fix array overlay in deflate.c which sometimes caused bad compressed data
- fix inflate bug with empty stored block
- fix MSDOS medium model which was broken in 0.99
-- fix deflateParams() which could generated bad compressed data.
+- fix deflateParams() which could generate bad compressed data.
- Bytef is define'd instead of typedef'ed (work around Borland bug)
- added an INDEX file
- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
Oops, something went wrong.

0 comments on commit af01545

Please sign in to comment.