[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-235-g159df68

Stefan Metzmacher metze at samba.org
Thu Aug 7 17:17:24 GMT 2008


The branch, v4-0-test has been updated
       via  159df68c04c9ae437ab48991154e91161ef72754 (commit)
       via  2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097 (commit)
       via  65c9e91a1bb24851a030a304d011558562cc50d6 (commit)
      from  7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 159df68c04c9ae437ab48991154e91161ef72754
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jul 29 20:06:18 2008 +0000

    lib: prepare the build of zlib
    
    metze

commit 2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Aug 7 16:20:11 2008 +0000

    zlib: add inflateReset2()...
    
    metze

commit 65c9e91a1bb24851a030a304d011558562cc50d6
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Jul 29 20:01:23 2008 +0000

    import of zlib-1.2.3
    
    We want to use zlib for the mszip ndr (de)compression
    later, we'll need to add some new functions to zlib.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/configure.ac                                |    1 +
 source/lib/zlib.m4                                 |   12 +
 source/lib/zlib.mk                                 |   17 +
 source/lib/zlib/ChangeLog                          |  855 ++++++++++
 source/lib/zlib/FAQ                                |  339 ++++
 source/lib/zlib/INDEX                              |   51 +
 source/lib/zlib/Makefile                           |  154 ++
 source/lib/zlib/Makefile.in                        |  154 ++
 source/lib/zlib/README                             |  125 ++
 source/lib/zlib/adler32.c                          |  149 ++
 source/lib/zlib/algorithm.txt                      |  209 +++
 source/lib/zlib/amiga/Makefile.pup                 |   66 +
 source/lib/zlib/amiga/Makefile.sas                 |   65 +
 source/lib/zlib/as400/bndsrc                       |  132 ++
 source/lib/zlib/as400/compile.clp                  |  123 ++
 source/lib/zlib/as400/readme.txt                   |  111 ++
 source/lib/zlib/as400/zlib.inc                     |  331 ++++
 source/lib/zlib/compress.c                         |   79 +
 source/lib/zlib/contrib/README.contrib             |   71 +
 source/lib/zlib/contrib/ada/buffer_demo.adb        |  106 ++
 source/lib/zlib/contrib/ada/mtest.adb              |  156 ++
 source/lib/zlib/contrib/ada/read.adb               |  156 ++
 source/lib/zlib/contrib/ada/readme.txt             |   65 +
 source/lib/zlib/contrib/ada/test.adb               |  463 ++++++
 source/lib/zlib/contrib/ada/zlib-streams.adb       |  225 +++
 source/lib/zlib/contrib/ada/zlib-streams.ads       |  114 ++
 source/lib/zlib/contrib/ada/zlib-thin.adb          |  141 ++
 source/lib/zlib/contrib/ada/zlib-thin.ads          |  450 +++++
 source/lib/zlib/contrib/ada/zlib.adb               |  701 ++++++++
 source/lib/zlib/contrib/ada/zlib.ads               |  328 ++++
 source/lib/zlib/contrib/ada/zlib.gpr               |   20 +
 source/lib/zlib/contrib/asm586/README.586          |   43 +
 source/lib/zlib/contrib/asm586/match.S             |  364 ++++
 source/lib/zlib/contrib/asm686/README.686          |   34 +
 source/lib/zlib/contrib/asm686/match.S             |  329 ++++
 source/lib/zlib/contrib/blast/Makefile             |    8 +
 source/lib/zlib/contrib/blast/README               |    4 +
 source/lib/zlib/contrib/blast/blast.c              |  444 +++++
 source/lib/zlib/contrib/blast/blast.h              |   71 +
 source/lib/zlib/contrib/blast/test.pk              |  Bin 0 -> 8 bytes
 source/lib/zlib/contrib/blast/test.txt             |    1 +
 source/lib/zlib/contrib/delphi/ZLib.pas            |  557 +++++++
 source/lib/zlib/contrib/delphi/ZLibConst.pas       |   11 +
 source/lib/zlib/contrib/delphi/readme.txt          |   76 +
 source/lib/zlib/contrib/delphi/zlibd32.mak         |   93 ++
 source/lib/zlib/contrib/dotzlib/DotZLib.build      |   33 +
 source/lib/zlib/contrib/dotzlib/DotZLib.chm        |  Bin 0 -> 72728 bytes
 source/lib/zlib/contrib/dotzlib/DotZLib.sln        |   21 +
 .../zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs   |   58 +
 .../zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs   |  202 +++
 .../zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs |   83 +
 .../lib/zlib/contrib/dotzlib/DotZLib/CodecBase.cs  |  198 +++
 .../lib/zlib/contrib/dotzlib/DotZLib/Deflater.cs   |  106 ++
 source/lib/zlib/contrib/dotzlib/DotZLib/DotZLib.cs |  288 ++++
 .../zlib/contrib/dotzlib/DotZLib/DotZLib.csproj    |  141 ++
 .../lib/zlib/contrib/dotzlib/DotZLib/GZipStream.cs |  301 ++++
 .../lib/zlib/contrib/dotzlib/DotZLib/Inflater.cs   |  105 ++
 .../lib/zlib/contrib/dotzlib/DotZLib/UnitTests.cs  |  274 +++
 source/lib/zlib/contrib/dotzlib/LICENSE_1_0.txt    |   23 +
 source/lib/zlib/contrib/dotzlib/readme.txt         |   58 +
 source/lib/zlib/contrib/infback9/README            |    1 +
 source/lib/zlib/contrib/infback9/infback9.c        |  608 +++++++
 source/lib/zlib/contrib/infback9/infback9.h        |   37 +
 source/lib/zlib/contrib/infback9/inffix9.h         |  107 ++
 source/lib/zlib/contrib/infback9/inflate9.h        |   47 +
 source/lib/zlib/contrib/infback9/inftree9.c        |  323 ++++
 source/lib/zlib/contrib/infback9/inftree9.h        |   55 +
 source/lib/zlib/contrib/inflate86/inffas86.c       | 1157 +++++++++++++
 source/lib/zlib/contrib/inflate86/inffast.S        | 1368 +++++++++++++++
 source/lib/zlib/contrib/iostream/test.cpp          |   24 +
 source/lib/zlib/contrib/iostream/zfstream.cpp      |  329 ++++
 source/lib/zlib/contrib/iostream/zfstream.h        |  128 ++
 source/lib/zlib/contrib/iostream2/zstream.h        |  307 ++++
 source/lib/zlib/contrib/iostream2/zstream_test.cpp |   25 +
 source/lib/zlib/contrib/iostream3/README           |   35 +
 source/lib/zlib/contrib/iostream3/TODO             |   17 +
 source/lib/zlib/contrib/iostream3/test.cc          |   50 +
 source/lib/zlib/contrib/iostream3/zfstream.cc      |  479 ++++++
 source/lib/zlib/contrib/iostream3/zfstream.h       |  466 ++++++
 source/lib/zlib/contrib/masm686/match.asm          |  413 +++++
 source/lib/zlib/contrib/masmx64/bld_ml64.bat       |    2 +
 source/lib/zlib/contrib/masmx64/gvmat64.asm        |  513 ++++++
 source/lib/zlib/contrib/masmx64/gvmat64.obj        |  Bin 0 -> 4119 bytes
 source/lib/zlib/contrib/masmx64/inffas8664.c       |  186 +++
 source/lib/zlib/contrib/masmx64/inffasx64.asm      |  392 +++++
 source/lib/zlib/contrib/masmx64/inffasx64.obj      |  Bin 0 -> 5913 bytes
 source/lib/zlib/contrib/masmx64/readme.txt         |   28 +
 source/lib/zlib/contrib/masmx86/bld_ml32.bat       |    2 +
 source/lib/zlib/contrib/masmx86/gvmat32.asm        |  972 +++++++++++
 source/lib/zlib/contrib/masmx86/gvmat32.obj        |  Bin 0 -> 10241 bytes
 source/lib/zlib/contrib/masmx86/gvmat32c.c         |   62 +
 source/lib/zlib/contrib/masmx86/inffas32.asm       | 1083 ++++++++++++
 source/lib/zlib/contrib/masmx86/inffas32.obj       |  Bin 0 -> 14893 bytes
 source/lib/zlib/contrib/masmx86/mkasm.bat          |    3 +
 source/lib/zlib/contrib/masmx86/readme.txt         |   21 +
 source/lib/zlib/contrib/minizip/ChangeLogUnzip     |   67 +
 source/lib/zlib/contrib/minizip/Makefile           |   25 +
 source/lib/zlib/contrib/minizip/crypt.h            |  132 ++
 source/lib/zlib/contrib/minizip/ioapi.c            |  177 ++
 source/lib/zlib/contrib/minizip/ioapi.h            |   75 +
 source/lib/zlib/contrib/minizip/iowin32.c          |  270 +++
 source/lib/zlib/contrib/minizip/iowin32.h          |   21 +
 source/lib/zlib/contrib/minizip/miniunz.c          |  585 +++++++
 source/lib/zlib/contrib/minizip/minizip.c          |  420 +++++
 source/lib/zlib/contrib/minizip/mztools.c          |  281 ++++
 source/lib/zlib/contrib/minizip/mztools.h          |   31 +
 source/lib/zlib/contrib/minizip/unzip.c            | 1598 ++++++++++++++++++
 source/lib/zlib/contrib/minizip/unzip.h            |  354 ++++
 source/lib/zlib/contrib/minizip/zip.c              | 1219 ++++++++++++++
 source/lib/zlib/contrib/minizip/zip.h              |  235 +++
 source/lib/zlib/contrib/pascal/example.pas         |  599 +++++++
 source/lib/zlib/contrib/pascal/readme.txt          |   76 +
 source/lib/zlib/contrib/pascal/zlibd32.mak         |   93 ++
 source/lib/zlib/contrib/pascal/zlibpas.pas         |  236 +++
 source/lib/zlib/contrib/puff/Makefile              |    8 +
 source/lib/zlib/contrib/puff/README                |   63 +
 source/lib/zlib/contrib/puff/puff.c                |  837 ++++++++++
 source/lib/zlib/contrib/puff/puff.h                |   31 +
 source/lib/zlib/contrib/puff/zeros.raw             |  Bin 0 -> 1213 bytes
 source/lib/zlib/contrib/testzlib/testzlib.c        |  275 ++++
 source/lib/zlib/contrib/testzlib/testzlib.txt      |   10 +
 source/lib/zlib/contrib/untgz/Makefile             |   14 +
 source/lib/zlib/contrib/untgz/Makefile.msc         |   17 +
 source/lib/zlib/contrib/untgz/untgz.c              |  674 ++++++++
 source/lib/zlib/contrib/vstudio/readme.txt         |   73 +
 source/lib/zlib/contrib/vstudio/vc7/miniunz.vcproj |  126 ++
 source/lib/zlib/contrib/vstudio/vc7/minizip.vcproj |  126 ++
 .../lib/zlib/contrib/vstudio/vc7/testzlib.vcproj   |  126 ++
 source/lib/zlib/contrib/vstudio/vc7/zlib.rc        |   32 +
 .../lib/zlib/contrib/vstudio/vc7/zlibstat.vcproj   |  246 +++
 source/lib/zlib/contrib/vstudio/vc7/zlibvc.def     |   92 +
 source/lib/zlib/contrib/vstudio/vc7/zlibvc.sln     |   78 +
 source/lib/zlib/contrib/vstudio/vc7/zlibvc.vcproj  |  445 +++++
 source/lib/zlib/contrib/vstudio/vc8/miniunz.vcproj |  566 +++++++
 source/lib/zlib/contrib/vstudio/vc8/minizip.vcproj |  563 +++++++
 .../lib/zlib/contrib/vstudio/vc8/testzlib.vcproj   |  948 +++++++++++
 .../zlib/contrib/vstudio/vc8/testzlibdll.vcproj    |  567 +++++++
 source/lib/zlib/contrib/vstudio/vc8/zlib.rc        |   32 +
 .../lib/zlib/contrib/vstudio/vc8/zlibstat.vcproj   |  870 ++++++++++
 source/lib/zlib/contrib/vstudio/vc8/zlibvc.def     |   92 +
 source/lib/zlib/contrib/vstudio/vc8/zlibvc.sln     |  144 ++
 source/lib/zlib/contrib/vstudio/vc8/zlibvc.vcproj  | 1219 ++++++++++++++
 source/lib/zlib/crc32.c                            |  423 +++++
 source/lib/zlib/crc32.h                            |  441 +++++
 source/lib/zlib/deflate.c                          | 1736 ++++++++++++++++++++
 source/lib/zlib/deflate.h                          |  331 ++++
 source/lib/zlib/example.c                          |  565 +++++++
 source/lib/zlib/examples/README.examples           |   42 +
 source/lib/zlib/examples/fitblk.c                  |  233 +++
 source/lib/zlib/examples/gun.c                     |  693 ++++++++
 source/lib/zlib/examples/gzappend.c                |  500 ++++++
 source/lib/zlib/examples/gzjoin.c                  |  448 +++++
 source/lib/zlib/examples/gzlog.c                   |  413 +++++
 source/lib/zlib/examples/gzlog.h                   |   58 +
 source/lib/zlib/examples/zlib_how.html             |  523 ++++++
 source/lib/zlib/examples/zpipe.c                   |  191 +++
 source/lib/zlib/examples/zran.c                    |  404 +++++
 source/lib/zlib/gzio.c                             | 1026 ++++++++++++
 source/lib/zlib/infback.c                          |  623 +++++++
 source/lib/zlib/inffast.c                          |  318 ++++
 source/lib/zlib/inffast.h                          |   11 +
 source/lib/zlib/inffixed.h                         |   94 ++
 source/lib/zlib/inflate.c                          | 1377 ++++++++++++++++
 source/lib/zlib/inflate.h                          |  115 ++
 source/lib/zlib/inftrees.c                         |  329 ++++
 source/lib/zlib/inftrees.h                         |   55 +
 source/lib/zlib/make_vms.com                       |  461 ++++++
 source/lib/zlib/minigzip.c                         |  322 ++++
 source/lib/zlib/msdos/Makefile.bor                 |  109 ++
 source/lib/zlib/msdos/Makefile.dj2                 |  104 ++
 source/lib/zlib/msdos/Makefile.emx                 |   69 +
 source/lib/zlib/msdos/Makefile.msc                 |  106 ++
 source/lib/zlib/msdos/Makefile.tc                  |   94 ++
 source/lib/zlib/old/Makefile.riscos                |  151 ++
 source/lib/zlib/old/README                         |    3 +
 source/lib/zlib/old/descrip.mms                    |   48 +
 source/lib/zlib/old/os2/Makefile.os2               |  136 ++
 source/lib/zlib/old/os2/zlib.def                   |   51 +
 source/lib/zlib/old/visual-basic.txt               |  160 ++
 source/lib/zlib/old/zlib.html                      |  971 +++++++++++
 source/lib/zlib/projects/README.projects           |   41 +
 source/lib/zlib/projects/visualc6/README.txt       |   73 +
 source/lib/zlib/projects/visualc6/example.dsp      |  278 ++++
 source/lib/zlib/projects/visualc6/minigzip.dsp     |  278 ++++
 source/lib/zlib/projects/visualc6/zlib.dsp         |  609 +++++++
 source/lib/zlib/projects/visualc6/zlib.dsw         |   59 +
 source/lib/zlib/qnx/package.qpg                    |  141 ++
 source/lib/zlib/trees.c                            | 1219 ++++++++++++++
 source/lib/zlib/trees.h                            |  128 ++
 source/lib/zlib/uncompr.c                          |   61 +
 source/lib/zlib/win32/DLL_FAQ.txt                  |  397 +++++
 source/lib/zlib/win32/Makefile.bor                 |  107 ++
 source/lib/zlib/win32/Makefile.emx                 |   69 +
 source/lib/zlib/win32/Makefile.gcc                 |  141 ++
 source/lib/zlib/win32/Makefile.msc                 |  126 ++
 source/lib/zlib/win32/VisualC.txt                  |    3 +
 source/lib/zlib/win32/zlib.def                     |   60 +
 source/lib/zlib/win32/zlib1.rc                     |   39 +
 source/lib/zlib/zconf.h                            |  336 ++++
 source/lib/zlib/zconf.in.h                         |  332 ++++
 source/lib/zlib/zlib.h                             | 1372 ++++++++++++++++
 source/lib/zlib/zutil.c                            |  318 ++++
 source/lib/zlib/zutil.h                            |  269 +++
 203 files changed, 54093 insertions(+), 0 deletions(-)
 create mode 100644 source/lib/zlib.m4
 create mode 100644 source/lib/zlib.mk
 create mode 100644 source/lib/zlib/ChangeLog
 create mode 100644 source/lib/zlib/FAQ
 create mode 100644 source/lib/zlib/INDEX
 create mode 100644 source/lib/zlib/Makefile
 create mode 100644 source/lib/zlib/Makefile.in
 create mode 100644 source/lib/zlib/README
 create mode 100644 source/lib/zlib/adler32.c
 create mode 100644 source/lib/zlib/algorithm.txt
 create mode 100644 source/lib/zlib/amiga/Makefile.pup
 create mode 100644 source/lib/zlib/amiga/Makefile.sas
 create mode 100644 source/lib/zlib/as400/bndsrc
 create mode 100644 source/lib/zlib/as400/compile.clp
 create mode 100644 source/lib/zlib/as400/readme.txt
 create mode 100644 source/lib/zlib/as400/zlib.inc
 create mode 100644 source/lib/zlib/compress.c
 create mode 100644 source/lib/zlib/contrib/README.contrib
 create mode 100644 source/lib/zlib/contrib/ada/buffer_demo.adb
 create mode 100644 source/lib/zlib/contrib/ada/mtest.adb
 create mode 100644 source/lib/zlib/contrib/ada/read.adb
 create mode 100644 source/lib/zlib/contrib/ada/readme.txt
 create mode 100644 source/lib/zlib/contrib/ada/test.adb
 create mode 100644 source/lib/zlib/contrib/ada/zlib-streams.adb
 create mode 100644 source/lib/zlib/contrib/ada/zlib-streams.ads
 create mode 100644 source/lib/zlib/contrib/ada/zlib-thin.adb
 create mode 100644 source/lib/zlib/contrib/ada/zlib-thin.ads
 create mode 100644 source/lib/zlib/contrib/ada/zlib.adb
 create mode 100644 source/lib/zlib/contrib/ada/zlib.ads
 create mode 100644 source/lib/zlib/contrib/ada/zlib.gpr
 create mode 100644 source/lib/zlib/contrib/asm586/README.586
 create mode 100644 source/lib/zlib/contrib/asm586/match.S
 create mode 100644 source/lib/zlib/contrib/asm686/README.686
 create mode 100644 source/lib/zlib/contrib/asm686/match.S
 create mode 100644 source/lib/zlib/contrib/blast/Makefile
 create mode 100644 source/lib/zlib/contrib/blast/README
 create mode 100644 source/lib/zlib/contrib/blast/blast.c
 create mode 100644 source/lib/zlib/contrib/blast/blast.h
 create mode 100644 source/lib/zlib/contrib/blast/test.pk
 create mode 100644 source/lib/zlib/contrib/blast/test.txt
 create mode 100644 source/lib/zlib/contrib/delphi/ZLib.pas
 create mode 100644 source/lib/zlib/contrib/delphi/ZLibConst.pas
 create mode 100644 source/lib/zlib/contrib/delphi/readme.txt
 create mode 100644 source/lib/zlib/contrib/delphi/zlibd32.mak
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib.build
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib.chm
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib.sln
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/CodecBase.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/Deflater.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/DotZLib.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/GZipStream.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/Inflater.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/DotZLib/UnitTests.cs
 create mode 100644 source/lib/zlib/contrib/dotzlib/LICENSE_1_0.txt
 create mode 100644 source/lib/zlib/contrib/dotzlib/readme.txt
 create mode 100644 source/lib/zlib/contrib/infback9/README
 create mode 100644 source/lib/zlib/contrib/infback9/infback9.c
 create mode 100644 source/lib/zlib/contrib/infback9/infback9.h
 create mode 100644 source/lib/zlib/contrib/infback9/inffix9.h
 create mode 100644 source/lib/zlib/contrib/infback9/inflate9.h
 create mode 100644 source/lib/zlib/contrib/infback9/inftree9.c
 create mode 100644 source/lib/zlib/contrib/infback9/inftree9.h
 create mode 100644 source/lib/zlib/contrib/inflate86/inffas86.c
 create mode 100644 source/lib/zlib/contrib/inflate86/inffast.S
 create mode 100644 source/lib/zlib/contrib/iostream/test.cpp
 create mode 100644 source/lib/zlib/contrib/iostream/zfstream.cpp
 create mode 100644 source/lib/zlib/contrib/iostream/zfstream.h
 create mode 100644 source/lib/zlib/contrib/iostream2/zstream.h
 create mode 100644 source/lib/zlib/contrib/iostream2/zstream_test.cpp
 create mode 100644 source/lib/zlib/contrib/iostream3/README
 create mode 100644 source/lib/zlib/contrib/iostream3/TODO
 create mode 100644 source/lib/zlib/contrib/iostream3/test.cc
 create mode 100644 source/lib/zlib/contrib/iostream3/zfstream.cc
 create mode 100644 source/lib/zlib/contrib/iostream3/zfstream.h
 create mode 100644 source/lib/zlib/contrib/masm686/match.asm
 create mode 100644 source/lib/zlib/contrib/masmx64/bld_ml64.bat
 create mode 100644 source/lib/zlib/contrib/masmx64/gvmat64.asm
 create mode 100644 source/lib/zlib/contrib/masmx64/gvmat64.obj
 create mode 100644 source/lib/zlib/contrib/masmx64/inffas8664.c
 create mode 100644 source/lib/zlib/contrib/masmx64/inffasx64.asm
 create mode 100644 source/lib/zlib/contrib/masmx64/inffasx64.obj
 create mode 100644 source/lib/zlib/contrib/masmx64/readme.txt
 create mode 100644 source/lib/zlib/contrib/masmx86/bld_ml32.bat
 create mode 100644 source/lib/zlib/contrib/masmx86/gvmat32.asm
 create mode 100644 source/lib/zlib/contrib/masmx86/gvmat32.obj
 create mode 100644 source/lib/zlib/contrib/masmx86/gvmat32c.c
 create mode 100644 source/lib/zlib/contrib/masmx86/inffas32.asm
 create mode 100644 source/lib/zlib/contrib/masmx86/inffas32.obj
 create mode 100755 source/lib/zlib/contrib/masmx86/mkasm.bat
 create mode 100644 source/lib/zlib/contrib/masmx86/readme.txt
 create mode 100644 source/lib/zlib/contrib/minizip/ChangeLogUnzip
 create mode 100644 source/lib/zlib/contrib/minizip/Makefile
 create mode 100644 source/lib/zlib/contrib/minizip/crypt.h
 create mode 100644 source/lib/zlib/contrib/minizip/ioapi.c
 create mode 100644 source/lib/zlib/contrib/minizip/ioapi.h
 create mode 100644 source/lib/zlib/contrib/minizip/iowin32.c
 create mode 100644 source/lib/zlib/contrib/minizip/iowin32.h
 create mode 100644 source/lib/zlib/contrib/minizip/miniunz.c
 create mode 100644 source/lib/zlib/contrib/minizip/minizip.c
 create mode 100644 source/lib/zlib/contrib/minizip/mztools.c
 create mode 100644 source/lib/zlib/contrib/minizip/mztools.h
 create mode 100644 source/lib/zlib/contrib/minizip/unzip.c
 create mode 100644 source/lib/zlib/contrib/minizip/unzip.h
 create mode 100644 source/lib/zlib/contrib/minizip/zip.c
 create mode 100644 source/lib/zlib/contrib/minizip/zip.h
 create mode 100644 source/lib/zlib/contrib/pascal/example.pas
 create mode 100644 source/lib/zlib/contrib/pascal/readme.txt
 create mode 100644 source/lib/zlib/contrib/pascal/zlibd32.mak
 create mode 100644 source/lib/zlib/contrib/pascal/zlibpas.pas
 create mode 100644 source/lib/zlib/contrib/puff/Makefile
 create mode 100644 source/lib/zlib/contrib/puff/README
 create mode 100644 source/lib/zlib/contrib/puff/puff.c
 create mode 100644 source/lib/zlib/contrib/puff/puff.h
 create mode 100644 source/lib/zlib/contrib/puff/zeros.raw
 create mode 100644 source/lib/zlib/contrib/testzlib/testzlib.c
 create mode 100644 source/lib/zlib/contrib/testzlib/testzlib.txt
 create mode 100644 source/lib/zlib/contrib/untgz/Makefile
 create mode 100644 source/lib/zlib/contrib/untgz/Makefile.msc
 create mode 100644 source/lib/zlib/contrib/untgz/untgz.c
 create mode 100644 source/lib/zlib/contrib/vstudio/readme.txt
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/miniunz.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/minizip.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/testzlib.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/zlib.rc
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/zlibstat.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/zlibvc.def
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/zlibvc.sln
 create mode 100644 source/lib/zlib/contrib/vstudio/vc7/zlibvc.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/miniunz.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/minizip.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/testzlib.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/testzlibdll.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/zlib.rc
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/zlibstat.vcproj
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/zlibvc.def
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/zlibvc.sln
 create mode 100644 source/lib/zlib/contrib/vstudio/vc8/zlibvc.vcproj
 create mode 100644 source/lib/zlib/crc32.c
 create mode 100644 source/lib/zlib/crc32.h
 create mode 100644 source/lib/zlib/deflate.c
 create mode 100644 source/lib/zlib/deflate.h
 create mode 100644 source/lib/zlib/example.c
 create mode 100644 source/lib/zlib/examples/README.examples
 create mode 100644 source/lib/zlib/examples/fitblk.c
 create mode 100644 source/lib/zlib/examples/gun.c
 create mode 100644 source/lib/zlib/examples/gzappend.c
 create mode 100644 source/lib/zlib/examples/gzjoin.c
 create mode 100644 source/lib/zlib/examples/gzlog.c
 create mode 100644 source/lib/zlib/examples/gzlog.h
 create mode 100644 source/lib/zlib/examples/zlib_how.html
 create mode 100644 source/lib/zlib/examples/zpipe.c
 create mode 100644 source/lib/zlib/examples/zran.c
 create mode 100644 source/lib/zlib/gzio.c
 create mode 100644 source/lib/zlib/infback.c
 create mode 100644 source/lib/zlib/inffast.c
 create mode 100644 source/lib/zlib/inffast.h
 create mode 100644 source/lib/zlib/inffixed.h
 create mode 100644 source/lib/zlib/inflate.c
 create mode 100644 source/lib/zlib/inflate.h
 create mode 100644 source/lib/zlib/inftrees.c
 create mode 100644 source/lib/zlib/inftrees.h
 create mode 100644 source/lib/zlib/make_vms.com
 create mode 100644 source/lib/zlib/minigzip.c
 create mode 100644 source/lib/zlib/msdos/Makefile.bor
 create mode 100644 source/lib/zlib/msdos/Makefile.dj2
 create mode 100644 source/lib/zlib/msdos/Makefile.emx
 create mode 100644 source/lib/zlib/msdos/Makefile.msc
 create mode 100644 source/lib/zlib/msdos/Makefile.tc
 create mode 100644 source/lib/zlib/old/Makefile.riscos
 create mode 100644 source/lib/zlib/old/README
 create mode 100644 source/lib/zlib/old/descrip.mms
 create mode 100644 source/lib/zlib/old/os2/Makefile.os2
 create mode 100644 source/lib/zlib/old/os2/zlib.def
 create mode 100644 source/lib/zlib/old/visual-basic.txt
 create mode 100644 source/lib/zlib/old/zlib.html
 create mode 100644 source/lib/zlib/projects/README.projects
 create mode 100644 source/lib/zlib/projects/visualc6/README.txt
 create mode 100644 source/lib/zlib/projects/visualc6/example.dsp
 create mode 100644 source/lib/zlib/projects/visualc6/minigzip.dsp
 create mode 100644 source/lib/zlib/projects/visualc6/zlib.dsp
 create mode 100644 source/lib/zlib/projects/visualc6/zlib.dsw
 create mode 100644 source/lib/zlib/qnx/package.qpg
 create mode 100644 source/lib/zlib/trees.c
 create mode 100644 source/lib/zlib/trees.h
 create mode 100644 source/lib/zlib/uncompr.c
 create mode 100644 source/lib/zlib/win32/DLL_FAQ.txt
 create mode 100644 source/lib/zlib/win32/Makefile.bor
 create mode 100644 source/lib/zlib/win32/Makefile.emx
 create mode 100644 source/lib/zlib/win32/Makefile.gcc
 create mode 100644 source/lib/zlib/win32/Makefile.msc
 create mode 100644 source/lib/zlib/win32/VisualC.txt
 create mode 100644 source/lib/zlib/win32/zlib.def
 create mode 100644 source/lib/zlib/win32/zlib1.rc
 create mode 100644 source/lib/zlib/zconf.h
 create mode 100644 source/lib/zlib/zconf.in.h
 create mode 100644 source/lib/zlib/zlib.h
 create mode 100644 source/lib/zlib/zutil.c
 create mode 100644 source/lib/zlib/zutil.h


Changeset truncated at 500 lines:

diff --git a/source/configure.ac b/source/configure.ac
index 29db34e..d03092c 100644
--- a/source/configure.ac
+++ b/source/configure.ac
@@ -24,6 +24,7 @@ m4_include(lib/util/time.m4)
 m4_include(lib/popt/samba.m4)
 m4_include(lib/charset/config.m4)
 m4_include(lib/socket/config.m4)
+m4_include(lib/zlib.m4)
 m4_include(nsswitch/nsstest.m4)
 m4_include(pidl/config.m4)
 
diff --git a/source/lib/zlib.m4 b/source/lib/zlib.m4
new file mode 100644
index 0000000..7b967fc
--- /dev/null
+++ b/source/lib/zlib.m4
@@ -0,0 +1,12 @@
+
+AC_CHECK_HEADERS(zlib.h)
+
+# we require this new function...
+AC_CHECK_LIB_EXT(z, ZLIB_LIBS, inflateReset2)
+
+if test x"$ac_cv_header_zlib_h" = x"yes" -a \
+	x"$ac_cv_lib_ext_z_inflateReset2" = x"yes"; then
+	SMB_EXT_LIB(ZLIB, [${ZLIB_LIBS}])
+else
+	SMB_INCLUDE_MK(lib/zlib.mk)
+fi
diff --git a/source/lib/zlib.mk b/source/lib/zlib.mk
new file mode 100644
index 0000000..095f129
--- /dev/null
+++ b/source/lib/zlib.mk
@@ -0,0 +1,17 @@
+[SUBSYSTEM::ZLIB]
+CFLAGS = -Ilib/zlib
+
+libzlibsrcdir := lib/zlib
+ZLIB_OBJ_FILES = \
+		$(libzlibsrcdir)/adler32.o \
+		$(libzlibsrcdir)/compress.o \
+		$(libzlibsrcdir)/crc32.o \
+		$(libzlibsrcdir)/gzio.o \
+		$(libzlibsrcdir)/uncompr.o \
+		$(libzlibsrcdir)/deflate.o \
+		$(libzlibsrcdir)/trees.o \
+		$(libzlibsrcdir)/zutil.o \
+		$(libzlibsrcdir)/inflate.o \
+		$(libzlibsrcdir)/infback.o \
+		$(libzlibsrcdir)/inftrees.o \
+		$(libzlibsrcdir)/inffast.o
diff --git a/source/lib/zlib/ChangeLog b/source/lib/zlib/ChangeLog
new file mode 100644
index 0000000..7f6869d
--- /dev/null
+++ b/source/lib/zlib/ChangeLog
@@ -0,0 +1,855 @@
+
+                ChangeLog file for zlib
+
+Changes in 1.2.3 (18 July 2005)
+- Apply security vulnerability fixes to contrib/infback9 as well
+- Clean up some text files (carriage returns, trailing space)
+- Update testzlib, vstudio, masmx64, and masmx86 in contrib [Vollant]
+
+Changes in 1.2.2.4 (11 July 2005)
+- Add inflatePrime() function for starting inflation at bit boundary
+- Avoid some Visual C warnings in deflate.c
+- Avoid more silly Visual C warnings in inflate.c and inftrees.c for 64-bit
+  compile
+- Fix some spelling errors in comments [Betts]
+- Correct inflateInit2() error return documentation in zlib.h
+- Added zran.c example of compressed data random access to examples
+  directory, shows use of inflatePrime()
+- Fix cast for assignments to strm->state in inflate.c and infback.c
+- Fix zlibCompileFlags() in zutil.c to use 1L for long shifts [Oberhumer]
+- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
+- Add cast in trees.c t avoid a warning [Oberhumer]
+- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
+- Update make_vms.com [Zinser]
+- Initialize state->write in inflateReset() since copied in inflate_fast()
+- Be more strict on incomplete code sets in inflate_table() and increase
+  ENOUGH and MAXD -- this repairs a possible security vulnerability for
+  invalid inflate input.  Thanks to Tavis Ormandy and Markus Oberhumer for
+  discovering the vulnerability and providing test cases.
+- Add ia64 support to configure for HP-UX [Smith]
+- Add error return to gzread() for format or i/o error [Levin]
+- Use malloc.h for OS/2 [Necasek]
+
+Changes in 1.2.2.3 (27 May 2005)
+- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
+- Typecast fread() return values in gzio.c [Vollant]
+- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)
+- Fix crc check bug in gzread() after gzungetc() [Heiner]
+- Add the deflateTune() function to adjust internal compression parameters
+- Add a fast gzip decompressor, gun.c, to examples (use of inflateBack)
+- Remove an incorrect assertion in examples/zpipe.c
+- Add C++ wrapper in infback9.h [Donais]
+- Fix bug in inflateCopy() when decoding fixed codes
+- Note in zlib.h how much deflateSetDictionary() actually uses
+- Remove USE_DICT_HEAD in deflate.c (would mess up inflate if used)
+- Add _WIN32_WCE to define WIN32 in zconf.in.h [Spencer]
+- Don't include stderr.h or errno.h for _WIN32_WCE in zutil.h [Spencer]
+- Add gzdirect() function to indicate transparent reads
+- Update contrib/minizip [Vollant]
+- Fix compilation of deflate.c when both ASMV and FASTEST [Oberhumer]
+- Add casts in crc32.c to avoid warnings [Oberhumer]
+- Add contrib/masmx64 [Vollant]
+- Update contrib/asm586, asm686, masmx86, testzlib, vstudio [Vollant]
+
+Changes in 1.2.2.2 (30 December 2004)
+- Replace structure assignments in deflate.c and inflate.c with zmemcpy to
+  avoid implicit memcpy calls (portability for no-library compilation)
+- Increase sprintf() buffer size in gzdopen() to allow for large numbers
+- Add INFLATE_STRICT to check distances against zlib header
+- Improve WinCE errno handling and comments [Chang]
+- Remove comment about no gzip header processing in FAQ
+- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
+- Add updated make_vms.com [Coghlan], update README
+- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
+  fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
+- Add FAQ entry and comments in deflate.c on uninitialized memory access
+- Add Solaris 9 make options in configure [Gilbert]
+- Allow strerror() usage in gzio.c for STDC
+- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
+- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
+- Use z_off_t for adler32_combine() and crc32_combine() lengths
+- Make adler32() much faster for small len
+- Use OS_CODE in deflate() default gzip header
+
+Changes in 1.2.2.1 (31 October 2004)
+- Allow inflateSetDictionary() call for raw inflate
+- Fix inflate header crc check bug for file names and comments
+- Add deflateSetHeader() and gz_header structure for custom gzip headers
+- Add inflateGetheader() to retrieve gzip headers
+- Add crc32_combine() and adler32_combine() functions
+- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list
+- Use zstreamp consistently in zlib.h (inflate_back functions)
+- Remove GUNZIP condition from definition of inflate_mode in inflate.h
+  and in contrib/inflate86/inffast.S [Truta, Anderson]
+- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
+- Update projects/README.projects and projects/visualc6 [Truta]
+- Update win32/DLL_FAQ.txt [Truta]
+- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta]
+- Deprecate Z_ASCII; use Z_TEXT instead [Truta]
+- Use a new algorithm for setting strm->data_type in trees.c [Truta]
+- Do not define an exit() prototype in zutil.c unless DEBUG defined
+- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta]
+- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate()
+- Fix Darwin build version identification [Peterson]
+
+Changes in 1.2.2 (3 October 2004)
+- Update zlib.h comments on gzip in-memory processing
+- Set adler to 1 in inflateReset() to support Java test suite [Walles]
+- Add contrib/dotzlib [Ravn]
+- Update win32/DLL_FAQ.txt [Truta]
+- Update contrib/minizip [Vollant]
+- Move contrib/visual-basic.txt to old/ [Truta]
+- Fix assembler builds in projects/visualc6/ [Truta]
+
+Changes in 1.2.1.2 (9 September 2004)
+- Update INDEX file
+- Fix trees.c to update strm->data_type (no one ever noticed!)
+- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown]
+- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE)
+- Add limited multitasking protection to DYNAMIC_CRC_TABLE
+- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
+- Don't declare strerror() under VMS [Mozilla]
+- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize
+- Update contrib/ada [Anisimkov]
+- Update contrib/minizip [Vollant]
+- Fix configure to not hardcode directories for Darwin [Peterson]
+- Fix gzio.c to not return error on empty files [Brown]
+- Fix indentation; update version in contrib/delphi/ZLib.pas and
+  contrib/pascal/zlibpas.pas [Truta]
+- Update mkasm.bat in contrib/masmx86 [Truta]
+- Update contrib/untgz [Truta]
+- Add projects/README.projects [Truta]
+- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
+- Update win32/DLL_FAQ.txt [Truta]
+- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
+- Remove an unnecessary assignment to curr in inftrees.c [Truta]
+- Add OS/2 to exe builds in configure [Poltorak]
+- Remove err dummy parameter in zlib.h [Kientzle]
+
+Changes in 1.2.1.1 (9 January 2004)
+- Update email address in README
+- Several FAQ updates
+- Fix a big fat bug in inftrees.c that prevented decoding valid
+  dynamic blocks with only literals and no distance codes --
+  Thanks to "Hot Emu" for the bug report and sample file
+- Add a note to puff.c on no distance codes case.
+
+Changes in 1.2.1 (17 November 2003)
+- Remove a tab in contrib/gzappend/gzappend.c
+- Update some interfaces in contrib for new zlib functions
+- Update zlib version number in some contrib entries
+- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
+- Support shared libraries on Hurd and KFreeBSD [Brown]
+- Fix error in NO_DIVIDE option of adler32.c
+
+Changes in 1.2.0.8 (4 November 2003)
+- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas
+- Add experimental NO_DIVIDE #define in adler32.c
+    - Possibly faster on some processors (let me know if it is)
+- Correct Z_BLOCK to not return on first inflate call if no wrap
+- Fix strm->data_type on inflate() return to correctly indicate EOB
+- Add deflatePrime() function for appending in the middle of a byte
+- Add contrib/gzappend for an example of appending to a stream
+- Update win32/DLL_FAQ.txt [Truta]
+- Delete Turbo C comment in README [Truta]
+- Improve some indentation in zconf.h [Truta]
+- Fix infinite loop on bad input in configure script [Church]
+- Fix gzeof() for concatenated gzip files [Johnson]
+- Add example to contrib/visual-basic.txt [Michael B.]
+- Add -p to mkdir's in Makefile.in [vda]
+- Fix configure to properly detect presence or lack of printf functions
+- Add AS400 support [Monnerat]
+- Add a little Cygwin support [Wilson]
+
+Changes in 1.2.0.7 (21 September 2003)
+- Correct some debug formats in contrib/infback9
+- Cast a type in a debug statement in trees.c
+- Change search and replace delimiter in configure from % to # [Beebe]
+- Update contrib/untgz to 0.2 with various fixes [Truta]
+- Add build support for Amiga [Nikl]
+- Remove some directories in old that have been updated to 1.2
+- Add dylib building for Mac OS X in configure and Makefile.in
+- Remove old distribution stuff from Makefile
+- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
+- Update links in README
+
+Changes in 1.2.0.6 (13 September 2003)
+- Minor FAQ updates
+- Update contrib/minizip to 1.00 [Vollant]
+- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
+- Update POSTINC comment for 68060 [Nikl]
+- Add contrib/infback9 with deflate64 decoding (unsupported)
+- For MVS define NO_vsnprintf and undefine FAR [van Burik]
+- Add pragma for fdopen on MVS [van Burik]
+
+Changes in 1.2.0.5 (8 September 2003)
+- Add OF to inflateBackEnd() declaration in zlib.h
+- Remember start when using gzdopen in the middle of a file
+- Use internal off_t counters in gz* functions to properly handle seeks
+- Perform more rigorous check for distance-too-far in inffast.c
+- Add Z_BLOCK flush option to return from inflate at block boundary
+- Set strm->data_type on return from inflate
+    - Indicate bits unused, if at block boundary, and if in last block
+- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
+- Add condition so old NO_DEFLATE define still works for compatibility
+- FAQ update regarding the Windows DLL [Truta]
+- INDEX update: add qnx entry, remove aix entry [Truta]
+- Install zlib.3 into mandir [Wilson]
+- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta]
+- Adapt the zlib interface to the new DLL convention guidelines [Truta]
+- Introduce ZLIB_WINAPI macro to allow the export of functions using
+  the WINAPI calling convention, for Visual Basic [Vollant, Truta]
+- Update msdos and win32 scripts and makefiles [Truta]
+- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
+- Add contrib/ada [Anisimkov]
+- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta]
+- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant]
+- Add contrib/masm686 [Truta]
+- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm
+  [Truta, Vollant]
+- Update contrib/delphi; rename to contrib/pascal; add example [Truta]
+- Remove contrib/delphi2; add a new contrib/delphi [Truta]
+- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream,
+  and fix some method prototypes [Truta]
+- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
+  [Truta]
+- Avoid the use of backslash (\) in contrib/minizip [Vollant]
+- Fix file time handling in contrib/untgz; update makefiles [Truta]
+- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
+  [Vollant]
+- Remove contrib/vstudio/vc15_16 [Vollant]
+- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta]
+- Update README.contrib [Truta]
+- Invert the assignment order of match_head and s->prev[...] in
+  INSERT_STRING [Truta]
+- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings
+  [Truta]
+- Compare function pointers with 0, not with NULL or Z_NULL [Truta]
+- Fix prototype of syncsearch in inflate.c [Truta]
+- Introduce ASMINF macro to be enabled when using an ASM implementation
+  of inflate_fast [Truta]
+- Change NO_DEFLATE to NO_GZCOMPRESS [Truta]
+- Modify test_gzio in example.c to take a single file name as a
+  parameter [Truta]
+- Exit the example.c program if gzopen fails [Truta]
+- Add type casts around strlen in example.c [Truta]
+- Remove casting to sizeof in minigzip.c; give a proper type
+  to the variable compared with SUFFIX_LEN [Truta]
+- Update definitions of STDC and STDC99 in zconf.h [Truta]
+- Synchronize zconf.h with the new Windows DLL interface [Truta]
+- Use SYS16BIT instead of __32BIT__ to distinguish between
+  16- and 32-bit platforms [Truta]
+- Use far memory allocators in small 16-bit memory models for
+  Turbo C [Truta]
+- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in
+  zlibCompileFlags [Truta]
+- Cygwin has vsnprintf [Wilson]
+- In Windows16, OS_CODE is 0, as in MSDOS [Truta]
+- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson]
+
+Changes in 1.2.0.4 (10 August 2003)
+- Minor FAQ updates
+- Be more strict when checking inflateInit2's windowBits parameter
+- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well
+- Add gzip wrapper option to deflateInit2 using windowBits
+- Add updated QNX rule in configure and qnx directory [Bonnefoy]
+- Make inflate distance-too-far checks more rigorous
+- Clean up FAR usage in inflate
+- Add casting to sizeof() in gzio.c and minigzip.c
+
+Changes in 1.2.0.3 (19 July 2003)
+- Fix silly error in gzungetc() implementation [Vollant]
+- Update contrib/minizip and contrib/vstudio [Vollant]
+- Fix printf format in example.c
+- Correct cdecl support in zconf.in.h [Anisimkov]
+- Minor FAQ updates
+
+Changes in 1.2.0.2 (13 July 2003)
+- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
+- Attempt to avoid warnings in crc32.c for pointer-int conversion
+- Add AIX to configure, remove aix directory [Bakker]
+- Add some casts to minigzip.c
+- Improve checking after insecure sprintf() or vsprintf() calls
+- Remove #elif's from crc32.c
+- Change leave label to inf_leave in inflate.c and infback.c to avoid
+  library conflicts
+- Remove inflate gzip decoding by default--only enable gzip decoding by
+  special request for stricter backward compatibility
+- Add zlibCompileFlags() function to return compilation information
+- More typecasting in deflate.c to avoid warnings
+- Remove leading underscore from _Capital #defines [Truta]
+- Fix configure to link shared library when testing
+- Add some Windows CE target adjustments [Mai]
+- Remove #define ZLIB_DLL in zconf.h [Vollant]
+- Add zlib.3 [Rodgers]
+- Update RFC URL in deflate.c and algorithm.txt [Mai]
+- Add zlib_dll_FAQ.txt to contrib [Truta]
+- Add UL to some constants [Truta]
+- Update minizip and vstudio [Vollant]
+- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
+- Expand use of NO_DUMMY_DECL to avoid all dummy structures
+- Added iostream3 to contrib [Schwardt]
+- Replace rewind() with fseek() for WinCE [Truta]
+- Improve setting of zlib format compression level flags
+    - Report 0 for huffman and rle strategies and for level == 0 or 1
+    - Report 2 only for level == 6
+- Only deal with 64K limit when necessary at compile time [Truta]
+- Allow TOO_FAR check to be turned off at compile time [Truta]
+- Add gzclearerr() function [Souza]
+- Add gzungetc() function
+
+Changes in 1.2.0.1 (17 March 2003)
+- Add Z_RLE strategy for run-length encoding [Truta]
+    - When Z_RLE requested, restrict matches to distance one
+    - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
+- Correct FASTEST compilation to allow level == 0
+- Clean up what gets compiled for FASTEST
+- Incorporate changes to zconf.in.h [Vollant]
+    - Refine detection of Turbo C need for dummy returns
+    - Refine ZLIB_DLL compilation
+    - Include additional header file on VMS for off_t typedef
+- Try to use _vsnprintf where it supplants vsprintf [Vollant]
+- Add some casts in inffast.c
+- Enchance comments in zlib.h on what happens if gzprintf() tries to
+  write more than 4095 bytes before compression
+- Remove unused state from inflateBackEnd()
+- Remove exit(0) from minigzip.c, example.c
+- Get rid of all those darn tabs
+- Add "check" target to Makefile.in that does the same thing as "test"
+- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
+- Update contrib/inflate86 [Anderson]
+- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
+- Add msdos and win32 directories with makefiles [Truta]
+- More additions and improvements to the FAQ
+
+Changes in 1.2.0 (9 March 2003)
+- New and improved inflate code
+    - About 20% faster
+    - Does not allocate 32K window unless and until needed
+    - Automatically detects and decompresses gzip streams
+    - Raw inflate no longer needs an extra dummy byte at end
+    - Added inflateBack functions using a callback interface--even faster
+      than inflate, useful for file utilities (gzip, zip)
+    - Added inflateCopy() function to record state for random access on
+      externally generated deflate streams (e.g. in gzip files)
+    - More readable code (I hope)
+- New and improved crc32()
+    - About 50% faster, thanks to suggestions from Rodney Brown
+- Add deflateBound() and compressBound() functions
+- Fix memory leak in deflateInit2()
+- Permit setting dictionary for raw deflate (for parallel deflate)
+- Fix const declaration for gzwrite()
+- Check for some malloc() failures in gzio.c
+- Fix bug in gzopen() on single-byte file 0x1f
+- Fix bug in gzread() on concatenated file with 0x1f at end of buffer
+  and next buffer doesn't start with 0x8b
+- Fix uncompress() to return Z_DATA_ERROR on truncated input
+- Free memory at end of example.c
+- Remove MAX #define in trees.c (conflicted with some libraries)
+- Fix static const's in deflate.c, gzio.c, and zutil.[ch]
+- Declare malloc() and free() in gzio.c if STDC not defined
+- Use malloc() instead of calloc() in zutil.c if int big enough
+- Define STDC for AIX
+- Add aix/ with approach for compiling shared library on AIX
+- Add HP-UX support for shared libraries in configure
+- Add OpenUNIX support for shared libraries in configure
+- Use $cc instead of gcc to build shared library
+- Make prefix directory if needed when installing
+- Correct Macintosh avoidance of typedef Byte in zconf.h
+- Correct Turbo C memory allocation when under Linux
+- Use libz.a instead of -lz in Makefile (assure use of compiled library)
+- Update configure to check for snprintf or vsnprintf functions and their
+  return value, warn during make if using an insecure function
+- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
+  is lost when library is used--resolution is to build new zconf.h
+- Documentation improvements (in zlib.h):
+    - Document raw deflate and inflate
+    - Update RFCs URL
+    - Point out that zlib and gzip formats are different
+    - Note that Z_BUF_ERROR is not fatal
+    - Document string limit for gzprintf() and possible buffer overflow
+    - Note requirement on avail_out when flushing
+    - Note permitted values of flush parameter of inflate()
+- Add some FAQs (and even answers) to the FAQ
+- Add contrib/inflate86/ for x86 faster inflate
+- Add contrib/blast/ for PKWare Data Compression Library decompression
+- Add contrib/puff/ simple inflate for deflate format description
+
+Changes in 1.1.4 (11 March 2002)
+- ZFREE was repeated on same allocation on some error conditions.
+  This creates a security problem described in
+  http://www.zlib.org/advisory-2002-03-11.txt
+- Returned incorrect error (Z_MEM_ERROR) on some invalid data
+- Avoid accesses before window for invalid distances with inflate window
+  less than 32K.
+- force windowBits > 8 to avoid a bug in the encoder for a window size
+  of 256 bytes. (A complete fix will be available in 1.1.5).
+
+Changes in 1.1.3 (9 July 1998)
+- fix "an inflate input buffer bug that shows up on rare but persistent
+  occasions" (Mark)
+- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
+- fix gzseek(..., SEEK_SET) in write mode
+- fix crc check after a gzeek (Frank Faubert)
+- fix miniunzip when the last entry in a zip file is itself a zip file
+  (J Lillge)
+- add contrib/asm586 and contrib/asm686 (Brian Raiter)
+  See http://www.muppetlabs.com/~breadbox/software/assembly.html
+- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
+- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
+- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
+- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
+- added a FAQ file
+
+- Support gzdopen on Mac with Metrowerks (Jason Linhart)
+- Do not redefine Byte on Mac (Brad Pettit & Jason Linhart)
+- define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young)
+- avoid some warnings with Borland C (Tom Tanner)
+- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
+- emulate utime() for WIN32 in contrib/untgz  (Gilles Vollant)
+- allow several arguments to configure (Tim Mooney, Frodo Looijaard)
+- use libdir and includedir in Makefile.in (Tim Mooney)
+- support shared libraries on OSF1 V4 (Tim Mooney)
+- remove so_locations in "make clean"  (Tim Mooney)
+- fix maketree.c compilation error (Glenn, Mark)
+- Python interface to zlib now in Python 1.5 (Jeremy Hylton)
+- new Makefile.riscos (Rich Walker)
+- initialize static descriptors in trees.c for embedded targets (Nick Smith)
+- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
+- add the OS/2 files in Makefile.in too (Andrew Zabolotny)
+- fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane)
+- fix maketree.c to allow clean compilation of inffixed.h (Mark)
+- fix parameter check in deflateCopy (Gunther Nikl)
+- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
+- Many portability patches by Christian Spieler:
+  . zutil.c, zutil.h: added "const" for zmem*
+  . Make_vms.com: fixed some typos
+  . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists
+  . msdos/Makefile.msc: remove "default rtl link library" info from obj files
+  . msdos/Makefile.*: use model-dependent name for the built zlib library
+  . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc:
+     new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
+- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
+- replace __far with _far for better portability (Christian Spieler, Tom Lane)
+- fix test for errno.h in configure (Tim Newsham)
+
+Changes in 1.1.2 (19 March 98)
+- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
+  See http://www.winimage.com/zLibDll/unzip.html
+- preinitialize the inflate tables for fixed codes, to make the code
+  completely thread safe (Mark)
+- some simplifications and slight speed-up to the inflate code (Mark)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list