Zip-Ada / News: Recent posts

Version 52

Changes in '52', 08-Oct-2016:
- UnZip.Streams: all procedures have an additional (optional)
Ignore_Directory parameter.
- Zip.Compress has the following new methods with improved compression:
LZMA_3, Preselection_1 (replaces Preselection), Preselection_2.
Preselection methods use now entry name extension and size for
improving compression, while remaining 1-pass methods.

Posted by Gautier de Montmollin 2016-10-07

Version 51

Changes in '51', 27-Aug-2016:
- LZMA.Encoding has been added; it is a standalone compressor,
see lzma_enc.adb for an example of use.
- Zip.Compress provides now LZMA_1, LZMA_2 methods. In other words, you
can use the LZMA compression with Zip.Create.
- Zip.Compress has also a "Preselection" method that selects
a compression method depending on hints like the uncompressed size.
- Zip.Compress.Deflate: Deflate_1 .. Deflate_3 compression is
slightly better.

Posted by Gautier de Montmollin 2016-08-27

LZMA compression

  • LZMA.Encoding: started July 28th, first working version August 16th (revision 457).
  • Zip-Ada's Zip.Compress makes use of LZMA encoding since revision 459.

More details here.

Posted by Gautier de Montmollin 2016-08-18

Version 50 - some technical details

Posted by Gautier de Montmollin 2016-04-13

Version 50 - binary distribution for Windows

Available from now here: http://sourceforge.net/projects/unzip-ada/files/zipada50-bin-win32.zip/download
To access it from the project page, click on "Browse All Files".

Posted by Gautier de Montmollin 2016-04-13

Version 50

In a nutshell, there are now, finally, fast and efficient compression methods available.

  • Changes in '50', 31-Mar-2016:
  • Zip.Compress.Shrink is slightly faster
  • Zip.Compress.Deflate has new compression features:
    • Deflate_Fixed is much faster, with slightly better compression
    • Deflate_1 was added: strength similar to zlib, level 6
    • Deflate_2 was added: strength similar to zlib, level 9
    • Deflate_3 was added: strength similar to 7-Zip, method=deflate, level 5
Posted by Gautier de Montmollin 2016-03-31

Version 50, preview 3

  • Zip.Compress.Deflate: first variant with 'dynamic' compression working
Posted by Gautier de Montmollin 2016-02-05

Version 49

Encryption implemented (portable Zip 2.0 encryption scheme)

Posted by Gautier de Montmollin 2015-03-21

Version 49 preview 1

Under test: encryption (the Zip 2.0 flavor).
Feedback is welcome!

Posted by Gautier de Montmollin 2015-03-05

Version 47 released

LZMA method has been added for decompression

Posted by Gautier de Montmollin 2014-06-29

Version 38 released

  • Changes in '38', 27-Feb-2010:
  • ReZip: added '-fast_dec' and '-rand_stable' options
  • Zip.Create: fixed major bottlenecks around Dir_entries
    -> 5x faster overall for 1000 files, 356x for 100'000 files !
Posted by Gautier de Montmollin 2010-02-27

Version 37 released

  • Changes in '37', 1-Jan-2010:
  • Minor changes which leads to a significant speedup on GNAT;
    active use of Ada.Calendar can be totally avoided if this is desired

  • Changes in '36', 21-Nov-2009:

  • BZip2 method added for decompression
  • Added Zip.Traverse_verbose
  • Added an UnZip.Extract to extract all files, using a Zip_Info variable

  • Changes in '35', 2-Nov-2009:

  • major performance improvement:
    decompression 10x faster, compression 3x faster (figures for GNAT),
    thanks to a workaround for slow 'Read, 'Write attributes
    in GNAT & ObjectAda
  • ReZip: HTML display improved
Posted by Gautier de Montmollin 2010-02-11

Version 36 released

  • Changes in '36', 21-Nov-2009:
  • BZip2 method added for decompression
  • Added Zip.Traverse_verbose
  • Added an UnZip.Extract to extract all files, using a Zip_Info variable

  • Changes in '35', 2-Nov-2009:

  • major performance improvement:
    decompression 10x faster, compression 3x faster (figures for GNAT),
    thanks to a workaround for slow 'Read, 'Write attributes
    in GNAT & ObjectAda
  • ReZip: HTML display improved... read more
Posted by Gautier de Montmollin 2009-11-21

Version 33 released

  • Changes in '33', 18-Jun-2009:
  • UnZip: added extract_as_text option (cf. UnZipAda with -a option)
  • Zip: Zip_comment function added (cf. UnZipAda with -z option)

Zip-Ada is now used in the Scala musical freeware ( http://www.huygens-fokker.org/scala/ )

Posted by Gautier de Montmollin 2009-06-22

Version 31 released

Latest changes (-!- marks an improvement which brings an incompatibility):

  • Changes in '31', 20-Feb-2009:
  • Added tiny demos: Demo_Zip, Demo_UnZip
    -!- Zip.Create: Create / Finish: if Info.Stream is to a file,
    the underlying archive file is also created / closed as well
  • Added procedure Add_String in Zip.Create
Posted by Gautier de Montmollin 2009-02-23

Version 30 released

  • Changes in '30', 7-Feb-2009:
  • Added support for the 64KB-slide "Enhanced deflate" format #9 in UnZip.Decompress
  • Added Find_Zip tool (search through an archive)
  • Added Demo_csv_into_zip demo (production of numerous files into a zip archive)
  • LZ77 output in "Reduce" is cached (compression)
Posted by Gautier de Montmollin 2009-02-07

Version 29 released

  • Changes in '29', 30-Jan-2009:
  • Added Zip.LZ77 and Zip.Compress.Reduce
  • Added an ./extra directory with a tiny LZH encoder/decoder
Posted by Gautier de Montmollin 2009-01-30

Version 28 released

  • Changes in '28', 18-Jan-2009:
  • Fixed bug in UnZip.Decompress, unshrink method, which caused
    truncated decompression for uncompressed sizes more than 512MB
  • Source cleanup with AdaControl 1.10
  • Removed a series of slowdowns and mutually neutralizing bugs
    introduced in v.26, all involving needless uses of
    temporary Stream_Element_Array 's
  • fixed Zip_Streams.Read which read only Item's first element
  • ZipAda uses Zip.Create... read more
Posted by Gautier de Montmollin 2009-01-18

Version 27 released

  • Changes in '27', 10-Jan-2009:
  • UnZip.Extract that used (in v.26) a temporary memory input
    stream (memory hog!) use now a file stream
  • fixed: Zip.Headers.Load for End_of_Central_Dir never
    raised Bad_End even when it had to
  • fixed: Zip.Find_offset:470 Natural, was Positive (bug in v.26)

  • Changes in '26', 30-Aug-2008:

  • zip archive can be any kind of stream (not only a file), for both
    extraction (unzip) and creation (zip)... read more
Posted by Gautier de Montmollin 2009-01-10

Version 25 released

  • Changes in '25', 1-May-2008:
  • some improvements in the demo-tools, no change in the library
Posted by Gautier de Montmollin 2008-05-01

Version 24 released

Latest changes

  • Changes in '24', 27-Mar-2008:
  • Added optional case-sensitivity to UnZip.Streams.Open(...)
  • Replaced loop in UnZip.Streams.Read by slice copies
  • UnZip.Streams.Read doesn't raise End_Error anymore (it's T'Read's job)
    -> Read is conform to the Ada 2005 standard RM 13.13.1/.2
  • Zip: exception with message
Posted by Gautier de Montmollin 2008-04-04

Version 23 released

Latest changes

  • Changes in '23', 11-Jan-2008:
  • Added a new tool, ReZip: recompression using several zippers
  • Cleanup; buffer-reading up to an eventual end-of-file is simplified, now in a new Zip.ReadBlock
Posted by Gautier de Montmollin 2008-01-11

Version 22 released

  • Changes in '22', 14-Dec-2007:
  • Added a new Compose_File_Name to UnZip.File_System_Routines
    see new "-d dir" option in the UnZipAda tool
  • Added Zip.Compress, Zip.Compress.Shrink
    see the ZipAda tool, which has now the light "Shrink" compression
Posted by Gautier de Montmollin 2007-12-14

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks