Zip-Ada v.42 released

A few days ago Gautier de Montmollin mentioned that the .42 release of Zip-Ada was in the works, and today it was finally released on the world.

Zip-Ada is a programming library for dealing with the Zip compressed archive file format. The full sources of Zip-Ada are in Ada, compilable on every compiler and for every system. For more details, read the files zipada.txt and zip.ads from the archive below.

New in version .42 is:

  • Support for Zip archives appended to other files, like a self-extracting archive with Zip-Ada in the executable.
  • Support for Unicode UTF-8 entry names within Zip archives.
  • New package Zip.Compress.Deflate, with a first (weak but straightforward) compression technique for the Deflate format

For those of you wondering why one should use this library, instead of simply just using the zlib library, the answer is simple and straightforward: Independence. With Zip-Ada you can zip and unzip data without any OS-dependent external calls, which obviously is a nice thing. You should also, theoretically, get better portability, since you don’t have to worry about the existence of zlib (or similar) on the target platform. Gautier have tested Zip-Ada with several different environments, so there’s a good chance it will work on almost whatever you throw at it.

You can read the full release announcement here.

Support for UTF-8 in Zip-Ada

A few days ago Gautier de Montmollin mentioned that he’d added support for UTF-8 archive entries in version 41 of his Zip-Ada library, and as can be seen from revision 99, he wasn’t kidding around.

The changes in version 41 are:

  • Support for Unicode (UTF-8) entry names within archives; see: Zip, Zip.Create, Zip_Streams
  • Zip_Streams: Made names more consistent, previous names preserved with pragma Obscolescent

There doesn’t appear to be an actual version 41 release announcement (yet), so while we’re waiting for that, why not visit Gautier’s identi.ca stream and subscribe?

Zip-Ada v.40 Released

A few days ago we reported that deflate was coming to Gautier de Montmollin’s Zip-Ada library, and now it’s here:

New package Zip.Compress.Deflate, with a first (weak but straightforward) compression technique for the Deflate format – more to come!

Some of the features of this library is

  • Full sources are in Ada (no binding)
  • Decompression for all Zip formats up to BZip2
  • Compression for all Zip formats up to Deflate
  • Input and output can be any stream (file, buffer,…) for archive creation as well as data extraction
  • Task safe

You can get Zip-Ada here and you can read the full release announcement here.

Deflate is coming to Zip-Ada

I got an email from Gautier de Montmollin with the latest news about what is happening in Zip-Ada:

Here is some new buzz (and real stuff, no vaporware!) if you are interested: I’m preparing a new release of Zip-Ada with (finally!) the standard Deflate format. It’s already working, but I’m still testing it massively before making a real release – seems all OK so far…

Awesome!

The next version should be out soon, but if you can’t wait, you can checkout commit 78 and up where he started work on the deflate implementation.