Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed naked except statements to catch only subclasses of Exception. | Ian Lewis | 2010-11-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | 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> | ||||
* | Fixed extensions not loading properly with overlays | Armin Ronacher | 2010-10-17 | 1 | -1/+1 |
| | |||||
* | Fixed a bug in add_extension | Armin Ronacher | 2010-05-29 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Added hooks for compilation and generation. This fixes #384 | Armin Ronacher | 2010-05-29 | 1 | -4/+20 |
| | | | | | --HG-- branch : trunk | ||||
* | Finished support for newstyle gettext translations | Armin Ronacher | 2010-05-29 | 1 | -0/+7 |
| | | | | | --HG-- branch : trunk | ||||
* | Added extension ordering, this fixes #376. | Armin Ronacher | 2010-04-12 | 1 | -2/+7 |
| | | | | | --HG-- branch : trunk | ||||
* | autoescape no longer is a plain boolean value but can also be a function | Armin Ronacher | 2010-04-05 | 1 | -1/+7 |
| | | | | | | | | to enable or disable autoescaping for certain filenames (or file extensions for that matter) --HG-- branch : trunk | ||||
* | Template to module compilation should work on 3.x now. | Armin Ronacher | 2010-03-15 | 1 | -5/+7 |
| | | | | | --HG-- branch : trunk | ||||
* | Biggest change to Jinja since the 1.x migration: added evaluation contexts | Armin Ronacher | 2010-03-14 | 1 | -2/+3 |
| | | | | | | | | | 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 | ||||
* | Improved tests and template compilation. | Armin Ronacher | 2010-03-12 | 1 | -18/+49 |
| | | | | | --HG-- branch : trunk | ||||
* | added a :class:`ModuleLoader` that can load templates from | Armin Ronacher | 2010-03-12 | 1 | -7/+111 |
| | | | | | | | | | | precompiled sources. The environment now features a method to compile the templates from a configured loader into a zip file or folder. --HG-- branch : trunk extra : rebase_source : 4824f663e4ff58ca3d2176c65fc1b7494e1f0c43 | ||||
* | Reindented a docstring. | Armin Ronacher | 2010-02-17 | 1 | -3/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Documented the API changes in get_template and select_template. | Armin Ronacher | 2010-02-16 | 1 | -0/+8 |
| | | | | | --HG-- branch : trunk | ||||
* | the environment template loading functions now transparently | Armin Ronacher | 2010-02-16 | 1 | -0/+6 |
| | | | | | | | | | pass through a template object if it was passed to it. This makes it possible to import or extend from a template object that was passed to the template. --HG-- branch : trunk | ||||
* | Down to 7 failures for Python 3. We're onto something. | Armin Ronacher | 2010-02-10 | 1 | -6/+4 |
| | | | | | --HG-- branch : trunk | ||||
* | Added comment to why __unicode__ goes after __str__. | Armin Ronacher | 2010-02-10 | 1 | -0/+4 |
| | | | | | --HG-- branch : trunk | ||||
* | Approaching python3 compatibility | Armin Ronacher | 2010-02-10 | 1 | -3/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Propably delaying release for better python 3 support. Started working on | Armin Ronacher | 2010-02-09 | 1 | -2/+5 |
| | | | | | | | that. --HG-- branch : trunk | ||||
* | experimental Python 3 support. | Armin Ronacher | 2010-02-09 | 1 | -3/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Improved finalize documentation. | Armin Ronacher | 2010-01-24 | 1 | -2/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | It's a new year | Armin Ronacher | 2010-01-22 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | include tags are now able to select between multiple templates | Armin Ronacher | 2010-01-14 | 1 | -12/+49 |
| | | | | | | | | and take the first that exists, if a list of templates is given. --HG-- branch : trunk | ||||
* | Fix typos and one extra import. | Georg Brandl | 2009-11-22 | 1 | -2/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | Refactoring in the way the parse function is invoked. | Armin Ronacher | 2009-09-13 | 1 | -15/+25 |
| | | | | | --HG-- branch : trunk | ||||
* | More Python 3 support. | Armin Ronacher | 2009-08-05 | 1 | -5/+14 |
| | | | | | --HG-- branch : trunk | ||||
* | Renamed (undocumented) attribute overlay to overlayed on the environment | Armin Ronacher | 2009-07-09 | 1 | -2/+2 |
| | | | | | | | | because it was clashing with a method of the same name. The new attribute is called "overlayed". --HG-- branch : trunk | ||||
* | Resolved conflict | Armin Ronacher | 2009-04-16 | 1 | -0/+6 |
|\ | | | | | | | | | --HG-- branch : trunk | ||||
| * | Documented more changes | Armin Ronacher | 2009-04-02 | 1 | -0/+9 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
| * | Started refactoring of debugging system for better AppEngine/Pylons support. | Armin Ronacher | 2009-03-05 | 1 | -12/+28 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
* | | Fixed a bug with template syntax errors not handled properly. | Armin Ronacher | 2009-04-16 | 1 | -5/+4 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
* | | Started refactoring of debugging system for better AppEngine/Pylons support. | Armin Ronacher | 2009-03-05 | 1 | -12/+28 |
| | | | | | | | | | | | | --HG-- branch : trunk extra : rebase_source : 30b87a402e0847f95eaf277d0fc50e1a63177d5b | ||||
* | | Added support for line-based comments. | Armin Ronacher | 2009-03-30 | 1 | -7/+16 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
* | | Applied documentation patches by Clemens Hermann. | Armin Ronacher | 2009-03-18 | 1 | -2/+2 |
|/ | | | | | --HG-- branch : trunk | ||||
* | Improved Jinja's debugging support by introducing "@internalcode" which ↵ | Armin Ronacher | 2009-02-24 | 1 | -5/+10 |
| | | | | | | | marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger. --HG-- branch : trunk | ||||
* | Added support for optional `scoped` modifier to blocks. | Armin Ronacher | 2009-02-19 | 1 | -16/+3 |
| | | | | | --HG-- branch : trunk | ||||
* | Copyright switch to "The Jinja Team". | Armin Ronacher | 2009-01-04 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a typo | Armin Ronacher | 2008-12-08 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Added support for `Environment.compile_expression`. | Armin Ronacher | 2008-11-02 | 1 | -5/+68 |
| | | | | | --HG-- branch : trunk | ||||
* | Various cleanups and added custom cycler. | Armin Ronacher | 2008-10-05 | 1 | -4/+21 |
| | | | | | --HG-- branch : trunk | ||||
* | imports and includes "with context" are passed the full context now, not ↵ | Armin Ronacher | 2008-10-04 | 1 | -7/+13 |
| | | | | | | | only the initial one. --HG-- branch : trunk | ||||
* | Some typos. | Georg Brandl | 2008-09-19 | 1 | -4/+4 |
| | | | | | --HG-- branch : trunk | ||||
* | Improved bbcache and documented it. | Armin Ronacher | 2008-09-17 | 1 | -0/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | Added experimental and undocumented bytecode cache support | Armin Ronacher | 2008-09-17 | 1 | -3/+12 |
| | | | | | --HG-- branch : trunk | ||||
* | Linked from autoescape to markup | Armin Ronacher | 2008-09-08 | 1 | -0/+2 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a typo | Armin Ronacher | 2008-09-08 | 1 | -1/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Removed a few stdlib dependencies. This is the first step for IronPython ↵ | Armin Ronacher | 2008-08-13 | 1 | -5/+2 |
| | | | | | | | support, the second one being a new lexer. --HG-- branch : trunk | ||||
* | Automated merge with http://dev.pocoo.org/hg/jinja2-main/ | Christopher Grebs | 2008-07-10 | 1 | -1/+1 |
|\ | | | | | | | | | --HG-- branch : trunk | ||||
| * | fixed attribute lookup error with old style classes | Christopher Grebs | 2008-07-10 | 1 | -1/+1 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
* | | Fixed some minor glitches. | Armin Ronacher | 2008-06-20 | 1 | -1/+1 |
| | | | | | | | | | | --HG-- branch : trunk | ||||
* | | Added `TemplateStream.dump`. | Armin Ronacher | 2008-06-17 | 1 | -0/+27 |
| | | | | | | | | | | --HG-- branch : trunk |