1449 Commits

Author SHA1 Message Date
Connor Skees
5c8e88d16b remove panic on malformed bracketed list 2020-08-04 02:36:33 -04:00
Connor Skees
9c2d1200f7 allow multiline comments in functions 2020-08-04 02:13:15 -04:00
Connor Skees
a79c62c2fa allow escaped ! in selectors 2020-08-04 02:05:59 -04:00
Connor Skees
55bcd1d1dd resolve panic from malformed filter argument 2020-08-04 01:35:49 -04:00
Connor Skees
622d44ac63 disallow selectors and styles in functions 2020-08-04 01:18:34 -04:00
Connor Skees
3e5f69118b disallow more at-rules in @function 2020-08-02 23:00:00 -04:00
Connor Skees
2df5e1b274 resolve panic on malformed args missing closing parenthesis 2020-08-02 22:24:37 -04:00
Connor Skees
74dad6af0c allow whitespace after multiline comment in named args 2020-08-02 15:57:58 -04:00
Ivan Tham
4a9c200a7e remove alpha from get_by_name 2020-08-02 15:03:55 -04:00
Ivan Tham
c5814a4a06 refactor parser return 2020-08-02 15:03:55 -04:00
Ivan Tham
edec89093b use phf for named rgba map hashing
Improves many_named_colors benchmark by ~40%.

many_named_colors       time:   [897.66 us 900.05 us 903.05 us]
                        change: [-41.299% -40.114% -38.800%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) high mild
  4 (4.00%) high severe
2020-08-02 15:03:55 -04:00
Ivan Tham
45476b8a75 elide lifetime for Default Options impl 2020-08-02 15:03:55 -04:00
Connor Skees
db41737ec7 hue can never be exactly 360 2020-08-02 15:03:26 -04:00
Connor Skees
6189810ced allow vendor prefixed special css functions 2020-08-02 14:52:46 -04:00
Connor Skees
da3c3eabfc refactor how @content scoping is handled 2020-07-30 23:40:34 -04:00
Connor Skees
da9c0b78b2 variables declared in mixins can be accessed after @content 2020-07-30 22:26:24 -04:00
Connor Skees
f587a36367 fix regression involving min and max inside color functions 2020-07-29 08:27:53 -04:00
Connor Skees
6beb95ece0 fix @keyframes test failing from typo 2020-07-29 07:31:58 -04:00
Connor Skees
e0cecb4e5c allow @keyframes to have vendor prefixes and decimal selectors 2020-07-29 07:25:21 -04:00
Connor Skees
627bd62bb9 ignore more Sass frameworks 2020-07-29 07:25:21 -04:00
Connor Skees
6631b8ae0e correctly parse the function filter syntax 2020-07-28 18:09:23 -04:00
Connor Skees
ace9757897 use a predicate to simplify and improve parsing of maps 2020-07-28 01:59:43 -04:00
Connor Skees
f69b863e33 better handle silent comments in maps and fn args 2020-07-27 22:30:36 -04:00
Connor Skees
dee6699bde remove superfluous parser creation 2020-07-25 18:33:59 -04:00
Connor Skees
7f25d526f5 more liberally throw away comments alongside whitespace 2020-07-25 15:03:49 -04:00
Connor Skees
3757c39c6f resolve panic from the input foo($--) 2020-07-25 14:45:11 -04:00
Connor Skees
f2cd74528b remove unwrap from next_is_hyphen() 2020-07-25 01:05:42 -04:00
Connor Skees
91b000ac0d bump version to 0.10.0 2020-07-24 23:59:36 -04:00
Connor Skees
98fcc76a65 resolve wasm build issues 2020-07-24 23:58:26 -04:00
Connor Skees
9dc87f4c96 bump dependencies 2020-07-24 23:54:19 -04:00
Connor Skees
a48e50f6e4 update changelog and passing tests 2020-07-24 23:49:26 -04:00
Connor Skees
68e5f40f7d load paths take at most one per arg 2020-07-24 23:34:25 -04:00
Connor Skees
bafafcf0b4 deduplicate @import test filenames 2020-07-24 20:24:47 -04:00
Connor Skees
67cbf9591a allow !optional in @extend 2020-07-24 20:23:54 -04:00
Connor Skees
5634681fa2 lazily evaluate default variable values 2020-07-24 20:13:14 -04:00
Connor Skees
01a11d7787 add unit test for lasso regression 2020-07-24 20:00:29 -04:00
Connor Skees
fa06351af0 drop lasso back down to 0.2.0 due to regressions 2020-07-24 17:54:48 -04:00
Joe Ling - uni laptop
745fbc4e95 added tests for trailing commas and css imports 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
428599f091 fixed test tempfile naming 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
be4d02490c added comma separated imports 2020-07-24 15:40:34 -04:00
Ivan Tham
741f560e90 bump lasso 0.3 2020-07-22 17:23:47 -04:00
Ivan Tham
55c2aa2749
refactor load_paths 2020-07-16 21:15:24 +08:00
Connor Skees
938ba492c4 simplify somewhat how load paths are calculated from the cli 2020-07-16 00:22:50 -04:00
Connor Skees
179b368ef8 add cli option to read Sass from stdin 2020-07-16 00:20:51 -04:00
Connor Skees
fb724b8bee use dynamic dispatch to simplify file io a bit 2020-07-16 00:07:59 -04:00
Connor Skees
d5d527ab70 implement configuration: allows_charset 2020-07-16 00:02:42 -04:00
Connor Skees
2ea48b4445 implement unicode error message configuration 2020-07-15 23:54:46 -04:00
Connor Skees
9d55adf927 improve documentation for Options struct 2020-07-15 14:03:11 -04:00
Connor Skees
2b59bdf961 implement option for quiet output 2020-07-15 13:40:39 -04:00
Connor Skees
f8453e4a0a disallow interpolation in the name of mixin declarations 2020-07-15 13:20:50 -04:00