Commit Graph

35 Commits

Author SHA1 Message Date
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00
Wilson Lin dc4ca358f4 Update method description 2021-08-07 19:02:09 +10:00
Wilson Lin 2885724931 Make Cfg values all default false 2021-08-07 14:56:20 +10:00
Wilson Lin 766498ebfb Fix next sibling calc 2021-08-06 23:07:55 +10:00
Wilson Lin 5433c3041a Implement attr minification; various parser and minifier fixes 2021-08-06 21:56:54 +10:00
Wilson Lin bf37e37e71 Clean up dead code and tests 2021-08-06 17:54:23 +10:00
Wilson Lin 383b2b3423 Implement whitespace minification 2021-08-06 17:33:56 +10:00
Wilson Lin 1a930a170d rustfmt 2021-08-06 16:19:36 +10:00
Wilson Lin 5a259a8ead Implement core minifier 2021-08-06 16:17:45 +10:00
Wilson Lin 88d288b0cb Implement parser; remove legacy code 2021-08-06 12:07:27 +10:00
Wilson Lin 849a2d9dc1 Update doc 2021-02-07 01:57:09 +11:00
Wilson Lin 55eab19bbe Do not minify any whitespace in any descendants of <pre> 2021-02-05 23:54:29 +11:00
Wilson Lin e4d8b14d0b CSS minification using esbuild 2021-01-08 00:26:02 +11:00
Wilson Lin cf02e8265c Minor refactoring of Rust API `copy` example 2020-08-26 14:42:42 +10:00
Wilson Lin 693c847563 Add documentation comments to Rust API 2020-08-25 00:36:27 +10:00
Wilson Lin d7ddda3f21 Do not allow unmatched closing tag at root 2020-07-30 20:17:55 +10:00
Wilson Lin e9ea7bc378 Separate out and simplify debug repr; reimplement with_friendly_error; fix JS copying 2020-07-22 18:57:47 +10:00
Wilson Lin 1826e980f7 Fix JS finishing; temporarily remove friendly function 2020-07-21 23:27: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 c71a9169a7 Add str helper function 2020-07-12 16:05:49 +10:00
Wilson Lin dc376d7c7f Rename to minify-html 2020-07-12 01:29:34 +10:00
Wilson Lin ced0e82515 Add support for configuration and JS minification using esbuild 2020-07-11 01:15:56 +10:00
Wilson Lin 9ffb7b1d98 Add unit tests and fix various bugs 2020-07-10 20:40:33 +10:00
Wilson Lin cefdc8fdd9 Wire up new generated code 2020-06-19 17:58:16 +10:00
Wilson Lin 360bfbba8d Fix typos 2020-05-12 17:26:13 +10:00
Wilson Lin 26157908a6 Add friendlier Rust functions; improve examples 2020-05-12 17:12:29 +10:00
Wilson Lin 71a3e3927b Create through matching condition; show code context on error when using CLI 2020-01-26 03:25:07 +13:00
Wilson 54b65bbd0c Minify SVG attributes; minor QoL improvements 2020-01-24 03:53:09 +13:00
Wilson Lin 9c77c7a1c1 Add documentation on API usage; hide unnecessary API exports 2019-12-30 11:52:45 +11:00
Wilson Lin a14def709f Update README; cleanup comments 2019-12-27 22:14:03 +11:00
Wilson Lin 4ddcb36e42 Faster non-sequence matching; improved attribute value minification 2019-12-26 16:17:57 +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
Wilson Lin d75d62883b Migrate mostly to Rust with significant optimisations and refactoring 2019-12-23 22:48:41 +11:00
Wilson Lin 2f24d2e618 Remove C infrastructure 2019-12-15 19:48:44 +11:00
Renamed from src/hb/unit/attr/val.c (Browse further)