Donny/강동윤
279ea910e0
build: Update rustc
to nightly-2024-07-21
( #9319 )
2024-07-23 05:31:35 +00:00
Donny/강동윤
a417ff4d86
feat(allocator): Add maybe
types ( #9278 )
2024-07-19 13:22:34 +09:00
Donny/강동윤
b2491e5461
refactor(common): Drop SyntaxContext
from AST nodes ( #9175 )
2024-07-12 13:13:20 +09:00
Donny/강동윤
f9459a8adf
build(cargo): Update rustc
to nightly-2024-04-16
( #8870 )
2024-04-17 05:42:11 +00:00
Donny/강동윤
ca9c76b46f
build(cargo): Update rustc to nightly-2024-04-03
( #8821 )
2024-04-16 02:20:47 +00:00
magic-akari
7cddbc618a
refactor(css/codegen): Support stable rust ( #8379 )
...
**Related issue:**
- #8316
2023-12-04 20:54:14 +00:00
Donny/강동윤
14ea705f27
build(cargo): Update rustc to nightly-2023-11-04
( #8221 )
...
**Breaking Changes**:
- `Mark::default()` is now identical as `Mark::new()`.
**Description:**
I want to see if inlining is improved
2023-11-04 21:47:10 +00:00
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word!
to drop string-cache
( #7976 )
...
**Description:**
This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.
**Related issue:**
- #4946 .
2023-10-08 00:39:51 +00:00
Jason
a34f3592b3
feat(css/ast): Support @scope
at-rule ( #7837 )
...
> ### Describe the feature
> [Chrome 118 is shipping
soon](https://chromium-review.googlesource.com/c/chromium/src/+/4790561 ),
which is expected to be one of the more popular CSS features, giving new
hope for style isolation of components.
>
> * Explainer https://css.oddbird.net/scope/explainer
> * Specification https://drafts.csswg.org/css-cascade-6/#scope-atrule
>
Closed : #7836
2023-08-24 08:18:35 +00:00
Kieran Siek
95ac74e6e4
refactor(common): Remove add_bitflags
and update bitflags
( #7571 )
2023-06-23 11:26:22 +09:00
IWANABETHATGUY
c4cce12758
build(cargo): Update bitflags
to v2 ( #7270 )
2023-04-15 03:26:56 +00:00
Donny/강동윤
150c2b6fba
fix(css/codegen): Preserve raw
of numbers ( #7131 )
...
**Description:**
x-ref: https://vercel.slack.com/archives/C03EWR7LGEN/p1679513958649249
2023-03-23 09:12:07 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13
( #6920 )
2023-03-14 04:56:21 +00:00
Donny/강동윤
7849a2d75d
fix(css/codegen): Respect raw
of Str
( #7078 )
2023-03-14 01:19:09 +00:00
Alexander Akait
43e75194e5
feat(css/parser): Normalize at-rules ( #6705 )
2023-01-14 08:58:24 +00:00
Alexander Akait
8af627d5c4
feat(css/parser): Normalize urange ( #6704 )
2022-12-27 12:22:46 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw
( #6674 )
2022-12-22 01:36:36 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name ( #6667 )
2022-12-20 12:43:58 +00:00
Alexander Akait
1fc97a7cea
feat(css/parser): Normalize declaration and important ( #6663 )
2022-12-16 02:34:18 +00:00
Alexander Akait
cb49fa6f1d
feat(css/minifier): Support to
and from
with initial
( #6613 )
2022-12-12 02:36:48 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive ( #6606 )
2022-12-09 02:27:19 +00:00
Donny/강동윤
538d63eb80
perf(css/codegen): Reduce allocations ( #6599 )
2022-12-08 05:47:35 +00:00
Donny/강동윤
08b6eab010
perf(css/parser): Don't allocate for comparisons ( #6593 )
2022-12-07 09:27:06 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size ( #6569 )
2022-12-06 01:58:29 +00:00
Alexander Akait
ec2c021255
perf(css/ast): Use Atom
for raw
values ( #6401 )
2022-11-11 01:24:11 +00:00
Alexander Akait
bea6cce0c6
perf(css): Reduce size of tokens ( #6384 )
2022-11-10 01:36:53 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports()
( #6333 )
2022-11-08 01:32:48 +00:00
Alexander Akait
e0967efa6e
feat(css/parser): Support new nesting spec ( #6337 )
2022-11-03 15:08:23 +00:00
Alexander Akait
2813acccc2
fix(css/parser): Fix various issues ( #6281 )
2022-10-28 04:34:23 +00:00
Alexander Akait
a0e4684476
refactor(css/parser): Refactor more ( #6251 )
2022-10-26 19:22:27 +09:00
Alexander Akait
6c170e59c7
refactor(css/ast): Refactor dashed ident ( #6198 )
2022-10-19 03:58:16 +00:00
Alexander Akait
4fba0db3d9
fix(css/codegen): Fix codegen of pseudo class selectors ( #6186 )
2022-10-18 12:35:53 +09:00
Alexander Akait
d46a19b554
feat(css/ast): Support @custom-media
at-rule ( #6152 )
2022-10-17 12:40:00 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block ( #6131 )
2022-10-13 05:31:34 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types ( #6124 )
2022-10-13 04:15:29 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code ( #6132 )
2022-10-13 12:17:11 +09:00
Alexander Akait
c765f0ff73
fix(css/ast): Fix AST types for namespace ( #6112 )
2022-10-12 02:57:43 +00:00
Alexander Akait
6b3f4bb1c6
feat(css/ast): Add AST types for gradients ( #6111 )
2022-10-11 14:36:05 +09:00
Alexander Akait
a920997f4b
feat(css/codegen): Support lowercase case insensitivity ( #6113 )
2022-10-11 04:31:17 +00:00
Alexander Akait
1938ed26a1
feat(css/ast): Support ::highlight()
( #6109 )
2022-10-11 03:56:32 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed>
for @media
at-rules ( #6082 )
2022-10-07 14:51:53 +00:00
Alexander Akait
0a61374d02
feat(css/ast): Support @container
at-rule ( #6076 )
2022-10-07 04:07:49 +00:00
Alexander Akait
b3a05a057a
feat(css/codegen): Minify idents ( #5972 )
2022-09-29 01:35:33 +00:00
Jason
64694dc7d5
fix(css/parser): Report an error for invalid layer
in @import
( #5928 )
2022-09-22 06:53:34 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media
( #5904 )
2022-09-20 10:45:49 +09:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types ( #5823 )
2022-09-11 13:56:48 +00:00
Donny/강동윤
b96eb1ead8
perf(css/codegen): Skip useless operations if not required ( #5802 )
...
**Description:**
The column is used only for sourcemap, so we can skip `chars().count()` if we are not generating source maps.
2022-09-10 15:36:15 +09: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