[Not yet finished implementation of reading and writing the USTAR format. bjorn@bringert.net**20070114000419] [First working version. bjorn@bringert.net**20070114121131] [Added Main.hs bjorn@bringert.net**20070114122256] [Added .cabal file and LICENSE. bjorn@bringert.net**20070114124105] [-Wall police. bjorn@bringert.net**20070114124135] [Added functions for creating and extracting TAR archives. bjorn@bringert.net**20070114134449] [Flush output after each entry. bjorn@bringert.net**20070114140925] [htar executable with command-line options. bjorn@bringert.net**20070114172413] [Fixed a number of bugs in tar creation, all resulting from using put instead of putLazyByteString. bjorn@bringert.net**20070114214524] [Added some FIXMEs. bjorn@bringert.net**20070114214848] [Clean up paths when creating archives. bjorn@bringert.net**20070115171449] [Warn instead of failing on unhandled file types. bjorn@bringert.net**20070115171532] [Moved htar command-line utility to a separate package in htar and renamed this package to tar. bjorn@bringert.net**20070115172633] [Don't use the Binary class: it's for serialization, not external formats. bjorn@bringert.net**20070115183113] [-Wall and import police bjorn@bringert.net**20070115183504] [Compile with optimization. bjorn@bringert.net**20070115185627] [Allow extracting individual files. bjorn@bringert.net**20070115194929] [Made build-system work with older Cabal versions. bringert@cs.chalmers.se**20070116155548] [Added recurseDirectories to the library. bringert@cs.chalmers.se**20070116164606] [Added some haddock. bringert@cs.chalmers.se**20070116164641] [Export createTarEntry, extractTarEntry. bringert@cs.chalmers.se**20070116173809] [Fixed bug in TAR writing: 0-byte blocks would be padded to size 512, instead of empty. bringert@cs.chalmers.se**20070116175205] [Use directory recursion in htar. Added -v options to htar. bringert@cs.chalmers.se**20070116175724] [Interpret file type NUL as normal file. bringert@cs.chalmers.se**20070116180857] [Accept empty strings as 0 when reading octal numbers from TAR headers. This is needed for compatibility with non-USTAR formats. Also GNU TAR seems to produce empty strings for the device numbers for normal files. bringert@cs.chalmers.se**20070116181504] [Create parent directories if the are missing. Don't fail if directories already exist. bringert@cs.chalmers.se**20070116183856] [Updated to current version of binary. bjorn@bringert.net**20070127163655] [When looking ahead at the next header, fail if there aren't enough bytes. bjorn@bringert.net**20070127171953] [Towards more laziness. bjorn@bringert.net**20070127175704] [Added writeTarFile and readTarFile. bjorn@bringert.net**20070127211606] [Copy header block to enable GC:ing the input. bjorn@bringert.net**20070127211621] [Better laziness and 64-bit file sizes. bjorn@bringert.net**20070128173949] [Added command-line options for compression to htar. bjorn@bringert.net**20070128194308] [Better help messages in htar. bjorn@bringert.net**20070128194329] [Fixed usage info for -z and -j. bjorn@bringert.net**20070128200100] [Moved keepFiles to htar. bjorn@bringert.net**20070128200128] [Implemented gunzip support in htar. bjorn@bringert.net**20070128200203] [Cleaned up htar listing functions. bjorn@bringert.net**20070128200222] [Fixed license-file path in htar. bjorn@bringert.net**20070128210727] [Split up the module into several smaller ones. bjorn@bringert.net**20070131211900] [More path name clean up on extraction. extractTarEntry now fails for unsupported file types. bjorn@bringert.net**20070131221928] [Use EpochTime instead of clock time. bjorn@bringert.net**20070131224606] [Rename some semi-cryptic TarFileTypes. Added functions for creating TarEntries easily. bjorn@bringert.net**20070131230543] [Also calculate checksums using the buggy Sun signed method. bjorn@bringert.net**20070131234803] [Changed package description. bjorn@bringert.net**20070131235324] [Update to work with the current darcs version of the binary package. Some fixes for better laziness and performance. bjorn@bringert.net**20070217200926] [Versions for all dependencies. bjorn@bringert.net**20070217201101] [Nicer formatting of verbose archive listing. bjorn@bringert.net**20070217211158] [Use ustar as magic and 00 as version when writing tar files. bjorn@bringert.net**20070217211652] [Include setuid, setgid and sticky bit in verbose archive listing. bjorn@bringert.net**20070217214016] [Removed fixed padding FIXME in htar. bjorn@bringert.net**20070217220456] [Moved unfoldM to Util. bjorn@bringert.net**20070217221040] [Explicit imports in Util. bjorn@bringert.net**20070217221203] [A bunch of Haddock comments. bjorn@bringert.net**20070217224257] [Moved some convenience functions to the main module. Added some haddock comments. bjorn@bringert.net**20070217224748] [Added more Haddock comments. bjorn@bringert.net**20070217225308] [Removed TarContiguous and renamed TarCustom to TarOther. bjorn@bringert.net**20070217225708 '7', contiguous doesn't quite seem to be standard, and we probably won't support it anyway, so there's no reason to have a special constructor for it. It can be handled fine by TarOther. ] [Implement path name splitting. bjorn@bringert.net**20070218111851] [Document file path format in TarHeader. bjorn@bringert.net**20070218111909] [Show link targets in htar verbose listing. bjorn@bringert.net**20070218113648] [Fixed --help description typo. bjorn@bringert.net**20070218113750] [Always read 0 bytes content for non-files. bjorn@bringert.net**20070218115810 I have seen hints that some platforms may set the size to non-zero values for directories. ] [Use FileMode, UserID and GroupID instead of CMode, Int and Int. bjorn@bringert.net**20070218121258] [Added Codec.Archive.Tar.Files, a POSIX compatibility layer. Many of the operations are still unimplemented. bjorn@bringert.net**20070218170815] [Indentation only. bjorn@bringert.net**20070218170950] [Portable implementation of setFileMode. bjorn@bringert.net**20070218171908] [Portable (null) implementation of setFileCreationMask. bjorn@bringert.net**20070218172441] [setFileSize does not require fdToHandle. bjorn@bringert.net**20070218175639] [Portable null implementations of owner/group functions. bjorn@bringert.net**20070218175954] [Moved POSIX compatibility stuff to the unix-compat package. bjorn@bringert.net**20070218181500] [Use the unix-compat package to get and set file properties. bjorn@bringert.net**20070218205613] [Warn instead of failing when setFileMode or setOwnerAndGroup fails. bjorn@bringert.net**20070218210744] [Set major and minor numbers when extracting device files. bjorn@bringert.net**20070218215038] [Removed unused functions for building TarEntry values. bjorn@bringert.net**20070218215149] [Cleaned up ByteString imports. bjorn@bringert.net**20070218215243] [Comment out setOwnerAndGroup for now, since it doesn't work for non-root users and generates lots of warnings when run. bjorn@bringert.net**20070218221046] [Fixed Setup.lhs to remove hooks stuff. bjorn@bringert.net**20071005125606] [y bjorn@bringert.net**20071005130101] [Remove unused import Duncan Coutts **20071017185449] [Use configurations to allow building with ghc-6.4, ghc-6.6 ghc-6.8 Duncan Coutts **20071017185507]