annotate src/zlib-1.2.7/contrib/ada/readme.txt @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents e13257ea84a4
children
rev   line source
Chris@4 1 ZLib for Ada thick binding (ZLib.Ada)
Chris@4 2 Release 1.3
Chris@4 3
Chris@4 4 ZLib.Ada is a thick binding interface to the popular ZLib data
Chris@4 5 compression library, available at http://www.gzip.org/zlib/.
Chris@4 6 It provides Ada-style access to the ZLib C library.
Chris@4 7
Chris@4 8
Chris@4 9 Here are the main changes since ZLib.Ada 1.2:
Chris@4 10
Chris@4 11 - Attension: ZLib.Read generic routine have a initialization requirement
Chris@4 12 for Read_Last parameter now. It is a bit incompartible with previous version,
Chris@4 13 but extends functionality, we could use new parameters Allow_Read_Some and
Chris@4 14 Flush now.
Chris@4 15
Chris@4 16 - Added Is_Open routines to ZLib and ZLib.Streams packages.
Chris@4 17
Chris@4 18 - Add pragma Assert to check Stream_Element is 8 bit.
Chris@4 19
Chris@4 20 - Fix extraction to buffer with exact known decompressed size. Error reported by
Chris@4 21 Steve Sangwine.
Chris@4 22
Chris@4 23 - Fix definition of ULong (changed to unsigned_long), fix regression on 64 bits
Chris@4 24 computers. Patch provided by Pascal Obry.
Chris@4 25
Chris@4 26 - Add Status_Error exception definition.
Chris@4 27
Chris@4 28 - Add pragma Assertion that Ada.Streams.Stream_Element size is 8 bit.
Chris@4 29
Chris@4 30
Chris@4 31 How to build ZLib.Ada under GNAT
Chris@4 32
Chris@4 33 You should have the ZLib library already build on your computer, before
Chris@4 34 building ZLib.Ada. Make the directory of ZLib.Ada sources current and
Chris@4 35 issue the command:
Chris@4 36
Chris@4 37 gnatmake test -largs -L<directory where libz.a is> -lz
Chris@4 38
Chris@4 39 Or use the GNAT project file build for GNAT 3.15 or later:
Chris@4 40
Chris@4 41 gnatmake -Pzlib.gpr -L<directory where libz.a is>
Chris@4 42
Chris@4 43
Chris@4 44 How to build ZLib.Ada under Aonix ObjectAda for Win32 7.2.2
Chris@4 45
Chris@4 46 1. Make a project with all *.ads and *.adb files from the distribution.
Chris@4 47 2. Build the libz.a library from the ZLib C sources.
Chris@4 48 3. Rename libz.a to z.lib.
Chris@4 49 4. Add the library z.lib to the project.
Chris@4 50 5. Add the libc.lib library from the ObjectAda distribution to the project.
Chris@4 51 6. Build the executable using test.adb as a main procedure.
Chris@4 52
Chris@4 53
Chris@4 54 How to use ZLib.Ada
Chris@4 55
Chris@4 56 The source files test.adb and read.adb are small demo programs that show
Chris@4 57 the main functionality of ZLib.Ada.
Chris@4 58
Chris@4 59 The routines from the package specifications are commented.
Chris@4 60
Chris@4 61
Chris@4 62 Homepage: http://zlib-ada.sourceforge.net/
Chris@4 63 Author: Dmitriy Anisimkov <anisimkov@yahoo.com>
Chris@4 64
Chris@4 65 Contributors: Pascal Obry <pascal@obry.org>, Steve Sangwine <sjs@essex.ac.uk>