Commit Graph

978 Commits

Author SHA1 Message Date
Wilson Lin 11560d71fe 0.3.6 2020-08-24 21:49:19 +10:00
Wilson Lin a415045ae6 Fix hex numeric entity parsing 2020-08-24 21:48:58 +10:00
Wilson Lin e306047067 Simplify parsing README section 2020-08-02 12:19:01 +10:00
Wilson Lin d7ddda3f21 Do not allow unmatched closing tag at root 2020-07-30 20:17:55 +10:00
Wilson Lin d024d21274 Refactoring 2020-07-30 19:51:43 +10:00
Wilson Lin 6a56bcc89f 0.3.5 2020-07-30 14:51:46 +10:00
Wilson Lin 0eddabcb89 Remove unused function 2020-07-30 14:41:33 +10:00
Wilson Lin ed72690463 Allow omitted tags in source 2020-07-30 14:38:40 +10:00
Wilson Lin d2bffe8005 Allow case insensitive closing tag names for script and style 2020-07-30 12:46:18 +10:00
Wilson Lin abfc4bceaa Make tag and attribute names case insensitive 2020-07-30 12:32:53 +10:00
Wilson Lin 373128e466 0.3.4 2020-07-30 00:33:33 +10:00
Wilson Lin 08a2f39108 Fix debug repr line boundaries check; reduce debug repr output by stopping at read position; provide expected and actual tag names for closing tag mismatch error 2020-07-30 00:28:57 +10:00
Wilson Lin 8badd30b40 Minor fix: support numeric entities with more than 256 digits 2020-07-27 18:33:31 +10:00
Wilson Lin 58fe37c17f 0.3.3 2020-07-27 18:13:10 +10:00
Wilson Lin 2eb1bea077 Bang -> bang 2020-07-27 18:09:49 +10:00
Wilson Lin e5245acc31 Inline most functions; use aho-corasick for comments and instructions too 2020-07-27 18:08:53 +10:00
Wilson Lin e8726c2ed1 Fix boundary bugs 2020-07-27 17:56:19 +10:00
Wilson Lin c379f6667f Link to esbuild-rs 2020-07-27 17:00:56 +10:00
Wilson Lin ca5e60c5b8 Mention entities left encoded 2020-07-27 15:58:18 +10:00
Wilson Lin ab415ae0fb 0.3.2 2020-07-27 00:30:43 +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 2542d6c24c Also test JS minification before publishing 2020-07-25 18:06:40 +10:00
Wilson Lin 2f5659bce0 0.3.1 2020-07-25 18:05:23 +10:00
Wilson Lin c2a11c4ee3 Fix HTML_ONLY env not passed to bench 2020-07-25 16:13:56 +10:00
Wilson Lin 6a025ada3b Fix bench results path in workflow 2020-07-25 14:46:44 +10:00
Wilson Lin 2d20698e46 Also run and upload HTML-only bench 2020-07-25 14:31:55 +10:00
Wilson Lin e76c12a9db Avoid cloning script data before passing to esbuild 2020-07-25 14:18:23 +10:00
Wilson Lin cae66f3e2a Use actual Node.js library name for bench; allow benchmarking without JS minification 2020-07-25 13:59:21 +10:00
Wilson Lin 863ccb947b Implement Node.js errors 2020-07-25 13:40:37 +10:00
Wilson Lin 9627921cb2 Do not minify non-JS script data 2020-07-25 13:22:39 +10:00
Wilson Lin 9a26aaa493 Fix Windows CLI URL 2020-07-24 20:19:41 +10:00
Wilson Lin ec17be9be9 Fix Rust API examples in README 2020-07-24 19:59:02 +10:00
Wilson Lin 8733ca4b59 Fix Node.js API example in README 2020-07-24 19:57:11 +10:00
Wilson Lin eb886014e8 0.3.0 2020-07-24 19:43:48 +10:00
Wilson Lin 8ba9fa591c Try without loading login profile for Ruby profile 2020-07-24 19:30:25 +10:00
Wilson Lin c4130ab912 Minor Ruby workflow reformatting 2020-07-24 19:21:53 +10:00
Wilson Lin 3be87d8683 Refactor Ruby workflow 2020-07-24 19:12:43 +10:00
Wilson Lin 9f40000527 Omit closing tags for html, head, body 2020-07-24 19:05:29 +10:00
Wilson Lin 4fcb36f59b Fix typo 2020-07-24 18:30:59 +10:00
Wilson Lin 812bbd896d Clean Ruby workflow 2020-07-24 18:30:25 +10:00
Wilson Lin 4ff2e14b04 Use esbuild for minifiers in bench 2020-07-24 18:24:28 +10:00
Wilson Lin 3f963c99ca Fix Java workflow Windows library name 2020-07-24 17:55:22 +10:00
Wilson Lin f499318c21 Update Node.js info in README 2020-07-24 17:47:55 +10:00
Wilson Lin 00c3361117 Fix Node.js gyp action for non-Windows 2020-07-24 17:38:38 +10:00
Wilson Lin aacfb78e0f Implement Windows support for Node.js 2020-07-24 17:35:26 +10:00
Wilson Lin 33782aa858 Fix Node.js version constraint 2020-07-24 16:42:55 +10:00
Wilson Lin c1e7c64cdd Improve Node.js compatibility 2020-07-24 16:29:25 +10:00
Wilson Lin afdc4998e7 Fix Node.js workflow 2020-07-24 16:09:15 +10:00
Wilson Lin 17647b5843 Do not create per-Node.js builds; decrease N-API version 2020-07-24 16:08:14 +10:00
Wilson Lin 715dffb8de Create N-API methods 2020-07-24 16:03:47 +10:00
Wilson Lin 6143b852e1 Create structure for Node.js node-gyp native module 2020-07-24 14:20:24 +10:00
Wilson Lin e21d663856 Do not build npm package before publishing 2020-07-22 23:59:01 +10:00
Wilson Lin 2366b31a20 LNK1181 still happens on windows-latest for Node.js workflow 2020-07-22 22:03:53 +10:00
Wilson Lin 9c1a76a48b Undo removing GCC from Windows workflows as it is still necessary for esbuild-rs 2020-07-22 21:56:07 +10:00
Wilson Lin 4e691ac550 Restore Windows support; fix Node.js paths 2020-07-22 21:52:54 +10:00
Wilson Lin 697823ab17 Use Node.js native module directly without JS overhead 2020-07-22 21:38:54 +10:00
Wilson Lin b6556a8a8b Update bench README to mention JS minification 2020-07-22 21:34:31 +10:00
Wilson Lin ae60f122a8 Don't abort on panic since this is a library for many languages 2020-07-22 21:34:19 +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 cc98a61bc2 Fix </script> end tag escaping in JS 2020-07-22 21:33:09 +10:00
Wilson Lin f3ce568005 Update other language libraries to use new Error struct 2020-07-22 21:11:16 +10:00
Wilson Lin 2d86a7c987 Lessen dependency version requirements 2020-07-22 20:50:00 +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 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 f42b2648d2 Rename Node.js package 2020-07-21 13:44:56 +10:00
Wilson Lin f5007268d8 Minor README wording change 2020-07-18 00:58:28 +10:00
Wilson Lin bfb5561672 Fix return value of minifyInPlace in README 2020-07-15 09:51:45 +10:00
Pesche 3a778e6df2
Fix parameter for `minifyInPlace` (#5) 2020-07-15 09:48:09 +10:00
Wilson Lin 892e10c92e Bench with JS 2020-07-14 12:50:32 +10:00
Wilson Lin 8d26742047 Remove extra dot 2020-07-14 01:06:08 +10:00
Wilson Lin a8b0a23332 Simplify README 2020-07-14 01:05:43 +10:00
Wilson Lin b75438289a Simplify README 2020-07-14 01:00:51 +10:00
Wilson Lin d6b664ad1e Simplify README 2020-07-12 17:17:15 +10:00
Wilson Lin 871298dae5 Use compression for Node.js binaries 2020-07-12 16:17:43 +10:00
Wilson Lin c71a9169a7 Add str helper function 2020-07-12 16:05:49 +10:00
Wilson Lin b97a29c220 Make graphs side-by-side on new GitHub layout 2020-07-12 15:31:11 +10:00
Wilson Lin db3b066fd1 Minor wording improvements 2020-07-12 15:27:55 +10:00
Wilson Lin 529e40cadc Fix typo in README 2020-07-12 15:07:46 +10:00
Wilson Lin 61ed03d366 Use hyphen in Python package name in README 2020-07-12 15:04:07 +10:00
Wilson Lin 6414e2a024 Fix README layout 2020-07-12 14:52:14 +10:00
Wilson Lin bc25b389de Shorten description 2020-07-12 14:49:00 +10:00
Wilson Lin 71ad320942 Link to memchr 2020-07-12 14:23:05 +10:00
Wilson Lin 7e946f59be Update README 2020-07-12 14:19:41 +10:00
Wilson Lin 75ba1a9d01 Update README and description 2020-07-12 14:05:12 +10:00
Wilson Lin 2726f2e454 0.2.6 2020-07-12 02:42:12 +10:00
Wilson Lin e3fe95a5a7 No credentials available for testpypi, so do not upload 2020-07-12 02:41:45 +10:00
Wilson Lin 3adcdb994b Try without sudo for installing pip deps 2020-07-12 02:33:35 +10:00
Wilson Lin 2b49d46d2d Fix uploading Python wheels 2020-07-12 02:09:36 +10:00
Wilson Lin 2140c8b108 0.2.5 2020-07-12 02:02:57 +10:00
Wilson Lin d15776e1fa Fix package names 2020-07-12 02:01:48 +10:00
Wilson Lin aad5111d6d Build Python for specific version 2020-07-12 01:46:53 +10:00
Wilson Lin cbf6a81c81 Remove underscore from Java package name 2020-07-12 01:44:18 +10:00
Wilson Lin 7a21783df8 Publish npm publically 2020-07-12 01:34:49 +10:00
Wilson Lin dc376d7c7f Rename to minify-html 2020-07-12 01:29:34 +10:00
Wilson Lin d35e881bb7 Use per-platform Python wheels 2020-07-12 00:47:17 +10:00
Wilson Lin fa5cd831e4 Minor Python cleanup 2020-07-11 23:54:34 +10:00
Wilson Lin b8fa10879a Fix build-binary script 2020-07-11 23:37:19 +10:00