Commit Graph

  • be9eb8e0b0 improve code coverage Connor Skees 2021-07-14 01:40:11 -04:00
  • dceaea6d42 simplify lookahead in @if parsing Connor Skees 2021-07-12 03:17:17 -04:00
  • a4004dce4f simplify lookahead in argument parsing Connor Skees 2021-07-12 03:07:07 -04:00
  • 91aaa70446 refactor how url peeking is implemented Connor Skees 2021-07-12 02:59:20 -04:00
  • 03f48cfd22 more robustly parse comments inside min and max Connor Skees 2021-07-12 02:22:13 -04:00
  • 8e08a5de4f support special fns inside min and max Connor Skees 2021-07-12 01:59:30 -04:00
  • 6d0eaef9c0 make option builder methods const Connor Skees 2021-07-11 17:04:46 -04:00
  • adfecfa83e remove peekmore dependency Connor Skees 2021-07-11 15:12:46 -04:00
  • 7ad2da040f support min and max as arguments to min and max Connor Skees 2021-07-11 02:13:05 -04:00
  • c40eec8728
    Update dependencies (#48) Paolo Barbolini 2021-07-11 07:35:56 +02:00
  • 35907673aa bump version to 0.10.5 Connor Skees 2021-07-10 13:07:46 -04:00
  • 92d367e934 update changelog and readme for 0.10.5 Connor Skees 2021-07-10 12:57:02 -04:00
  • bc49c2b8ee add tests for compressed output Connor Skees 2021-07-10 12:52:41 -04:00
  • a5f3823521
    add compressed output (#33) Ivan Tham 2021-07-08 22:05:23 +08:00
  • 142bc9da10 support builtin map.set Connor Skees 2021-07-04 18:59:35 -04:00
  • 81d5dbbb7e implement math.div Connor Skees 2021-07-04 16:19:38 -04:00
  • 5d268be2ed support hwb color space Connor Skees 2021-07-04 15:53:27 -04:00
  • 5c61f8ccaa :is is alias for :matches Connor Skees 2021-07-04 11:48:13 -04:00
  • 2b72a1fc0d avoid deep recursion in extend Connor Skees 2021-07-04 11:32:19 -04:00
  • 8ea601ee43 nightly clippy Connor Skees 2021-07-04 01:24:08 -04:00
  • a555352713 better support negative modulo Connor Skees 2021-07-04 00:37:04 -04:00
  • 2ff3524ac2 support arg to map-merge Connor Skees 2021-07-03 23:17:31 -04:00
  • 150ba14b74 clippy Connor Skees 2021-07-03 19:15:31 -04:00
  • b631ad78bc rustfmt Connor Skees 2021-07-03 18:46:22 -04:00
  • e5d73ac265 don't read multiple stars in comment eagerly Connor Skees 2021-07-03 18:42:39 -04:00
  • d1be778682 move code with side effects out of assert Connor Skees 2020-12-06 14:17:16 -05:00
  • 884b92f476 remove test macro shorthand for unchanged output Connor Skees 2020-11-20 04:34:36 -05:00
  • d7e7053d03 ignore clippy::multiple_crate_versions Connor Skees 2020-11-16 14:17:49 -05:00
  • 3bd56af4f7 bump version to 0.10.4 Connor Skees 2020-11-16 03:48:19 -05:00
  • 32863c21fd update newly passing tests Connor Skees 2020-11-16 03:47:54 -05:00
  • 642486b8f4 bump dependencies Connor Skees 2020-11-16 03:38:39 -05:00
  • f17a1e6da2 placate clippy Connor Skees 2020-11-16 03:25:55 -05:00
  • 27eeaeef08 plain-css invert accepts numbers of any unit Connor Skees 2020-11-16 03:09:40 -05:00
  • f92a071434 move plain css imports to the top of the file Connor Skees 2020-11-16 02:35:52 -05:00
  • f501ba8f33
    Added additional steps to run the official spec. (#41) Midas Lambrichts 2020-10-09 05:58:32 +02:00
  • 7539762a0c
    Resolve NaN todo!()s for addition and subtraction with other numbers (#40) Midas Lambrichts 2020-09-14 00:08:41 +02:00
  • 8e060950d5
    Fix panic when progid is the last token by removing unwrap (#39) Midas Lambrichts 2020-08-25 01:35:55 +02:00
  • c0c8de6eb9 simplify media query == comparison check Connor Skees 2020-08-23 20:09:53 -04:00
  • 605f4f3d6b allow = and == in media queries Connor Skees 2020-08-22 19:18:28 -04:00
  • b03561bc37 add test for multiline comments between function name and args Connor Skees 2020-08-21 19:38:43 -04:00
  • c44f20d377 allow whitespace between mixin name and args Connor Skees 2020-08-21 19:36:11 -04:00
  • feb75800c8 allow whitespace between @content and its args Connor Skees 2020-08-21 19:27:44 -04:00
  • 4635f76fa5 add test for integer overflow in division Connor Skees 2020-08-21 07:00:42 -04:00
  • 5bf03c15d6 consume utf8 bom in parser, not lexer Connor Skees 2020-08-10 06:53:00 -04:00
  • c19eda6f89 deny scientific notation exponents below -99 Connor Skees 2020-08-20 18:45:41 -04:00
  • 921b6e4f8d do not panic on modulo by 0 Connor Skees 2020-08-20 11:21:12 -04:00
  • d240151f8c
    Add fuzzing (#36) Midas Lambrichts 2020-08-20 14:52:42 +02:00
  • f9c163e557 no longer panic on unimplemented division Connor Skees 2020-08-19 20:04:20 -04:00
  • f2d1a82f34 remove unwraps from escape parsing Connor Skees 2020-08-19 14:26:07 -04:00
  • 6849cd578f refactor variable value parsing to use predicates Connor Skees 2020-08-19 07:13:32 -04:00
  • 7b4465250e allow unimplemented!() Connor Skees 2020-08-19 06:20:04 -04:00
  • c89013d607 add test for malformed bracketed list missing closing brace Connor Skees 2020-08-19 05:26:24 -04:00
  • 0d7208ccf0 add tests for numbers plus !important, colors, and arglists Connor Skees 2020-08-19 04:14:49 -04:00
  • d9d9777467 add tests for bools and important plus quoted string Connor Skees 2020-08-19 04:02:47 -04:00
  • cb1eecde74 add tests for nan in unary ops Connor Skees 2020-08-19 03:52:45 -04:00
  • ff52e56600 test for single hash to calc and url Connor Skees 2020-08-19 03:49:12 -04:00
  • 617a421612 remove superfluous derives from numbers Connor Skees 2020-08-19 03:48:59 -04:00
  • 849a8b4414 resolve todo!() on malformed @use missing string Connor Skees 2020-08-19 03:14:33 -04:00
  • 10e08fc8ec remove peekmore todo Connor Skees 2020-08-19 03:10:19 -04:00
  • 79955d921c simplify extension functions Connor Skees 2020-08-19 03:07:21 -04:00
  • 7358eb16dc resolve todo!() inside malformed module fn call Connor Skees 2020-08-18 12:29:01 -04:00
  • b771befed4 remove utf8 BOM from start of files Connor Skees 2020-08-18 06:12:57 -04:00
  • 6debd2ef52 !global variables declared inside control flow not at root do not also add variable to current scope Connor Skees 2020-08-18 05:55:54 -04:00
  • 6630a1c2ea correctly handle!global variables inside control flow when not at root Connor Skees 2020-08-18 03:55:26 -04:00
  • 48de92fdc0 ambiguous keyword operators are not treated as function calls Connor Skees 2020-08-18 03:06:52 -04:00
  • 00a7659e69 refactor calculation of default variables Connor Skees 2020-08-18 00:17:06 -04:00
  • 8d1e8a99c5 refactor how default variables are evaluated Connor Skees 2020-08-17 06:16:18 -04:00
  • 44ecd82454 add ignored test for silent comment in attribute Connor Skees 2020-08-17 05:13:30 -04:00
  • 9548eb6deb convert single quotes to double quotes in calc Connor Skees 2020-08-17 04:48:11 -04:00
  • 7acaa94870 better handle strings passed to special css functions Connor Skees 2020-08-17 04:35:00 -04:00
  • d2a39e274d add ignored interpolated color test Connor Skees 2020-08-17 04:20:01 -04:00
  • 4f56096571 simplify default_var_exists Connor Skees 2020-08-17 04:01:25 -04:00
  • 9b9946c0ee allow units beginning with a single - Connor Skees 2020-08-17 03:58:29 -04:00
  • cb046f7be7 list-separator is comma for maps and arglists Connor Skees 2020-08-17 03:39:33 -04:00
  • a0786619de @content may have call args even when it has no parens Connor Skees 2020-08-17 03:30:54 -04:00
  • 5bcf499942 & is null inside selectors at root Connor Skees 2020-08-17 03:13:45 -04:00
  • 3e8b038705 add ignored test for interpolation of builtin fns Connor Skees 2020-08-17 02:50:19 -04:00
  • a7b6675c18 unignore variable casing grayscale test Connor Skees 2020-08-17 02:43:52 -04:00
  • befcb15cb5 !default variables can override if the value is null Connor Skees 2020-08-17 02:42:43 -04:00
  • a7eb78d249 fix bug in generating complement for colors with hue under 180deg Connor Skees 2020-08-17 02:21:21 -04:00
  • 790b0685cb set-nth correctly recognizes arglists Connor Skees 2020-08-16 20:33:53 -04:00
  • c35fa2b8eb deny non-numeric argument passed to unitless Connor Skees 2020-08-16 20:13:42 -04:00
  • 253bc3b35f deny comma separated lists without parens as keys to map Connor Skees 2020-08-16 20:00:14 -04:00
  • 28a0a33d85 respect $module argument passed to function-exists Connor Skees 2020-08-16 19:47:18 -04:00
  • f60fb26ca0 do not panic when extending by compound selector with parent Connor Skees 2020-08-16 19:09:08 -04:00
  • fce74d4013 bump version to 0.10.3 Connor Skees 2020-08-15 22:25:31 -04:00
  • 2c5b7c9198 update newly passing tests Connor Skees 2020-08-15 22:25:11 -04:00
  • a9be640124 arguments do not affect variables in outer scopes Connor Skees 2020-08-15 21:33:44 -04:00
  • 74bb9bad92 refactor bracketed list and number parsing to separate functions Connor Skees 2020-08-15 20:33:38 -04:00
  • 34dd92f78f hyphen followed by interpolation is not treated as subtraction Connor Skees 2020-08-15 20:18:37 -04:00
  • 679bb94b53 add tests for unitful NaN passed to builtin functions Connor Skees 2020-08-15 20:07:27 -04:00
  • 2b647ffd49 bump version to 0.10.2 Connor Skees 2020-08-14 15:55:07 -04:00
  • c09e3dccd6 Overwrite output file if already present. Midas Lambrichts 2020-08-14 21:40:20 +02:00
  • fdf8e6136c add more tests for unicode range edge cases Connor Skees 2020-08-13 17:20:29 -04:00
  • 63bb17fe09 explicitly test for urls beginning with single forward slash inside url Connor Skees 2020-08-13 17:08:53 -04:00
  • 3fca50c305 bump version to 0.10.1 Connor Skees 2020-08-13 16:46:36 -04:00
  • 46ecbfffe5 update newly passing tests Connor Skees 2020-08-12 16:27:16 -04:00
  • 2d798a6386 better support for NaN passed to builtin functions Connor Skees 2020-08-12 16:11:21 -04:00
  • a665cb13cc remove cfg(test) from test files Connor Skees 2020-08-11 15:01:52 -04:00
  • 9e2397ce8d refactor !important tests into separate file Connor Skees 2020-08-11 14:58:41 -04:00