/packages/paszlib/readme.txt

https://github.com/slibre/freepascal · Plain Text · 129 lines · 97 code · 32 blank · 0 comment · 0 complexity · 9077e07106c815b3078bfd0cb97372b5 MD5 · raw file

  1. _____________________________________________________________________________
  2. PASZLIB 1.0 May 11th, 1998
  3. Based on the zlib 1.1.2, a general purpose data compression library.
  4. Copyright (C) 1998,1999,2000 by NOMSSI NZALI Jacques H. C.
  5. [kn&n DES] See "Legal issues" for conditions of distribution and use.
  6. _____________________________________________________________________________
  7. Introduction
  8. ============
  9. The 'zlib' compression library provides in-memory compression and
  10. decompression functions, including integrity checks of the uncompressed
  11. data. This version of the library supports only one compression method
  12. (deflation) but other algorithms will be added later and will have the same
  13. stream interface.
  14. Compression can be done in a single step if the buffers are large
  15. enough (for example if an input file is mmap'ed), or can be done by
  16. repeated calls of the compression function. In the latter case, the
  17. application must provide more input and/or consume the output
  18. (providing more output space) before each call.
  19. The default memory requirements for deflate are 256K plus a few kilobytes
  20. for small objects. The default memory requirements for inflate are 32K
  21. plus a few kilobytes for small objects.
  22. Change Log
  23. ==========
  24. March 24th 2000 - minizip code by Gilles Vollant ported to Pascal.
  25. z_stream.msg defined as string[255] to avoid problems
  26. with Delphi 2+ dynamic string handling.
  27. changes to silence Delphi 5 compiler warning. If you
  28. have Delphi 5, defines Delphi5 in zconf.inc
  29. May 7th 1999 - Some changes for FPC
  30. deflateCopy() has new parameters
  31. trees.pas - record constant definition
  32. June 17th 1998 - Applied official 1.1.2 patch.
  33. Memcheck turned off by default.
  34. zutil.pas patch for Delphi 1 memory allocation corrected.
  35. dzlib.txt file added.
  36. compress2() is now exported
  37. June 25th 1998 - fixed a conversion bug: in inftrees.pas, ZFREE(z, v) was
  38. missing in line 574;
  39. File list
  40. =========
  41. Here is a road map to the files in the Paszlib distribution.
  42. readme.txt Introduction, Documentation
  43. dzlib.txt Changes to Delphi sources for Paszlib stream classes
  44. include file
  45. zconf.inc Configuration declarations.
  46. Pascal source code files:
  47. adler.pas compute the Adler-32 checksum of a data stream
  48. crc.pas compute the CRC-32 of a data stream
  49. gzio.pas IO on .gz files
  50. infblock.pas interpret and process block types to last block
  51. infcodes.pas process literals and length/distance pairs
  52. inffast.pas process literals and length/distance pairs fast
  53. inftrees.pas generate Huffman trees for efficient decoding
  54. infutil.pas types and macros common to blocks and codes
  55. strutils.pas string utilities
  56. trees.pas output deflated data using Huffman coding
  57. zcompres.pas compress a memory buffer
  58. zdeflate.pas compress data using the deflation algorithm
  59. zinflate.pas zlib interface to inflate modules
  60. zlib.pas zlib data structures. read the comments there!
  61. zuncompr.pas decompress a memory buffer
  62. zutil.pas
  63. minizip/ziputils.pas data structure and IO on .zip file
  64. minizip/unzip.pas
  65. minizip/zip.pas
  66. Test applications
  67. example.pas usage example of the zlib compression library
  68. minigzip.pas simulate gzip using the zlib compression library
  69. minizip/miniunz.pas simulates unzip using the zlib compression library
  70. minizip/minizip.pas simulates zip using the zlib compression library
  71. Legal issues
  72. ============
  73. Copyright (C) 1998,1999,2000 by Jacques Nomssi Nzali
  74. This software is provided 'as-is', without any express or implied
  75. warranty. In no event will the author be held liable for any damages
  76. arising from the use of this software.
  77. Permission is granted to anyone to use this software for any purpose,
  78. including commercial applications, and to alter it and redistribute it
  79. freely, subject to the following restrictions:
  80. 1. The origin of this software must not be misrepresented; you must not
  81. claim that you wrote the original software. If you use this software
  82. in a product, an acknowledgment in the product documentation would be
  83. appreciated but is not required.
  84. 2. Altered source versions must be plainly marked as such, and must not be
  85. misrepresented as being the original software.
  86. 3. This notice may not be removed or altered from any source distribution.
  87. Archive Locations:
  88. ==================
  89. Check the Paszlib home page with links
  90. http://www.tu-chemnitz.de/~nomssi/paszlib.html
  91. The data format used by the zlib library is described by RFCs (Request for
  92. Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt
  93. (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
  94. These documents are also available in other formats from
  95. ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
  96. ____________________________________________________________________________
  97. Jacques Nomssi Nzali <mailto:nomssi@physik.tu-chemnitz.de> March 24th, 2000