Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed naked except statements to catch only subclasses of Exception. | Ian Lewis | 2010-11-07 | 1 | -11/+11 |
| | | | | | | | | | | | | | | Naked except statements catch subclasses of BaseException which can occur anywhere (i.e. KeyboardInterrupt). Unexpected issues can occur when the exception happens during the loading of a module. The python interpreter doesn't know about a module's failed load and does not remove it from sys.modules. This is particularly a problem on AppEngine where python will think the module is loaded but in fact the module load has failed. See: http://code.google.com/p/googleappengine/issues/detail?id=1409 Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com> | ||||
* | it's now possible to register extensions after an environment | Armin Ronacher | 2010-05-29 | 1 | -1/+6 |
| | | | | | | | was created. --HG-- branch : trunk | ||||
* | Tip is now 2.5. Started work on newstyle gettext translations. | Armin Ronacher | 2010-05-29 | 1 | -0/+16 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a failing testcase. (Error caused by constant folding of undefined | Armin Ronacher | 2010-05-23 | 1 | -7/+12 |
| | | | | | | | values) --HG-- branch : trunk | ||||
* | Fix unbound local error masked by bare except. | Georg Brandl | 2010-05-23 | 1 | -1/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | autoescape no longer is a plain boolean value but can also be a function | Armin Ronacher | 2010-04-05 | 1 | -2/+5 |
| | | | | | | | | to enable or disable autoescaping for certain filenames (or file extensions for that matter) --HG-- branch : trunk | ||||
* | Added improved documentation to the `ContextReference` node. | Armin Ronacher | 2010-03-24 | 1 | -1/+10 |
| | | | | | --HG-- branch : trunk | ||||
* | Another documentation string fix. | Armin Ronacher | 2010-03-15 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | More documentation updates. | Armin Ronacher | 2010-03-15 | 1 | -3/+14 |
| | | | | | --HG-- branch : trunk | ||||
* | Biggest change to Jinja since the 1.x migration: added evaluation contexts | Armin Ronacher | 2010-03-14 | 1 | -65/+120 |
| | | | | | | | | | which make it possible to keep the ahead of time optimizations and provide dynamic activation and deactivation of autoescaping and other context specific features. --HG-- branch : trunk | ||||
* | Down to 7 failures for Python 3. We're onto something. | Armin Ronacher | 2010-02-10 | 1 | -4/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | It's a new year | Armin Ronacher | 2010-01-22 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Added the `meta` module. | Armin Ronacher | 2009-07-26 | 1 | -1/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Added support for optional `scoped` modifier to blocks. | Armin Ronacher | 2009-02-19 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a bug that caused internal errors if names where used as iteration | Armin Ronacher | 2009-02-11 | 1 | -0/+5 |
| | | | | | | | | variable and regular variable *after* the loop if that variable was unused *before* the loop. (#331) --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 | -1/+1 |
| | | | | | | | non existing templates. --HG-- branch : trunk | ||||
* | Added support for `Environment.compile_expression`. | Armin Ronacher | 2008-11-02 | 1 | -5/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a bug in constant folding of keyword arguments to filter calls. ↵ | Armin Ronacher | 2008-09-21 | 1 | -0/+3 |
| | | | | | | | Thanks noskolo. --HG-- branch : trunk | ||||
* | Removed a few stdlib dependencies. This is the first step for IronPython ↵ | Armin Ronacher | 2008-08-13 | 1 | -25/+0 |
| | | | | | | | support, the second one being a new lexer. --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 | -0/+5 |
| | | | | | | | 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 Ronacher | 2008-06-25 | 1 | -5/+5 |
| | | | | | | | 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 Ronacher | 2008-06-12 | 1 | -3/+19 |
| | | | | | | | 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 | -1/+2 |
| | | | | | | | and true in the template are the same now, same for false/False and none/None. --HG-- branch : trunk | ||||
* | even more tests, fixed severe bug with autoescaping. | Armin Ronacher | 2008-05-25 | 1 | -0/+10 |
| | | | | | --HG-- branch : trunk | ||||
* | all calls are proxied by context.call now so that we can inject environment ↵ | Armin Ronacher | 2008-05-25 | 1 | -6/+4 |
| | | | | | | | 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 escaping | Armin Ronacher | 2008-05-24 | 1 | -15/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | end of line sequence is no configurable | Armin Ronacher | 2008-05-23 | 1 | -23/+0 |
| | | | | | --HG-- branch : trunk | ||||
* | more unittests and updated documentation for extensions. Fixed bug in ↵ | Armin Ronacher | 2008-05-23 | 1 | -1/+5 |
| | | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk | ||||
* | added loopcontrols extension and added unittests for it | Armin Ronacher | 2008-05-23 | 1 | -2/+4 |
| | | | | | --HG-- branch : trunk | ||||
* | refactored compiler and improved identifier handling for for-loops | Armin Ronacher | 2008-05-23 | 1 | -4/+9 |
| | | | | | --HG-- branch : trunk | ||||
* | temporary identifiers are prefixed with "t_" now and the ↵ | Armin Ronacher | 2008-05-19 | 1 | -8/+4 |
| | | | | | | | _node_setup_finished hack went away --HG-- branch : trunk | ||||
* | small refactoring | Armin Ronacher | 2008-05-18 | 1 | -0/+8 |
| | | | | | --HG-- branch : trunk | ||||
* | added support for local aliasing of some attributes. the technique used is ↵ | Armin Ronacher | 2008-05-15 | 1 | -2/+3 |
| | | | | | | | not very good but covers at least some of the more common use cases --HG-- branch : trunk | ||||
* | improved variable exporting, added TODO file | Armin Ronacher | 2008-05-12 | 1 | -0/+34 |
| | | | | | --HG-- branch : trunk | ||||
* | added parsing code for "for item in seq recursive" and improved parser ↵ | Armin Ronacher | 2008-05-11 | 1 | -1/+1 |
| | | | | | | | interface a bit --HG-- branch : trunk | ||||
* | added support for dotted names in tests and filters | Armin Ronacher | 2008-05-10 | 1 | -0/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | more updates on the extension API | Armin Ronacher | 2008-05-08 | 1 | -1/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | First extension interface documentation and updates in that interface | Armin Ronacher | 2008-05-08 | 1 | -59/+195 |
| | | | | | --HG-- branch : trunk | ||||
* | moved concat to utils, fixed a few docstrings, fixed memory leak in ↵ | Armin Ronacher | 2008-05-03 | 1 | -1/+1 |
| | | | | | | | _speedups.escape --HG-- branch : trunk | ||||
* | added "with context" or "without context" import/include modifiers | Armin Ronacher | 2008-05-02 | 1 | -3/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | again documentation updates fixed another python 2.4 bug. Imports are not ↵ | Armin Ronacher | 2008-04-29 | 1 | -0/+9 |
| | | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk | ||||
* | fixed some NameErrors | Benjamin Wiegand | 2008-04-28 | 1 | -1/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | all unittests pass, the special and dependency lookups have their own ↵ | Armin Ronacher | 2008-04-27 | 1 | -1/+1 |
| | | | | | | | visitors now, with `self` one can get a reference to the current template and render blocks multiple times. --HG-- branch : trunk | ||||
* | there is now a workaround in the compiler that makes sure it's possible to ↵ | Armin Ronacher | 2008-04-26 | 1 | -8/+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 | -0/+17 |
| | | | | | | | 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 | -6/+9 |
| | | | | | | | unittests --HG-- branch : trunk | ||||
* | inheritance uses a less awkward hack for contexts now and subclassing ↵ | Armin Ronacher | 2008-04-24 | 1 | -4/+6 |
| | | | | | | | templates is possible --HG-- branch : trunk | ||||
* | fixed more unittests | Armin Ronacher | 2008-04-22 | 1 | -3/+10 |
| | | | | | --HG-- branch : trunk | ||||
* | removed custom nodes again | Armin Ronacher | 2008-04-21 | 1 | -25/+4 |
| | | | | | --HG-- branch : trunk |