Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make the runtime leak less of the version hacks | Armin Ronacher | 2013-05-20 | 1 | -6/+9 | |
| | ||||||
* | Added unicode mixin for unified string logic | Armin Ronacher | 2013-05-19 | 1 | -9/+2 | |
| | ||||||
* | PY3 -> PY2 macro | Armin Ronacher | 2013-05-19 | 1 | -5/+8 | |
| | ||||||
* | Moved all six usages (ignoring testsuite) into jinja2._compat | Armin Ronacher | 2013-05-19 | 1 | -19/+19 | |
| | ||||||
* | Added support for map, select, reject, selectattr and rejectattr | Armin Ronacher | 2013-05-19 | 1 | -1/+38 | |
| | | | | | | filters. This supercedes #66 | |||||
* | Merge pull request #114 from cocoatomo/patch-1 | Armin Ronacher | 2013-05-19 | 1 | -1/+0 | |
|\ | | | | | There is no need to initialize Environment#bytecode_cache twice | |||||
| * | There is no need to initialize Environment#bytecode_cache. | cocoatomo | 2012-04-06 | 1 | -1/+0 | |
| | | ||||||
* | | Merge remote-tracking branch 'kristi/master' | Armin Ronacher | 2013-05-19 | 1 | -4/+13 | |
|\ \ | ||||||
| * | | clarify lstrip_blocks option | Kristi Tsukida | 2012-07-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | add lstrip_blocks environment setting, fix lexer | Kristi Tsukida | 2012-07-10 | 1 | -1/+10 | |
| |/ | ||||||
* | | Merge remote-tracking branch 'wking/keep-trailing-newline' | Armin Ronacher | 2013-05-19 | 1 | -3/+14 | |
|\ \ | ||||||
| * | | Add `keep_trailing_newline` to configure final endline stripping | W. Trevor King | 2013-01-11 | 1 | -2/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option defaults to False for compatibility with the existing behaviour. I've added the option because I expect I won't remember to keep an extra trailing newline in my templates, and some non-HTML templates *need* that last newline. See also: https://groups.google.com/d/msg/pocoo-libs/6DylMqq1voI/GXTbZJ1Tr-sJ | |||||
* | | | Make dump() work Python 3.3 | Armin Ronacher | 2013-05-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | file -> open for 3.x support. This fixes #152 | Armin Ronacher | 2013-05-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | A bit of cleanup in the environment | Armin Ronacher | 2013-05-18 | 1 | -2/+6 | |
| | | | ||||||
* | | | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixers | Thomas Waldmann | 2013-05-18 | 1 | -18/+13 | |
| | | | ||||||
* | | | python 3 port: automated changes by a slightly modified python-modernize | Thomas Waldmann | 2013-05-17 | 1 | -9/+14 | |
|/ / | | | | | | | (replacing unicode with six.text_type, but not replacing u"" by six.u("")) | |||||
* | | Fixed an unicode error after 2to3 | Armin Ronacher | 2012-09-16 | 1 | -1/+1 | |
| | | ||||||
* | | Added filesize part to the module compiler. This fixes #131 for 3.3 and later | Armin Ronacher | 2012-09-16 | 1 | -0/+4 | |
|/ | ||||||
* | couple of typos in comments | Dmitry Jemerov | 2011-09-26 | 1 | -5/+5 | |
| | ||||||
* | Another reference | Armin Ronacher | 2011-01-29 | 1 | -0/+2 | |
| | ||||||
* | Updated documentation for operator intercepting | Armin Ronacher | 2010-11-29 | 1 | -1/+2 | |
| | ||||||
* | Fixed a typo and removed a useless backslash | Armin Ronacher | 2010-11-29 | 1 | -1/+1 | |
| | ||||||
* | Removed unused import | Armin Ronacher | 2010-11-29 | 1 | -1/+1 | |
| | ||||||
* | 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 |