1222 Commits

Author SHA1 Message Date
ConnorSkees
bc09e49c89 remove is_float field of ParsedNumber 2020-04-28 15:28:50 -04:00
ConnorSkees
bcbf3f4a90 clippy 2020-04-28 15:14:44 -04:00
ConnorSkees
b2b5156e3b better instructions for running spec tests 2020-04-28 15:08:07 -04:00
ConnorSkees
a9ec7ff73f fix issue where only 0 would be emitted for non-scientific-notation numbers 2020-04-28 14:49:00 -04:00
ConnorSkees
a183a9ffa2 optimize parsing of numbers
This makes parsing of floats roughly 10x faster
2020-04-28 13:18:54 -04:00
ConnorSkees
2ee4396978 handle scientific notation in numbers 2020-04-28 12:15:10 -04:00
ConnorSkees
269f37034a clippy 2020-04-28 08:27:35 -04:00
ConnorSkees
8711e61398 refactor stylesheet into separate file 2020-04-27 15:53:43 -04:00
ConnorSkees
769b7628d8 refactor QualifiedName into common 2020-04-26 23:52:32 -04:00
ConnorSkees
74e3a2e0dc ignore coverage folder 2020-04-26 23:45:28 -04:00
ConnorSkees
ce32a7e5ac explicitly test for equality 2020-04-26 23:21:18 -04:00
ConnorSkees
e1db99351a more tests for type-of 2020-04-26 23:14:22 -04:00
ConnorSkees
7db57054e1 emitting get-function is an error 2020-04-26 23:11:04 -04:00
ConnorSkees
a746d81013 remove superfluous trait impls for Number 2020-04-26 23:06:32 -04:00
ConnorSkees
6fca360b81 remove superfluous impl of Display for ListSeparator 2020-04-26 23:03:30 -04:00
ConnorSkees
8ddc8ab4f4 test error message for undefined mixin and variable 2020-04-26 23:01:00 -04:00
ConnorSkees
de887daadc remove superfluous IsWhitespace impl 2020-04-26 22:57:56 -04:00
ConnorSkees
f158f03708 better handle named color transparent 2020-04-26 22:51:38 -04:00
ConnorSkees
c7ed27bb45 remove superfluous impl Display 2020-04-26 22:51:09 -04:00
ConnorSkees
003bd87caf simplify parsing of @ for to/through 2020-04-26 22:35:06 -04:00
ConnorSkees
80dfc161b2 remove unused Into<String> for Unit 2020-04-26 22:23:56 -04:00
ConnorSkees
af7e236ca3 refactor named colors into bidirectional map 2020-04-26 22:23:55 -04:00
ConnorSkees
b21bc0424f test for equality between builtin and user defined functions 2020-04-26 21:58:44 -04:00
ConnorSkees
3615835e03 allow @content in more contexts 2020-04-26 21:29:09 -04:00
ConnorSkees
6f57797c29 error inspects message 2020-04-26 19:12:36 -04:00
ConnorSkees
d53b44aafe tabs are not emitted literally 2020-04-26 19:02:43 -04:00
ConnorSkees
f4f4fe2e03 wrap match in Ok rather than all branches 2020-04-26 18:51:08 -04:00
ConnorSkees
cfa734e412 allow control flow inside @content 2020-04-26 18:40:05 -04:00
ConnorSkees
c4de587f4e investigate feature complete inspect() 2020-04-26 18:27:08 -04:00
ConnorSkees
fb7fac5a53 empty bracketed lists are not null 2020-04-26 16:39:44 -04:00
ConnorSkees
ce833b7c03 proper type for @each when single variable 2020-04-26 15:02:39 -04:00
ConnorSkees
f1b60019a1 handle self referential default args 2020-04-26 13:51:49 -04:00
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
48bffb69e0 more explicit in control flow 2020-04-26 01:45:30 -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
637dc39544 prefer #[ignore] over commenting out tests 2020-04-25 12:16:10 -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
f88c22f360 test for chained imports 2020-04-24 20:30:14 -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
ecf36cd6d3 refactor how @ import is tested 2020-04-24 19:42:04 -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