summaryrefslogtreecommitdiff
path: root/jinja2/compiler.py
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed a bug with nested loops and the special loop variable.Armin Ronacher2008-08-131-15/+21
| | | | | | | H: Enter commit message. Lines beginning with 'HG:' are removed. --HG-- branch : trunk
* Removed a few stdlib dependencies. This is the first step for IronPython ↵Armin Ronacher2008-08-131-7/+9
| | | | | | | support, the second one being a new lexer. --HG-- branch : trunk
* fixed a few broken license declarations. should have been BSD not GPLArmin Ronacher2008-07-151-1/+1
| | | | | --HG-- branch : trunk
* Fixed bug in finalizerArmin Ronacher2008-07-141-1/+6
| | | | | --HG-- branch : trunk
* Fixed a bug with the loop context of a for loop if the iterator passed has a ↵Armin Ronacher2008-07-041-8/+26
| | | | | | | volatile `__len__` like the listreverseiterator. `else` in inline if-expressions is optional now. --HG-- branch : trunk
* Changed all sentences with occurrences of subscribing to a similar sentence ↵Armin Ronacher2008-06-251-1/+1
| | | | | | | that uses the word "subscript". And the person that comes up with a less confusing verb for the attribute/item lookup method (that is not lookup!!1) gets an extra THANKS entry. --HG-- branch : trunk
* Improved attribute and item lookup by allowing template designers to express ↵Armin Ronacher2008-06-121-2/+7
| | | | | | | the priority. foo.bar checks foo.bar first and then foo['bar'] and the other way round. --HG-- branch : trunk
* even more tests, fixed severe bug with autoescaping.Armin Ronacher2008-05-251-2/+5
| | | | | --HG-- branch : trunk
* all calls are proxied by context.call now so that we can inject environment ↵Armin Ronacher2008-05-251-24/+13
| | | | | | | and context as first arguments. This slows calls down a bit but is a lot more user friendly. Added first draft of FAQ --HG-- branch : trunk
* fixed bug with static unicode strings and auto escapingArmin Ronacher2008-05-241-2/+14
| | | | | --HG-- branch : trunk
* end of line sequence is no configurableArmin Ronacher2008-05-231-1/+0
| | | | | --HG-- branch : trunk
* more unittests and updated documentation for extensions. Fixed bug in ↵Armin Ronacher2008-05-231-3/+6
| | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk
* added loopcontrols extension and added unittests for itArmin Ronacher2008-05-231-9/+7
| | | | | --HG-- branch : trunk
* refactored compiler and improved identifier handling for for-loopsArmin Ronacher2008-05-231-39/+55
| | | | | --HG-- branch : trunk
* variables starting with one or more underscores are not exportedArmin Ronacher2008-05-231-8/+8
| | | | | --HG-- branch : trunk
* call is now handled like a regular unnamed macro, refactored compiled a bitArmin Ronacher2008-05-221-80/+76
| | | | | --HG-- branch : trunk
* improved thread safety of the LRUCache and fixed a bug in for loopsArmin Ronacher2008-05-191-24/+17
| | | | | --HG-- branch : trunk
* temporary identifiers are prefixed with "t_" now and the ↵Armin Ronacher2008-05-191-1/+1
| | | | | | | _node_setup_finished hack went away --HG-- branch : trunk
* some more cleaning upArmin Ronacher2008-05-181-3/+3
| | | | | --HG-- branch : trunk
* small refactoringArmin Ronacher2008-05-181-51/+53
| | | | | --HG-- branch : trunk
* subscribe doesn't eat up unicode errors any longerArmin Ronacher2008-05-171-9/+1
| | | | | --HG-- branch : trunk
* removed attribute local aliasing again because that implementation was brokenArmin Ronacher2008-05-161-67/+0
| | | | | --HG-- branch : trunk
* improved exception system. now both name (load name) and filename are passed.Armin Ronacher2008-05-161-5/+8
| | | | | --HG-- branch : trunk
* added disclaimer to rwbench and fixed error reporting for one of the four ↵Armin Ronacher2008-05-161-5/+5
| | | | | | | Output cases --HG-- branch : trunk
* simplified from importsArmin Ronacher2008-05-151-2/+21
| | | | | --HG-- branch : trunk
* added a semi realworld benchmark (jinja2 and mako)Armin Ronacher2008-05-151-3/+5
| | | | | --HG-- branch : trunk
* fixed bug with parameter parsingArmin Ronacher2008-05-151-3/+4
| | | | | --HG-- branch : trunk
* fixed error on static subscribe aliasing if the subscription argument was a ↵Armin Ronacher2008-05-151-2/+2
| | | | | | | variable --HG-- branch : trunk
* fixed error reporting for filtered statementsArmin Ronacher2008-05-151-7/+8
| | | | | --HG-- branch : trunk
* reversed the internal structure for blocksArmin Ronacher2008-05-151-2/+2
| | | | | --HG-- branch : trunk
* added support for local aliasing of some attributes. the technique used is ↵Armin Ronacher2008-05-151-1/+67
| | | | | | | not very good but covers at least some of the more common use cases --HG-- branch : trunk
* the two escape implementations work the same now, updated jinja2-debug to ↵Armin Ronacher2008-05-141-1/+1
| | | | | | | load the i18n extension --HG-- branch : trunk
* improved subscribeArmin Ronacher2008-05-131-1/+5
| | | | | --HG-- branch : trunk
* switched back to explicit set for assignments. {% foo = 42 %} becomes {% ↵Armin Ronacher2008-05-131-2/+2
| | | | | | | set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit. --HG-- branch : trunk
* improved variable exporting, added TODO fileArmin Ronacher2008-05-121-3/+19
| | | | | --HG-- branch : trunk
* added unittest for recursive for loopArmin Ronacher2008-05-111-4/+4
| | | | | --HG-- branch : trunk
* readded support for recursive for-loopsArmin Ronacher2008-05-111-10/+66
| | | | | --HG-- branch : trunk
* added parsing code for "for item in seq recursive" and improved parser ↵Armin Ronacher2008-05-111-2/+2
| | | | | | | interface a bit --HG-- branch : trunk
* fixed a bug in extension handlingArmin Ronacher2008-05-111-1/+2
| | | | | --HG-- branch : trunk
* Backed out changeset 6afb554797b6, which added unicode identifier support. ↵Armin Ronacher2008-05-111-48/+17
| | | | | | | This doesn't work in reality under Python 2.6 properly. --HG-- branch : trunk
* added support for unicode identifiersArmin Ronacher2008-05-111-17/+48
| | | | | --HG-- branch : trunk
* added support for dotted names in tests and filtersArmin Ronacher2008-05-101-6/+13
| | | | | --HG-- branch : trunk
* First extension interface documentation and updates in that interfaceArmin Ronacher2008-05-081-1/+32
| | | | | --HG-- branch : trunk
* some documentation improvements, jinja escapes " and ' now, both into ↵Armin Ronacher2008-05-061-1/+1
| | | | | | | charpoints and no named entities for html 3.2 support ;-) --HG-- branch : trunk
* Fixed bug that caused "for item in seq if expr" to fail if the loop is not ↵Armin Ronacher2008-05-061-1/+1
| | | | | | | accessing loop --HG-- branch : trunk
* moved concat to utils, fixed a few docstrings, fixed memory leak in ↵Armin Ronacher2008-05-031-2/+1
| | | | | | | _speedups.escape --HG-- branch : trunk
* added "with context" or "without context" import/include modifiersArmin Ronacher2008-05-021-7/+21
| | | | | --HG-- branch : trunk
* small performance improvementsArmin Ronacher2008-05-011-6/+7
| | | | | --HG-- branch : trunk
* again documentation updates fixed another python 2.4 bug. Imports are not ↵Armin Ronacher2008-04-291-2/+7
| | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk
* python2.4 compatibility and doc updatesArmin Ronacher2008-04-281-1/+3
| | | | | --HG-- branch : trunk