History log of /external/zlib/src/examples/gun.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7291b8caf18844362881750df5cebd045d672c43 22-Sep-2017 Leon Scroggins III <scroggo@google.com> Reland "Update zlib to 1.2.11"

Bug: 65743040
Test: run cts -m CtsLibcoreTestCases

This reverts commit 20877b3d8f8c1c2eb639905e4732356e03f38ff7.

zlib was previously reverted to 1.2.8 due to a bug in other code that
relied on the specific version of zlib. This bug should no longer be
present in master, so reland the update.
/external/zlib/src/examples/gun.c
64c8fd52127407737beccba617e02eaf4a58ae7f 18-May-2017 Narayan Kamath <narayan@google.com> Revert "Update zlib to 1.2.11"

This reverts commit fbe84be2fe4449e251193686bc704939e70e0d06.

This causes issues with server side infrastructure that makes invasive
assumptions about the nature of compressed zlib output at each compression
level which was broken by the upgrade from 1.2.8 -> 1.2.11. As a result, the
upgrade is being temporarily reverted to give the teams involved a little
more time to fix the issues on their end.

Bug: 38369364
Test: run cts -m CtsLibcoreTestCases
Change-Id: Idb366813f4f1063babcd5002e99555d2f5a2bbd6
/external/zlib/src/examples/gun.c
fbe84be2fe4449e251193686bc704939e70e0d06 16-Jan-2017 Narayan Kamath <narayan@google.com> Update zlib to 1.2.11

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

These changes fixed regressions caused by the 1.2.10 update in
58fbca4fa3a270861febdcd59438acb9fe4011a1 which was subsequently
reverted.

Bug: 34098691
Test: make
Test: run cts -m CtsLibcoreTestCases
Change-Id: Ie7818a7c0e072d4098ec4052ef212b5334e6c685
/external/zlib/src/examples/gun.c
0e2ee33c6b4bf522524aa37e976a30ef6cd92352 04-Jan-2017 Narayan Kamath <narayan@google.com> Revert "Upgrade to zlib 1.2.10."

This reverts commit 58fbca4fa3a270861febdcd59438acb9fe4011a1.

Libcore CTS test failures :
org.apache.harmony.tests.java.util.zip.DeflaterTest#test_ConstructorIZ

zlib appears to report an incorrect total_bytes count. needs further investigation.

Change-Id: Ia34aab28243ab641f3527cb17ef29db5943be0c3
/external/zlib/src/examples/gun.c
58fbca4fa3a270861febdcd59438acb9fe4011a1 01-Jan-2017 Alexander Martinz <alex@amartinz.at> Upgrade to zlib 1.2.10.

From the upstream ChangeLog:

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]

Change-Id: Ied776f533ff527b674a49af04a11110a7bce2cd0
Signed-off-by: Alexander Martinz <alex@amartinz.at>
/external/zlib/src/examples/gun.c
04351a92ecc8429c999acbfc5dfe5aa8bee1d19d 10-May-2013 Elliott Hughes <enh@google.com> Upgrade to zlib 1.2.8.

From the upstream ChangeLog:

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§]
- Correct spelling error in zlib.h
- Fix mixed line endings in contrib/vstudio

Changes in 1.2.7.3 (13 Apr 2013)
- Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc

Changes in 1.2.7.2 (13 Apr 2013)
- Change check for a four-byte type back to hexadecimal
- Fix typo in win32/Makefile.msc
- Add casts in gzwrite.c for pointer differences

Changes in 1.2.7.1 (24 Mar 2013)
- Replace use of unsafe string functions with snprintf if available
- Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]
- Fix gzgetc undefine when Z_PREFIX set [Turk]
- Eliminate use of mktemp in Makefile (not always available)
- Fix bug in 'F' mode for gzopen()
- Add inflateGetDictionary() function
- Correct comment in deflate.h
- Use _snprintf for snprintf in Microsoft C
- On Darwin, only use /usr/bin/libtool if libtool is not Apple
- Delete "--version" file if created by "ar --version" [Richard G.]
- Fix configure check for veracity of compiler error return codes
- Fix CMake compilation of static lib for MSVC2010 x64
- Remove unused variable in infback9.c
- Fix argument checks in gzlog_compress() and gzlog_write()
- 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 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
- Check for input buffer malloc failure in examples/gzappend.c
- Add note to contrib/blast to use binary mode in stdio
- Fix comparisons of differently signed integers in contrib/blast
- Check for invalid code length codes in contrib/puff
- Fix serious but very rare decompression bug in inftrees.c
- Update inflateBack() comments, since inflate() can be faster
- Use underscored I/O function names for WINAPI_FAMILY
- Add _tr_flush_bits to the external symbols prefixed by --zprefix
- Add contrib/vstudio/vc10 pre-build step for static only
- Quote --version-script argument in CMakeLists.txt
- Don't specify --version-script on Apple platforms in CMakeLists.txt
- Fix casting error in contrib/testzlib/testzlib.c
- Fix types in contrib/minizip to match result of get_crc_table()
- Simplify contrib/vstudio/vc10 with 'd' suffix
- Add TOP support to win32/Makefile.msc
- Suport i686 and amd64 assembler builds in CMakeLists.txt
- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
- Add vc11 and vc12 build files to contrib/vstudio
- Add gzvprintf() as an undocumented function in zlib
- Fix configure for Sun shell
- Remove runtime check in configure for four-byte integer type
- Add casts and consts to ease user conversion to C++
- Add man pages for minizip and miniunzip
- In Makefile uninstall, don't rm if preceding cd fails
- Do not return Z_BUF_ERROR if deflateParam() has nothing to write

Change-Id: Ic05676d0ac8c877ba538ce60891d92472b73bf98
/external/zlib/src/examples/gun.c
00fb66d0b1488e4ca655906f82b27eb2ccc3e309 11-May-2012 Elliott Hughes <enh@google.com> Separate the Android build stuff from the upstream zlib stuff.

Another step towards a script that does the zlib upgrades for us...

Change-Id: I940b5b4e79d2a8daf7a47129bbea7bdaffd4140c
/external/zlib/src/examples/gun.c