1792 Commits

Author SHA1 Message Date
Dirk Stolle
343c7124a4 fix some typos (#78) 2023-07-09 21:21:42 +00:00
Dirk Stolle
18131c10ad replace unmaintained actions-rs/* actions in CI workflows (#79) 2023-07-09 21:21:02 +00:00
greenwoodcm
beb64abac4
support $keys... argument for map.get (#83)
per the sass-lang docs [1], the user should be able to invoke
`map.get($my-map, "key1", "key2")` to perform a nested lookup
of the two keys.  the current implementation fails if provided
more than two arguments to `map.get`.  this change implements
the nested get.  fixes #80.

[1] https://sass-lang.com/documentation/modules/map/
2023-07-09 13:55:45 -04:00
Connor Skees
346b8c127b allow building docs with stable rust compiler 2023-06-30 06:22:25 +00:00
Connor Skees
8b34d0ee2a expose more AST internals in grass_compiler 2023-06-30 05:34:05 +00:00
Connor Skees
8363ca1dd3 various module system improvements and bug fixes 2023-05-20 18:13:15 +00:00
Connor Skees
28c2269bb1 bump version to 0.12.4 2023-05-12 02:44:14 +00:00
Connor Skees
eecff6d58a implement builtin fn map.deep-remove 2023-05-12 02:34:25 +00:00
Connor Skees
f811b243c7 implement builtin fn map.deep-merge(..) 2023-05-11 16:38:56 +00:00
Connor Skees
fa6b2933c6 commit lockfile 2023-04-20 14:10:56 +00:00
Connor Skees
712a14b36e bump version to 0.12.3 2023-02-18 15:09:23 -05:00
Connor Skees
b13fcc3f08 expose more internals 2023-02-18 15:05:51 -05:00
Connor Skees
7d19140b4d default-features = false for grass_compiler 2023-02-18 15:00:59 -05:00
Connor Skees
c1144cf715 remove glob re-export 2023-02-18 12:06:55 -05:00
connorskees
dc6a2d1165 resolve more todos 2023-02-02 06:14:10 +00:00
connorskees
cd193dd006 bump version to 0.12.2 2023-02-01 02:45:17 +00:00
connorskees
942bb20d75 revert float formatting change
this change does fix more number tests, but i'm not certain that
it doesn't break cases we don't test for.

it only solves extremely niche edge cases, so for now reverting
until we can be more certain in a later release
2023-02-01 02:42:19 +00:00
Roland Fredenhagen
1e440a0d2c
fix calc whitespace (#71) 2023-01-31 18:57:10 -05:00
connorskees
45ad97e0be fix typo in docs 2023-01-25 03:35:46 +00:00
connorskees
40d2aa232a improve code coverage 2023-01-21 23:06:43 +00:00
connorskees
5889859968 increase selector code coverage 2023-01-20 22:59:27 +00:00
connorskees
d0d9459d8e improve compressed output for selectors and colors 2023-01-18 05:55:55 +00:00
connorskees
3b7f4dd039 use compressed output in doc example
makes this feature more discoverable, as it's typically what users want
2023-01-18 02:17:35 +00:00
connorskees
23abe152bd increase code coverage 2023-01-18 01:39:40 +00:00
saolof
ef7d188062
Add profile to generate a small final binary (#68)
adds `profile.small`, which optimizes for binary size instead of runtime performance
2023-01-17 01:07:20 -05:00
connorskees
0de3d2709f resolve all failing color spec tests 2023-01-17 05:22:34 +00:00
connorskees
a7c2ca7b82 clippy 2023-01-16 22:32:03 +00:00
connorskees
f5a654fe5b simplify builtin fn argument handling 2023-01-16 06:46:56 +00:00
connorskees
95efc582b5 naively cache imports in certain cases 2023-01-11 14:59:28 +00:00
connorskees
3cb5e66fda resolve edge case when interpolated parent selector expands to be larger than source span _and_ it contains an escaped character 2023-01-11 01:10:36 +00:00
connorskees
0ec8616e11 add Sass documentation link to readme 2023-01-09 01:51:54 +00:00
connorskees
68b1ee0d1d allocate arg vec with capacity during eval 2023-01-09 01:51:54 +00:00
Connor Skees
1052005ab6 update readme path 2023-01-08 12:06:58 -05:00
Connor Skees
fb1a18f259 explicit version for compiler dependency 2023-01-08 11:05:36 -05:00
Connor Skees
7b284f1da7 rustfmt 2023-01-08 10:57:00 -05:00
Connor Skees
a6f8b73324 rename compiler crate 2023-01-08 10:52:53 -05:00
connorskees
2a9e20d037 clippy 2023-01-08 15:35:18 +00:00
connorskees
0902851862 simplify div and modulo implementations 2023-01-08 15:25:18 +00:00
connorskees
f321f36faf reduce cloning in argument evaluation 2023-01-08 15:05:59 +00:00
connorskees
bf0d912dc8 clippy 2023-01-08 00:33:39 +00:00
connorskees
3c1b14406a convert to workspace 2023-01-07 19:47:32 +00:00
connorskees
1f873e1f0e bump version to 0.12.1 2023-01-07 17:58:49 +00:00
connorskees
1474c3bafc fix failing doc test 2023-01-07 17:39:41 +00:00
connorskees
afba0dd993 fix CI, rustfmt 2023-01-07 17:32:51 +00:00
connorskees
d7962e02be fix include_sass test 2023-01-07 17:08:42 +00:00
connorskees
16ad7298fe lazily compute token spans 2023-01-07 08:56:24 +00:00
connorskees
4f6bff8716 put more things in Arc 2023-01-07 08:02:57 +00:00
connorskees
02d36f872a split binop into separate struct 2023-01-07 07:03:35 +00:00
connorskees
190201bcce use Arc instead of Box inside AstExpr
speeds up bootstrap by ~15-20%
2023-01-07 06:48:28 +00:00
connorskees
f20c000b54 is_true => is_truthy 2023-01-07 05:31:13 +00:00