Commit Graph

18 Commits

Author SHA1 Message Date
Tissevert 11cb6504d7 Go strict ByteStrings with attoparsec 2019-05-24 10:48:09 +02:00
Tissevert 0daa03d958 Remove commented out dead code 2019-05-21 09:07:37 +02:00
Tissevert b60f337cc4 First useable version 2019-05-18 11:09:03 +02:00
Tissevert 2c165daaa7 Finally opt for uppercase Hufflepdf and rename cabal package 2019-05-18 09:49:31 +02:00
Tissevert 5614a25048 Generate valid PDF 2019-05-18 09:01:13 +02:00
Tissevert 0336baa687 Fix output implementation with dynamic XRefs 2019-05-17 16:14:06 +02:00
Tissevert e23618da68 Implement output 2019-05-16 22:41:14 +02:00
Tissevert 088637b2c0 Compat stuff for Monoid / Semigroup 2019-05-16 21:40:19 +02:00
Tissevert 96190a8ca4 Forgot to add changes to cabal file 2019-05-16 17:06:14 +02:00
Tissevert 645466024a Starting to implement output with String builder 2019-05-16 17:04:45 +02:00
Tissevert 9b2f890227 Boyer-Moore is canceled, implement the rest of parsing with naive search 2019-05-16 11:01:50 +02:00
Tissevert fc41f815a3 Broken state : trying to implement Boyer-Moore for fast-forwarding to the end of a section 2019-05-15 19:13:35 +02:00
Tissevert 379a821550 Fix bugs preventing the objects from loading 2019-05-15 15:03:55 +02:00
Tissevert 44508a204c Reuse Parser type in PDF.Body (and generalize the type of the comment parser) 2019-05-15 09:04:17 +02:00
Tissevert 91292d6401 Implement retrieving objects in the body of the document and use it to populate the structure previously parsed 2019-05-14 18:42:11 +02:00
Tissevert 8043f84da8 Cut PDF module in two, implement basic parsing up to reading XRef table 2019-05-13 18:22:05 +02:00
Tissevert 6eacb55fc4 Fix bug preventing startXref to be found for files with a single byte EOL encoding 2019-05-13 11:34:15 +02:00
Tissevert c036334b6f Prototype successfully parsing (only last) startxref 2019-05-13 08:05:28 +02:00