summaryrefslogtreecommitdiff
path: root/scss/compiler.py
Commit message (Collapse)AuthorAgeFilesLines
* Ported @mixin and @include to the new block AST.Eevee (Alex Munroe)2014-09-011-200/+26
|
* Fix assignment.Eevee (Alex Munroe)2014-09-011-2/+1
|
* Fix rendering of nulls.Eevee (Alex Munroe)2014-09-011-6/+8
|
* Fix CSS rendering to understand seeing the same ancestry twice.Eevee (Alex Munroe)2014-09-011-1/+2
|
* Kind of wire in create_css so we have output.Eevee (Alex Munroe)2014-09-011-16/+12
|
* WIP: Taking a crack at separating block parsing from evaluation.Eevee (Alex Munroe)2014-09-011-2/+174
|
* Support !global (currently a no-op). Fixes #272.Eevee (Alex Munroe)2014-09-011-12/+21
|
* Preserve the order of slurpy kwargs. Fix a heisentest.Eevee (Alex Munroe)2014-08-311-2/+8
|
* Fix spurious deprecation warning.Eevee (Alex Munroe)2014-08-291-1/+2
|
* Move ALL the parsing stuff under scss/grammar/.Eevee (Alex Munroe)2014-08-291-6/+1
| | | | | | | | | Also, in the same vein as Python 3's approach, simply importing from the "native" module will automatically produce the sped-up versions if available. Conflicts: scss/compiler.py
* Add some helpers for doing simple compilations.Eevee (Alex Munroe)2014-08-281-4/+40
| | | | | | | Port the file tests and the "xfail" missing import test to use them. Also: current directory is no longer in the search path by default, but compile_file() adds the given file's containing directory.
* Shuffle exception hierarchy a bit.Eevee (Alex Munroe)2014-08-281-8/+6
|
* Fix this ancient xCSS-style test, and add some warnings.Eevee (Alex Munroe)2014-08-271-0/+8
|
* Remove calculator's reliance on config.FATAL_UNDEFINED.Eevee (Alex Munroe)2014-08-271-0/+3
|
* Remove compiler's reliance on config.CONTROL_SCOPING.Eevee (Alex Munroe)2014-08-271-4/+13
|
* Remove compiler's reliance on config.DEBUG.Eevee (Alex Munroe)2014-08-271-10/+17
|
* Move Compass to an extension.Eevee (Alex Munroe)2014-08-271-2/+1
|
* Convert extra and fonts into extensions.Eevee (Alex Munroe)2014-08-271-2/+2
|
* Introduce an Extension class, finally. Making a stab at #130.Eevee (Alex Munroe)2014-08-271-20/+55
| | | | | | All the core functions have been moved into a core Extension, and Namespace has been beefed up a little bit so declaring functions is easy.
* Partial support for slurpy named arguments.Eevee (Alex Munroe)2014-08-261-3/+11
|
* Fix a couple oopses on Python 3.Eevee (Alex Munroe)2014-08-241-0/+1
|
* Remove magical selector reordering with @extend. Fixes #269.Eevee (Alex Munroe)2014-08-241-15/+8
| | | | | | Turns out the @extend rewrite was already doing the right thing; the only things keeping this logic around were a couple old xCSS tests that expected output in the wrong order.
* Convert some deprecations into real warnings, not logs.Eevee (Alex Munroe)2014-08-241-2/+24
|
* for...to excludes the upper bound. Fixes #275.Eevee (Alex Munroe)2014-08-241-2/+7
|
* Fix debug_info and live_errors.Eevee (Alex Munroe)2014-08-241-13/+18
| | | | | | | | | The live_errors code only existed in the only 'compile' method; oops. debug_info just wasn't being passed in by Scss. Also, due to changes in SourceFile, it wasn't being generated for fake files. I don't mind loosening that restriction, since hopefully we'll have source map support fairly soon.
* Clean up @import and SourceFile.Eevee (Alex Munroe)2014-08-241-59/+111
| | | | | | | | | | | | | | Real files are now identified by their absolute path at all times. Fake files are expected to provide some other unique identifier. Importing now explicitly checks that a found file is a descendant of one of the search paths, so relative imports can finally work. The spec rules for deciding when an import should compile to a CSS @import have been (mostly) implemented. Also, `@import "a.css", "b.css"` would spit out broken CSS; this is now fixed.
* Fix an AttributeError in _at_import, and the swallowing thereof.Eevee (Alex Munroe)2014-08-241-3/+7
|
* Restore support for @option, albeit a little more strictly.Eevee (Alex Munroe)2014-08-231-40/+66
|
* Break up the compiler, and a lot of big modules. Fixes #133.Eevee (Alex Munroe)2014-08-221-0/+1424
Compiler is now separate from a compilation, with a frontend class that tries to preserve the old semantics. Much nicer. Ahh. @option is totally broken, though, which breaks a whole lot of the test suite as well.