Commit Graph

344 Commits

Author SHA1 Message Date
Wilson Lin 8553b09eb3 Fix handling of <script> and <style>; do not minify JS and CSS code 2020-01-10 00:12:21 +11:00
Wilson Lin 53199880f5 Increase Rust bench iterations 2020-01-09 22:42:33 +11:00
Wilson Lin 68c43ab486 Also bench hyperbuild Rust; improve graphs; remove default values for html-minifier config 2020-01-09 22:40:04 +11:00
Wilson Lin 1cb9bf9817 Improve closing tag minification; update bench results 2020-01-09 20:45:14 +11:00
Wilson Lin 82a2e6e983 Update bench tests and results 2020-01-09 01:00:05 +11:00
Wilson Lin 8b4ec884b6 Handle ++/-- better 2020-01-09 00:57:14 +11:00
Wilson Lin ba4b3f09f3 Fix typo in error name 2020-01-09 00:49:17 +11:00
Wilson Lin 204bd950a4 Improve handling of JS 2020-01-09 00:42:03 +11:00
Wilson Lin 407acf01a6 Improve parsing attributes reliability 2020-01-09 00:34:59 +11:00
Wilson Lin a9eab38d88 Ensure JS RegExp does not contain line terminators 2020-01-09 00:34:35 +11:00
Wilson Lin da830939d7 Handle processing instructions 2020-01-08 23:00:23 +11:00
Wilson Lin 11adb24f00 Refactor JS parsing 2020-01-08 22:34:04 +11:00
Wilson Lin 3744e13a4d Attempt to handle RegExp literals in JS 2020-01-08 22:19:16 +11:00
Wilson Lin bb42be10c8 Update bench tests 2020-01-08 12:35:39 +11:00
Wilson Lin 55a24aeef2 Remove development section from README 2020-01-08 11:52:33 +11:00
Wilson Lin ce4e26ef5c Fix README title level 2020-01-08 11:51:34 +11:00
Wilson Lin 9768844e7a Update bench results 2020-01-08 11:47:03 +11:00
Wilson Lin a9bb4c924f Minify JS/CSS comments; faster removal of boolean attr values; sorted generated JSON objects 2020-01-08 11:40:06 +11:00
Wilson Lin 9a9b543b26 Remove boolean attribute values 2020-01-08 00:38:42 +11:00
Wilson Lin 94071a8302 0.0.11 2020-01-07 21:03:06 +11:00
Wilson Lin c020a5427c Update bench results 2020-01-07 21:01:19 +11:00
Wilson Lin e63f8734b4 More minification 2020-01-07 20:56:37 +11:00
Wilson Lin bab73243d7 Erase JS MIME types 2020-01-07 00:28:35 +11:00
Wilson Lin 3c90daa644 Implement closing tag omission 2020-01-06 23:36:05 +11:00
Wilson Lin 3ecfe2b41f Fix discarding significant characters 2020-01-06 19:53:46 +11:00
Wilson Lin 0edea36920 Minor reformatting of build script 2020-01-06 19:29:00 +11:00
Wilson Lin 367c3114c0 More descriptive Node.js install 2020-01-06 18:58:41 +11:00
Wilson Lin 73545de0cb Improve build script 2020-01-06 18:54:46 +11:00
Wilson Lin 5776c5a1f5 0.0.10 2020-01-06 18:29:08 +11:00
Wilson Lin 11017c7fcd Use general trie leaf node 2020-01-06 18:28:01 +11:00
Wilson Lin 886db3ea42 Fix entities decoding to longer sequence 2020-01-06 18:13:24 +11:00
Wilson Lin ec3838c228 Update graph 2020-01-06 01:02:41 +11:00
Wilson Lin 058a6954e8 Build faster trie 2020-01-06 00:57:07 +11:00
Wilson Lin ac36db45f7 Improve graphs 2020-01-05 15:18:53 +11:00
Wilson Lin 9ee904fdc0 Simplify Node.js API 2020-01-05 14:10:21 +11:00
Wilson Lin 89567988cf Clear up wording 2020-01-05 14:07:31 +11:00
Wilson Lin 7162cc2ca0 Update graphs 2020-01-05 14:00:32 +11:00
Wilson Lin 45843408e7 0.0.9 2020-01-05 13:56:52 +11:00
Wilson Lin 5e05cbcff8 Improve Node.js install script 2020-01-05 13:55:20 +11:00
Wilson Lin 74e6352900 Use faster manual matching for content 2020-01-05 13:28:34 +11:00
Wilson Lin bfd5f65ba1 0.0.8 2020-01-04 17:52:12 +11:00
Wilson Lin 9695d6a990 Fix empty attribute processing 2020-01-04 17:50:39 +11:00
Wilson Lin 94eec0d9af Fix whitespace text content and attribute value processing 2020-01-04 17:39:37 +11:00
Wilson Lin 0d9de94487 Reformat bench tests 2020-01-03 18:46:04 +11:00
Wilson Lin 7e91577e57 Format bench tests 2020-01-03 18:19:32 +11:00
Wilson Lin 102236e84e Push after versioning 2020-01-03 17:49:34 +11:00
Wilson Lin 528b4f6909 0.0.7 2020-01-03 17:48:16 +11:00
Wilson Lin 7e90b5f61b Improve versioning script 2020-01-03 17:48:02 +11:00
Wilson Lin 89221927e2 Remove debug code 2020-01-03 17:46:43 +11:00
Wilson Lin 0e91771a37 Improve versioning script 2020-01-03 17:45:28 +11:00
Wilson Lin 9764f27dda Fix attribute parsing 2020-01-03 17:16:51 +11:00
Wilson Lin 05b6c20861 Fix attribute processing 2020-01-03 16:57:32 +11:00
Wilson Lin d663e6d950 Update package description 2020-01-02 14:36:01 +11:00
Wilson Lin 8e7e64096c Mention Node.js version support 2020-01-02 14:33:53 +11:00
Wilson Lin f8c7db5dad Fix Node.js workflow naming Windows Node.js modules 2020-01-02 14:28:53 +11:00
Wilson Lin bdd7682fb6 0.0.6 2020-01-02 14:16:09 +11:00
Wilson Lin 6939ec17a2 Improve pattern matching 2020-01-02 14:14:40 +11:00
Wilson Lin bd95d0d51b Improve graphs 2020-01-02 01:28:17 +11:00
Wilson Lin c9b0e7a50d Generate benchmark graphs 2020-01-02 01:18:38 +11:00
Wilson Lin e7fc519f05 Fix using bash syntax in workflows 2020-01-01 23:39:45 +11:00
Wilson Lin d15ad8c10c Fix CLI workflow finding wrong file 2020-01-01 21:08:12 +11:00
Wilson Lin e500fdbd89 0.0.5 2020-01-01 21:02:11 +11:00
Wilson Lin 6664d45e5d Update lockfile when versioning 2020-01-01 21:01:55 +11:00
Wilson Lin a34bb038db Use relative hyperbuild for bench 2020-01-01 20:54:21 +11:00
Wilson Lin d581c9f159 Prebuild Node.js modules; set up auto CLI and Node.js building 2020-01-01 20:47:49 +11:00
Wilson Lin 8e70199c15 Use release build for Node.js 2019-12-31 19:23:06 +11:00
Wilson Lin a4e7eb963e Correct bench test file 2019-12-30 23:35:48 +11:00
Wilson Lin 831bf5d33c Add link to npm package 2019-12-30 20:15:43 +11:00
Wilson Lin 90ba7f2e20 Update README 2019-12-30 20:14:52 +11:00
Wilson Lin 6ed63afda8 Add bench 2019-12-30 19:58:50 +11:00
Wilson Lin 9321e2769b Clean up Node.js module code 2019-12-30 19:35:56 +11:00
Wilson Lin 506daa94a9 Fix CLI 2019-12-30 19:29:47 +11:00
Wilson Lin 7ac622d31e Fix packages 2019-12-30 19:20:33 +11:00
Wilson Lin 25a03fa656 npm does not copy symlinked files 2019-12-30 18:48:58 +11:00
Wilson Lin 137ac855eb Fix versioning script 2019-12-30 18:44:11 +11:00
Wilson Lin e49a1b008d List Node.js module in README; set files for npm package; create versioning script 2019-12-30 18:41:09 +11:00
Wilson Lin d967c429ab Create Node.js module 2019-12-30 18:16:33 +11:00
Wilson Lin aea733ba51 Remove comment 2019-12-30 16:54:08 +11:00
Wilson Lin 4570c647a9 Fix invalid entity decoding 2019-12-30 16:52:59 +11:00
Wilson Lin 9c77c7a1c1 Add documentation on API usage; hide unnecessary API exports 2019-12-30 11:52:45 +11:00
Wilson Lin b787276a62 Minor wording change 2019-12-30 11:40:21 +11:00
Wilson Lin 3ee878050a Minor wording change 2019-12-30 11:34:56 +11:00
Wilson Lin 90fca89160 Update README; expect on debug only 2019-12-30 11:33:49 +11:00
Wilson Lin 7349b15ab8 Reformatting 2019-12-29 21:53:49 +11:00
Wilson Lin 126c719d23 Merge entity code; simplify build IO 2019-12-29 21:51:25 +11:00
Wilson Lin 7f56cff39e Remove date in comment 2019-12-29 21:42:03 +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 d368092aa7 Remove unused note 2019-12-28 17:35:43 +11:00
Wilson Lin e65b8436bf More fluent wording 2019-12-28 17:34:36 +11:00
Wilson Lin 8ec8593234 More cleanup of README wording 2019-12-28 17:31:27 +11:00
Wilson Lin f9599a8744 Make README collapsed content summaries bold 2019-12-28 17:22:09 +11:00
Wilson Lin 1a31f99981 Improve README collapsed content summaries 2019-12-28 17:21:13 +11:00
Wilson Lin c5518f5582 Improve README readability 2019-12-28 17:17:42 +11:00
Wilson Lin 492eb64e4f Update README to describe whitespace minification; do not destroy whole whitespace in content-first elements 2019-12-28 17:15:23 +11:00
Wilson Lin 5f8da411b3 Clear out archive and unused tag names sets; update README with whitespace minification modes 2019-12-28 11:58:01 +11:00
Wilson Lin 1db8f4aa13 Enforce no whitespace between attribute name and value 2019-12-28 11:21:44 +11:00
Wilson Lin 530b7d7410 Fix writing UTF-8; update README 2019-12-28 11:16:28 +11:00
Wilson Lin 9ac471b37e Update README 2019-12-27 22:49:10 +11:00