Permalink
Commits on Dec 31, 2009
  1. Bumped version to 0.1.1.5

    jgm@berkeley.edu
    jgm@berkeley.edu committed Dec 31, 2009
  2. Fixed warnings uncovered by GHC 6.12.

    jgm@berkeley.edu
    jgm@berkeley.edu committed Dec 31, 2009
Commits on Oct 20, 2009
  1. Added explicit upper bound for base version

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 20, 2009
  2. Removed -O2 option

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 20, 2009
  3. Version bump in Zip executable

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 20, 2009
  4. Version bump to 0.1.1.4

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 20, 2009
  5. Handle data descriptor record

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 20, 2009
    OpenOffice-created zip archives sometimes use the "data descriptor record"
    to store checksums and lengths.  getLocalFile now checks the general purpose
    bit flags to see if there is a data descriptor record; if there is, it
    ignores the compressed size field and instead reads data until the data
    descriptor record is encountered.
    
    This patch should fix problems reading ODS and other OpenOffice created
    zip archives.  Thanks to Joel Lehtone for calling the problem to my attention.
Commits on Jan 5, 2009
  1. Version bump to 0.1.1.3

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

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

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

    jgm@berkeley.edu
    jgm@berkeley.edu committed Jan 4, 2009
    + 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.
Commits on Oct 19, 2008
  1. Version bump to 0.1.1.1

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

    jgm@berkeley.edu
    jgm@berkeley.edu committed Oct 19, 2008
    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.
Commits on Sep 10, 2008
  1. Added >= 0.3.1 to utf8-string dependency in zip-archive.cabal

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

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

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

    jgm@berkeley.edu
    jgm@berkeley.edu committed Sep 3, 2008
    + 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
Commits on Sep 2, 2008
  1. Changed contentsOfZipEntry to fromZipEntry

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

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

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

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

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

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

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

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

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

    jgm@berkeley.edu
    jgm@berkeley.edu committed Aug 26, 2008