Commit Graph

26 Commits

Author SHA1 Message Date
Philipp Balzarek
a0fd5d6c6a Delete trailing white spaces 2019-04-17 10:43:22 +02:00
Philipp Balzarek
e61bc7b897 Disable compression for known 0-byte files 2019-04-17 10:43:17 +02:00
raichoo
e0f51b0c90 fix space leak
There was a space leak when copmuting the CRC for the file. This
basically retained file data so streaming did not happen in constant
memory anymore.
2018-10-18 15:33:53 +02:00
Dylan Simon
d540ec853e Expose external attributes on zipping only
For #6 -- based on patch by @utdemir
2018-04-24 13:49:12 -04:00
Dylan Simon
33d3a06b35 Allow filenames to be stored as utf8 text
Fixes #3
2018-04-24 13:48:32 -04:00
Dylan Simon
1646cfe755 base 4.10 compatibility (Semigroup)
Tested on lts-8 through pre-12 (nightly)
2018-03-21 12:40:33 -04:00
Dylan Simon
f729f05ff5 conduit 1.3 compatibility
Tested on stack lts-9 through lts-11
2018-03-21 12:31:57 -04:00
Dylan Simon
075bfdad8f Cleanup warnings and bump lts resolver 2017-10-17 15:39:01 -04:00
Gregor Kleen
f6a40e6d21 Fix endianness 2017-10-17 15:44:08 +02:00
Gregor Kleen
f1e610d48f Interpret version field according to spec 2017-10-17 14:16:07 +02:00
Dylan Simon
47f13c3f3d Compatibility with ghc 7.10, at least for library
Disable executables for now
2017-05-15 15:53:53 -04:00
Dylan Simon
b03b2c6eec Minor reorgs and documentation updates 2017-05-13 19:51:18 -04:00
Dylan Simon
76c095ce7c Fix and enable unzipping deflated stream data
man, inputSize, huh?  fuseLeftovers isn't quite good enough.
2017-05-13 19:29:27 -04:00
Dylan Simon
bc87aafdd6 Minor fixes and additional documentation 2017-05-13 12:39:00 -04:00
Dylan Simon
a7acdf1a16 Add zip-stream command, fixes based on testing 2017-05-13 11:54:56 -04:00
Dylan Simon
ad6413d9b7 Complete zipStream, untested 2017-05-13 00:41:41 -04:00
Dylan Simon
c460089d1a Start zipStream implementation
Only local headers and data so far; no central directory yet
2017-05-12 17:17:35 -04:00
Dylan Simon
49f413a492 Minor reorganization in prep for zipping 2017-05-11 21:38:16 -04:00
Dylan Simon
2c87f62e2b Add command-line unzipper (mainly to test with) 2017-05-11 21:20:15 -04:00
Dylan Simon
9a6b39ce11 Add support for compressed stream data 2017-05-11 19:58:08 -04:00
Dylan Simon
bbc25f9766 Documentation fixes 2017-05-11 16:16:09 -04:00
Dylan Simon
fed591ecfb Generalize beyond IO monad 2017-05-11 16:04:34 -04:00
Dylan Simon
05a04383f8 Fix extra field processing loop
So much for untesting, though my own fault for removing getList in the
first place
2017-05-11 15:31:03 -04:00
Dylan Simon
66d0ad3720 Add zip64 support to unzip
Untested, but hey, the last untested stuff worked perfectly
2017-05-11 15:20:54 -04:00
Dylan Simon
c4d405c086 Make sure to read the entire entry contents
Even if decompressor ends early.  Maybe this should be an error?
2017-05-09 23:24:51 -04:00
Dylan Simon
e006ecd336 Streaming unzip conduit, initial version
Untested, still many limitations on zip format
2017-05-09 20:47:49 -04:00