summaryrefslogtreecommitdiff
path: root/scss/functions
Commit message (Collapse)AuthorAgeFilesLines
* Experimental support for treating all Sass types as 1-lists.Eevee (Alex Munroe)2013-08-151-2/+1
|
* Experimental first crack at maps support.Eevee (Alex Munroe)2013-08-151-0/+44
|
* Cancel convertable units in the Number constructor. #180Eevee (Alex Munroe)2013-08-131-2/+2
|
* Check spacings exist, or use 0German M. Bravo2013-08-131-1/+1
|
* Values and native types missmatch fixesGerman M. Bravo2013-08-131-7/+11
|
* Updated units checkGerman M. Bravo2013-08-131-2/+2
|
* Sprite maps take multiple argumentsGerman M. Bravo2013-08-131-1/+1
|
* Gradients _position() optimizations and default positionsGerman M. Bravo2013-08-132-15/+17
|
* Make _position() acept lists of python strings and fix __color_stops() to ↵German M. Bravo2013-08-132-8/+10
| | | | send a list to _positions
* PEP8 cleanupsGerman M. Bravo2013-08-131-0/+10
|
* Using logging to log warningGerman M. Bravo2013-08-131-2/+1
|
* Fix unquote() to work on lists.Eevee (Alex Munroe)2013-08-131-2/+12
|
* Simplified ColorValue considerably.Eevee (Alex Munroe)2013-08-091-4/+1
| | | | | | | | | | | | | | | - 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.
* Clean up List use in Compass helpers and compiler.Eevee (Alex Munroe)2013-08-091-33/+9
|
* Fix the Compass headings() function.Eevee (Alex Munroe)2013-08-081-5/+3
|
* Clean up ListValue, rename to List.Eevee (Alex Munroe)2013-08-086-236/+153
| | | | | Tried very hard to clean up all uses in the compass library; hope I got them all!
* Test suite passes (as well as it did before) on Py3!Eevee (Alex Munroe)2013-08-024-0/+5
|
* Python 3 compatibility, at least with syntax and builtins.Eevee (Alex Munroe)2013-08-024-23/+21
| | | | Adds our very first dependency, on `six`.
* Make linear-gradient work more better! Now compiles Bootstrap.Eevee (Alex Munroe)2013-08-011-15/+17
|
* enumerate() should never return quoted strings.Eevee (Alex Munroe)2013-08-011-1/+1
|
* Make linear-gradient slightly less crashy.Eevee (Alex Munroe)2013-07-312-9/+16
|
* Remove old unit stuff.Eevee (Alex Munroe)2013-07-311-5/+6
|
* Rewrite NumberValue to handle arbitrary unit combinations.Eevee (Alex Munroe)2013-07-311-44/+63
| | | | | Now matches Sass semantics much more closely, and understands intermediate units in expressions like "1px * 1px / 1px".
* Fix position() and opposite-position(), I think.Eevee (Alex Munroe)2013-07-301-32/+43
|
* Fix enumerate() and add a test.Eevee (Alex Munroe)2013-07-261-8/+9
|
* NullValue -> NullEevee2013-07-101-2/+2
|
* Rewrite the String type.Eevee2013-07-101-14/+4
| | | | | | Unifies quoted and unquoted strings. Single quotes are now preserved. Also moves the result of `type-of` into the type system, hurrah.
* Couple more compass helper tests.Eevee2013-06-281-7/+13
|
* Eliminate _undefined_re once and for all.Eevee2013-06-261-1/+0
|
* Start on tests for Compass helpers.Eevee2013-06-261-42/+20
| | | | | | | | Fixed some bugs while I was at it. - Boolean conversion was totally wrong; Sass uses Ruby rules. - blank() was wrong. - compact() was needlessly complicated.
* Remove convert_to.Eevee2013-06-261-12/+1
| | | | | | Only used by the unit conversion pseudo-functions, which have since been replaced by parser improvements. Many of these implementations made no sense and could never be called by the parser anyway.
* Replace Value._wrap with a less general, less crazy solution.Eevee2013-06-262-9/+9
|
* Added tests for all the core Sass functions.Eevee2013-06-201-2/+2
| | | | | | | | | | | | | | | | 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.
* Rework expression parser to spit out an AST rather than evaluating as it goes.Eevee2013-05-231-2/+2
|
* Make padding the default for spacingGerman M. Bravo2013-05-082-29/+29
|
* Check dst-colors exist and if there is alpha channel in the sourcesGerman M. Bravo2013-05-081-6/+11
|
* Sprite maps generation checks for sprite map asset filesGerman M. Bravo2013-05-081-28/+30
|
* Using proper alpha composition and colors translation for sprites collapsingGerman M. Bravo2013-05-081-22/+60
|
* Improved parameters and documentation for sprite-map()German M. Bravo2013-05-081-37/+102
|
* Multiple positions for horizontal and vertical sprite map layoutsGerman M. Bravo2013-05-081-4/+18
|
* Change destiny color fixed to cover the whole new imageGerman M. Bravo2013-05-071-2/+2
|
* Removed debugging printGerman M. Bravo2013-05-071-11/+7
|
* PackedSpritesLayout breaks when 96% is reachedGerman M. Bravo2013-05-071-8/+10
|
* Sprite map layouts addedGerman M. Bravo2013-05-072-173/+436
|
* Added CACHE_ROOT and ASSETS_ROOT defaults to STATIC_ROOT + /assetsGerman M. Bravo2013-05-072-4/+5
|
* Using cPickle for cache, if availableGerman M. Bravo2013-05-071-2/+5
|
* Missing imports and PEP 8 cleanupsGerman M. Bravo2013-05-073-9/+15
|
* Sprite map code reorganized (small optimizations and added diagonal direction)German M. Bravo2013-05-061-76/+140
|
* Fix so the regexp works using StringValue's valueGerman M. Bravo2013-05-061-3/+3
|
* Fix the invert function. (Thanks to QuLogic)German M. Bravo2013-05-061-1/+2
|