summaryrefslogtreecommitdiff
path: root/jinja2/compiler.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Down to 7 failures for Python 3. We're onto something.Armin Ronacher2010-02-101-1/+9
| | | | | --HG-- branch : trunk
* Started working on unittest powered testsuite.Armin Ronacher2010-02-091-1/+1
| | | | | --HG-- branch : trunk
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* More correct fix for 380. The only thing that is part of the outer scopeArmin Ronacher2010-01-141-2/+1
| | | | | | | | is the name of the thing to call. Though because it will never be able to track store nodes, the one before should not do harm either. --HG-- branch : trunk
* fixed a problem with having call blocks in outer scopes thatArmin Ronacher2010-01-141-1/+1
| | | | | | | | have an argument that is also used as local variable in an inner frame [#360]. --HG-- branch : trunk
* include tags are now able to select between multiple templatesArmin Ronacher2010-01-141-1/+11
| | | | | | | | and take the first that exists, if a list of templates is given. --HG-- branch : trunk
* Reverted [73b04625ab54]. The old behavior is the new behavior, the otherArmin Ronacher2009-10-261-11/+2
| | | | | | | is not consistenly implementable. --HG-- branch : trunk
* Shortcut for the if inner visit for empty branches.Armin Ronacher2009-10-251-0/+2
| | | | | --HG-- branch : trunk
* Fixed a scoping bug that was introduced in the development version and wasArmin Ronacher2009-10-251-17/+26
| | | | | | | | triggered by multiple layers of local variables not tracked properly in if statements. --HG-- branch : trunk
* added a deprecation warning for a variable assignment, scope bugArmin Ronacher2009-09-181-2/+9
| | | | | | | | | | that exists since 2.0, code could depend on. See :ref:`jinja-scoping-bug` for more information on this problem. Tip is 2.3 as this will be the next release (will happen soon!) --HG-- branch : trunk
* fixes issue with code generator that causes unbound variablesArmin Ronacher2009-09-171-0/+24
| | | | | | | to be generated if set was used in if-blocks. --HG-- branch : trunk
* Tiny improvement for the loop hack. Implemented it in a way that theArmin Ronacher2009-09-131-1/+1
| | | | | | | frame is not modified in the macro body generator. --HG-- branch : trunk
* Refactoring in the way the parse function is invoked.Armin Ronacher2009-09-131-1/+1
| | | | | --HG-- branch : trunk
* Added ugly workaround for a loop bug.Armin Ronacher2009-09-121-0/+9
| | | | | --HG-- branch : trunk
* More Python 3 support.Armin Ronacher2009-08-051-3/+3
| | | | | --HG-- branch : trunk
* Added testcase for a bugArmin Ronacher2009-03-181-1/+3
| | | | | --HG-- branch : trunk
* Added support for optional `scoped` modifier to blocks.Armin Ronacher2009-02-191-2/+6
| | | | | --HG-- branch : trunk
* Fixed a bug that caused internal errors if names where used as iterationArmin Ronacher2009-02-111-18/+36
| | | | | | | | variable and regular variable *after* the loop if that variable was unused *before* the loop. (#331) --HG-- branch : trunk
* Made it possible to refer to names from outer scopes in included templatesArmin Ronacher2009-02-081-0/+14
| | | | | | | that were unused in the callers frame (#327). --HG-- branch : trunk
* Fixed a bug that caused syntax errors when defining macros or using theArmin Ronacher2009-02-041-1/+4
| | | | | | | | | `{% call %}` tag inside loops. This fixes #323. --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Include statements can now be marked with ``ignore missing`` to skipArmin Ronacher2008-12-271-7/+20
| | | | | | | non existing templates. --HG-- branch : trunk
* Fixed a translation error caused by looping over empty recursive loops.Armin Ronacher2008-12-251-2/+3
| | | | | --HG-- branch : trunk
* Fixed a macro scoping bug discovered by ckknight introduced in one of the ↵Armin Ronacher2008-10-301-0/+2
| | | | | | | earlier changes for the 2.1 release. --HG-- branch : trunk
* imports and includes "with context" are passed the full context now, not ↵Armin Ronacher2008-10-041-9/+25
| | | | | | | only the initial one. --HG-- branch : trunk
* The hopefully final fix for the bug apollo13 spotted earlier.Armin Ronacher2008-09-231-11/+9
| | | | | --HG-- branch : trunk
* Fixed a bug with the handling of empty statements in macros (it also fixes a ↵Armin Ronacher2008-09-171-7/+15
| | | | | | | bug introduced in one of the previous changesets) --HG-- branch : trunk
* Fixed a confusing edge case (thanks apollo13)Armin Ronacher2008-09-151-3/+3
| | | | | --HG-- branch : trunk
* Fixed a bug in the subscript operation.Armin Ronacher2008-09-121-5/+2
| | | | | --HG-- branch : trunk
* Fixed a bug in the compiler that caused problems with loop not being ↵Armin Ronacher2008-08-141-1/+2
| | | | | | | referenced in an outer scoped. (Introduced in the last checkin) --HG-- branch : trunk
* 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