diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 67 |
1 files changed, 36 insertions, 31 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | zlib 1.1.2 is a general purpose data compression library. All the code | 1 | zlib 1.1.3 is a general purpose data compression library. All the code |
| 2 | is thread safe. The data format used by the zlib library | 2 | is thread safe. The data format used by the zlib library |
| 3 | is described by RFCs (Request for Comments) 1950 to 1952 in the files | 3 | is described by RFCs (Request for Comments) 1950 to 1952 in the files |
| 4 | ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate | 4 | ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate |
| @@ -14,35 +14,41 @@ except example.c and minigzip.c. | |||
| 14 | 14 | ||
| 15 | To compile all files and run the test program, follow the instructions | 15 | To compile all files and run the test program, follow the instructions |
| 16 | given at the top of Makefile. In short "make test; make install" | 16 | given at the top of Makefile. In short "make test; make install" |
| 17 | should work for most machines. For MSDOS, use one of the special | 17 | should work for most machines. For Unix: "configure; make test; make install" |
| 18 | makefiles such as Makefile.msc; for VMS, use Make_vms.com or descrip.mms. | 18 | For MSDOS, use one of the special makefiles such as Makefile.msc. |
| 19 | For VMS, use Make_vms.com or descrip.mms. | ||
| 19 | 20 | ||
| 20 | Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov> or, | 21 | Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov>, or to |
| 21 | if this fails, to the addresses given below in the Copyright section. | 22 | Gilles Vollant <info@winimage.com> for the Windows DLL version. |
| 22 | The zlib home page is http://www.cdrom.com/pub/infozip/zlib/ | 23 | The zlib home page is http://www.cdrom.com/pub/infozip/zlib/ |
| 23 | The official zlib ftp site is ftp://ftp.cdrom.com/pub/infozip/zlib/ | 24 | The official zlib ftp site is ftp://ftp.cdrom.com/pub/infozip/zlib/ |
| 25 | Before reporting a problem, please check those sites to verify that | ||
| 26 | you have the latest version of zlib; otherwise get the latest version and | ||
| 27 | check whether the problem still exists or not. | ||
| 28 | |||
| 24 | Mark Nelson <markn@tiny.com> wrote an article about zlib for the Jan. 1997 | 29 | Mark Nelson <markn@tiny.com> wrote an article about zlib for the Jan. 1997 |
| 25 | issue of Dr. Dobb's Journal; a copy of the article is available in | 30 | issue of Dr. Dobb's Journal; a copy of the article is available in |
| 26 | http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm | 31 | http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm |
| 27 | 32 | ||
| 28 | The changes made in version 1.1.2 are documented in the file ChangeLog. | 33 | The changes made in version 1.1.3 are documented in the file ChangeLog. |
| 29 | The main changes since 1.1.1 are: | 34 | The main changes since 1.1.2 are: |
| 30 | 35 | ||
| 31 | - added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant) | 36 | - fix "an inflate input buffer bug that shows up on rare but persistent |
| 32 | See http://www.winimage.com/zLibDll/unzip.html | 37 | occasions" (Mark) |
| 33 | - preinitialize the inflate tables for fixed codes, to make the code | 38 | - fix gzread and gztell for concatenated .gz files (Didier Le Botlan) |
| 34 | completely thread safe (Mark) | 39 | - fix gzseek(..., SEEK_SET) in write mode |
| 35 | - some simplifications and slight speed-up to the inflate code (Mark) | 40 | - fix crc check after a gzeek (Frank Faubert) |
| 36 | - fix gzeof on non-compressed files (Allan Schrum) | 41 | - fix miniunzip when the last entry in a zip file is itself a zip file |
| 37 | - add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs) | 42 | (J Lillge) |
| 38 | - use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn) | 43 | - add contrib/asm586 and contrib/asm686 (Brian Raiter) |
| 39 | - added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny) | 44 | See http://www.muppetlabs.com/~breadbox/software/assembly.html |
| 40 | - add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori) | 45 | - add support for Delphi 3 in contrib/delphi (Bob Dellaca) |
| 41 | - do not wrap extern "C" around system includes (Tom Lane) | 46 | - add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti) |
| 42 | - added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert) | 47 | - do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren) |
| 43 | - allow "make install prefix=..." even after configure (Glenn Randers-Pehrson) | 48 | - use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks) |
| 44 | - allow "configure --prefix $HOME" (Tim Mooney) | 49 | - added a FAQ file |
| 45 | 50 | ||
| 51 | plus many changes for portability. | ||
| 46 | 52 | ||
| 47 | Unsupported third party contributions are provided in directory "contrib". | 53 | Unsupported third party contributions are provided in directory "contrib". |
| 48 | 54 | ||
| @@ -55,8 +61,8 @@ is in the CPAN (Comprehensive Perl Archive Network) sites, such as: | |||
| 55 | ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib* | 61 | ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib* |
| 56 | 62 | ||
| 57 | A Python interface to zlib written by A.M. Kuchling <amk@magnet.com> | 63 | A Python interface to zlib written by A.M. Kuchling <amk@magnet.com> |
| 58 | is available from the Python Software Association sites, such as: | 64 | is available in Python 1.5 and later versions, see |
| 59 | ftp://ftp.python.org/pub/python/contrib/Encoding/zlib*.tar.gz | 65 | http://www.python.org/doc/lib/module-zlib.html |
| 60 | 66 | ||
| 61 | A zlib binding for TCL written by Andreas Kupries <a.kupries@westend.com> | 67 | A zlib binding for TCL written by Andreas Kupries <a.kupries@westend.com> |
| 62 | is availlable at http://www.westend.com/~kupries/doc/trf/man/man.html | 68 | is availlable at http://www.westend.com/~kupries/doc/trf/man/man.html |
| @@ -77,8 +83,8 @@ Notes for some targets: | |||
| 77 | 83 | ||
| 78 | From Visual Basic, you can call the DLL functions which do not take | 84 | From Visual Basic, you can call the DLL functions which do not take |
| 79 | a structure as argument: compress, uncompress and all gz* functions. | 85 | a structure as argument: compress, uncompress and all gz* functions. |
| 80 | See contrib/visual-basic.txt for more information. | 86 | See contrib/visual-basic.txt for more information, or get |
| 81 | I don't know how to handle structures in Visual Basic, sorry. | 87 | http://www.tcfb.com/dowseware/cmp-z-it.zip |
| 82 | 88 | ||
| 83 | - For 64-bit Irix, deflate.c must be compiled without any optimization. | 89 | - For 64-bit Irix, deflate.c must be compiled without any optimization. |
| 84 | With -O, one libpng test fails. The test works in 32 bit mode (with | 90 | With -O, one libpng test fails. The test works in 32 bit mode (with |
| @@ -93,15 +99,14 @@ Notes for some targets: | |||
| 93 | - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works | 99 | - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works |
| 94 | with other compilers. Use "make test" to check your compiler. | 100 | with other compilers. Use "make test" to check your compiler. |
| 95 | 101 | ||
| 96 | - For shared memory multiprocessors, the decompression code assumes that | ||
| 97 | writes to pointers are atomic. Also the functions zalloc and zfree passed | ||
| 98 | to deflateInit must be multi-threaded in this case. | ||
| 99 | |||
| 100 | - gzdopen is not supported on RISCOS, BEOS and by some Mac compilers. | 102 | - gzdopen is not supported on RISCOS, BEOS and by some Mac compilers. |
| 101 | 103 | ||
| 102 | - For Turbo C the small model is supported only with reduced performance to | 104 | - For Turbo C the small model is supported only with reduced performance to |
| 103 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 | 105 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 |
| 104 | 106 | ||
| 107 | - For PalmOs, see http://www.cs.uit.no/~perm/PASTA/pilot/software.html | ||
| 108 | Per Harald Myrvang <perm@stud.cs.uit.no> | ||
| 109 | |||
| 105 | 110 | ||
| 106 | Acknowledgments: | 111 | Acknowledgments: |
| 107 | 112 | ||
