Commit Graph

133 Commits

Author SHA1 Message Date
Jason
64694dc7d5
fix(css/parser): Report an error for invalid layer in @import (#5928) 2022-09-22 06:53:34 +00:00
Jason
10cdbed05e
fix(css/parser): Fix infinite loop about @import and layer (#5919) 2022-09-21 08:21:04 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media (#5904) 2022-09-20 10:45:49 +09:00
Donny/강동윤
dfb01bde71
refactor: Refactor code using clippy (#5863)
**Description:**

I temporarily updated rustc to use newer version of `cargo clippy`.
2022-09-14 15:05:59 +00:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types (#5823) 2022-09-11 13:56:48 +00:00
Donny/강동윤
72a8b608d6
perf(css/parser): Skip whiltespace from lexer (#5810)
**Description:**

Lexer can handle it more efficiently.
2022-09-10 10:01:45 +00:00
Donny/강동윤
91ed13e098
perf(css/parser): Remove needless branching (#5809) 2022-09-10 18:18:47 +09:00
Donny/강동윤
96cc888ef2
perf(css/parser): Use ascii operations (#5808)
**Description:**

We don't need Unicode handling in these cases.
2022-09-10 08:32:35 +00:00
Alexander Akait
5c28d00516
fix(css/parser): Improve parsing of media queries (#5567) 2022-08-30 03:18:43 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector (#5539) 2022-08-29 15:25:48 +00:00
Alexander Akait
a3c1ac67d7
feat(css/ast): Make keyword optional (#5543) 2022-08-20 01:49:27 +00:00
Alexander Akait
eebdfdb2a0
feat(css/parser): Parse @font-feature-values at-rule (#5468) 2022-08-13 10:39:45 +00:00
Alexander Akait
555b6a3734
fix(css/ast): Use list of component values for error recovery (#5467) 2022-08-13 13:05:29 +09:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +00:00
Alexander Akait
8f81104380
fix(css/ast): Support list of component values (#5321) 2022-07-30 04:40:54 +00:00
Alexander Akait
83651c297d
fix(css): Fix parsing of layer (#5290) 2022-07-26 02:33:53 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
Alexander Akait
7b28521d72
fix(css/parser): Avoid skipping whitespaces if not required (#5181) 2022-07-12 11:43:24 +09:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
Alexander Akait
c345524e36
fix(css/parser): Improve lexer errors (#5025) 2022-06-23 03:56:13 +00:00
Alexander Akait
28bc735d03
feat(html/minifier): Minify js (#4999) 2022-06-21 14:28:53 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +00:00
Alexander Akait
bf74d05f3f
fix(css/parser): Fix input buffer and improve error recovery (#4948) 2022-06-12 03:28:23 +00:00
Alexander Akait
327969d0d9
perf(css/parser): Improve performance of lexer (#4921) 2022-06-11 14:47:08 +00:00
Donny/강동윤
fd3501bf87
feat(wasm): Add json error (#4853) 2022-06-01 11:51:24 +09:00
Alexander Akait
e083d0eb5a
fix(css/parser): Fix parsing of constant function (#4856) 2022-06-01 00:34:20 +00:00
Donny/강동윤
f847709787
chore(common): Update rustc (#4828) 2022-05-28 07:07:58 +00:00
Pig Fang
07d31aa50a
fix(css/parser): Allow var() call in color functions (#4713) 2022-05-23 16:00:44 +00:00
Donny/강동윤
98e4845fce
build(repo): Update rustc (#4667) 2022-05-15 09:03:54 +00:00
Donny/강동윤
84e4ca6c27
fix(css/parser): Remove a wrong assertion (#4641) 2022-05-12 19:48:51 +09:00
Pig Fang
cac4f6e265
feat(html/parser): Add a method to get error message (#4623) 2022-05-12 03:45:56 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0) for dummy spans (#4616) 2022-05-11 16:14:42 +00:00
Pig Fang
04dd3ddc5d
feat(css/parser): Add a method to get error message (#4588) 2022-05-11 02:58:20 +00:00
Alexander Akait
81370d16cb
fix(css/parser): Parse legacy calcs (#4320) 2022-04-13 07:02:31 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting (#4304) 2022-04-11 18:45:58 +00:00
Alexander Akait
8b6647cf85
feat(css/parser): Improve error recovery for unknown at-rules (#4257) 2022-04-06 05:07:48 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST (#4189) 2022-04-01 20:53:23 +09:00
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations (#4009) 2022-03-14 14:30:09 +00:00
Alexander Akait
96d6f37c20
feat(css/parser): Improve error reporting (#3999) 2022-03-13 18:37:42 +00:00
Alexander Akait
516dbc65dc
feat(css/codegen): Fix source maps and ast defs (#3974) 2022-03-11 16:54:33 +00:00
Alexander Akait
3a9af73167
refactor(css/parser): Remove unused codes (#3903) 2022-03-07 19:40:44 +00:00
Alexander Akait
6f781c3b43
feat(css/parser): Improve error recovery (#3901) 2022-03-07 16:33:35 +00:00
Alexander Akait
c84bf133a6
feat(css): Improve error recovery (#3853) 2022-03-05 11:58:40 +00:00
Alexander Akait
3df887ca37
feat(css): Support color functions (#3836) 2022-03-04 06:24:22 +09:00
Alexander Akait
fbb98aa73c
feat(css/parser): Improve error recovery (#3828) 2022-03-03 15:05:12 +00:00
Alexander Akait
30cd29b0f0
fix(css/parser): Fix parsing of ; in values (#3821) 2022-03-02 15:51:52 +00:00
Alexander Akait
f969f8c5f5
feat(css/parser): Improve error recovery (#3810) 2022-03-02 05:27:16 +00:00
Alexander Akait
3ec45a6858
feat(css/ast): Union Value and ComponentValue (#3804) 2022-03-01 15:26:17 +00:00
Alexander Akait
815a489dcf
refactor(css/ast): Simplify AST types (#3753) 2022-02-27 14:52:32 +00:00
Alexander Akait
91cf965e07
feat(css/ast): Improve type definitions for unicode ranges (#3757) 2022-02-27 14:16:22 +09:00