1677 Commits

Author SHA1 Message Date
Connor Skees
140890c279 refactor evaluation of order of operations 2021-07-25 22:51:33 -04:00
Connor Skees
2e1fa7ca2c improve handling of $base to math.log 2021-07-25 22:50:56 -04:00
Connor Skees
1c553fd8dc manually impl eq for Number, rather than derive 2021-07-25 16:12:47 -04:00
Connor Skees
1a72f06f78 bump version to 0.10.6 2021-07-25 13:02:58 -04:00
Connor Skees
94fe52a81d support compressed lists and number values 2021-07-25 09:57:55 -04:00
Connor Skees
3ced8feed5 avoid cloning selector to determine visibility 2021-07-25 02:21:25 -04:00
Connor Skees
86a1ffec42 refactor parsing of unknown at rules 2021-07-24 22:42:36 -04:00
Connor Skees
3ab2aa961a don't clone in order to construct lexer 2021-07-24 20:10:10 -04:00
Connor Skees
c7e3ff39cf update readme and changelog 2021-07-24 19:17:29 -04:00
Connor Skees
cbc65d252a update sass-spec submodule 2021-07-24 19:17:05 -04:00
Connor Skees
5acbc71071 improve handling of newlines for @at-root 2021-07-24 17:42:40 -04:00
Connor Skees
3ea5dd48b3 newline after @supports when nested inside style rule 2021-07-24 15:04:40 -04:00
Connor Skees
fccf93cd96 originals uses pointer equality check, rather than true equality 2021-07-24 14:42:21 -04:00
Connor Skees
b44f81bd60 newlines inside @supports are the same as outside 2021-07-24 01:18:36 -04:00
Connor Skees
36411e36d3 space between styles inside @supports 2021-07-24 00:58:12 -04:00
Connor Skees
d81d368d8a use tag rather than sha for bootstrap 2021-07-24 00:01:19 -04:00
Connor Skees
35a82ecf70 add bootstrap check to ci 2021-07-23 23:48:04 -04:00
Connor Skees
6febd161af refactor how newlines are emitted between unrelated style rules
this makes our output of bootstrap correct, byte-for-byte
2021-07-23 22:35:08 -04:00
Connor Skees
548a5921e6 encountering placeholder selector resets has_written 2021-07-23 03:28:41 -04:00
Connor Skees
ec4fe9164d do not emit newline between media query and ruleset 2021-07-23 03:08:23 -04:00
Connor Skees
5c4f11e63d do not emit newline between media queries when they follow ruleset 2021-07-23 02:22:47 -04:00
Connor Skees
6b109a5c3d improve handling of newlines around comments 2021-07-23 01:50:26 -04:00
Connor Skees
0edb60e2b3 support three level extend loop
the last feature stopping us from semantic parity with `dart-sass` when
compiling bootstrap.

this was a difficult bug -- it essentially boiled down to the fact that
we weren't applying extensions to _super_ selectors.

i suspect that this has somehow broken another feature of `@extend`, but
all of our unit tests, the sass spec, and bootstrap seem to be correct,
so i am considering this implemented.
2021-07-22 21:23:09 -04:00
Connor Skees
6de7b113cf avoid collecting in pseudo selector extension (small perf win) 2021-07-21 23:35:19 -04:00
Connor Skees
bc33fd4cd7 update changelog 2021-07-21 22:56:10 -04:00
Connor Skees
fba42df43b test for hue when largest channel is blue 2021-07-21 22:07:03 -04:00
Connor Skees
9ed2a8a984 prepare for media query merging 2021-07-21 20:24:25 -04:00
Connor Skees
be3edd8a62 update parser docs 2021-07-21 19:10:16 -04:00
Connor Skees
d360af2cd6 improve code coverage 2021-07-21 09:17:37 -04:00
Connor Skees
26ec16a802 more robustly parse @else if 2021-07-20 23:55:18 -04:00
Connor Skees
b4c346f51f use consume_char_if_exists in more places 2021-07-20 21:50:22 -04:00
Connor Skees
7979158465 simplify parsing of @function and throw error on invalid @charset 2021-07-20 20:41:21 -04:00
Connor Skees
584b42f00f simplify parsing of float exponents 2021-07-20 11:28:47 -04:00
Connor Skees
2ec365ddfc simplify lookahead in variable flag parsing 2021-07-20 11:15:19 -04:00
Connor Skees
2969f08e43 simplify lookahead for @for 2021-07-20 11:04:14 -04:00
Connor Skees
fd685ee36f include full parser context in predicate 2021-07-20 10:37:29 -04:00
Connor Skees
a34aa32128 simplify lookahead for @use and @media 2021-07-19 20:50:12 -04:00
Connor Skees
c2e84e3854 update changelog 2021-07-19 19:52:09 -04:00
Connor Skees
839f101829 emit comments inside @if rule 2021-07-14 21:19:38 -04:00
Connor Skees
1a660c7aa8 more correctly emit newlines around 2021-07-14 21:09:30 -04:00
Connor Skees
be9eb8e0b0 improve code coverage
also identified dead code and a bug in saturation and hue fns
2021-07-14 01:40:11 -04:00
Connor Skees
dceaea6d42 simplify lookahead in @if parsing 2021-07-12 03:17:17 -04:00
Connor Skees
a4004dce4f simplify lookahead in argument parsing 2021-07-12 03:07:07 -04:00
Connor Skees
91aaa70446 refactor how url peeking is implemented 2021-07-12 02:59:20 -04:00
Connor Skees
03f48cfd22 more robustly parse comments inside min and max 2021-07-12 02:22:13 -04:00
Connor Skees
8e08a5de4f support special fns inside min and max 2021-07-12 01:59:30 -04:00
Connor Skees
6d0eaef9c0 make option builder methods const 2021-07-11 17:04:46 -04:00
Connor Skees
adfecfa83e remove peekmore dependency 2021-07-11 15:12:46 -04:00
Connor Skees
7ad2da040f support min and max as arguments to min and max 2021-07-11 02:13:05 -04:00
Paolo Barbolini
c40eec8728
Update dependencies (#48) 2021-07-11 01:35:56 -04:00