Commit Graph

112 Commits

Author SHA1 Message Date
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13 (#6920) 2023-03-14 04:56:21 +00:00
Alexander Akait
19c2ee593d
fix(html/parser): Fix parsing of CDATA in the svg context (#6620) 2022-12-12 05:05:40 +00:00
Alexander Akait
d6e961368b
perf(html/parser): Optimize usage of buffers (#6590) 2022-12-07 02:18:31 +00:00
Alexander Akait
49b7e9e224
feat(html/parser): Improve lexer (#6543) 2022-12-01 05:54:44 +00:00
Alexander Akait
85a03e71b7
refactor(xml/parser): Simplify logic for parsing elements (#6557) 2022-12-01 05:01:48 +00:00
Alexander Akait
e3cbe7e9a9
fix(html/parser): Fix parsing of cdata (#6534) 2022-11-29 02:39:48 +00:00
Alexander Akait
3a9065799d
perf(html/parser): Refactor (#6313) 2022-11-02 03:36:00 +00:00
Alexander Akait
c255cfd716
refactor(html/parser): Refactor (#6267) 2022-10-27 03:47:37 +00:00
Alexander Akait
ba5d272ae1
perf(html/parser): Improve performance a bit (#6213) 2022-10-20 02:54:22 +00:00
Alexander Akait
420ba32e8c
perf(html/ast): Use Atom for raw (#6210) 2022-10-19 23:32:22 +00:00
Alexander Akait
99ea28674a
feat(html/ast): Add raw to comment tokens (#6202) 2022-10-19 15:10:57 +00:00
Donny/강동윤
3c3529cb84
build(rustc): Update rustc (#5943)
**Description:**

This PR updates rustc, and fix some performance bugs of `swc_common`.
2022-09-24 03:33:47 +00:00
Alexander Akait
5645e810df
perf(html/parser): Improve performance (#5884) 2022-09-17 00:10:08 +00:00
Alexander Akait
57e9f9c88e
fix(html/parser): Reflect the fix for a bug in spec (#5779) 2022-09-16 03:24:49 +00:00
Alexander Akait
7f62fa6227
perf(html): Reduce memory usage (#5867) 2022-09-15 04:17:05 +00:00
Alexander Akait
1b200a0582
chore(html/parser): Typo (#5778) 2022-09-08 01:36:02 +00:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +00:00
Alexander Akait
2a499de61d
perf(html/parser): Apply small memory optimizations (#5345) 2022-08-01 04:49:58 +00:00
Alexander Akait
c80b9e106a
fix(html/parser): Fix span (#5312) 2022-07-27 05:38:31 +00:00
Alexander Akait
945510a695
feat(html/ast): Add raw to doctype (#5198) 2022-07-17 12:48:21 +00:00
Alexander Akait
0f7646cc47
fix(html/parser): Improve span (#5230) 2022-07-17 06:23:25 +00:00
Alexander Akait
64237fa7fb
feat(html/ast): Add raw to attributes (#5208) 2022-07-15 02:40:47 +00:00
Alexander Akait
b4daa30058
fix(html/parser): Fix span (#5209) 2022-07-15 01:38:44 +00:00
Alexander Akait
dead719550
feat(html/parser): Add raw to comments (#5196) 2022-07-14 04:56:31 +00:00
Alexander Akait
01bfe46019
feat(html): Add raw for text (#5148) 2022-07-09 04:19:14 +00:00
Alexander Akait
8bf924ae5f
feat(html/codegen): Improve API (#5031) 2022-06-25 05:33:22 +00:00
Alexander Akait
c345524e36
fix(css/parser): Improve lexer errors (#5025) 2022-06-23 03:56:13 +00:00
Alexander Akait
a057183230
perf(html/parser): Improve performance (#5028) 2022-06-23 03:03:32 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +00:00
Alexander Akait
5c2a918946
feat(html): Support self-closing flag (#4950) 2022-06-14 13:31:23 +00:00
Alexander Akait
42a1d7c7a1
refactor(html/parser): Remove unused code (#4949) 2022-06-12 03:02:15 +00:00
Alexander Akait
f993a52679
perf(html/parser): Improve performance (#4934) 2022-06-11 04:37:01 +00:00
Alexander Akait
e365766070
perf(html/parser): Reduce cloning (#4901) 2022-06-08 03:55:11 +00:00
Alexander Akait
70760d2222
fix(html/parser): Fix spans (#4877) 2022-06-07 14:33:06 +00:00
Alexander Akait
da09c1ca5b
feat(html/codegen): Improve entity compression (#4889) 2022-06-07 04:33:33 +00:00
Alexander Akait
ce4d57735e
perf(html/parser): Improve memory allocation (#4884) 2022-06-06 03:35:22 +00:00
Alexander Akait
b14719c046
refactor(html/ast): Avoid TokenAndSpan (#4885) 2022-06-06 12:00:14 +09:00
Alexander Akait
5abe847c23
perf(html/parser): Improve performance (#4881) 2022-06-05 20:16:27 +00:00
Alexander Akait
0d5d7c4d5e
fix(html/parser): Fix span (#4868) 2022-06-04 09:33:25 +00:00
Alexander Akait
8b67bb99fa
perf(html/parser): Improve lexer performance (#4869) 2022-06-03 04:58:46 +00:00
Alexander Akait
67b5e3d5b3
fix(html/parser): Fix end span of closed tags (#4860) 2022-06-02 04:00:32 +00:00
Donny/강동윤
fd3501bf87
feat(wasm): Add json error (#4853) 2022-06-01 11:51:24 +09:00
Alexander Akait
f830726027
fix(html/parser): Fix span of lexer errors (#4846) 2022-05-31 03:50:19 +00:00
Alexander Akait
20fee8abee
fix(html/parser): Handle BOM (#4843) 2022-05-30 06:20:02 +00:00
Donny/강동윤
f847709787
chore(common): Update rustc (#4828) 2022-05-28 07:07:58 +00:00
Alexander Akait
759688c412
perf(html/parser): Improve lexer performance even more (#4819) 2022-05-27 12:48:51 +00:00
Alexander Akait
f71ef61cb7
perf(html/parser): Improve lexer (#4802) 2022-05-26 05:49:18 +00:00
Alexander Akait
8894e77bc1
perf(html/parser): Improve lexer (#4796) 2022-05-25 17:33:15 +00:00
Alexander Akait
c07780fab3
feat(html/parser): Improve public api (#4762) 2022-05-24 06:32:15 +00:00
Alexander Akait
984d69e67b
test(html/parser): Enable error reporting tests (#4764) 2022-05-24 05:04:20 +00:00