Commit Graph

  • 6faf30795e add ignored scope tests for mixins and functions Connor Skees 2020-07-07 12:00:11 -04:00
  • 25862a5af8 do not strip whitespace before comma in psuedo selector Connor Skees 2020-07-07 11:37:20 -04:00
  • df60ef094c allow media queries to contain a single identifier wrapped in parens Connor Skees 2020-07-07 11:23:09 -04:00
  • b56a4a3fcc map equality considers both key and value Connor Skees 2020-07-07 10:55:37 -04:00
  • 790573195f resolve clippy lints Connor Skees 2020-07-07 01:13:15 -04:00
  • 57562b52d3 map equality is independent of order Connor Skees 2020-07-07 01:06:22 -04:00
  • 6138efc059 refactor value equality checks Connor Skees 2020-07-07 00:01:34 -04:00
  • 49607da222 fix @each bug involving list containing map with multiple elements Connor Skees 2020-07-06 23:11:46 -04:00
  • 7971bfe98b improve inspect output for arglists with 1 arg Connor Skees 2020-07-06 21:41:48 -04:00
  • ba7a368684 allow empty arglists in builtin map functions Connor Skees 2020-07-06 21:35:54 -04:00
  • 70cc7afdaf use inspect for builtin function error messages Connor Skees 2020-07-06 21:26:57 -04:00
  • 1055060c2d
    Merge pull request #20 from redzic/colored_help Connor Skees 2020-07-06 22:23:11 -04:00
  • ae73c733fb Add colored help output Yusuf Redzic 2020-07-06 21:09:25 -05:00
  • 37c1ada664 update passing tests Connor Skees 2020-07-06 20:08:23 -04:00
  • e1e643d286 emit @import when importing a url or .css file Connor Skees 2020-07-06 19:47:12 -04:00
  • 4edc324fcd remove superfluous whitespace from media query involving and Connor Skees 2020-07-06 18:59:21 -04:00
  • 22cc36b578 more robustly emit empty arglists Connor Skees 2020-07-06 18:10:22 -04:00
  • 9936656077 handle non-string keys in splatted map Connor Skees 2020-07-06 17:54:55 -04:00
  • 7c320ae9a2 handle edge case of single list containing map used in @each Connor Skees 2020-07-06 16:10:09 -04:00
  • aa8f120824 resolve media query bug involving multiple identifiers Connor Skees 2020-07-06 15:37:03 -04:00
  • 2fa1804ccd remove panic on malformed @import Connor Skees 2020-07-06 12:55:34 -04:00
  • 60c9327cf3 remove superfluous clone and indexing for loops from @extend Connor Skees 2020-07-06 12:49:13 -04:00
  • f7bb133cfd bump version to 0.9.5 Connor Skees 2020-07-06 10:24:49 -04:00
  • 4a9604dcf4 improve documentation Connor Skees 2020-07-06 10:24:29 -04:00
  • c952eadc07 by default, crate-type is unset Connor Skees 2020-07-06 09:36:59 -04:00
  • 92aa149f8a remove dependency on bitflags Connor Skees 2020-07-05 10:13:49 -04:00
  • eec454c2d0 Merge branch 'master' of https://github.com/connorskees/grass Connor Skees 2020-07-05 09:36:04 -04:00
  • 85ec26001a Keep parser context with bitflags Ivan Tham 2020-07-05 19:16:44 +08:00
  • 85a5b005cb refactor keyframes and number parsing logic Ivan Tham 2020-07-05 17:59:48 +08:00
  • dbfd90d444 better handle maps, arglists, and mul units in @debug Connor Skees 2020-07-05 07:31:10 -04:00
  • 91ef5dcfd5 refactor how newlines are emitted Connor Skees 2020-07-04 22:46:28 -04:00
  • 379eeb4fd3 bump version to 0.9.4 Connor Skees 2020-07-04 21:30:42 -04:00
  • fd37b34345 update passing tests Connor Skees 2020-07-04 21:20:16 -04:00
  • c4439c14fd do not strip newlines after comments in selectors Connor Skees 2020-07-04 21:02:49 -04:00
  • 827225a143 initial implementation of @keyframes Connor Skees 2020-07-04 20:50:53 -04:00
  • 65f93ad6d5 builtin fns red, green, and blue round their output Connor Skees 2020-07-04 18:46:23 -04:00
  • 3cde25959b remove !optional hack Connor Skees 2020-07-04 18:32:13 -04:00
  • 641ff007fb bump version to 0.9.3 Connor Skees 2020-07-04 14:40:21 -04:00
  • a1d704ff82 update passing tests Connor Skees 2020-07-04 14:38:12 -04:00
  • 91ff4c10b4 resolve clippy lints Connor Skees 2020-07-04 13:44:52 -04:00
  • fc36a7a1e8 remove superfluous clones in weave() Connor Skees 2020-07-04 13:43:09 -04:00
  • 05f5bc141a avoid cloning all extensions for every selector Connor Skees 2020-07-04 13:16:52 -04:00
  • 95c8b8d123 remove clone from extend_simple Connor Skees 2020-07-04 13:10:51 -04:00
  • d79488b00f remove superfluous clone from add_selector() Connor Skees 2020-07-04 12:58:04 -04:00
  • 52ecd1e2d0 optimize ExtendedSelector::into_selector Connor Skees 2020-07-04 12:38:09 -04:00
  • ca861d488b optimize common case of previously seen simple selectors Connor Skees 2020-07-04 12:11:01 -04:00
  • 87b18e321f add common Sass libraries to gitignore Connor Skees 2020-07-04 11:39:22 -04:00
  • c52a0c7dd9 remove or pattern todos Connor Skees 2020-07-04 11:33:31 -04:00
  • a823ae7811 remove fallible trait impls from SassError Connor Skees 2020-07-04 11:27:57 -04:00
  • 71d3faa042 keywords are case sensitive Connor Skees 2020-07-04 11:15:18 -04:00
  • b28309147e partially implement inverse units Connor Skees 2020-07-04 11:04:51 -04:00
  • fb24d4db4f remove remaining binop todo!()s Connor Skees 2020-07-04 08:37:35 -04:00
  • efc5f91348 more robustly parse empty bracketed lists Connor Skees 2020-07-03 23:49:31 -04:00
  • 28fa06a85f bump version to 0.9.2 Connor Skees 2020-07-03 21:22:29 -04:00
  • 86d144a31b update passing tests Connor Skees 2020-07-03 21:21:26 -04:00
  • f6f4d8ab1b hash ptr rather than value of extended selector Connor Skees 2020-07-03 21:09:31 -04:00
  • c66ecdd57d use HashSet internally inside SelectorHashSet Connor Skees 2020-07-03 20:55:02 -04:00
  • 192d18c2ac explain why we don't use a HashSet for SelectorHashSet Connor Skees 2020-07-03 20:34:03 -04:00
  • ca2938f04c when two operators have the same precedence, evaluate the leftmost first Connor Skees 2020-07-03 20:15:00 -04:00
  • 30a3a46b2d fix longstanding @extend bug related to selector lists Connor Skees 2020-07-03 19:58:43 -04:00
  • 0e1ea87627 update passing tests Connor Skees 2020-07-03 15:17:43 -04:00
  • d144b7fc52 resolve clippy lints Connor Skees 2020-07-03 15:17:04 -04:00
  • d7fd88dea4 properly evaluated builtin fn if when one arg contains an error Connor Skees 2020-07-03 15:06:26 -04:00
  • cf74735875
    Merge pull request #14 from connorskees/value-visitor Connor Skees 2020-07-03 13:58:49 -04:00
  • 9bde66c72c fmt attributes Connor Skees 2020-07-03 13:03:59 -04:00
  • e801e4d424 consistently use Value over Self in certain methods Connor Skees 2020-07-03 13:00:31 -04:00
  • b473717861 rename Value::Function to Value::FunctionRef Connor Skees 2020-07-03 12:58:09 -04:00
  • 235836a4e0 tidy clippy lints Connor Skees 2020-07-03 12:56:19 -04:00
  • 596def3906 refactor value evaluation Connor Skees 2020-07-03 12:38:20 -04:00
  • 0c91fc323b update passing tests and changelog Connor Skees 2020-07-03 06:53:55 -04:00
  • 0f590b5cd2 move value parsing into separate directory Connor Skees 2020-07-02 19:08:04 -04:00
  • f437649103 add support for splats Connor Skees 2020-07-02 17:25:52 -04:00
  • 94d94abf7a default arg fns are infallible Connor Skees 2020-07-02 16:37:24 -04:00
  • 927faf30c6 eagerly evaluate call args Connor Skees 2020-07-02 16:32:43 -04:00
  • 125c85a69c allow variables named to and through in @for Connor Skees 2020-07-02 16:06:34 -04:00
  • e9f2cdbe4d resolve clippy lints Connor Skees 2020-07-02 15:57:14 -04:00
  • 1ef93c082b allow != in variables Connor Skees 2020-07-02 15:54:33 -04:00
  • bf0665bbcd @content tokens can access local scope Connor Skees 2020-07-02 15:43:11 -04:00
  • 1b033c3643 properly handle chained @content Connor Skees 2020-07-02 15:22:15 -04:00
  • 5dd14794c5 allow whitespace after trailing comma in map Connor Skees 2020-07-02 14:44:00 -04:00
  • e7fc6815c1 update passing tests Connor Skees 2020-07-02 10:51:49 -04:00
  • ae77325ad0 consolidate implementation of unvendor() Connor Skees 2020-07-02 10:40:43 -04:00
  • 8b907d4b67 consolidate arg evaluation for mixins and functions Connor Skees 2020-07-02 10:37:13 -04:00
  • a88f07da54 allow @content to take arguments Connor Skees 2020-07-02 10:31:32 -04:00
  • 4b98ec198d @media no longer consumes everything after it as children Connor Skees 2020-07-01 07:10:47 -04:00
  • 84f52d2ef4 add scope test for inner variable redeclarations Connor Skees 2020-07-01 07:03:43 -04:00
  • 6ea036581b mixin stores body as Vec<Token> Connor Skees 2020-06-30 06:53:17 -04:00
  • f476f4af25 no longer strip whitespace at the end of selectors Connor Skees 2020-06-30 06:43:26 -04:00
  • 8622efc7be deny exponents over 2 digits Connor Skees 2020-06-28 07:02:12 -04:00
  • c7608fce4e convert immutable Strings to Box<str> in Pseudo Connor Skees 2020-06-28 05:10:34 -04:00
  • 0483f7f057 remove superfluous trait derives Connor Skees 2020-06-28 03:33:04 -04:00
  • e211aff677 remove dead code from Scope impl Connor Skees 2020-06-28 03:28:50 -04:00
  • 4d23270b23 update passing tests Connor Skees 2020-06-28 03:25:29 -04:00
  • 0b28bb4c35 optimize common case of single style Connor Skees 2020-06-27 07:24:53 -04:00
  • f582439744 add scope test for local variables with functions Connor Skees 2020-06-27 04:26:13 -04:00
  • 369feb5c40 use clearer naming for Number variants ConnorSkees 2020-06-26 08:47:10 -04:00
  • 41bfea3cea update dependencies ConnorSkees 2020-06-26 08:03:43 -04:00
  • 6a6be73c5f make doctests pass ConnorSkees 2020-06-26 06:40:34 -04:00
  • 9212ff5fa1 resolve clippy lints ConnorSkees 2020-06-26 06:12:50 -04:00
  • 6baf0d2340 reduce size of Namespace and Toplevel ConnorSkees 2020-06-26 05:37:57 -04:00