OCaml Forge

File Release Notes and Changelog

Release Name: CamlZIP 1.04

Release Notes

                        The CamlZip library


This Objective Caml library provides easy access to compressed files in ZIP
and GZIP format, as well as to Java JAR files.  It provides functions
for reading from and writing to compressed files in these formats.


- Objective Caml 3.06 or up.

- The Zlib C library, version 1.1.3 or up.  If it is not installed on
  your system (look for libz.a or libz.so), get it from
  http://www.gzip.org/.  If you are running Linux or BSD, chances
  are that your distribution provides precompiled binaries for this


- Edit the three variables at the beginning of the Makefile to reflect
  the location where Zlib is installed on your system.  The defaults
  are OK for Linux.

- Do "make all".

- If the Objective Caml native-code compiler is available on your platform
  (look for the "ocamlopt" executable), do "make allopt".

- Become super-user if necessary and do
         make install
         make installopt        # if you did "make allopt" earlier
  This installs the library in the standard Objective Caml library directory.


See the comments in files zip.mli and gzip.mli.

Compilation options:      -I +zip
ocamlc linking options:   -I +zip zip.cma
ocamlopt linking options: -I +zip zip.cmxa

The directory test/ contains examples of using this library.


This library is copyright 2001, 2002, 2006, 2007 Institut National de
Recherche en Informatique et en Automatique, and distributed under the
terms of the GNU Library General Public License (LGPL) with a special
exception concerning static linking.  See the file LICENSE for the
exact licensing terms.


Please e-mail Xavier.Leroy@inria.fr

Change Log

Release 1.04:
- Added static linking exception to license

Release 1.03:
- Fixed bug in Zlib.uncompress that could cause it to loop infinitely.
- Documentation comments in .mli files converted to ocamldoc format.

Release 1.02:
- 64-bit incompatibility fixed.
- Better support for large ZIP files (> 2 Gb).
- Added Caml's special exception for static linking to the license.

Release 1.01:
- Use ocamlmklib to create library and possibly DLL (for OCaml 3.04 and up).

Release 1.00:
- First public release