Commit graph

369 commits

Author SHA1 Message Date
Alexander Koval
1e935672bd Replace system attribute by enum 2016-04-23 13:12:28 +03:00
Alexander Koval
a16962cd2c Support for external file attributes 2016-04-23 10:31:54 +03:00
Mathijs van de Nes
d95c925ac2 Let ZipWriter::finish be called without consuming
Resolves #10
2016-02-22 19:54:18 +01:00
Mathijs van de Nes
aaa49eb4f1 Update to new bzip2 2016-02-22 19:46:07 +01:00
Mathijs van de Nes
64a67162ab Fix incorrect CRC on large files
The deflate writer did not always accept all data. The extra bytes did end up in the crc
calculation, so they where accounted for twice.

Resolves #8
2015-12-06 11:01:51 +01:00
Alexander Bulaev
2addfa8b81 Made bzip2 compression method optional 2015-10-05 20:01:41 +03:00
Mathijs van de Nes
0e274281dd Use external crate to convert an MsDos datetime 2015-07-20 16:08:33 +02:00
Mathijs van de Nes
e4576353f7 Accept both String and &str in start_file 2015-05-25 09:46:08 +02:00
Mathijs van de Nes
c05e8a5f04 Do not use unsafe_destructor 2015-04-03 14:55:49 +02:00
Mathijs van de Nes
80fd4b6dcf Update to new (io::)Error 2015-04-02 20:50:50 +02:00
Mathijs van de Nes
aa8acab465 Do not switch compression if not needed 2015-03-17 17:22:30 +01:00
Mathijs van de Nes
0339ed2742 Move the pattern matching of genericzipwriter 2015-03-17 17:06:32 +01:00
Mathijs van de Nes
11fa463cb4 Do not close the zip on flush
Instead, only flush the underlying buffer
2015-03-17 16:55:22 +01:00
Mathijs van de Nes
c4cf221f70 Save the unsupported value of CompressionMethod 2015-03-16 10:47:16 +01:00
Mathijs van de Nes
132530cb41 Remove some as_slice calls 2015-03-16 10:15:46 +01:00
Mathijs van de Nes
aa4e395ec9 Use external crate for extra read/write methods 2015-03-09 11:55:19 +01:00
Mathijs van de Nes
8ee78c5314 Removed last remnants of old_io 2015-03-03 19:28:58 +01:00
Mathijs van de Nes
b16da11570 Small updates to write module 2015-03-01 11:53:26 +01:00
Mathijs van de Nes
d9b83af57c Large refactoring, mostly of the reader
- Combined reader and reader_spec into read
- Alter the iteration protocol for a zip archive
- Modify some names
2015-03-01 11:32:40 +01:00
Renamed from src/writer.rs (Browse further)