Commit graph

29 commits

Author SHA1 Message Date
Mathijs van de Nes
726f8133f5 Do not use step_by 2015-04-03 14:56:00 +02:00
Mathijs van de Nes
c185c0cd38 Replace usage of range{,_step}_inclusive 2015-03-31 09:54:09 +02: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
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
Mathijs van de Nes
bb89f577c5 Convert reader to new IO 2015-02-24 16:02:16 +01:00
Mathijs van de Nes
69b38b3ce5 Update Write for spec 2015-02-24 14:37:46 +01:00
Mathijs van de Nes
fc20f9a20c write -> write_all 2015-01-29 11:01:57 +01:00
Mathijs van de Nes
078ba7eda0 io -> old_io 2015-01-29 11:00:30 +01:00
Mathijs van de Nes
70532d7b48 Fixed int/uint, and use as much stable as possible 2015-01-10 15:52:05 +01:00
Mathijs van de Nes
ccdba3efc0 Namespaced enums fix 2014-11-19 18:43:07 +01:00
Mathijs van de Nes
2163db4b25 Added ZipResult/ZipError 2014-11-08 21:55:15 +01:00
Mathijs van de Nes
91cbe91d62 Split spec in reader/writer/general 2014-09-17 15:01:22 +02:00
Mathijs van de Nes
0cd915f185 Split compression from types and pub use ZipFile 2014-09-15 21:33:58 +02:00
Mathijs van de Nes
8921d3b5c2 Added support for extra field and utf-8 filenames 2014-09-14 21:55:02 +02:00
Mathijs van de Nes
723e8b0b12 Initial file name/comment encoding support 2014-09-14 17:25:40 +02:00
Mathijs van de Nes
453c6a8ce1 Set made-by to a value with an upper byte of 0
With the old value, unzip would set all permissions to 000
2014-09-11 14:06:22 +02:00
Mathijs van de Nes
ac9301f7d9 Implemented a basic ZipWriter 2014-09-11 10:42:18 +02:00
Mathijs van de Nes
02361b5dd5 Correctly interpret the first field of the footer 2014-09-11 09:32:47 +02:00
Mathijs van de Nes
08dbe1c3fc Starting implementation of a Writer 2014-09-10 22:34:30 +02:00
Mathijs van de Nes
7df03b54f9 Removed some unneeded structs and simplified parse 2014-09-10 17:27:24 +02:00
Mathijs van de Nes
916dc6c6e5 Remove Data Descriptor 2014-09-10 16:34:40 +02:00
Mathijs van de Nes
33efdcc539 More elegant way of enforcing single reads 2014-09-10 15:35:01 +02:00
Mathijs van de Nes
bb4f56346a Fixed borrowing issue in extract 2014-09-10 09:53:32 +02:00
Mathijs van de Nes
b6a0de8b3c Simple ZIPs can be extracted! 2014-09-09 15:56:15 +02:00
Mathijs van de Nes
3668fa5e33 Implemented a simple filename reader 2014-09-09 13:00:18 +02:00
Mathijs van de Nes
181993afd1 Made finding of central directory possible 2014-09-09 08:08:33 +00:00
Mathijs van de Nes
1cbc1e9e6a Lots of additions 2014-09-08 20:14:22 +00:00
Mathijs van de Nes
70c82e411f Initial work on parsing Zip file header 2014-09-07 15:15:30 +00:00