Sascha Peilicke
4d63ecfe25
Fix all PEP-8 / flake8 code issues
...
Drop testscope because it's empty.
2014-02-02 17:35:38 +01:00
Sascha Peilicke
585364b016
Not recurse forever if missing mixin declarations
...
Bail out after recursing 64 times into Deferred.parse and raise syntax
error for missing declaration to provide a meaningful error message.
Otherwise the code loops until the interpreter stack end (max
recursion depth).
2013-12-20 11:15:35 +01:00
Sascha Peilicke
dc4196cf6d
Fix block fills generation with only variables.
...
If the parsed block contents contains only LESS variable definitions,
the block should not be renderend. Previously this was implemented by
not returning self from Variable.parse() (contrary to it's docstring and
other plib classes). The real fix is to just check for the above
condition and return self again.
2013-12-20 11:14:03 +01:00
Sascha Peilicke
c0a265e146
Fix PEP-8 issues (with autopep8 -a)
2013-07-19 11:22:12 +02:00
Patrick
0ff5b977ec
fix an other utf-8 letter
2012-07-18 17:28:04 -04:00
Patrick
0660c17cd0
trying to fix python2 and utf-8 issues
2012-07-18 17:26:06 -04:00
robotis
1accfccaf4
Fix scoping problems
2012-06-25 09:37:26 +00:00
robotis
c8ae080be4
Allow nested recursion in mixin calls (ala bootstrap)
2012-06-04 07:38:06 +00:00
robotis
78e32011c7
Handle calling scope better
2012-06-04 07:27:53 +00:00
robotis
4c399c4ca9
Fix faulty fallback behaviour when nesting fallbacks
2012-06-02 11:23:22 +00:00
robotis
6360ff664a
Comments
2012-05-07 13:10:28 +00:00
robotis
61c09ca2e0
Fallback to blocks from deferred calls
2012-05-07 09:49:31 +00:00
robotis
f81e8b5c8e
Add support for closures
2012-05-06 09:28:41 +00:00
robotis
520560926a
Comments
2012-05-05 17:20:03 +00:00
robotis
2e36bf89c6
6 fold Speed increase by not using copy.deepcopy
2012-05-05 17:10:04 +00:00
jtm
7311c9dedb
Fix error, missing check
2012-04-23 19:55:23 +00:00
jtm
e149df85d6
Handle bootstrap mixin scope strangness
2012-04-23 19:25:35 +00:00
jtm
c02ef34604
allow fallbacks within mixin scopes
2012-04-23 18:59:39 +00:00
jtm
c8bbabdeb8
comments
2012-04-09 11:57:09 +00:00
jtm
9268e2725e
checkpoint
2012-04-09 09:52:46 +00:00
jtm
ccbe525bc2
checkpoint
2012-04-08 15:44:56 +00:00
jtm
64b496093c
work
2012-04-08 13:17:22 +00:00
jtm
0a30f4a0e3
Calls within inner scope
2012-04-07 14:38:52 +00:00
jtm
f7a1c2ae42
Error reporting
2012-04-07 11:33:07 +00:00
jtm
dc3c585e8e
Fix bug on fallback to block in mixin call
2012-04-06 20:55:34 +00:00
jtm
5f2ab7d9b1
Fixed mixin argument parsing
2012-04-06 19:23:22 +00:00
jtm
85c503729e
tests + documentation
2012-04-06 14:53:38 +00:00
jtm
56c5ba27ec
Add post process stage for stray mixin calls
2012-04-06 14:39:19 +00:00
jtm
32d7b462c8
Add post processing
2012-04-06 14:23:13 +00:00
jtm
521498c35a
bootstrap strangeness handled
2012-04-04 13:01:15 +00:00
jtm
264babe5b0
checkpoint
2012-04-03 15:13:44 +00:00
jtm
0c6c345375
documentation
2012-04-03 13:36:08 +00:00
jtm
a75f6a9225
Documentation
2012-03-30 19:32:11 +00:00
jtm
26ffa97770
parse guard expressions
2012-03-24 18:33:19 +00:00
jtm
8b29889657
Cleanup
2012-03-18 14:21:58 +00:00