906 Commits

Author SHA1 Message Date
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
a29d8aea7b test unquoted escape minus unquoted 2020-04-21 06:01:11 -04:00
ConnorSkees
2567af74de clearer comment in tests 2020-04-21 05:38:38 -04:00
ConnorSkees
21dcbf0be9 bump version to 0.7.0 2020-04-21 05:25:24 -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
11cc99e877 test nested url() 2020-04-21 04:33:30 -04:00
ConnorSkees
9b85dd7446 test for silent comments in interpolation in url 2020-04-21 04:32:09 -04:00
ConnorSkees
f8ab03a94f test invalid arithmetic in calc 2020-04-21 04:28:23 -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
716cb49991 test for newlines in special functions 2020-04-20 15:16:05 -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
ConnorSkees
8a4d74e268 refactor comment and whitespace utils to separate file 2020-04-20 14:40:51 -04:00
ConnorSkees
40451a211a refactor variable utils to separate file 2020-04-20 14:38:05 -04:00
ConnorSkees
c121bbc1e3 refactor string utils to separate file 2020-04-20 14:35:16 -04:00
ConnorSkees
760c95792c refactor char utils to separate file 2020-04-20 14:30:56 -04:00
ConnorSkees
3fd9692ce5 move utils to directory 2020-04-20 14:27:35 -04:00
ConnorSkees
aea2b65a8d remove string parsing from readme (finally!) 2020-04-20 13:59:53 -04:00
ConnorSkees
a6b61082fe interpolation of strings in idents is literal 2020-04-20 12:12:39 -04:00
ConnorSkees
29886d6845 newlines are no longer replaced with spaces in quoted strings 2020-04-20 11:48:17 -04:00
ConnorSkees
8f27525536 interpolated strings are literal 2020-04-20 11:34:49 -04:00
ConnorSkees
4ca6e304a5 allow at-rules other than else to follow @ if 2020-04-20 10:57:35 -04:00
ConnorSkees
aaf37bf4c4 add peekmore as dependency 2020-04-20 04:05:57 -04:00
ConnorSkees
4346756e9e disallow - in unit when followed by [0-9\.] 2020-04-20 04:05:02 -04:00
ConnorSkees
4cdcf4f0d4 use peekmore rather than std::iter::Peekable 2020-04-20 03:45:28 -04:00
ConnorSkees
e07ceda8c7 add unit field to ident eating 2020-04-20 03:20:08 -04:00
ConnorSkees
9790846c99 inspect comma separated list of comma separated lists 2020-04-20 03:07:02 -04:00
ConnorSkees
715f6fb94a inspect single value lists 2020-04-20 02:55:55 -04:00
ConnorSkees
c521e0a835 somewhat handle unary div 2020-04-20 02:32:46 -04:00
ConnorSkees
f8540755f5 better support for unary plus 2020-04-20 02:19:54 -04:00
ConnorSkees
b6cf00c87b addition between number and unary ops 2020-04-20 02:16:22 -04:00