1700 Commits

Author SHA1 Message Date
ConnorSkees
0bc6445ebf fix wasm build issue 2020-05-25 19:21:00 -04:00
ConnorSkees
b149cb3484 bump version to 0.8.3 2020-05-25 16:26:31 -04:00
ConnorSkees
217ef033c4 Merge branch 'master' of https://github.com/connorskees/grass 2020-05-25 16:23:20 -04:00
ConnorSkees
eed5d37df1 create changelog 2020-05-25 16:23:10 -04:00
Connor Skees
b451ef8def
Merge pull request #7 from connorskees/beef
replace std::borrow::Cow with beef::Cow
2020-05-25 16:16:34 -04:00
ConnorSkees
6820416c8d resolve merge conflicts 2020-05-25 16:15:42 -04:00
ConnorSkees
55c91d5e04 Merge branch 'big-int-code-coverage' 2020-05-25 15:53:38 -04:00
ConnorSkees
a7d6af9cc8 clean up AtRuleKind docs 2020-05-25 15:52:53 -04:00
ConnorSkees
6e7938f969 increase code coverage for bit integers 2020-05-25 14:44:46 -04:00
ConnorSkees
d6ac99f1d7 make criterion an optional rather than dev dep
criterion was making it take too long to compile tests, and there is no
way to turn it off
2020-05-25 14:10:48 -04:00
ConnorSkees
b704cc42b6 make some benches smaller 2020-05-25 13:58:16 -04:00
ConnorSkees
bb53aaab8a replace std::borrow::Cow with beef::Cow 2020-05-25 13:09:20 -04:00
ConnorSkees
6d76e1518a refactor away many unwraps 2020-05-25 00:57:59 -04:00
ConnorSkees
ec83a9dff7 clippy 2020-05-24 17:41:24 -04:00
ConnorSkees
21d830d6ff remove usage of .expect 2020-05-24 16:57:07 -04:00
ConnorSkees
2a4d4f960b remove all unwraps from style parsing 2020-05-24 16:49:49 -04:00
ConnorSkees
d90d998ccd remove unwrap in Value::is_null 2020-05-24 16:41:09 -04:00
ConnorSkees
3c129780d0 span_before in quoted string 2020-05-24 16:27:07 -04:00
ConnorSkees
8d4b4bedbe remove unwrap in peek_ident 2020-05-24 15:53:51 -04:00
ConnorSkees
e5cceb60ec track span_before when parsing values
this allows us to remove many panics on invalid input
2020-05-24 15:30:06 -04:00
ConnorSkees
812e9fec9c rustfmt 2020-05-24 13:50:45 -04:00
ConnorSkees
b5c1fb2013 ignore non-ascii numeric characters in numbers 2020-05-24 13:08:31 -04:00
ConnorSkees
c9e5bc89c4 remove unwrap in unknown at rule parsing 2020-05-24 12:52:38 -04:00
ConnorSkees
3051cec45a disallow standalone @else 2020-05-24 12:47:04 -04:00
ConnorSkees
3c1c55038f better handle multiline errors
this is more of a quick fix for potential panics; it does not
properly substitute for real multiline error messages
2020-05-24 12:19:08 -04:00
ConnorSkees
35087fb266 commit bench files 2020-05-24 11:38:14 -04:00
ConnorSkees
c42fdc5ee7 remove unwrap when nothing after / 2020-05-24 10:47:16 -04:00
ConnorSkees
1382ea32ca remove unwrap inside interpolated ident body parsing 2020-05-24 10:37:40 -04:00
ConnorSkees
f52d784756 remove panic from unclosed call args 2020-05-24 10:18:15 -04:00
ConnorSkees
737a6ba90d emit proper error on unclosed quote 2020-05-24 10:04:30 -04:00
ConnorSkees
b653c55ad7 handle case when there is no input after escape 2020-05-24 09:20:55 -04:00
ConnorSkees
096abb6ca0 handle selector with nothing after colon 2020-05-24 09:07:16 -04:00
ConnorSkees
042dbfa914 remove panics from missing identifiers 2020-05-24 08:56:53 -04:00
ConnorSkees
2aaaf59e4f make division with number as lhs more robust 2020-05-24 08:17:08 -04:00
ConnorSkees
cbec20f753 make value parsing more robust 2020-05-24 07:51:28 -04:00
ConnorSkees
a01ed981ce make parsing of toplevel tokens more robust 2020-05-24 07:43:54 -04:00
ConnorSkees
bb89a865d4 remove clones when paring hsla colors 2020-05-24 07:42:42 -04:00
ConnorSkees
90f7023896 handle ( and ) at toplevel 2020-05-23 16:36:11 -04:00
ConnorSkees
5137353cb4 rustfmt 2020-05-23 14:08:40 -04:00
ConnorSkees
ff2962b124 remove more unwraps 2020-05-23 14:07:57 -04:00
ConnorSkees
34f9436163 remove unwrap in favor of if let 2020-05-23 14:03:47 -04:00
ConnorSkees
da768badea remove unwrap in favor of if let 2020-05-23 13:59:03 -04:00
ConnorSkees
076ee7ca4e remove redundant clone of identifier 2020-05-23 13:53:24 -04:00
ConnorSkees
c4cfb9112e eagerly evaluate \@if conditions 2020-05-23 13:39:47 -04:00
ConnorSkees
3c97400935 remove panics on malformed @ if 2020-05-23 12:48:34 -04:00
ConnorSkees
130177d9fe allow + in selectors 2020-05-23 12:06:04 -04:00
ConnorSkees
eca952b201 handle toplevel closing curly brace 2020-05-23 11:59:04 -04:00
ConnorSkees
a3548b0044 remove panic for missing equal 2020-05-23 11:50:25 -04:00
ConnorSkees
bc12c0b4e7 refactor number parsing to reduce nesting 2020-05-23 01:49:21 -04:00
ConnorSkees
cc15d46f9b make FORM_FEED const private 2020-05-23 01:17:14 -04:00