Commit Graph

417 Commits

Author SHA1 Message Date
SWC Bot
79b2279470 chore: Publish crates 2022-12-06 13:08:27 +00:00
Donny/강동윤
78955995a2
perf(css/minifier): Improve performance (#6583) 2022-12-06 13:04:34 +00:00
SWC Bot
6e5abdd9cc chore: Publish crates 2022-12-06 11:51:49 +00:00
Donny/강동윤
4171ee7fb3
perf(css/minifier): Remove more redundant clones (#6580) 2022-12-06 20:48:00 +09:00
SWC Bot
866fd09bad chore: Publish crates 2022-12-06 06:23:44 +00:00
Donny/강동윤
70ac0286e5
perf(css/minifier): Remove redundant clone (#6579) 2022-12-06 15:20:05 +09:00
SWC Bot
a475f61ac3 chore: Publish crates 2022-12-06 02:01:49 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size (#6569) 2022-12-06 01:58:29 +00:00
SWC Bot
2379fc1fd9 chore: Publish crates 2022-12-04 05:55:52 +00:00
SWC Bot
cffa11122b chore: Publish crates 2022-12-03 00:26:38 +00:00
SWC Bot
ab2e19b601 chore: Publish crates 2022-12-02 08:01:39 +00:00
SWC Bot
974406a7c5 chore: Publish crates 2022-12-02 03:56:52 +00:00
SWC Bot
92877096fe chore: Publish crates 2022-12-01 06:30:18 +00:00
SWC Bot
171733e8bb chore: Publish crates 2022-11-30 07:50:13 +00:00
SWC Bot
7bc840d3b9 chore: Publish crates 2022-11-30 05:10:51 +00:00
SWC Bot
5a9aab2392 chore: Publish crates 2022-11-28 16:00:01 +00:00
SWC Bot
96a1f93e91 chore: Publish crates 2022-11-28 07:54:59 +00:00
SWC Bot
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
SWC Bot
6d4dcfd18c chore: Publish crates 2022-11-15 01:52:06 +00:00
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
SWC Bot
6ba1f5c09f chore: Publish crates 2022-11-11 07:31:04 +00:00
SWC Bot
c39380d7a0 chore: Publish crates 2022-11-11 01:27:12 +00:00
Alexander Akait
ec2c021255
perf(css/ast): Use Atom for raw values (#6401) 2022-11-11 01:24:11 +00:00
SWC Bot
f16f93c668 chore: Publish crates 2022-11-10 03:40:39 +00:00
SWC Bot
4035f59d7e chore: Publish crates 2022-11-10 02:47:50 +00:00
SWC Bot
10fc03ae43 chore: Publish crates 2022-11-10 02:13:01 +00:00
SWC Bot
68c8c33d29 chore: Publish crates 2022-11-10 01:39:43 +00:00
Alexander Akait
bea6cce0c6
perf(css): Reduce size of tokens (#6384) 2022-11-10 01:36:53 +00:00
SWC Bot
7fcd2b2a6c chore: Publish crates 2022-11-09 01:53:23 +00:00
SWC Bot
410ec6f6c7 chore: Publish crates 2022-11-08 01:35:42 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports() (#6333) 2022-11-08 01:32:48 +00:00
SWC Bot
5e18ebf61c chore: Publish crates 2022-11-03 15:12:17 +00:00
Alexander Akait
e0967efa6e
feat(css/parser): Support new nesting spec (#6337) 2022-11-03 15:08:23 +00:00
SWC Bot
8df5ef9d54 chore: Publish crates 2022-11-03 06:33:20 +00:00
SWC Bot
ff700d8252 chore: Publish crates 2022-10-29 08:31:56 +00:00
SWC Bot
fdeb7bc4fe chore: Publish crates 2022-10-28 04:37:31 +00:00
SWC Bot
ecba41691d chore: Publish crates 2022-10-28 03:17:00 +00:00
SWC Bot
a4546a4d22 chore: Publish crates 2022-10-28 01:27:37 +00:00
Alexander Akait
cd1319d9be
test(css/minifier): Fix fixture tester (#6222) 2022-10-27 12:43:01 +00:00
SWC Bot
c41fe0d261 chore: Publish crates 2022-10-27 01:58:16 +00:00
SWC Bot
fd4b66ea8c chore: Publish crates 2022-10-27 01:25:04 +00:00
SWC Bot
51132f0636 chore: Publish crates 2022-10-27 00:19:24 +00:00
SWC Bot
dcd024f866 chore: Publish crates 2022-10-26 10:25:23 +00:00
SWC Bot
2f05c3fd32 chore: Publish crates 2022-10-24 03:58:37 +00:00
SWC Bot
d05deb8a07 chore: Publish crates 2022-10-24 03:14:40 +00:00
SWC Bot
2dbff698b8 chore: Publish crates 2022-10-22 22:52:58 +00:00
SWC Bot
ac3949e34f chore: Publish crates 2022-10-22 04:24:21 +00:00
Alexander Akait
ac619e88bf
refactor(css/parser): Use new approach for parsing invalid tokens (#6224)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-22 04:21:40 +00:00
SWC Bot
67c5af7762 chore: Publish crates 2022-10-21 12:52:30 +00:00
Alexander Akait
8b6b9c0961
feat(css/minifier): Merge rules (#6220) 2022-10-21 21:49:25 +09:00
Alexander Akait
055bdcd997
test(css/minifier): Add tests for layer (#6221) 2022-10-21 01:36:00 +00:00
SWC Bot
3f648bdf0f chore: Publish crates 2022-10-20 08:59:26 +00:00
SWC Bot
0c23592d14 chore: Publish crates 2022-10-20 01:50:04 +00:00
SWC Bot
b48ec880fd chore: Publish crates 2022-10-19 04:00:51 +00:00
SWC Bot
dc2c416bee chore: Publish crates 2022-10-19 02:54:47 +00:00
Alexander Akait
ac7cfa13b6
fix(css/minifier): Don't touch @supports (#6199) 2022-10-19 02:51:49 +00:00
SWC Bot
a049ef058b chore: Publish crates 2022-10-18 14:51:39 +00:00
SWC Bot
a029ca2430 chore: Publish crates 2022-10-18 03:39:03 +00:00
SWC Bot
25df5b37af chore: Publish crates 2022-10-18 01:44:30 +00:00
SWC Bot
701c3c0367 chore: Publish crates 2022-10-17 12:42:46 +00:00
SWC Bot
21b7605bee chore: Publish crates 2022-10-17 12:11:23 +00:00
Vincent Ricard
d4a733d764
feat(css/minifier): Handle nested calc() (#6153) 2022-10-17 12:08:43 +00:00
SWC Bot
ba6d714fe7 chore: Publish crates 2022-10-15 06:24:26 +00:00
Alexander Akait
0f38e38984
feat(css/minifier): Handle zero in at-rules (#6155) 2022-10-15 06:21:20 +00:00
SWC Bot
1ed0203262 chore: Publish crates 2022-10-14 14:49:13 +00:00
Alexander Akait
26aeb18c0c
fix(css/parser): Improve handling of math functions in at-rules (#6140) 2022-10-14 14:46:36 +00:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
SWC Bot
a871b13906 chore: Publish crates 2022-10-13 05:34:51 +00:00
SWC Bot
871ed71b52 chore: Publish crates 2022-10-13 04:18:02 +00:00
SWC Bot
b07a17a959 chore: Publish crates 2022-10-13 03:20:07 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code (#6132) 2022-10-13 12:17:11 +09:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
Vincent Ricard
205a317c4d
feat(css/minifier): Compute calc expressions (#5966) 2022-10-12 10:03:14 +00:00
Donny/강동윤
d6fd476721
chore(ci): Deny clippy warnings (#6126) 2022-10-12 04:59:54 +00:00
SWC Bot
8e35f53035 chore: Publish crates 2022-10-12 03:00:58 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
Alexander Akait
7343cf3389
perf(atoms): Add more atoms (#6122)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-11 23:52:51 +00:00
SWC Bot
5bf306565f chore: Publish crates 2022-10-11 11:23:16 +00:00
SWC Bot
86b5641d5e chore: Publish crates 2022-10-11 05:38:58 +00:00
SWC Bot
5966aab27e chore: Publish crates 2022-10-11 04:33:40 +00:00
Alexander Akait
a920997f4b
feat(css/codegen): Support lowercase case insensitivity (#6113) 2022-10-11 04:31:17 +00:00
SWC Bot
3a3aa8d25a chore: Publish crates 2022-10-11 03:58:58 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
SWC Bot
17a2f6b893 chore: Publish crates 2022-10-07 14:54:27 +00:00
SWC Bot
d0214c33f1 chore: Publish crates 2022-10-07 05:21:25 +00:00
SWC Bot
5c486c5234 chore: Publish crates 2022-10-07 04:11:21 +00:00
SWC Bot
5f49ac012e chore: Publish crates 2022-10-06 11:38:55 +00:00
SWC Bot
5618702554 chore: Publish crates 2022-10-05 05:51:59 +00:00
SWC Bot
d620ce60ff chore: Publish crates 2022-10-02 15:36:08 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts (#5999)
**Description:**

This PR merges CI scripts, and make integration tests use patched crates.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5540.
2022-09-30 16:57:15 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
SWC Bot
c2d8c99411 chore: Publish crates 2022-09-29 01:39:48 +00:00
Alexander Akait
b3a05a057a
feat(css/codegen): Minify idents (#5972) 2022-09-29 01:35:33 +00:00
SWC Bot
c499e2054d chore: Publish crates 2022-09-28 22:57:51 +00:00
Alexander Akait
7d7c2d3a9c
perf(css/minifier): Merge all passes (#5971) 2022-09-28 22:54:08 +00:00
SWC Bot
d75addbdec chore: Publish crates 2022-09-28 10:37:40 +00:00
SWC Bot
cc312eca50 chore: Publish crates 2022-09-28 02:58:55 +00:00
Alexander Akait
dfdad69c03
feat(css/minifier): Remove duplicate @counter-style at-rules (#5970) 2022-09-28 02:55:17 +00:00
SWC Bot
e001226674 chore: Publish crates 2022-09-26 09:21:39 +00:00
SWC Bot
e5ba9636ac chore: Publish crates 2022-09-24 03:36:47 +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
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
SWC Bot
a2b3063784 chore: Publish crates 2022-09-22 06:57:15 +00:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
Jason
1dc5307069
feat(css/minifier): Minify the name of @keyframes (#5894)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5889.

Co-authored-by: 一丝 <percyley@qq.com>
2022-09-22 03:12:50 +00:00
SWC Bot
6e560644e5 chore: Publish crates 2022-09-21 08:24:14 +00:00
SWC Bot
26b9f1fc23 chore: Publish crates 2022-09-20 01:50:11 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media (#5904) 2022-09-20 10:45:49 +09:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
SWC Bot
abc722c6f8 chore: Publish crates 2022-09-13 04:46:38 +00:00
Alexander Akait
211b0a93fd
feat(css/minifier): Compress @media and @supports (#5828) 2022-09-13 04:43:41 +00:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
SWC Bot
485632ae03 chore: Publish crates 2022-09-12 01:14:29 +00:00
Alexander Akait
1803874f14
fix(css/minifier): Fix minification of universal selectors (#5826) 2022-09-12 01:11:36 +00:00
SWC Bot
c92474ee13 chore: Publish crates 2022-09-11 23:40:40 +00:00
Alexander Akait
b531410ea9
fix(css/minifier): Compress alpha (#5825) 2022-09-11 23:37:35 +00:00
SWC Bot
7811ceea3b chore: Publish crates 2022-09-11 13:59:34 +00:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types (#5823) 2022-09-11 13:56:48 +00:00
SWC Bot
fb2c33e132 chore: Publish crates 2022-09-11 09:28:02 +00:00
Donny/강동윤
9e81c2639b
perf(css/minifier): Merge passes and reduce clone (#5822) 2022-09-11 18:24:53 +09:00
SWC Bot
35736a313d chore: Publish crates 2022-09-11 07:19:34 +00:00
Donny/강동윤
4fa5a2778b
perf(css/minifier): Merge more passes into the compressor (#5821) 2022-09-11 16:16:45 +09:00
SWC Bot
70f1be9919 chore: Publish crates 2022-09-11 06:26:58 +00:00
Donny/강동윤
f523502f4c
perf(css/minifier): Merge passes (#5820)
**Description:**

A single visitor is better for performance.
2022-09-11 15:24:02 +09:00
SWC Bot
0fe3ee682a chore: Publish crates 2022-09-10 10:06:02 +00:00
SWC Bot
f739976bdd chore: Publish crates 2022-09-10 09:21:51 +00:00
Donny/강동윤
91ed13e098
perf(css/parser): Remove needless branching (#5809) 2022-09-10 18:18:47 +09:00
SWC Bot
53b134f80b chore: Publish crates 2022-09-10 08:35:20 +00:00
SWC Bot
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00:00
Donny/강동윤
7391cc99b1
perf(css/minifier): Use JsWord instead of &str (#5806) 2022-09-10 07:20:51 +00:00
SWC Bot
6cf71285a6 chore: Publish crates 2022-09-10 06:39:04 +00:00
SWC Bot
4859052f4f chore: Publish crates 2022-09-10 04:42:39 +00:00
Donny/강동윤
88e59ffcda
perf(css/minifier): Setup benchmark (#5800)
**Description:**

I created a simple benchmark for the css minifier. It's full benchmark, which also profiles parser and codegen
2022-09-10 13:39:55 +09:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +00:00
SWC Bot
701fa74631 chore: Publish crates 2022-09-09 05:05:59 +00:00
SWC Bot
d2188eac3f chore: Publish crates 2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8 chore: Publish crates 2022-09-07 06:16:59 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00
Donny/강동윤
cfc3880379 chore: Publish crates 2022-08-30 12:27:05 +09:00
SWC Bot
5028658269 chore: Publish crates 2022-08-30 01:59:00 +00:00
Alexander Akait
4a5e347a8a
fix(css/minifier): Don't compress none for keyframes (#5663) 2022-08-30 01:55:29 +00:00
SWC Bot
213d8b9ab5 chore: Publish crates 2022-08-29 15:29:16 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector (#5539) 2022-08-29 15:25:48 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
SWC Bot
0f5d02568b chore: Publish crates 2022-08-20 01:52:20 +00:00