Commit Graph

31 Commits

Author SHA1 Message Date
Wilson Lin 3c4b71612e Fix text minification 2020-01-18 22:39:33 +11:00
Wilson Lin b88e96e97e Significantly clarify code; handle whitespace minification and tag omission at root 2020-01-18 22:19:06 +11:00
Wilson Lin 3a9877534f Minor code reformatting 2020-01-17 00:07:04 +11:00
Wilson Lin 5b78526230 Handle edge case in attribute value minification 2020-01-17 00:05:48 +11:00
Wilson Lin f8b0bbe3e0 Fix various parsing bugs 2020-01-15 22:09:16 +11:00
Wilson Lin ba3e1917ce Support unquoted attribute values 2020-01-14 20:47:42 +11:00
Wilson Lin 8a92d4281a Remove incorrect comment and unused function 2020-01-14 17:56:13 +11:00
Wilson Lin 0fa6d660e6 Handle malformed entities 2020-01-14 17:55:27 +11:00
Wilson Lin 6a0b60db7d Remove unused code 2020-01-12 22:49:41 +11:00
Wilson Lin 52592997fb Use fastrie 2020-01-12 16:29:41 +11:00
Wilson Lin ba4b3f09f3 Fix typo in error name 2020-01-09 00:49:17 +11:00
Wilson Lin 3c90daa644 Implement closing tag omission 2020-01-06 23:36:05 +11:00
Wilson Lin 886db3ea42 Fix entities decoding to longer sequence 2020-01-06 18:13:24 +11:00
Wilson Lin 058a6954e8 Build faster trie 2020-01-06 00:57:07 +11:00
Wilson Lin 74e6352900 Use faster manual matching for content 2020-01-05 13:28:34 +11:00
Wilson Lin 94eec0d9af Fix whitespace text content and attribute value processing 2020-01-04 17:39:37 +11:00
Wilson Lin 89221927e2 Remove debug code 2020-01-03 17:46:43 +11:00
Wilson Lin 9764f27dda Fix attribute parsing 2020-01-03 17:16:51 +11:00
Wilson Lin 6939ec17a2 Improve pattern matching 2020-01-02 14:14:40 +11:00
Wilson Lin 90fca89160 Update README; expect on debug only 2019-12-30 11:33:49 +11:00
Wilson Lin 2149d20ae5 Generate patterns at compile time; update comment on entities; fix unused code 2019-12-29 21:39:29 +11:00
Wilson Lin 53904f1956 Build entities trie at compile time; support entities without semicolon 2019-12-29 21:00:20 +11:00
Wilson Lin 95be64d868 Fix entity decoding in attribute; create fuzzer project; simplify code 2019-12-28 23:06:04 +11:00
Wilson Lin 530b7d7410 Fix writing UTF-8; update README 2019-12-28 11:16:28 +11:00
Wilson Lin e15381c1cb Handle text script content 2019-12-27 21:52:49 +11:00
Wilson Lin a76c1f3cd5 Fix entity decoding in attribute value; enforce valid Unicode Scalar Value numeric entity refs; update named entities; error messages for CLI; support post-minification empty attributes 2019-12-27 00:23:33 +11:00
Wilson Lin 4ef7574487 Update README; clear old files; fix long lived ranges 2019-12-26 17:16:13 +11:00
Wilson Lin 4ddcb36e42 Faster non-sequence matching; improved attribute value minification 2019-12-26 16:17:57 +11:00
Wilson Lin da796a5839 Refactoring; fix whitespace minification in content 2019-12-26 13:47:18 +11:00
Wilson Lin 85a388d7c8 Develop basic CLI and get working 2019-12-25 23:29:18 +11:00
Wilson Lin 806560dd94 Complete initial migration to Rust 2019-12-25 20:44:51 +11:00