Commit Graph

23 Commits

Author SHA1 Message Date
Wilson Lin e5245acc31 Inline most functions; use aho-corasick for comments and instructions too 2020-07-27 18:08:53 +10:00
Wilson Lin 009e91d094 Use aho-corasick for faster and simpler end tag matching 2020-07-27 00:27:52 +10:00
Wilson Lin e76c12a9db Avoid cloning script data before passing to esbuild 2020-07-25 14:18:23 +10:00
Wilson Lin 9627921cb2 Do not minify non-JS script data 2020-07-25 13:22:39 +10:00
Wilson Lin e1e18bb1a7 Fix race condition from not releasing Mutex guard and Arc ref on async JS min jobs 2020-07-22 21:33:52 +10:00
Wilson Lin 1847eca6b6 Fix type errors 2020-07-22 17:45:47 +10:00
Wilson Lin 1826e980f7 Fix JS finishing; temporarily remove friendly function 2020-07-21 23:27:56 +10:00
Wilson Lin 6f3e1254de Conditionally compile JS feature code 2020-07-21 17:59:56 +10:00
Wilson Lin b967e338ca Use named error struct instead of tuple; use async JS minification; fix old JS package names 2020-07-21 17:57:39 +10:00
Wilson Lin a15c0e76f9 Remove dependence on regex 2020-07-11 22:52:27 +10:00
Wilson Lin 56edbac338 Make JS library optional 2020-07-11 22:20:17 +10:00
Wilson Lin ced0e82515 Add support for configuration and JS minification using esbuild 2020-07-11 01:15:56 +10:00
Wilson Lin a519394c3a Use regex crate for substring searches 2020-07-03 20:37:52 +10:00
Wilson Lin cefdc8fdd9 Wire up new generated code 2020-06-19 17:58:16 +10:00
Wilson Lin 3aa752e46b Restructure enums and matching for performance 2020-01-26 22:32:06 +13:00
Wilson Lin 24c1639a82 Remove unused errors; order imports 2020-01-25 20:07:52 +13:00
Wilson Lin 8988ff1e3a Create simplified unified matching API 2020-01-25 20:04:02 +13:00
Wilson Lin 20c59769fe Do not handle extremely rare escaped states in <script>; simplify graph to show single average 2020-01-12 17:39:23 +11:00
Wilson Lin e966f9a23b Remove unused code; handle escaped and double-escaped script data; allow using buffer instead of string source for bench; enforce matching tags 2020-01-10 18:30:49 +11:00
Wilson Lin e15381c1cb Handle text script content 2019-12-27 21:52:49 +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
Renamed from src/proc/script.rs (Browse further)