Donny/강동윤
|
3e03ebf8bb
|
fix(es/parser): Don't assume the length of char (#4967)
|
2022-06-14 07:05:35 +00:00 |
|
Alexander Akait
|
1b7b4f0cb4
|
test(css/parser): Improve tests (#4963)
|
2022-06-13 20:27:30 +00:00 |
|
Donny/강동윤
|
ea92a6ab8a
|
refactor(es/resolver): Prepare parallel resolver (#4957)
|
2022-06-13 15:52:15 +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 |
|
Alexander Akait
|
e083d0eb5a
|
fix(css/parser): Fix parsing of constant function (#4856)
|
2022-06-01 00:34:20 +00:00 |
|
Pig Fang
|
07d31aa50a
|
fix(css/parser): Allow var() call in color functions (#4713)
|
2022-05-23 16:00:44 +00:00 |
|
Donny/강동윤
|
67942d5731
|
feat(common): Reserve BytePos(0) for dummy spans (#4616)
|
2022-05-11 16:14:42 +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 |
|
Edwin Coronado
|
57802cfcce
|
fix(common): Fix the line number of errors (#4082)
|
2022-03-19 23:56:12 +09:00 |
|
Alexander Akait
|
a4bc0927a0
|
feat(css): Supports more color notations (#4009)
|
2022-03-14 14:30:09 +00:00 |
|
Donny/강동윤
|
40b8a4e596
|
feat(common): Implement a pretty error reporter (#3946)
|
2022-03-13 19:07:18 +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
|
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
|
7ba5861a33
|
fix(css/codegen): Fix codegen of preserved tokens (#3819)
|
2022-03-02 15:17:17 +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
|
189707a1fd
|
test(css/parser): Add css files for material design (#3777)
|
2022-02-28 21:17:50 +09:00 |
|
Alexander Akait
|
1651bccf45
|
test(css/parser): Add tests for selectors (#3770)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
|
2022-02-28 08:26:23 +00:00 |
|
Alexander Akait
|
815a489dcf
|
refactor(css/ast): Simplify AST types (#3753)
|
2022-02-27 14:52:32 +00:00 |
|
Pig Fang
|
9f90882b27
|
test(css/parser): Add malformed hex color tests (#3762)
|
2022-02-27 07:16:35 +00:00 |
|
Alexander Akait
|
91cf965e07
|
feat(css/ast): Improve type definitions for unicode ranges (#3757)
|
2022-02-27 14:16:22 +09:00 |
|
Alexander Akait
|
f258ee4729
|
fix(css): Fix processing of integers (#3752)
|
2022-02-26 13:51:59 +00:00 |
|
Alexander Akait
|
9b92eba636
|
feat(css/ast): Allow more syntax for @supports at-rule (#3740)
|
2022-02-25 18:01:38 +00:00 |
|
Alexander Akait
|
f5c5e77612
|
feat(css/ast): Support more selectors (#3729)
|
2022-02-25 02:05:12 +00:00 |
|
Alexander Akait
|
321ee756d9
|
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682)
|
2022-02-23 16:20:40 +00:00 |
|
Alexander Akait
|
003a7b85a4
|
feat(css/ast): Improve parsing of colors (#3680)
|
2022-02-22 19:45:33 +00:00 |
|
Alexander Akait
|
fab6473183
|
feat(css/minifier): Compress urls (#3666)
|
2022-02-22 11:44:24 +00:00 |
|
Alexander Akait
|
8271566d21
|
feat(css/codegen): Improve minification of selectors (#3624)
|
2022-02-19 01:27:32 +09:00 |
|
Alexander Akait
|
b7dcccc748
|
fix(css/parser): Fix parsing of component values (#3611)
|
2022-02-17 14:20:17 +00:00 |
|
Alexander Akait
|
5420bccc59
|
fix(css): Fix recovery mode for functions (#3600)
|
2022-02-17 13:36:50 +09:00 |
|
Alexander Akait
|
a20ed34e6b
|
feat(css/ast): Use SimpleBlock for @keyframe s (#3577)
|
2022-02-16 13:49:00 +00:00 |
|
Alexander Akait
|
e97074b6c3
|
feat(css/ast): Use SimpleBlock in more places (#3575)
|
2022-02-16 12:40:16 +09:00 |
|
Alexander Akait
|
3399702b73
|
feat(css/ast): Use SimpleBlock for @document at-rule (#3564)
|
2022-02-15 03:33:54 +00:00 |
|
Alexander Akait
|
aed622be2f
|
refactor(css/ast): Rename tokens to match spec (#3553)
|
2022-02-14 13:05:16 +00:00 |
|
Alexander Akait
|
d5aee470cb
|
refactor(css/parser): Remove parse_values , which is not used (#3552)
|
2022-02-14 08:34:26 +00:00 |
|
Alexander Akait
|
f252dfb885
|
test(css/parser): Add a test for a custom function name (#3554)
|
2022-02-14 07:32:07 +00:00 |
|
Alexander Akait
|
b311aced89
|
feat(css/ast): Use correct type for calc (#3549)
|
2022-02-14 06:19:02 +00:00 |
|
Alexander Akait
|
da36e90d1e
|
feat(css/ast): Add ; to delimiters (#3551)
|
2022-02-14 01:00:38 +09:00 |
|
Alexander Akait
|
547eba5e31
|
feat(css/parser): Implement more error recovery (#3534)
|
2022-02-12 15:57:44 +09:00 |
|
Alexander Akait
|
cfb2248a2e
|
fix(css/ast): Use SimpleBlock in more types (#3535)
|
2022-02-12 14:28:00 +09:00 |
|
Alexander Akait
|
fcbc2ff03f
|
feat(css/parser): Implement more parser logic for nth selectors (#3532)
|
2022-02-11 14:07:08 +00:00 |
|
Alexander Akait
|
37c49e876c
|
refactor(css/ast): Unify SimpleBlock and Block completely (#3531)
|
2022-02-11 22:31:51 +09:00 |
|
Alexander Akait
|
57f6a581fa
|
refactor(css/ast): Unify SimpleBlock and Block (#3519)
|
2022-02-11 03:58:26 +00:00 |
|
Alexander Akait
|
92a3cb9609
|
refactor(css/ast): Remove Tokens in favor of Vec<TokenAndSpan> (#3507)
|
2022-02-10 11:25:19 +00:00 |
|
Alexander Akait
|
4e124c7bca
|
refactor(css/parser): Refactor codes related to simple blocks (#3506)
|
2022-02-10 13:54:46 +09:00 |
|
Alexander Akait
|
8b438ea024
|
test(css/parser): Add some tests from postcss (#3501)
|
2022-02-09 14:41:28 +00:00 |
|
Alexander Akait
|
cbe302b99d
|
feat(css): Support urange syntax (#3491)
|
2022-02-09 12:23:14 +00:00 |
|
Alexander Akait
|
460f846934
|
refactor(css/ast): Rename types to match specification (#3484)
|
2022-02-09 19:43:15 +09:00 |
|
Donny/강동윤
|
9b76783281
|
refactor(common): Cleanup & rustfmt (#3495)
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
|
2022-02-09 06:33:32 +00:00 |
|
Alexander Akait
|
48e5b903e2
|
feat(css/parser): Improve error recovery (#3486)
|
2022-02-09 03:49:59 +00:00 |
|
Alexander Akait
|
04782ae9f7
|
test(css/parser): Add tests from postcss (#3488)
|
2022-02-09 03:25:54 +00:00 |
|
Alexander Akait
|
dc939c65af
|
feat(css/ast): Add types for all dimensions (#3477)
|
2022-02-08 11:57:57 +00:00 |
|
Alexander Akait
|
fd5668c32f
|
feat(css): Add support for @property at-rule (#3470)
|
2022-02-08 11:27:54 +00:00 |
|
Alexander Akait
|
e6f4fbf056
|
feat(css/ast): Add types for @counter-style at-rule (#3469)
|
2022-02-08 13:52:14 +09:00 |
|
Alexander Akait
|
df08e4cfd7
|
fix(css/ast): Fix type definitions for @document at-rule (#3468)
|
2022-02-08 00:41:56 +09:00 |
|
Alexander Akait
|
69660fd161
|
refactor(css/ast): Remove unused types (#3465)
|
2022-02-07 21:34:41 +09:00 |
|
Alexander Akait
|
4853821d00
|
fix(css): Fix parsing of @page at-rule (#3356)
|
2022-02-06 20:22:30 +00:00 |
|
Alexander Akait
|
e732250cdf
|
fix(css/parser): Report errors of at-rules (#3461)
|
2022-02-06 17:06:32 +00:00 |
|
Alexander Akait
|
cd87d965f3
|
refactor(css/ast): Refactor types related to selectors (#3460)
|
2022-02-06 04:24:51 +00:00 |
|
Alexander Akait
|
38879de8de
|
refactor(css/ast): Change AST for !important (#3440)
|
2022-02-05 23:22:47 +09:00 |
|
Alexander Akait
|
479b509845
|
test(css/parser): Add more tests for the selector parser (#3455)
|
2022-02-05 06:22:32 +00:00 |
|
Alexander Akait
|
5c1b02182d
|
refactor(css/ast): Refactor types related to @keyframes at-rule (#3441)
|
2022-02-04 05:10:35 +00:00 |
|
Alexander Akait
|
49564d9b5d
|
feat(css/ast): Improve types related to url tokens (#3444)
|
2022-02-04 04:05:44 +00:00 |
|
Alexander Akait
|
f1410fc09b
|
feat(css/lexer): Implement error recovery for functions (#3445)
|
2022-02-04 12:29:56 +09:00 |
|
Alexander Akait
|
340844ae6e
|
feat(css/codegen): Improve minification of numbers (#3423)
|
2022-02-02 12:59:39 +09:00 |
|
Alexander Akait
|
30c29a30cf
|
feat(css): Improve codegen where minify: true (#3414)
swc_css_codegen:
- Improve minification.
swc_css_parser:
- Add parsing rule for `sum`.
|
2022-02-01 12:30:44 +00:00 |
|
Alexander Akait
|
1b1cae0372
|
feat(css/parser): Improve parsing of math functions (#3415)
|
2022-02-01 04:20:45 +09:00 |
|
Alexander Akait
|
eeedd9adf5
|
refactor(css/ast): Rename property to name (#3410)
|
2022-01-31 05:02:30 +00:00 |
|
Alexander Akait
|
6b921cac02
|
refactor(css/ast): Use Color instead of HashValue (#3411)
|
2022-01-31 03:10:37 +00:00 |
|
Alexander Akait
|
75a14f98b7
|
fix(css): Allow empty @media at-rule (#3404)
|
2022-01-30 22:49:09 +09:00 |
|
Alexander Akait
|
1904944bf7
|
refactor(css/ast): Use Dimension instead of UnitValue (#3401)
|
2022-01-30 12:15:05 +00:00 |
|
Alexander Akait
|
2dc31d9d14
|
feat(css/ast): Add / to the delimiters (#3402)
|
2022-01-30 04:49:48 +00:00 |
|
Alexander Akait
|
3c8d985a07
|
fix(css/parser): Fix bugs related to url (#3403)
|
2022-01-30 04:10:58 +00:00 |
|
Alexander Akait
|
3ded88bffc
|
fix(css/parser): Fix parser logic related to case insensivity (#3382)
|
2022-01-30 11:59:20 +09:00 |
|
Alexander Akait
|
b31619d48e
|
refactor(css/ast): Refactor delimited values (#3397)
|
2022-01-29 12:10:29 +09:00 |
|
Alexander Akait
|
c73835bfeb
|
feat(css/parser): Improve selector parser (#3386)
|
2022-01-28 01:11:26 +09:00 |
|
Alexander Akait
|
0537ef1a11
|
feat(css/codegen): Implement minify: true (#3369)
|
2022-01-27 21:44:38 +09:00 |
|
Alexander Akait
|
dfa0286aca
|
feat(css/ast): Add types for dashed identifiers and @color-profile at-rules (#3364)
|
2022-01-26 20:35:49 +09:00 |
|
Alexander Akait
|
50521d8ffa
|
feat(css/parser): Improve parsing of urls (#3362)
|
2022-01-26 04:45:49 +00:00 |
|
Alexander Akait
|
6fc7562686
|
refactor(css/ast): Rename PercentValue to Percent (#3363)
|
2022-01-25 14:44:28 +00:00 |
|
Alexander Akait
|
7787f90da0
|
refactor(css/ast): Fix type definitions related to @import at-rule (#3351)
|
2022-01-25 22:50:23 +09:00 |
|
Alexander Akait
|
c7e5faea5c
|
feat(css/ast): Add Ratio , which is defined by spec (#3335)
|
2022-01-24 14:27:10 +00:00 |
|
Alexander Akait
|
c664eafdef
|
refactor(css/ast): Merge several kinds of blocks into a single type (#3336)
|
2022-01-22 14:10:25 +00:00 |
|
Alexander Akait
|
9f3806029c
|
fix(css): Fix @supports at-rule (#3329)
|
2022-01-21 22:32:49 +09:00 |
|
Alexander Akait
|
f89ffa67ae
|
fix(css): Fix @keyframes at-rule (#3331)
|
2022-01-21 01:55:49 +00:00 |
|
Alexander Akait
|
34943ffa15
|
fix(css): Fix the type definition of @support at-rules (#3330)
|
2022-01-21 00:57:29 +00:00 |
|
Alexander Akait
|
506a31078a
|
fix(css/parser): Fix parsing of at rules (#3328)
|
2022-01-20 14:15:36 +00:00 |
|
Alexander Akait
|
0723ee2828
|
fix(css): Fix parsing of media queries (#3318)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
|
2022-01-20 02:57:24 +00:00 |
|
Donny/강동윤
|
e8670b3383
|
refactor(es): More fix for clippy (#3280)
|
2022-01-16 14:33:06 +09:00 |
|
Alexander Akait
|
c195335012
|
feat(css): Support @layer at-rule (#3258)
|
2022-01-14 11:21:41 +00:00 |
|
Donny/강동윤
|
e0c8bbf7a0
|
fix(css/parser): Fix lexing of value starting with - (#3011)
swc_css_parser:
- Lex `-` as an identifier start.
|
2021-12-11 16:23:02 +09:00 |
|
Donny/강동윤
|
e48263b2f3
|
refactor(visit): Remove &dyn Node from Visit (#2984)
swc_visit_macros:
- Remove `&dyn Node` from `Visit`.
- Implement `VisitWith<V>` for `[T]`.
|
2021-12-07 14:34:16 +09:00 |
|
Alexander Akait
|
8781527751
|
fix(css/ast): Fix type definitions related to parsing unknown at-rules (#2922)
swc_css_ast:
- Rename `FnValue` to `Function`.
|
2021-12-01 17:07:49 +00:00 |
|