Commit Graph
66 Commits
Author SHA1 Message Date
ari 343a0ae4de ran isort 2020-10-30 14:11:43 -04:00
ari b40d2bf6e5 - fixed tests
- using bytes for strings
2020-10-29 18:02:12 -04:00
ari ee011a5da0 added support for invalid endstream 2020-10-29 17:55:21 -04:00
ari 4e3b3e10b7 added parsing for object types 2020-10-28 10:07:30 -04:00
ari 78175d3a64 split out xref from parser 2020-10-27 20:12:07 -04:00
ari 5af06a3f1e fixed up tests 2020-10-27 12:30:43 -04:00
ari 4653b53a6c fixed stream parsing 2020-10-27 12:26:56 -04:00
ari 3d39bd575f converted parser to functional
fixed a bufsize issue on the lexer
2020-10-27 09:46:51 -04:00
ari 087c1c2fe9 using a more functional approach for lexer 2020-10-26 17:55:55 -04:00
ari e2a92517cd working xref db 2020-10-23 22:17:50 -04:00
ari 754e248aac removed oldpdfmajor and ran linters 2020-10-21 17:48:14 -04:00
ari b1edcbe51d added reverse line reader 2020-10-21 17:02:53 -04:00
ari 39501b174b correct test port 2020-10-20 20:20:33 -04:00
ari f587a4389f - reorginized repo 2020-10-20 19:37:14 -04:00
ari 4d1e0f2389 - removed old tests
- ported all custom filters and using python std implemetation for ascii and bin filters
2020-10-20 19:24:15 -04:00
ari 77b3754ff4 initial support for streams 2020-10-19 20:11:21 -04:00
ari 07244aaf11 new attempt for parser
- now support clear indirect objects
2020-10-19 15:00:31 -04:00
ari 6e7c1f3888 ensuring comments do not break parsing 2020-10-18 13:17:07 -04:00
ari cc0f802a10 l1 emits TokenKeyword
removed need to Object Keyword which made no sense to have
2020-10-18 13:01:09 -04:00
ari 43ed8b4019 working prototype for l2 2020-10-18 11:48:19 -04:00
ari c7d618284b got rid of the parse context in favour of a contextual trait 2020-10-17 23:53:43 -04:00
ari 3fec7a1747 undoing lexing of obj and stream 2020-10-17 23:45:31 -04:00
ari 3a5f8f44a3 added indirect Objects and stream tokens 2020-10-17 22:52:33 -04:00
ari 0f147bb66a added another complex testcase for parsing 2020-10-17 22:24:14 -04:00
ari 4f8bcf1fff - using a common generic type for PDFObject as oppose to Union (needed a common data contract)
- parsing arrays
2020-10-17 22:11:51 -04:00
ari 71a37477ae added name wrapper 2020-10-17 21:48:34 -04:00
ari 01ace1c57d succesful dictionary parsing 2020-10-17 21:41:33 -04:00
ari 4e1f45e205 added Null token 2020-10-17 20:14:03 -04:00
ari da936e6a48 renamed decimal to real 2020-10-17 18:13:10 -04:00
ari 472942867b complete lexer 2020-10-17 17:31:11 -04:00
ari 24b9c99ea1 adjusted tests for streambuffer 2020-10-17 15:56:26 -04:00
ari fa9e936f4a renamed safebufiterator to streambuffer 2020-10-17 15:55:23 -04:00
ari a03857d0f7 - clean up
- renamed safebuf to streambuf
- added arrays
2020-10-17 15:54:39 -04:00
ari c752346638 moved num parsing 2020-10-16 17:07:40 -04:00
ari 0eb5e4b8fc implement dd bracket 2020-10-16 16:55:54 -04:00
ari 370a1b40a1 moved string parsing to new method 2020-10-16 16:31:02 -04:00
ari faaf7925bf using new approach for lexing 2020-10-16 16:10:10 -04:00
ari 28110c9a0e number tests pass 2020-10-14 21:56:33 -04:00
ari af927e86ec string tokenizer works 2020-10-14 21:53:27 -04:00
ari 4a6b0608a0 strict hex format 2020-10-14 21:29:46 -04:00
ari 5f19f71c4d fixed up literal parsing in global tokenizer 2020-10-14 11:03:01 -04:00
ari 96d68cdf68 added string tokenizer 2020-10-14 08:32:34 -04:00
ari ab657deda4 working literal parser
first mock of main tokenizer
2020-10-13 20:52:23 -04:00
ari a0cc862804 changed layout + literal tokens 2020-10-13 16:41:41 -04:00
ari 460d213700 initial tokenizer 2020-10-13 10:13:20 -04:00
ari 5b9bbcacbf modernize stack with makefile 2020-10-12 18:42:00 -04:00
ari cdcd2eabe2 ensured tests are passing 2019-12-19 21:58:44 -05:00
ari 152d3aaf55 v1.3.12 2019-12-11 22:16:28 -05:00
ari a29d465ea4 added support for ignore bad char flag
- updated unit tests to include
- using the textstate.to_unichr abstraction
2019-12-08 14:44:46 -05:00
ari 989de3122e corrected gitignore to not ignore lorem-v5.pdf 2019-08-18 17:59:14 -04:00