Permalink
Commits on Jan 5, 2009
  1. Version bump to 0.1.1.3

    jgm@berkeley.edu committed Jan 5, 2009
  2. Removed note in LICENSE about Data.Hash.CRC32.GZip, which is no longe…

    …r present.
    jgm@berkeley.edu committed Jan 5, 2009
  3. Use -O2 to build the library.

    jgm@berkeley.edu committed Jan 5, 2009
Commits on Jan 4, 2009
  1. Performance improvements due to Eugene Kirpichov.

    + getFileHeader now returns a Data.Map structure instead of a
      list [(Word32,ByteString)].
    + The inefficient CRC32 computation has been replaced by an
      efficient one from Kirpichov's new 'digest' package.
    + Removed Data.Hash.CRC32.GZip
    + Version bump to 0.1.1.2.
    jgm@berkeley.edu committed Jan 4, 2009
Commits on Oct 19, 2008
  1. Version bump to 0.1.1.1

    jgm@berkeley.edu committed Oct 19, 2008
  2. Correctly handle drive in absolute paths.

    Patch to zipifyFilePath from JP Moresmau.
    Previously, when creating a zip file using absolute paths, a slash was
    inserted between the drive (c:\) and the first directory. So other tools
    could not open the generated file.
    jgm@berkeley.edu committed Oct 19, 2008
Commits on Sep 10, 2008
  1. Added >= 0.3.1 to utf8-string dependency in zip-archive.cabal

    jgm@berkeley.edu committed Sep 10, 2008
Commits on Sep 3, 2008
  1. bump version to 0.1

    jgm@berkeley.edu committed Sep 3, 2008
  2. Improved haddock docs.

    jgm@berkeley.edu committed Sep 3, 2008
  3. Major refactoring and simplification of API

    + Shorter names:  ZipArchive -> Archive, ZipEntry -> Entry
    + Compress/decompress functions are no longer exposed;
      they shouldn't be needed since toEntry and fromEntry
      handle compression and decompression
    + Added toEntry, which creates an entry with a specificed
      path, timestamp, and contents
    + Simplified readEntry (using toEntry), added verbose options
    + Modified writeEntry to handle directories correctly; added
      verbose options
    + Simplified addFilesToArchive using the new readEntry
    + Simplified extractFilesFromArchive using the new writeEntry
    + Modified Tests.hs and Zip.hs accordingly
    jgm@berkeley.edu committed Sep 3, 2008
Commits on Sep 2, 2008
  1. Changed contentsOfZipEntry to fromZipEntry

    Also, return a bytestring rather than an Either,
    and raise an exception if CRC32 mismatch.
    jgm@berkeley.edu committed Sep 2, 2008
  2. Removed defaultZipEntry

    jgm@berkeley.edu committed Sep 2, 2008
Commits on Aug 27, 2008
  1. Modified testsuite: no time conversion tests.

    Define Eq for ZipArchive so that two epoch times that convert to the
    same MSDOS datetime are regarded as equal.
    jgm@berkeley.edu committed Aug 27, 2008
  2. Don't derive Eq for ZipArchive.

    jgm@berkeley.edu committed Aug 27, 2008
  3. Store timestamp as epoch time rather than MSDOS datetime.

    Don't expose MSDOS datetime conversion functions in API.
    jgm@berkeley.edu committed Aug 27, 2008
Commits on Aug 26, 2008
  1. Don't include "." directory as a separate entry.

    jgm@berkeley.edu committed Aug 26, 2008
  2. Only use compression if it reduces size.

    jgm@berkeley.edu committed Aug 26, 2008
  3. Changed ZipOptions -> ZipOption.

    jgm@berkeley.edu committed Aug 26, 2008
  4. Minor haddock changes.

    jgm@berkeley.edu committed Aug 26, 2008
  5. Initial commit.

    jgm@berkeley.edu committed Aug 26, 2008