Commit Graph

  • 4cfa29c971 simplify declaration of other color fns ConnorSkees 2020-04-30 18:59:27 -04:00
  • 11e0d523b2 simplify declaration of opacity fns ConnorSkees 2020-04-30 18:54:29 -04:00
  • 3e8b83d8ad simplify declaration of hsl fns ConnorSkees 2020-04-30 18:51:10 -04:00
  • 22098ca684 simplify declaration of string fns ConnorSkees 2020-04-30 18:41:33 -04:00
  • 26aabb42ad simplify declaration of meta fns ConnorSkees 2020-04-30 18:31:55 -04:00
  • 7270890e45 use is_one rather than comparison ConnorSkees 2020-04-30 16:36:10 -04:00
  • 6b257fbfe9 mark some error branches as #[cold] ConnorSkees 2020-04-30 16:24:53 -04:00
  • 8a3ba1ae07 make lowercase in place where possible ConnorSkees 2020-04-30 16:08:35 -04:00
  • a6e03e4ae1 reduce nesting in ident parsing ConnorSkees 2020-04-30 16:02:40 -04:00
  • fda95683ce simplify declaration of math fns ConnorSkees 2020-04-30 15:48:54 -04:00
  • 2d094490ba simplify declaraction of map fns ConnorSkees 2020-04-30 15:18:54 -04:00
  • 2eef3e9f6a store &'static str rather than String for builtin fn names ConnorSkees 2020-04-30 15:00:57 -04:00
  • f2322dda4d simplify declaration of list functions ConnorSkees 2020-04-30 14:47:07 -04:00
  • 3645a93382 further optimize parsing and printing of floats ConnorSkees 2020-04-29 12:13:47 -04:00
  • 03316161a8 remove superfluous is_float variable ConnorSkees 2020-04-28 15:49:19 -04:00
  • bc09e49c89 remove is_float field of ParsedNumber ConnorSkees 2020-04-28 15:28:50 -04:00
  • bcbf3f4a90 clippy ConnorSkees 2020-04-28 15:14:44 -04:00
  • b2b5156e3b better instructions for running spec tests ConnorSkees 2020-04-28 15:08:01 -04:00
  • a9ec7ff73f fix issue where only 0 would be emitted for non-scientific-notation numbers ConnorSkees 2020-04-28 14:46:40 -04:00
  • a183a9ffa2 optimize parsing of numbers ConnorSkees 2020-04-28 13:18:54 -04:00
  • 2ee4396978 handle scientific notation in numbers ConnorSkees 2020-04-28 12:15:10 -04:00
  • 269f37034a clippy ConnorSkees 2020-04-28 08:27:35 -04:00
  • 8711e61398 refactor stylesheet into separate file ConnorSkees 2020-04-27 15:53:43 -04:00
  • 769b7628d8 refactor QualifiedName into common ConnorSkees 2020-04-26 23:52:32 -04:00
  • 74e3a2e0dc ignore coverage folder ConnorSkees 2020-04-26 23:45:28 -04:00
  • ce32a7e5ac explicitly test for equality ConnorSkees 2020-04-26 23:21:18 -04:00
  • e1db99351a more tests for type-of ConnorSkees 2020-04-26 23:14:22 -04:00
  • 7db57054e1 emitting get-function is an error ConnorSkees 2020-04-26 23:11:04 -04:00
  • a746d81013 remove superfluous trait impls for Number ConnorSkees 2020-04-26 23:06:32 -04:00
  • 6fca360b81 remove superfluous impl of Display for ListSeparator ConnorSkees 2020-04-26 23:03:30 -04:00
  • 8ddc8ab4f4 test error message for undefined mixin and variable ConnorSkees 2020-04-26 23:01:00 -04:00
  • de887daadc remove superfluous IsWhitespace impl ConnorSkees 2020-04-26 22:57:56 -04:00
  • f158f03708 better handle named color transparent ConnorSkees 2020-04-26 22:51:38 -04:00
  • c7ed27bb45 remove superfluous impl Display ConnorSkees 2020-04-26 22:51:09 -04:00
  • 003bd87caf simplify parsing of @ for to/through ConnorSkees 2020-04-26 22:35:06 -04:00
  • 80dfc161b2 remove unused Into<String> for Unit ConnorSkees 2020-04-26 22:23:36 -04:00
  • af7e236ca3 refactor named colors into bidirectional map ConnorSkees 2020-04-26 22:19:00 -04:00
  • b21bc0424f test for equality between builtin and user defined functions ConnorSkees 2020-04-26 21:58:44 -04:00
  • 3615835e03 allow @content in more contexts ConnorSkees 2020-04-26 21:29:09 -04:00
  • 6f57797c29 error inspects message ConnorSkees 2020-04-26 19:12:36 -04:00
  • d53b44aafe tabs are not emitted literally ConnorSkees 2020-04-26 19:02:43 -04:00
  • f4f4fe2e03 wrap match in Ok rather than all branches ConnorSkees 2020-04-26 18:51:08 -04:00
  • cfa734e412 allow control flow inside @content ConnorSkees 2020-04-26 18:40:05 -04:00
  • c4de587f4e investigate feature complete inspect() ConnorSkees 2020-04-26 18:27:08 -04:00
  • fb7fac5a53 empty bracketed lists are not null ConnorSkees 2020-04-26 16:39:44 -04:00
  • ce833b7c03 proper type for @each when single variable ConnorSkees 2020-04-26 15:02:36 -04:00
  • f1b60019a1 handle self referential default args ConnorSkees 2020-04-26 13:51:44 -04:00
  • f6fd0e9af5 refactor how & is handled in values ConnorSkees 2020-04-26 13:07:44 -04:00
  • 690c8a1f89 clippy ConnorSkees 2020-04-26 01:52:43 -04:00
  • 48bffb69e0 more explicit in control flow ConnorSkees 2020-04-26 01:45:30 -04:00
  • d49eb7e18b explicitly enumerate missing at rule kinds ConnorSkees 2020-04-26 01:37:51 -04:00
  • 4a2503b04c refactor attribute parsing ConnorSkees 2020-04-26 00:55:38 -04:00
  • a8141d2488 handle edge case in parsing of units ending with hypen followed by whitespace ConnorSkees 2020-04-25 20:19:50 -04:00
  • 637dc39544 prefer #[ignore] over commenting out tests ConnorSkees 2020-04-25 12:16:10 -04:00
  • eb690b9adf test for superselector in function called from get-function ConnorSkees 2020-04-25 12:10:50 -04:00
  • 56f198f2a7 handle () inside default value of function args ConnorSkees 2020-04-24 23:15:41 -04:00
  • f60089f4f9 refactor parsing and eval of @ each ConnorSkees 2020-04-24 22:57:39 -04:00
  • 092cbe75bb better error messages in args when missing { after function decl ConnorSkees 2020-04-24 21:52:09 -04:00
  • cc881db254 more robustly handle import paths ConnorSkees 2020-04-24 21:38:25 -04:00
  • f88c22f360 test for chained imports ConnorSkees 2020-04-24 20:30:14 -04:00
  • aea4235c9b simplify variable checks ConnorSkees 2020-04-24 20:13:22 -04:00
  • 2fb64934d7 emit proper error for missing quotes on @ import ConnorSkees 2020-04-24 20:00:22 -04:00
  • ecf36cd6d3 refactor how @ import is tested ConnorSkees 2020-04-24 19:42:04 -04:00
  • 0969df8fe5 handle url edge case involving ; and no space between before style ConnorSkees 2020-04-24 19:13:38 -04:00
  • a5cd335318 properly handle whitespace and start and end of url() ConnorSkees 2020-04-24 19:00:06 -04:00
  • 1a18955f0b make heading Web Assembly rather than WASM ConnorSkees 2020-04-24 18:43:52 -04:00
  • b76dbb8b54 add note about testing and wasm to readme ConnorSkees 2020-04-24 18:38:52 -04:00
  • b8ca587353 experimental support for wasm ConnorSkees 2020-04-24 18:08:20 -04:00
  • a86d717f26 properly parse variable flags ConnorSkees 2020-04-23 21:30:25 -04:00
  • 99ae3ae30a test for multiline comments in subtraction ConnorSkees 2020-04-23 19:44:20 -04:00
  • 409ac80921 handle multiline comments surrounding @ if condition ConnorSkees 2020-04-23 19:32:32 -04:00
  • 69764ceaa3 allow arbitrary control flow inside @ for ConnorSkees 2020-04-23 18:53:19 -04:00
  • 9bb7c05d19 improve handling of @ while scoping ConnorSkees 2020-04-23 18:14:42 -04:00
  • ca318d47df properly handle @ while in functions ConnorSkees 2020-04-23 15:22:35 -04:00
  • f9dfd05ea1 move check inside for loop ConnorSkees 2020-04-23 15:16:27 -04:00
  • 1749f65fd9 Display decimal for number uses with_capacity ConnorSkees 2020-04-23 14:41:37 -04:00
  • 5edd0d4f35 test for cases from rsass issues ConnorSkees 2020-04-23 14:40:27 -04:00
  • 5b33b8fc74 refactor @ for to be used in @ function ConnorSkees 2020-04-23 13:57:10 -04:00
  • 71495cd03b do not strip whitespace after var in call args ConnorSkees 2020-04-23 13:54:49 -04:00
  • c921a54edf explicitly handle all error kinds ConnorSkees 2020-04-23 11:33:42 -04:00
  • 8be3fdc8d9 test for nested if in functions ConnorSkees 2020-04-22 11:37:20 -04:00
  • 34b886b758 more robustly handle escaping ConnorSkees 2020-04-22 10:57:57 -04:00
  • 680790c49a replace max_args! macro with builtin method ConnorSkees 2020-04-22 06:17:52 -04:00
  • 4d989b60b1 remove final clamp! macro ConnorSkees 2020-04-22 06:05:19 -04:00
  • 33ccabce7b box color in value ConnorSkees 2020-04-21 18:54:19 -04:00
  • 632ff5aae8 take reference to path ConnorSkees 2020-04-21 18:39:19 -04:00
  • 25e6151aa9 remove workaround for compiler regression ConnorSkees 2020-04-21 18:28:46 -04:00
  • 5480937b4d remove FmtError variant of ErrorKind ConnorSkees 2020-04-21 18:23:31 -04:00
  • 3805eaab2b clippy ConnorSkees 2020-04-21 18:22:26 -04:00
  • 6a01eeb1d8 Remove format module ConnorSkees 2020-04-21 18:01:35 -04:00
  • d480e60628 replace clamp! macro with builtin method ConnorSkees 2020-04-21 17:59:40 -04:00
  • 4607163a62 more robustly handle - as start of identifier ConnorSkees 2020-04-21 15:44:22 -04:00
  • 38c45129d9 refactor function eval ConnorSkees 2020-04-21 11:32:27 -04:00
  • a29d8aea7b test unquoted escape minus unquoted ConnorSkees 2020-04-21 06:01:11 -04:00
  • 2567af74de clearer comment in tests ConnorSkees 2020-04-21 05:38:38 -04:00
  • 21dcbf0be9 bump version to 0.7.0 ConnorSkees 2020-04-21 05:25:24 -04:00
  • a339499c9b return string rather than writing to buffer ConnorSkees 2020-04-21 05:25:08 -04:00
  • 93bd950940 2020-04-21 tests ConnorSkees 2020-04-21 04:59:03 -04:00
  • 1cb135c833 do not emit empty media queries ConnorSkees 2020-04-21 04:52:47 -04:00
  • 11cc99e877 test nested url() ConnorSkees 2020-04-21 04:33:30 -04:00