ConnorSkees
f6fd0e9af5
refactor how & is handled in values
2020-04-26 13:07:44 -04:00
ConnorSkees
690c8a1f89
clippy
2020-04-26 01:52:43 -04:00
ConnorSkees
d49eb7e18b
explicitly enumerate missing at rule kinds
2020-04-26 01:37:51 -04:00
ConnorSkees
4a2503b04c
refactor attribute parsing
2020-04-26 00:55:38 -04:00
ConnorSkees
a8141d2488
handle edge case in parsing of units ending with hypen followed by whitespace
2020-04-25 20:19:50 -04:00
ConnorSkees
eb690b9adf
test for superselector in function called from get-function
2020-04-25 12:10:50 -04:00
ConnorSkees
56f198f2a7
handle () inside default value of function args
2020-04-24 23:15:41 -04:00
ConnorSkees
f60089f4f9
refactor parsing and eval of @ each
2020-04-24 22:58:28 -04:00
ConnorSkees
092cbe75bb
better error messages in args when missing { after function decl
2020-04-24 21:52:09 -04:00
ConnorSkees
cc881db254
more robustly handle import paths
2020-04-24 21:38:25 -04:00
ConnorSkees
aea4235c9b
simplify variable checks
2020-04-24 20:13:22 -04:00
ConnorSkees
2fb64934d7
emit proper error for missing quotes on @ import
2020-04-24 20:00:22 -04:00
ConnorSkees
0969df8fe5
handle url edge case involving ; and no space between before style
2020-04-24 19:13:38 -04:00
ConnorSkees
a5cd335318
properly handle whitespace and start and end of url()
2020-04-24 19:00:06 -04:00
ConnorSkees
b8ca587353
experimental support for wasm
2020-04-24 18:08:20 -04:00
ConnorSkees
a86d717f26
properly parse variable flags
2020-04-23 21:30:25 -04:00
ConnorSkees
99ae3ae30a
test for multiline comments in subtraction
2020-04-23 19:44:20 -04:00
ConnorSkees
409ac80921
handle multiline comments surrounding @ if condition
2020-04-23 19:32:32 -04:00
ConnorSkees
69764ceaa3
allow arbitrary control flow inside @ for
2020-04-23 18:53:19 -04:00
ConnorSkees
9bb7c05d19
improve handling of @ while scoping
2020-04-23 18:14:42 -04:00
ConnorSkees
ca318d47df
properly handle @ while in functions
2020-04-23 15:23:53 -04:00
ConnorSkees
f9dfd05ea1
move check inside for loop
2020-04-23 15:16:27 -04:00
ConnorSkees
1749f65fd9
Display decimal for number uses with_capacity
2020-04-23 14:41:37 -04:00
ConnorSkees
5b33b8fc74
refactor @ for to be used in @ function
2020-04-23 13:57:10 -04:00
ConnorSkees
71495cd03b
do not strip whitespace after var in call args
2020-04-23 13:54:49 -04:00
ConnorSkees
c921a54edf
explicitly handle all error kinds
2020-04-23 11:33:42 -04:00
ConnorSkees
34b886b758
more robustly handle escaping
2020-04-22 10:57:57 -04:00
ConnorSkees
680790c49a
replace max_args! macro with builtin method
2020-04-22 06:17:52 -04:00
ConnorSkees
4d989b60b1
remove final clamp! macro
2020-04-22 06:05:19 -04:00
ConnorSkees
33ccabce7b
box color in value
2020-04-21 18:54:19 -04:00
ConnorSkees
632ff5aae8
take reference to path
2020-04-21 18:43:10 -04:00
ConnorSkees
25e6151aa9
remove workaround for compiler regression
2020-04-21 18:28:46 -04:00
ConnorSkees
5480937b4d
remove FmtError variant of ErrorKind
2020-04-21 18:23:31 -04:00
ConnorSkees
3805eaab2b
clippy
2020-04-21 18:22:26 -04:00
ConnorSkees
6a01eeb1d8
Remove format module
...
This was code leftover from before there were proper unit tests. It
remained for some time as a debugging tool, but as more features have
been added, it has become a maintenance burden and no longer provides a
tangible benefit.
2020-04-21 18:01:35 -04:00
ConnorSkees
d480e60628
replace clamp! macro with builtin method
2020-04-21 17:59:40 -04:00
ConnorSkees
4607163a62
more robustly handle - as start of identifier
2020-04-21 17:57:50 -04:00
ConnorSkees
38c45129d9
refactor function eval
2020-04-21 11:32:27 -04:00
ConnorSkees
a339499c9b
return string rather than writing to buffer
2020-04-21 05:25:08 -04:00
ConnorSkees
93bd950940
2020-04-21 tests
2020-04-21 04:59:03 -04:00
ConnorSkees
1cb135c833
do not emit empty media queries
2020-04-21 04:52:47 -04:00
ConnorSkees
fc3facb80c
properly handle url()
2020-04-21 04:20:35 -04:00
ConnorSkees
b2e3322f9a
eval @each list
2020-04-21 03:19:04 -04:00
ConnorSkees
cdfd89cd75
add TODO to interpolated_ident_body
2020-04-21 02:17:11 -04:00
ConnorSkees
3e9e860e20
allow slient comments in special function args
2020-04-20 15:11:03 -04:00
ConnorSkees
0052c754cb
rename ident_body to be more explicit it does not include interpolation
2020-04-20 14:57:41 -04:00
ConnorSkees
ca69695776
remove unused IsComment trait
2020-04-20 14:57:22 -04:00
ConnorSkees
46552b3a56
remove usage of use super::*
`
2020-04-20 14:53:52 -04:00
ConnorSkees
c031286c9a
refactor number and interpolation utils to separate file
2020-04-20 14:49:29 -04:00
ConnorSkees
11a27775a4
refactor read_until utils to separate file
2020-04-20 14:45:40 -04:00