Import zlib-1.2.13, previous was 1.2.10

Changes in 1.2.13 (13 Oct 2022)
- Fix configure issue that discarded provided CC definition
- Correct incorrect inputs provided to the CRC functions
- Repair prototypes and exporting of new CRC functions
- Fix inflateBack to detect invalid input with distances too far
- Have infback() deliver all of the available output up to any error
- Fix a bug when getting a gzip header extra field with inflate()
- Fix bug in block type selection when Z_FIXED used
- Tighten deflateBound bounds
- Remove deleted assembler code references
- Various portability and appearance improvements

Changes in 1.2.12 (27 Mar 2022)
- Cygwin does not have _wopen(), so do not create gzopen_w() there
- Permit a deflateParams() parameter change as soon as possible
- Limit hash table inserts after switch from stored deflate
- Fix bug when window full in deflate_stored()
- Fix CLEAR_HASH macro to be usable as a single statement
- Avoid a conversion error in gzseek when off_t type too small
- Have Makefile return non-zero error code on test failure
- Avoid some conversion warnings in gzread.c and gzwrite.c
- Update use of errno for newer Windows CE versions
- Small speedup to inflate [psumbera]
- Return an error if the gzputs string length can't fit in an int
- Add address checking in clang to -w option of configure
- Don't compute check value for raw inflate if asked to validate
- Handle case where inflateSync used when header never processed
- Avoid the use of ptrdiff_t
- Avoid an undefined behavior of memcpy() in gzappend()
- Avoid undefined behaviors of memcpy() in gz*printf()
- Avoid an undefined behavior of memcpy() in _tr_stored_block()
- Make the names in functions declarations identical to definitions
- Remove old assembler code in which bugs have manifested
- Fix deflateEnd() to not report an error at start of raw deflate
- Add legal disclaimer to README
- Emphasize the need to continue decompressing gzip members
- Correct the initialization requirements for deflateInit2()
- Fix a bug that can crash deflate on some input when using Z_FIXED
- Assure that the number of bits for deflatePrime() is valid
- Use a structure to make globals in enough.c evident
- Use a macro for the printf format of big_t in enough.c
- Clean up code style in enough.c, update version
- Use inline function instead of macro for index in enough.c
- Clarify that prefix codes are counted in enough.c
- Show all the codes for the maximum tables size in enough.c
- Add gznorm.c example, which normalizes gzip files
- Fix the zran.c example to work on a multiple-member gzip file
- Add tables for crc32_combine(), to speed it up by a factor of 200
- Add crc32_combine_gen() and crc32_combine_op() for fast combines
- Speed up software CRC-32 computation by a factor of 1.5 to 3
- Use atomic test and set, if available, for dynamic CRC tables
- Don't bother computing check value after successful inflateSync()
- Correct comment in crc32.c
- Add use of the ARMv8 crc32 instructions when requested
- Use ARM crc32 instructions if the ARM architecture has them
- Explicitly note that the 32-bit check values are 32 bits
- Avoid adding empty gzip member after gzflush with Z_FINISH
- Fix memory leak on error in gzlog.c
- Fix error in comment on the polynomial representation of a byte
- Clarify gz* function interfaces, referring to parameter names
- Change macro name in inflate.c to avoid collision in VxWorks
- Correct typo in blast.c
- Improve portability of contrib/minizip
- Fix indentation in minizip's zip.c
- Replace black/white with allow/block. (theresa-m)
- minizip warning fix if MAXU32 already defined. (gvollant)
- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
- Clean up minizip to reduce warnings for testing
- Add fallthrough comments for gcc
- Eliminate use of ULL constants
- Separate out address sanitizing from warnings in configure
- Remove destructive aspects of make distclean
- Check for cc masquerading as gcc or clang in configure
- Fix crc32.c to compile local functions only if used

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
This commit is contained in:
christos 2022-10-15 19:41:16 +00:00
parent ec47cc4ba8
commit dbdd0313bb
17 changed files with 17 additions and 17 deletions

View File

@ -1334,7 +1334,7 @@ Changes in 1.0.6 (19 Jan 1998)
- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
- added makelcc.bat for lcc-win32 (Tom St Denis)
- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
- Avoid expanded $Id: ChangeLog,v 1.1.1.3 2022/10/15 19:38:37 christos Exp $. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion
- Avoid expanded Id. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion
- check for unistd.h in configure (for off_t)
- remove useless check parameter in inflate_blocks_free
- avoid useless assignment of s->check to itself in inflate_blocks_new

View File

@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: adler32.c,v 1.1.1.2 2017/01/10 00:25:29 christos Exp $ */
/* @(#) Id */
#include "zutil.h"

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
--
-- $Id: buffer_demo.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: buffer_demo.adb,v 1.3 2004/09/06 06:55:35 vagul Exp
-- This demo program provided by Dr Steve Sangwine <sjs@essex.ac.uk>
--

View File

@ -8,7 +8,7 @@
-- Continuous test for ZLib multithreading. If the test would fail
-- we should provide thread safe allocation routines for the Z_Stream.
--
-- $Id: mtest.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: mtest.adb,v 1.4 2004/07/23 07:49:54 vagul Exp
with ZLib;
with Ada.Streams;

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: read.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: read.adb,v 1.8 2004/05/31 10:53:40 vagul Exp
-- Test/demo program for the generic read interface.

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: test.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: test.adb,v 1.17 2003/08/12 12:13:30 vagul Exp
-- The program has a few aims.
-- 1. Test ZLib.Ada95 thick binding functionality.

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-streams.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib-streams.adb,v 1.10 2004/05/31 10:53:40 vagul Exp
with Ada.Unchecked_Deallocation;

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-streams.ads,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib-streams.ads,v 1.12 2004/05/31 10:53:40 vagul Exp
package ZLib.Streams is

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-thin.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib-thin.adb,v 1.8 2003/12/14 18:27:31 vagul Exp
package body ZLib.Thin is

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib-thin.ads,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib-thin.ads,v 1.11 2004/07/23 06:33:11 vagul Exp
with Interfaces.C.Strings;

View File

@ -6,7 +6,7 @@
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: zlib.adb,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib.adb,v 1.31 2004/09/06 06:53:19 vagul Exp
with Ada.Exceptions;
with Ada.Unchecked_Conversion;

View File

@ -25,7 +25,7 @@
-- covered by the GNU Public License. --
------------------------------------------------------------------------------
-- $Id: zlib.ads,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
-- Id: zlib.ads,v 1.26 2004/09/06 06:53:19 vagul Exp
with Ada.Streams;

View File

@ -21,7 +21,7 @@
/*
* zstream.h - C++ interface to the 'zlib' general purpose compression library
* $Id: zstream.h,v 1.1.1.2 2017/01/10 00:25:30 christos Exp $
* Id: zstream.h 1.1 1997-06-25 12:00:56+02 tyge Exp tyge
*/
#include <strstream.h>

View File

@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: example.c,v 1.1.1.2 2022/10/15 19:38:38 christos Exp $ */
/* @(#) Id */
#include "zlib.h"
#include <stdio.h>

View File

@ -13,7 +13,7 @@
* or in pipe mode.
*/
/* @(#) $Id: minigzip.c,v 1.1.1.2 2022/10/15 19:38:38 christos Exp $ */
/* @(#) Id */
#include "zlib.h"
#include <stdio.h>

View File

@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: zconf.h.cmakein,v 1.1.1.2 2022/10/15 19:38:37 christos Exp $ */
/* @(#) Id */
#ifndef ZCONF_H
#define ZCONF_H

View File

@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: zconf.h.in,v 1.1.1.2 2022/10/15 19:38:37 christos Exp $ */
/* @(#) Id */
#ifndef ZCONF_H
#define ZCONF_H