summaryrefslogtreecommitdiff
path: root/scss/cssdefs.py
Commit message (Collapse)AuthorAgeFilesLines
* Cancel convertable units in the Number constructor. #180Eevee (Alex Munroe)2013-08-131-0/+56
|
* Recognize from() and to(), the ancient WebKit gradient functions.Eevee (Alex Munroe)2013-08-011-0/+1
|
* Better support for `transparent`, including on output.Eevee (Alex Munroe)2013-08-011-140/+141
|
* Remove old unit stuff.Eevee (Alex Munroe)2013-07-311-46/+0
|
* Rewrite NumberValue to handle arbitrary unit combinations.Eevee (Alex Munroe)2013-07-311-1/+68
| | | | | Now matches Sass semantics much more closely, and understands intermediate units in expressions like "1px * 1px / 1px".
* Greatly simplify color shortening.Eevee (Alex Munroe)2013-07-261-159/+144
| | | | | | | | | | | | | | 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.
* Eliminate _undefined_re once and for all.Eevee2013-06-261-1/+0
|
* Refactor and simplify variable storage and expression evaluation.Eevee2013-05-231-0/+2
| | | | | | | | Variables, functions, and mixins are now all stored within a single Namespace object, which can easily spin off child namespaces. Calculator methods no longer need to accept a rule at all, making it possible to parse and evaluate expressions in a vacuum.
* Avoid expanding colors on load.Eevee2013-05-231-1/+0
|
* Rework expression parser to spit out an AST rather than evaluating as it goes.Eevee2013-05-231-37/+53
|
* Remove _skip_word_re.Eevee2013-05-231-1/+0
| | | | | | | | | This was an optimization to short-circuit evaluating any expressions that don't appear to contain Sass syntax, but it was wrong: the particular case I ran across was `foo, bar` not being parsed as a list! Removing it added only 3% to the test suite runtime. We can see about resurrecting the idea later, after the suite actually passes. :)
* Add skew function from CSS3 3D Transforms list. (Thanks to QuLogic)German M. Bravo2013-05-061-3/+3
|
* Cleanups, variables names fixed, small issues fixedGerman M. Bravo2013-05-021-4/+2
|
* Rewrite block nesting handling -- @keyframes works now! Fixes #75.Eevee2013-03-131-0/+1
|
* Big Sass function breakout.Eevee2013-02-211-26/+69
| | | | | | | | | | | | - FunctionRegistry is now FunctionLibrary, which sounds more like a thing and less like I had no idea what to call it. - Built-in functions are all added to the library decorator-style. - Built-in functions have been split into several smaller modules. - The stuff in parseutil turns out not to be related to parsing, so it's been broken apart too.
* Moved code around for easier syncingGerman M. Bravo2013-02-151-28/+28
|
* Break out expression parsing and resolution.Eevee2013-02-131-0/+43
|
* Evict list of colors.Eevee2013-02-081-0/+144
|
* Break out about half of __init__.py.Eevee2013-02-081-0/+71