diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 62 |
1 files changed, 43 insertions, 19 deletions
@@ -1,4 +1,4 @@ | |||
1 | zlib 1.0.5 is a general purpose data compression library. All the code | 1 | zlib 1.0.7 is a general purpose data compression library. All the code |
2 | is reentrant (thread safe). The data format used by the zlib library | 2 | is reentrant (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 |
@@ -19,27 +19,54 @@ makefiles such as Makefile.msc; for VMS, use Make_vms.com or descrip.mms. | |||
19 | Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov> or, | 19 | Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov> or, |
20 | if this fails, to the addresses given below in the Copyright section. | 20 | if this fails, to the addresses given below in the Copyright section. |
21 | The zlib home page is http://www.cdrom.com/pub/infozip/zlib/ | 21 | The zlib home page is http://www.cdrom.com/pub/infozip/zlib/ |
22 | 22 | The official zlib ftp site is ftp://ftp.cdrom.com/pub/infozip/zlib/ | |
23 | The changes made in version 1.0.5 are documented in the file ChangeLog. | 23 | Mark Nelson wrote an article about zlib for the Jan. 1997 issue of |
24 | The main changes since 1.0.4 are: | 24 | Dr. Dobb's Journal; a copy of the article is available in |
25 | 25 | http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm | |
26 | - Fix inflate to terminate gracefully when fed corrupted or invalid data | 26 | |
27 | - Use const for rommable constants in inflate | 27 | The changes made in version 1.0.7 are documented in the file ChangeLog. |
28 | 28 | The main changes since 1.0.6 are: | |
29 | |||
30 | - fix gzseek which was broken in write mode | ||
31 | - return error for gzseek to negative absolute position | ||
32 | - fix configure for Linux (Chun-Chung Chen) | ||
33 | - increase stack space for MSC (Tim Wegner) | ||
34 | - get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant) | ||
35 | - define EXPORTVA for gzprintf (Gilles Vollant) | ||
36 | - added mini man page zlib.3 (Rick Rodgers) [volunteers to write full | ||
37 | man pages from zlib.h most welcome. write to jloup@gzip.org] | ||
38 | - for contrib/untgz, fix makedir() and improve Makefile | ||
39 | |||
40 | Unsupported third party contributions are provided in directory "contrib". | ||
41 | |||
42 | A Java implementation of zlib is available in the Java Development Kit 1.1 | ||
43 | http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html | ||
44 | See the zlib home page http://www.cdrom.com/pub/infozip/zlib/ for details. | ||
29 | 45 | ||
30 | A Perl interface to zlib written by Paul Marquess <pmarquess@bfsec.bt.co.uk> | 46 | A Perl interface to zlib written by Paul Marquess <pmarquess@bfsec.bt.co.uk> |
31 | is in the CPAN (Comprehensive Perl Archive Network) sites, such as: | 47 | is in the CPAN (Comprehensive Perl Archive Network) sites, such as: |
32 | ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib* | 48 | ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib* |
33 | 49 | ||
50 | A Python interface to zlib written by A.M. Kuchling <amk@magnet.com> | ||
51 | is available from the Python Software Association sites, such as: | ||
52 | ftp://ftp.python.org/pub/python/contrib/Encoding/zlib*.tar.gz | ||
34 | 53 | ||
35 | Notes for some targets: | 54 | Notes for some targets: |
36 | 55 | ||
37 | - For Turbo C the small model is supported only with reduced performance to | 56 | - To build a Windows DLL version, include in a DLL project zlib.def, zlib.rc |
38 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 | 57 | and all .c files except example.c and minigzip.c; compile with -DZLIB_DLL |
58 | The zlib DLL support was initially done by Alessandro Iacopetti and is | ||
59 | now maintained by Gilles Vollant <info@winimage.com>. Check the zlib DLL | ||
60 | home page at http://www.winimage.com/zLibDll | ||
39 | 61 | ||
40 | - For 64-bit Iris, deflate.c must be compiled without any optimization. | 62 | From Visual Basic, you can call the DLL functions which do not take |
63 | a structure as argument: compress, uncompress and all gz* functions. | ||
64 | See contrib/visual-basic.txt for more information. | ||
65 | I don't know how to handle structures in Visual Basic, sorry. | ||
66 | |||
67 | - For 64-bit Irix, deflate.c must be compiled without any optimization. | ||
41 | With -O, one libpng test fails. The test works in 32 bit mode (with | 68 | With -O, one libpng test fails. The test works in 32 bit mode (with |
42 | the -32 compiler flag). The compiler bug has been reported to SGI. | 69 | the -n32 compiler flag). The compiler bug has been reported to SGI. |
43 | 70 | ||
44 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 | 71 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 |
45 | it works when compiled with cc. | 72 | it works when compiled with cc. |
@@ -47,14 +74,11 @@ Notes for some targets: | |||
47 | - zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not | 74 | - zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not |
48 | accepting the -O option). It works with the other cc compiler. | 75 | accepting the -O option). It works with the other cc compiler. |
49 | 76 | ||
50 | - To build a Windows DLL version, include in a DLL project zlib.def, zlib.rc | ||
51 | and all .c files except example.c and minigzip.c; compile with -DZLIB_DLL | ||
52 | For help on building a zlib DLL, contact Alessandro Iacopetti | ||
53 | <iaco@email.alessandria.alpcom.it> http://lisa.unial.it/iaco , | ||
54 | or contact Brad Clarke <bclarke@cyberus.ca>. | ||
55 | |||
56 | - gzdopen is not supported on RISCOS | 77 | - gzdopen is not supported on RISCOS |
57 | 78 | ||
79 | - For Turbo C the small model is supported only with reduced performance to | ||
80 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 | ||
81 | |||
58 | 82 | ||
59 | Acknowledgments: | 83 | Acknowledgments: |
60 | 84 | ||
@@ -84,7 +108,7 @@ Copyright notice: | |||
84 | 3. This notice may not be removed or altered from any source distribution. | 108 | 3. This notice may not be removed or altered from any source distribution. |
85 | 109 | ||
86 | Jean-loup Gailly Mark Adler | 110 | Jean-loup Gailly Mark Adler |
87 | gzip@prep.ai.mit.edu madler@alumni.caltech.edu | 111 | jloup@gzip.org madler@alumni.caltech.edu |
88 | 112 | ||
89 | If you use the zlib library in a product, we would appreciate *not* | 113 | If you use the zlib library in a product, we would appreciate *not* |
90 | receiving lengthy legal documents to sign. The sources are provided | 114 | receiving lengthy legal documents to sign. The sources are provided |