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
Joe Ling - uni laptop
1307005639
fmt fixed
2020-07-15 13:57:48 +01:00
Joe Ling - uni laptop
9135dd4782
fixed clippy errors again by addign inline for options::default
2020-07-15 13:53:15 +01:00
Joe Ling - uni laptop
07524e0905
fixed clippy errors
2020-07-15 13:42:18 +01:00
Joe Ling - uni laptop
50d1987af2
Added grass::Options and implemented options.load_paths
2020-07-15 12:37:19 +01:00
Joe Ling - uni laptop
5c20c00d6d
updated comments for import and from_paths
2020-07-13 18:53:53 +01:00
Joe Ling - uni laptop
ec5ab05330
added find_import to import and renamed lib method to from_paths
2020-07-13 18:18:25 +01:00
Joe Ling - uni laptop
33a2c7efbf
fixed fmt and clippy warnings
2020-07-13 16:17:16 +01:00
Joe Ling - uni laptop
afbae12b72
fixed formatting
2020-07-13 15:39:14 +01:00
Joe Ling - uni laptop
fe26350932
Added load_paths for @import
2020-07-13 14:52:52 +01:00
Connor Skees
20fc9e8e6b
simplify interpolated ident parsing by changing if stmt to match
2020-07-12 13:18:39 -04:00