Commit Graph

837 Commits

Author SHA1 Message Date
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00
Wilson Lin 1179ec1769 Restore onepass lib.rs 2021-08-08 17:29:48 +10:00
Wilson Lin cf28e14a4e Merge back onepass as submodule 2021-08-08 17:27:07 +10:00
Wilson Lin f140bb6739 Create onepass submodule 2021-08-08 17:23:42 +10:00
Wilson Lin 7612244a10 Let esbuild handle closing script and style tag escaping 2021-08-08 17:18:50 +10:00
Wilson Lin 920133fc18 Improve CSS and JS minification 2021-08-08 16:16:12 +10:00
Wilson Lin bcfc5713fc Improve graph size 2021-08-08 13:59:21 +10:00
Wilson Lin 85eea9b7d4 Improve graph 2021-08-08 13:56:19 +10:00
Wilson Lin 613f98c302 0.6.0 2021-08-08 13:01:44 +10:00
Wilson Lin c4596c72b7 Use hosted icons 2021-08-08 13:00:42 +10:00
Wilson Lin 2187ebc95e Improve B2 upload workflow 2021-08-08 12:54:56 +10:00
Wilson Lin a5263993a1 Improve CLI 2021-08-08 11:44:13 +10:00
Wilson Lin b704f51940 Improve README 2021-08-08 11:39:11 +10:00
Wilson Lin 46e20986b2 Avoid Node.js unnecessary source copying 2021-08-08 11:29:31 +10:00
Wilson Lin 472c4d8fac Improve attr min performance 2021-08-08 11:23:24 +10:00
Wilson Lin 3831a2605e Mention ARM CLI 2021-08-08 11:19:41 +10:00
Wilson Lin 35e53d6b3b Fix bench workflow 2021-08-08 11:17:32 +10:00
Wilson Lin d43e25c237 Build CLI for ARM64 2021-08-08 11:14:58 +10:00
Wilson Lin c2f1ab028b Clarify README 2021-08-08 02:45:56 +10:00
Wilson Lin 5c3f6591fc 0.5.3 2021-08-08 02:35:58 +10:00
Wilson Lin 0f620de731 Fix CLI 2021-08-08 02:31:32 +10:00
Wilson Lin 4c69399c5a 0.5.2 2021-08-08 02:23:43 +10:00
Wilson Lin 561f2094fc Fix CLI 2021-08-08 02:22:29 +10:00
Wilson Lin 382b07a517 Remove incorrect workflow conditional 2021-08-08 02:22:14 +10:00
Wilson Lin 5ef491b823 0.5.1 2021-08-08 02:00:00 +10:00
Wilson Lin 9203e40eeb Minor clarification 2021-08-08 01:52:25 +10:00
Wilson Lin e3918e6abb Do not run workflows on every commit 2021-08-08 01:48:52 +10:00
Wilson Lin 0b58853999 Add spec-compliant unquoted attr values option 2021-08-08 01:45:25 +10:00
Wilson Lin 841c6de908 0.5.0 2021-08-08 01:16:02 +10:00
Wilson Lin 91c764d058 Improve README layout 2021-08-08 01:14:58 +10:00
Wilson Lin 4017bdb381 Minor clarifications 2021-08-08 01:12:41 +10:00
Wilson Lin b80cc0bbd2 Update README 2021-08-08 01:10:40 +10:00
Wilson Lin 315ed269a7 Fix style attr minification 2021-08-08 00:56:24 +10:00
Wilson Lin d20d6c6a18 Avoid Node.js double copying of result 2021-08-08 00:33:17 +10:00
Wilson Lin 397327bdeb Improve graph label 2021-08-07 23:59:20 +10:00
Wilson Lin 9d968ade18 Create combined graph 2021-08-07 23:58:38 +10:00
Wilson Lin a5f5dfa653 Run fuzz workflow manually only 2021-08-07 22:34:09 +10:00
Wilson Lin 78ae50e284 Clarify TypeScript types 2021-08-07 22:32:15 +10:00
Wilson Lin ad16e44f85 Fix graph rendering 2021-08-07 21:36:09 +10:00
Wilson Lin 4c4147f4ae Add TODO 2021-08-07 20:57:34 +10:00
Wilson Lin 82533ef133 V8 no longer supports having two Buffer objects point to same underlying memory (nodejs/node#32463) 2021-08-07 20:56:22 +10:00
Wilson Lin b630f32087 Modernise bench 2021-08-07 20:53:28 +10:00
Wilson Lin 94f292da38 Restore larger icons and use width attr instead 2021-08-07 20:27:56 +10:00
Wilson Lin 6a7c5b2d10 Resize icons 2021-08-07 20:21:22 +10:00
Wilson Lin c4e3da9e7c Fix Ruby library 2021-08-07 20:16:02 +10:00
Wilson Lin 12cb77fd4b Add icons to README 2021-08-07 20:15:37 +10:00
Wilson Lin 26e001784c Merge new architecture 2021-08-07 20:03:25 +10:00
Wilson Lin 98409074ae Update Node.js docs 2021-08-07 20:02:20 +10:00
Wilson Lin 385149df3b Update minify-html-bench 2021-08-07 19:59:14 +10:00
Wilson Lin 3e5905b4a2 Update Ruby library 2021-08-07 19:57:35 +10:00
Wilson Lin fb656bd6ee Update Python library 2021-08-07 19:52:38 +10:00
Wilson Lin 60b72e5c3c Update Node.js library 2021-08-07 19:48:07 +10:00
Wilson Lin cc33290335 Update Java library 2021-08-07 19:30:46 +10:00
Wilson Lin 4a60784bbc Update fuzzer 2021-08-07 19:14:08 +10:00
Wilson Lin c007a2cbf8 Update CLI 2021-08-07 19:10:47 +10:00
Wilson Lin dc4ca358f4 Update method description 2021-08-07 19:02:09 +10:00
Wilson Lin 138de76de9 Minify style attributes as well 2021-08-07 18:59:54 +10:00
Wilson Lin 4c0eb3ed28 Implement JS and CSS minification; add tests 2021-08-07 18:51:22 +10:00
Wilson Lin 6650d94485 Ignore html/head/body duplicate tags while parsing, omit them when minifying; parse <title> correctly 2021-08-07 15:59:41 +10:00
Wilson Lin d46fcaecf4 Fix tag min regression 2021-08-07 15:24:19 +10:00
Wilson Lin a0601da597 Improve attr min perf 2021-08-07 15:10:31 +10:00
Wilson Lin 2885724931 Make Cfg values all default false 2021-08-07 14:56:20 +10:00
Wilson Lin db7ae23404 More clippy suggestions 2021-08-06 23:23:05 +10:00
Wilson Lin 28944e33a4 Clippy suggestions 2021-08-06 23:18:45 +10:00
Wilson Lin 766498ebfb Fix next sibling calc 2021-08-06 23:07:55 +10:00
Wilson Lin b0c574dbd7 Fix tag omission minification; implement entity reencoding minification 2021-08-06 22:53:33 +10:00
Wilson Lin 5433c3041a Implement attr minification; various parser and minifier fixes 2021-08-06 21:56:54 +10:00
Wilson Lin c1c0b61317 Delete legacy DFA code 2021-08-06 21:08:33 +10:00
Wilson Lin e52d85bc28 Reformatting 2021-08-06 21:07:58 +10:00
Wilson Lin 9eb5045f6f Sort attributes for determinism; fix parsing of entities; combine split adjacent text nodes 2021-08-06 21:04:47 +10:00
Wilson Lin 29d1b72230 Test attr minification 2021-08-06 20:36:58 +10:00
Wilson Lin 74b4ab689e Various parsing fixes 2021-08-06 20:16:30 +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 0a85ebe34b Decode entities 2021-08-06 13:36:07 +10:00
Wilson Lin faba0c41d8 Only run workflows on master 2021-08-06 12:22:24 +10:00
Wilson Lin 88d288b0cb Implement parser; remove legacy code 2021-08-06 12:07:27 +10:00
Wilson Lin 61970fc00c Add comments 2021-07-27 13:31:47 +10:00
Wilson Lin 3752157bfd Fail on upload error 2021-07-27 13:00:22 +10:00
Wilson Lin 52b859c226 Improve logging 2021-07-27 12:56:12 +10:00
Wilson Lin f557bd9b5b Use B2 upload proxy as B2 CLI is not available for ARM64 2021-07-27 12:49:37 +10:00
Wilson Lin 5563f4237f Add workflow for Node.js ARM64 2021-07-27 02:14:31 +10:00
Wilson Lin 016e83d6fd 0.4.11 2021-05-23 11:56:20 +10:00
Wilson Lin 85b1c6658c Treat <textarea> as whitespace-sensitive 2021-05-23 11:54:30 +10:00
Wilson Lin 080d4e0c96 Relax parsing of unquoted attr values to accept own minified output 2021-04-21 00:55:39 +10:00
Wilson Lin 4b08332f6b 0.4.10 2021-04-16 12:21:07 +10:00
Wilson Lin 034932988e Follow spec on decoding entities in attr values 2021-04-16 12:19:47 +10:00
Wilson Lin e476c3fa42 Do not error when no crashes from fuzzing 2021-04-15 20:12:06 +10:00
Wilson Lin 01e0027fff Finish fuzz after some time 2021-04-15 14:15:58 +10:00
Wilson Lin 03d7e4c3f3 0.4.9 2021-04-15 01:39:11 +10:00
Wilson Lin 98cb36c9c2 Improve closing tag escaping 2021-04-15 01:36:06 +10:00
Wilson Lin 8cf4d27319 Fix workflow 2021-04-15 01:19:19 +10:00
Wilson Lin 78d2863151 Fix missing install 2021-04-15 00:41:27 +10:00
Wilson Lin 4747225393 Fuzz workflow 2021-04-15 00:39:53 +10:00
Wilson Lin c7f6fdadda 0.4.8 2021-04-15 00:23:02 +10:00
Wilson Lin feced339ea Escape unintentional script closing tag in JS 2021-04-15 00:18:16 +10:00
Wilson Lin 28ac8db96f 0.4.7 2021-04-13 15:36:16 +10:00
Wilson Lin df6426cb25 All gt must be encoded in unquoted attr values 2021-04-13 15:35:39 +10:00