Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Using css built-in functions vs. css & scss functions vs. non-existent functions | German M. Bravo | 2013-08-17 | 1 | -24/+25 | |
| | ||||||
* | AST cache is in a per-target basis (also, cache is now in the Calculator ↵ | German M. Bravo | 2013-08-17 | 1 | -3/+10 | |
| | | | | class type | |||||
* | Functions and mixins can use other variables from the call (funcitons code ↵ | German M. Bravo | 2013-08-17 | 1 | -21/+32 | |
| | | | | restructured) | |||||
* | ArgspecLiteral should return Undefined instead of None (for missing values) | German M. Bravo | 2013-08-17 | 1 | -1/+1 | |
| | ||||||
* | Variable renamed | German M. Bravo | 2013-08-17 | 1 | -2/+2 | |
| | ||||||
* | Exceptions during evaluation are ignored unless DEBUG is on (otherwise ↵ | German M. Bravo | 2013-08-17 | 1 | -7/+8 | |
| | | | | things get broken, like 'filter: grayscale(1) brightness(.1);' for example) | |||||
* | Failed parses should return opaque Strings. More often. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -1/+1 | |
| | ||||||
* | Removed legacy StringValue, ColorValue, *Value classes | German M. Bravo | 2013-08-16 | 1 | -12/+12 | |
| | ||||||
* | Maps can have literals as keys, they also take multiple optional commas ↵ | German M. Bravo | 2013-08-16 | 1 | -45/+74 | |
| | | | | (ignored). Grammar re-organized | |||||
* | Merge branch 'experimental-maps' | Eevee (Alex Munroe) | 2013-08-16 | 1 | -11/+58 | |
|\ | | | | | | | | | | | | | Conflicts: scss/expression.py scss/src/grammar/grammar.g scss/src/grammar/grammar.py | |||||
| * | Support destructuring @each. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -4/+4 | |
| | | ||||||
| * | Remove the need for _rewind. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -16/+11 | |
| | | ||||||
| * | Experimental first crack at maps support. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -21/+68 | |
| | | ||||||
* | | Remove trailing Undefined arguments | German M. Bravo | 2013-08-16 | 1 | -2/+4 | |
| | | ||||||
* | | Fix handling of variable names in argspecs. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -8/+21 | |
| | | ||||||
* | | Sass documentation tests pass. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -11/+10 | |
| | | ||||||
* | | Interpolation of Undefined working | German M. Bravo | 2013-08-16 | 1 | -9/+19 | |
| | | ||||||
* | | KWARG used by iter_def_argspec is expected to be a Variable | German M. Bravo | 2013-08-16 | 1 | -16/+18 | |
| | | ||||||
* | | Pass the expression directly to the scanner | German M. Bravo | 2013-08-16 | 1 | -5/+3 | |
| | | ||||||
* | | Compiled grammar updated | German M. Bravo | 2013-08-16 | 1 | -53/+57 | |
| | | ||||||
* | | Remove the need for _rewind. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -30/+26 | |
|/ | ||||||
* | s/_test/_expr/ in grammar | Eevee (Alex Munroe) | 2013-08-14 | 1 | -18/+18 | |
| | ||||||
* | Parentheses is an Expression. | Eevee (Alex Munroe) | 2013-08-14 | 1 | -1/+1 | |
| | ||||||
* | Treat !important as a bareword. | Eevee (Alex Munroe) | 2013-08-14 | 1 | -13/+17 | |
| | ||||||
* | Force variable assignment to always perform division. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -4/+4 | |
| | ||||||
* | Pass the stack to the logger | German M. Bravo | 2013-08-13 | 1 | -1/+1 | |
| | ||||||
* | Normalized function names | German M. Bravo | 2013-08-13 | 1 | -6/+5 | |
| | ||||||
* | PEP8 cleanups | German M. Bravo | 2013-08-13 | 1 | -14/+18 | |
| | ||||||
* | Move the FATAL_UNDEFINED check into the AST. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -37/+29 | |
| | ||||||
* | Use the parser for parsing @function argspecs. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -6/+38 | |
| | ||||||
* | Fix test_expression to use real types. Minor type fixes. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -3/+7 | |
| | ||||||
* | Oops! ...this fixes last two commits | German M. Bravo | 2013-08-13 | 1 | -1/+1 | |
| | ||||||
* | func doesn't have is_null... however, fuc is None at times here (for some ↵ | German M. Bravo | 2013-08-13 | 1 | -2/+1 | |
| | | | | weird reason) | |||||
* | Added Undefined type. Undefined variables get this value if FATAL_UNDEFINED ↵ | German M. Bravo | 2013-08-13 | 1 | -3/+6 | |
| | | | | is False | |||||
* | Simplified ColorValue considerably. | Eevee (Alex Munroe) | 2013-08-09 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | - Rendering now follows Ruby's rules: shortest representation when compressing, otherwise use the original literal, the name, and hex notation in that order. - The old __str__ fallback is gone. - The `types` attribute is no longer needed. - The strange `merge` method is no longer needed. - Got rid of a couple uses of `to_str`, and made it aware of how to render types. | |||||
* | Better parity for default operator behavior. Also fix some bare bools. | Eevee (Alex Munroe) | 2013-08-09 | 1 | -3/+4 | |
| | ||||||
* | Test suite passes (as well as it did before) on Py3! | Eevee (Alex Munroe) | 2013-08-02 | 1 | -2/+2 | |
| | ||||||
* | Python 3 compatibility, at least with syntax and builtins. | Eevee (Alex Munroe) | 2013-08-02 | 1 | -6/+8 | |
| | | | | Adds our very first dependency, on `six`. | |||||
* | Better support for `transparent`, including on output. | Eevee (Alex Munroe) | 2013-08-01 | 1 | -2/+0 | |
| | ||||||
* | Remove old unit stuff. | Eevee (Alex Munroe) | 2013-07-31 | 1 | -1/+1 | |
| | ||||||
* | Some parser fixes. Allow arbitrary units. | Eevee (Alex Munroe) | 2013-07-31 | 1 | -5/+7 | |
| | | | | | | | | | The C-based scanner ignored restriction lists due to only accepting tuples and lists, whereas yapps usually passes in sets. It should now be in line with the Python scanner. Also, it turns out that variables in functions could cause parse errors that were being ignored; this is now fixed. | |||||
* | Rewrite NumberValue to handle arbitrary unit combinations. | Eevee (Alex Munroe) | 2013-07-31 | 1 | -4/+2 | |
| | | | | | Now matches Sass semantics much more closely, and understands intermediate units in expressions like "1px * 1px / 1px". | |||||
* | Support "transparent". | Eevee (Alex Munroe) | 2013-07-30 | 1 | -0/+2 | |
| | ||||||
* | Leave / alone when (probably) not part of an expression. | Eevee (Alex Munroe) | 2013-07-29 | 1 | -19/+52 | |
| | ||||||
* | Greatly simplify color shortening. | Eevee (Alex Munroe) | 2013-07-26 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | CSS types now know whether they're expected to be rendered compressed or not, and so can choose the most appropriate representation. Colors in particular now try each of several possible renderings and choose the shortest. (short_colors is still a separate setting, though compress implies it.) This removes the need for a full-document regex to shuffle colors around, solving several problems related to color names that aren't actually colors. It also kills off several regexes and dicts and brings us closer to Ruby parity. | |||||
* | Make this function name check hack work with other callables. | Eevee | 2013-07-15 | 1 | -1/+1 | |
| | ||||||
* | Tidy up formatting of the grammar. | Eevee | 2013-07-10 | 1 | -1/+0 | |
| | ||||||
* | NullValue -> Null | Eevee | 2013-07-10 | 1 | -2/+2 | |
| | ||||||
* | Rewrite the String type. | Eevee | 2013-07-10 | 1 | -5/+7 | |
| | | | | | | Unifies quoted and unquoted strings. Single quotes are now preserved. Also moves the result of `type-of` into the type system, hurrah. | |||||
* | Added tests for all the core Sass functions. | Eevee | 2013-06-20 | 1 | -9/+6 | |
| | | | | | | | | | | | | | | | | There are some failures, which are for once helpfully marked with xfail. Other minor fixes: - grayscale() hasn't worked for forever due to incorrect arity. Oops. - The rather terse `eval_expr` is now `evaluate_expression`, and it no longer has a `raw` argument; instead it ALWAYS returns a CSS value, and the only caller that used `raw=False` now performs that logic directly. - ColorValue grew an alternative and slightly saner constructor. Hopefully this is the first of many. |