Commit Graph

  • 9b85dd7446 test for silent comments in interpolation in url ConnorSkees 2020-04-21 04:32:09 -04:00
  • f8ab03a94f test invalid arithmetic in calc ConnorSkees 2020-04-21 04:28:23 -04:00
  • fc3facb80c properly handle url() ConnorSkees 2020-04-21 04:20:35 -04:00
  • b2e3322f9a eval @each list ConnorSkees 2020-04-21 03:19:04 -04:00
  • cdfd89cd75 add TODO to interpolated_ident_body ConnorSkees 2020-04-21 02:17:11 -04:00
  • 716cb49991 test for newlines in special functions ConnorSkees 2020-04-20 15:16:05 -04:00
  • 3e9e860e20 allow slient comments in special function args ConnorSkees 2020-04-20 15:11:03 -04:00
  • 0052c754cb rename ident_body to be more explicit it does not include interpolation ConnorSkees 2020-04-20 14:57:41 -04:00
  • ca69695776 remove unused IsComment trait ConnorSkees 2020-04-20 14:57:22 -04:00
  • 46552b3a56 remove usage of use super::*` ConnorSkees 2020-04-20 14:53:52 -04:00
  • c031286c9a refactor number and interpolation utils to separate file ConnorSkees 2020-04-20 14:49:29 -04:00
  • 11a27775a4 refactor read_until utils to separate file ConnorSkees 2020-04-20 14:45:40 -04:00
  • 8a4d74e268 refactor comment and whitespace utils to separate file ConnorSkees 2020-04-20 14:40:51 -04:00
  • 40451a211a refactor variable utils to separate file ConnorSkees 2020-04-20 14:38:05 -04:00
  • c121bbc1e3 refactor string utils to separate file ConnorSkees 2020-04-20 14:35:16 -04:00
  • 760c95792c refactor char utils to separate file ConnorSkees 2020-04-20 14:30:56 -04:00
  • 3fd9692ce5 move utils to directory ConnorSkees 2020-04-20 14:27:35 -04:00
  • aea2b65a8d remove string parsing from readme (finally!) ConnorSkees 2020-04-20 12:15:07 -04:00
  • a6b61082fe interpolation of strings in idents is literal ConnorSkees 2020-04-20 12:12:39 -04:00
  • 29886d6845 newlines are no longer replaced with spaces in quoted strings ConnorSkees 2020-04-20 11:48:17 -04:00
  • 8f27525536 interpolated strings are literal ConnorSkees 2020-04-20 11:34:49 -04:00
  • 4ca6e304a5 allow at-rules other than else to follow @ if ConnorSkees 2020-04-20 10:57:35 -04:00
  • aaf37bf4c4 add peekmore as dependency ConnorSkees 2020-04-20 04:05:57 -04:00
  • 4346756e9e disallow - in unit when followed by [0-9\.] ConnorSkees 2020-04-20 04:05:02 -04:00
  • 4cdcf4f0d4 use peekmore rather than std::iter::Peekable ConnorSkees 2020-04-20 03:45:28 -04:00
  • e07ceda8c7 add unit field to ident eating ConnorSkees 2020-04-20 03:20:08 -04:00
  • 9790846c99 inspect comma separated list of comma separated lists ConnorSkees 2020-04-20 03:07:02 -04:00
  • 715f6fb94a inspect single value lists ConnorSkees 2020-04-20 02:55:55 -04:00
  • c521e0a835 somewhat handle unary div ConnorSkees 2020-04-20 02:32:46 -04:00
  • f8540755f5 better support for unary plus ConnorSkees 2020-04-20 02:19:54 -04:00
  • b6cf00c87b addition between number and unary ops ConnorSkees 2020-04-20 02:16:22 -04:00
  • 23390238b9 implement addition between num + bool ConnorSkees 2020-04-20 02:13:28 -04:00
  • 9103a1d0d8 add ignored subtraction test ConnorSkees 2020-04-20 02:06:45 -04:00
  • a8e97984d4 subtraction occurs when no space between operands ConnorSkees 2020-04-20 01:56:53 -04:00
  • 9d9997432a properly unquote lists ConnorSkees 2020-04-19 22:54:56 -04:00
  • b07b26c871 Merge branch 'master' of https://github.com/connorskees/grass ConnorSkees 2020-04-19 22:41:54 -04:00
  • 64e2632de4 refactor parsing of quoted strings with interpolation containing strings ConnorSkees 2020-04-19 22:41:37 -04:00
  • c93bc1daaf Add bug issue template Connor Skees 2020-04-19 22:31:59 -04:00
  • 7579a6e9b5 refactor parsing of unquoted strings ConnorSkees 2020-04-19 20:22:31 -04:00
  • 515c37d110 rearrange readme ConnorSkees 2020-04-19 16:38:42 -04:00
  • 18a04b2669 move util hex_char_for() to utils.rs ConnorSkees 2020-04-19 15:50:22 -04:00
  • e820395cc5 refactor printing and parsing of quoted strings ConnorSkees 2020-04-19 13:51:34 -04:00
  • 2f7391acda no longer error on formatting issues ConnorSkees 2020-04-19 13:11:42 -04:00
  • 4ba45bb8c1 more robust handling of is_null ConnorSkees 2020-04-19 00:39:18 -04:00
  • deff857d59 remove TODO related to interpolation in comments ConnorSkees 2020-04-18 21:38:37 -04:00
  • cb8be064a9 interpolation in multiline comments ConnorSkees 2020-04-18 21:01:12 -04:00
  • 71546d7fc4 handle -(null) and -null ConnorSkees 2020-04-18 20:45:40 -04:00
  • 305581ad75 properly error when attempting to display map ConnorSkees 2020-04-18 20:11:49 -04:00
  • 0a5c6b907c test mul unit display errors ConnorSkees 2020-04-18 19:50:14 -04:00
  • 47b7ece6c5 update tests to include new API changes ConnorSkees 2020-04-18 19:08:35 -04:00
  • a3a218f950 Remove StyleSheet::print_as_css from main ConnorSkees 2020-04-18 18:57:01 -04:00
  • 9a72d9714a BREAKING: consolidate StyleSheet::print_as_css ConnorSkees 2020-04-18 18:53:18 -04:00
  • 8955042359 Remove SCSS unit tests ConnorSkees 2020-04-18 18:46:17 -04:00
  • 759e5fdfef simplify ident addition/subtraction ConnorSkees 2020-04-18 13:44:11 -04:00
  • fc51798595 change several if statements to match ConnorSkees 2020-04-18 13:22:06 -04:00
  • 52c6ed0b64 remove QuoteKind::Single variant ConnorSkees 2020-04-18 13:19:30 -04:00
  • a83aef04ca use Spanned::map_node rather than destructuring ConnorSkees 2020-04-18 13:03:54 -04:00
  • 5d2d236a82 bump codemap ConnorSkees 2020-04-17 13:17:39 -04:00
  • a5b54e3ed0 toplevel docs for color module ConnorSkees 2020-04-17 13:16:15 -04:00
  • 09ee456b96 explicitly match on all units in Unit::kind ConnorSkees 2020-04-17 13:12:06 -04:00
  • de78c1147a manually resolve some formatting issues ConnorSkees 2020-04-17 13:06:54 -04:00
  • 5255c7d829 make todo comment more explicit ConnorSkees 2020-04-14 22:40:19 -04:00
  • 7181077163 interchangeable underscore/hyphen in builtin functions ConnorSkees 2020-04-13 12:57:25 -04:00
  • 409fa3a1dd eval args to zip ConnorSkees 2020-04-13 12:28:40 -04:00
  • 2b784f273a function arg spans include the entire list ConnorSkees 2020-04-13 12:20:56 -04:00
  • f0895db939 bump version to 0.6.0 ConnorSkees 2020-04-12 22:18:02 -04:00
  • 502528c914 replace @font-fact with @supports ConnorSkees 2020-04-12 22:03:40 -04:00
  • eb57f6f092 parse normal css atrules as unknown ConnorSkees 2020-04-12 21:56:27 -04:00
  • c017ccfeb4 toplevel atrules within selectors ConnorSkees 2020-04-12 21:47:32 -04:00
  • 62f9f7da4f integrate error handling with codemap ConnorSkees 2020-04-12 19:37:12 -04:00
  • e833650af0 refactor test macros to handle new errors ConnorSkees 2020-04-12 14:22:52 -04:00
  • 1d2f645f35 add codemap add dependency ConnorSkees 2020-04-12 14:21:44 -04:00
  • 441962d8d5 Create rustfmt.toml ConnorSkees 2020-04-10 14:21:11 -04:00
  • 4868704914 implemented some special functions ConnorSkees 2020-04-07 00:10:18 -04:00
  • 0ddabb5afd hsl/hsla 4 args special functions ConnorSkees 2020-04-07 00:04:19 -04:00
  • 6b817dcb24 hsl/hsla 3 args special functions ConnorSkees 2020-04-06 23:38:17 -04:00
  • b17420e00b dont emit comma on one arg two channels special ConnorSkees 2020-04-06 22:38:55 -04:00
  • 203200ca4c emit rgba inside rgba for two args special ConnorSkees 2020-04-06 22:35:07 -04:00
  • b545c162f5 two arg special function rgb/rgba ConnorSkees 2020-04-06 22:33:12 -04:00
  • c95c69be4d avoid unwrapping in special functions rgb/rgba one arg green ConnorSkees 2020-04-06 22:26:43 -04:00
  • 65ba25e555 handle special functions in 1 arg rgb/rgba ConnorSkees 2020-04-06 22:09:36 -04:00
  • b5a0957aa7 handle special functions in 3args rgba ConnorSkees 2020-04-06 21:58:47 -04:00
  • 97425665f9 consolidate implementation of rgb and rgba ConnorSkees 2020-04-06 21:22:03 -04:00
  • 7e793392a7 handle special functions calc, element, expression, and progid ConnorSkees 2020-04-06 19:26:47 -04:00
  • ce346077f9 properly parse plain css functions ConnorSkees 2020-04-06 15:35:46 -04:00
  • 9faaabebfa rename ordering tests ConnorSkees 2020-04-06 15:27:00 -04:00
  • 6d63b1bda4 implemented @ at-root ConnorSkees 2020-04-06 14:41:56 -04:00
  • 47330a92c6 Selector::replace takes super selector by reference ConnorSkees 2020-04-06 14:40:28 -04:00
  • 26fdcfdf17 interpolated ampersand in at-root ConnorSkees 2020-04-06 14:30:36 -04:00
  • 8802a92f9b at-root with nothing contains super selector ConnorSkees 2020-04-06 13:30:36 -04:00
  • 648dc04c33 initial implementation of @ at-root ConnorSkees 2020-04-06 13:13:03 -04:00
  • 526ed4fde0 add commas to at-root tests ConnorSkees 2020-04-06 00:51:12 -04:00
  • 074b6b50ce initial at-root tests ConnorSkees 2020-04-06 00:44:12 -04:00
  • a55cf39cc2 add @ error tests ConnorSkees 2020-04-06 00:34:48 -04:00
  • ef282c5c18 consolidate inspect implementations ConnorSkees 2020-04-06 00:27:09 -04:00
  • 4ab4f401d5 @ debug has the same output as inspect() ConnorSkees 2020-04-06 00:23:58 -04:00
  • f0c1d508e6 refactor @ warn and @ debug parsing ConnorSkees 2020-04-06 00:13:15 -04:00
  • 44ff1c99b3 add helper function Value::from_vec ConnorSkees 2020-04-06 00:11:18 -04:00
  • 81e84536da refactor @ error to just be a real error ConnorSkees 2020-04-05 23:56:08 -04:00
  • b0c89ff8b9 refactor atrule kind to separate file ConnorSkees 2020-04-05 23:37:55 -04:00