Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed an operator precedence error introduced in 2.5.2.2.5.3 | Armin Ronacher | 2010-10-17 | 1 | -4/+18 |
| | | | | | | Statements like "-foo.bar" had their implicit parentheses applied around the first part of the expression ("(-foo).bar") instead of the more correct "-(foo.bar)". | ||||
* | fixed an issue with unary operators having the wrong precendence.2.5.1 | Armin Ronacher | 2010-08-17 | 1 | -12/+12 |
| | | | | | --HG-- branch : trunk | ||||
* | Added extension ordering, this fixes #376. | Armin Ronacher | 2010-04-12 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | This fixes #368. | Armin Ronacher | 2010-02-11 | 1 | -9/+14 |
| | | | | | --HG-- branch : trunk | ||||
* | Further error message improvement, this time for #341. | Armin Ronacher | 2010-02-07 | 1 | -0/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | implicit tuple expressions can no longer be totally empty. | Armin Ronacher | 2010-02-06 | 1 | -4/+19 |
| | | | | | | | | This change makes ``{% if %}...{% endif %}`` a syntax error now. (#364) --HG-- branch : trunk | ||||
* | greatly improved error message reporting. This fixes #339 | Armin Ronacher | 2010-02-06 | 1 | -36/+105 |
| | | | | | | --HG-- branch : trunk extra : rebase_source : d8f677273490fa73d5603b68478fa3b54f60ccb9 | ||||
* | It's a new year | Armin Ronacher | 2010-01-22 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | More Python 3 support. | Armin Ronacher | 2009-08-05 | 1 | -47/+48 |
| | | | | | --HG-- branch : trunk | ||||
* | Added support for optional `scoped` modifier to blocks. | Armin Ronacher | 2009-02-19 | 1 | -0/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible. | Armin Ronacher | 2009-02-05 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Priority of `not` raised. It's now possible to write `not foo in bar` | Armin Ronacher | 2009-02-04 | 1 | -6/+8 |
| | | | | | | | | as an alias to `foo not in bar` like in python. Previously the grammar required parentheses (`not (foo in bar)`) which was odd. --HG-- branch : trunk | ||||
* | This commit makes the parser and lexer use regular string comparison to ↵ | Ali Afshar | 2009-01-05 | 1 | -52/+52 |
| | | | | | | | support jython --HG-- branch : trunk | ||||
* | Copyright switch to "The Jinja Team". | Armin Ronacher | 2009-01-04 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Include statements can now be marked with ``ignore missing`` to skip | Armin Ronacher | 2008-12-27 | 1 | -0/+6 |
| | | | | | | | non existing templates. --HG-- branch : trunk | ||||
* | Added support for `Environment.compile_expression`. | Armin Ronacher | 2008-11-02 | 1 | -2/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a bug with the loop context of a for loop if the iterator passed has a ↵ | Armin Ronacher | 2008-07-04 | 1 | -2/+4 |
| | | | | | | | volatile `__len__` like the listreverseiterator. `else` in inline if-expressions is optional now. --HG-- branch : trunk | ||||
* | added support for implicit string literal concatenation | Armin Ronacher | 2008-06-22 | 1 | -1/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | added support for token stream filtering and preprocessing. | Armin Ronacher | 2008-06-13 | 1 | -2/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a broken unittest and fixed a bug that required multiple tests to be ↵ | Armin Ronacher | 2008-06-12 | 1 | -1/+5 |
| | | | | | | | put into parentheses for chaning. --HG-- branch : trunk | ||||
* | Improved attribute and item lookup by allowing template designers to express ↵ | Armin Ronacher | 2008-06-12 | 1 | -6/+10 |
| | | | | | | | the priority. foo.bar checks foo.bar first and then foo['bar'] and the other way round. --HG-- branch : trunk | ||||
* | some more documentation updates and minor code cleanups. Additionally True ↵ | Armin Ronacher | 2008-05-28 | 1 | -3/+4 |
| | | | | | | | and true in the template are the same now, same for false/False and none/None. --HG-- branch : trunk | ||||
* | fixed a bug in error reporting and some small documentation updates | Armin Ronacher | 2008-05-26 | 1 | -2/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | even more tests, fixed severe bug with autoescaping. | Armin Ronacher | 2008-05-25 | 1 | -1/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | all calls are proxied by context.call now so that we can inject environment ↵ | Armin Ronacher | 2008-05-25 | 1 | -0/+1 |
| | | | | | | | 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 | ||||
* | variables starting with one or more underscores are not exported | Armin Ronacher | 2008-05-23 | 1 | -2/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | removed attribute local aliasing again because that implementation was broken | Armin Ronacher | 2008-05-16 | 1 | -2/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | improved exception system. now both name (load name) and filename are passed. | Armin Ronacher | 2008-05-16 | 1 | -24/+24 |
| | | | | | --HG-- branch : trunk | ||||
* | simplified from imports | Armin Ronacher | 2008-05-15 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | fixed bug with parameter parsing | Armin Ronacher | 2008-05-15 | 1 | -0/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | switched back to explicit set for assignments. {% foo = 42 %} becomes {% ↵ | Armin Ronacher | 2008-05-13 | 1 | -31/+25 |
| | | | | | | | set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit. --HG-- branch : trunk | ||||
* | added parsing code for "for item in seq recursive" and improved parser ↵ | Armin Ronacher | 2008-05-11 | 1 | -41/+33 |
| | | | | | | | interface a bit --HG-- branch : trunk | ||||
* | added support for dotted names in tests and filters | Armin Ronacher | 2008-05-10 | 1 | -2/+8 |
| | | | | | --HG-- branch : trunk | ||||
* | added a function to parse assign targes and documented it for the extension ↵ | Armin Ronacher | 2008-05-10 | 1 | -51/+45 |
| | | | | | | | interface --HG-- branch : trunk | ||||
* | more updates on the extension API | Armin Ronacher | 2008-05-08 | 1 | -2/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | First extension interface documentation and updates in that interface | Armin Ronacher | 2008-05-08 | 1 | -25/+48 |
| | | | | | --HG-- branch : trunk | ||||
* | fixed a bug with filtered loops | Armin Ronacher | 2008-05-04 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | updated filters: wordwraps uses the wordwrap module and urlize marks the ↵ | Armin Ronacher | 2008-05-03 | 1 | -3/+2 |
| | | | | | | | result as HTML now if in autoescape mode --HG-- branch : trunk | ||||
* | added "with context" or "without context" import/include modifiers | Armin Ronacher | 2008-05-02 | 1 | -7/+29 |
| | | | | | --HG-- branch : trunk | ||||
* | moved code from datastructure into lexer as the module only holds code for ↵ | Armin Ronacher | 2008-05-01 | 1 | -1/+0 |
| | | | | | | | the lexer and is not that big. --HG-- branch : trunk | ||||
* | Jinja doesn't have keywords any longer. The reason for this radical change ↵ | Armin Ronacher | 2008-05-01 | 1 | -53/+68 |
| | | | | | | | is that the previous keywords where incompatible with the python keywords which made it impossible to name a variable "filter" or call a function with such a keyword parameter. --HG-- branch : trunk | ||||
* | fixed some NameErrors | Benjamin Wiegand | 2008-04-28 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | more docs and fixed bug in parser that assigned lineno for ExprStmt wrong | Armin Ronacher | 2008-04-28 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | all unittests pass, the special and dependency lookups have their own ↵ | Armin Ronacher | 2008-04-27 | 1 | -0/+3 |
| | | | | | | | visitors now, with `self` one can get a reference to the current template and render blocks multiple times. --HG-- branch : trunk | ||||
* | added spitfire to bench and did some more refactoring | Armin Ronacher | 2008-04-26 | 1 | -2/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | there is now a workaround in the compiler that makes sure it's possible to ↵ | Armin Ronacher | 2008-04-26 | 1 | -2/+11 |
| | | | | | | | call things with python keywords. {{ foo(class=42) }} works again --HG-- branch : trunk | ||||
* | revamped jinja2 import system. the behavior is less confusing now, but it's ↵ | Armin Ronacher | 2008-04-25 | 1 | -18/+44 |
| | | | | | | | not backwards compatible. I like it though ;) --HG-- branch : trunk | ||||
* | moved trans extension from jinja2.i18n to jinja2.ext and fixed some more ↵ | Armin Ronacher | 2008-04-25 | 1 | -9/+6 |
| | | | | | | | unittests --HG-- branch : trunk | ||||
* | fixed more unittests | Armin Ronacher | 2008-04-22 | 1 | -4/+4 |
| | | | | | --HG-- branch : trunk | ||||
* | fixed setup.py, a type and removed the possibility to use multiple ↵ | Armin Ronacher | 2008-04-21 | 1 | -28/+6 |
| | | | | | | | statements per block. The latter makes it easier to write custom tags --HG-- branch : trunk |