summaryrefslogtreecommitdiff
path: root/jinja2/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Changed naked except statements to catch only subclasses of Exception.Ian Lewis2010-11-071-1/+1
| | | | | | | | | | | | | | 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>
* MarkupSafe is now used for the Jinja2 speedupsArmin Ronacher2010-08-171-224/+6
| | | | | --HG-- branch : trunk
* Different name for builtins in Python 3Armin Ronacher2010-04-201-1/+2
| | | | | --HG-- branch : trunk
* fixed an error reporting bug for undefineds.2.4.1Armin Ronacher2010-04-201-2/+2
| | | | | --HG-- branch : trunk
* Improved error message for undefinedsArmin Ronacher2010-04-121-0/+16
| | | | | --HG-- branch : trunk
* Documented autoescaping behavior and eval contexts.Armin Ronacher2010-03-151-1/+2
| | | | | --HG-- branch : trunk
* Biggest change to Jinja since the 1.x migration: added evaluation contextsArmin Ronacher2010-03-141-0/+12
| | | | | | | | | 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 Ronacher2010-02-101-14/+19
| | | | | --HG-- branch : trunk
* Approaching python3 compatibilityArmin Ronacher2010-02-101-2/+2
| | | | | --HG-- branch : trunk
* Propably delaying release for better python 3 support. Started working onArmin Ronacher2010-02-091-1/+1
| | | | | | | that. --HG-- branch : trunk
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* Fix typos and one extra import.Georg Brandl2009-11-221-1/+1
| | | | | --HG-- branch : trunk
* Fixed a scoping bug that was introduced in the development version and wasArmin Ronacher2009-10-251-1/+5
| | | | | | | | triggered by multiple layers of local variables not tracked properly in if statements. --HG-- branch : trunk
* Made the lru cache more robust.Armin Ronacher2009-09-141-2/+6
| | | | | --HG-- branch : trunk
* More Python 3 support.Armin Ronacher2009-08-051-0/+9
| | | | | --HG-- branch : trunk
* Started to work on Python 3 support.Armin Ronacher2009-08-051-1/+5
| | | | | --HG-- branch : trunk
* Improved Jinja's debugging support by introducing "@internalcode" which ↵Armin Ronacher2009-02-241-0/+9
| | | | | | | marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger. --HG-- branch : trunk
* Fixed a threading issue with the LRUCache. Still not sure if I should ↵Armin Ronacher2009-01-121-1/+7
| | | | | | | release a Jinja 2.1.2 for that. --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Fixed an escaping bug in urlizeArmin Ronacher2008-11-171-1/+1
| | | | | --HG-- branch : trunk
* Added support for `Environment.compile_expression`.Armin Ronacher2008-11-021-0/+6
| | | | | --HG-- branch : trunk
* Implemented and documented "joiner"Armin Ronacher2008-10-131-0/+14
| | | | | --HG-- branch : trunk
* Various cleanups and added custom cycler.Armin Ronacher2008-10-051-0/+37
| | | | | --HG-- branch : trunk
* Fixed a documentation bug.Armin Ronacher2008-09-081-2/+2
| | | | | --HG-- branch : trunk
* Removed a few stdlib dependencies. This is the first step for IronPython ↵Armin Ronacher2008-08-131-8/+40
| | | | | | | support, the second one being a new lexer. --HG-- branch : trunk
* updated documentationArmin Ronacher2008-06-091-3/+5
| | | | | --HG-- branch : trunk
* data files are optional nowArmin Ronacher2008-05-281-9/+59
| | | | | --HG-- branch : trunk
* some more documentation updates and minor code cleanups. Additionally True ↵Armin Ronacher2008-05-281-6/+38
| | | | | | | and true in the template are the same now, same for false/False and none/None. --HG-- branch : trunk
* improved sandbox and updated setup.pyArmin Ronacher2008-05-261-14/+21
| | | | | --HG-- branch : trunk
* all calls are proxied by context.call now so that we can inject environment ↵Armin Ronacher2008-05-251-3/+3
| | | | | | | 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
* added unittest for Markup and let the markup constructor accept `__html__` ↵Armin Ronacher2008-05-231-0/+5
| | | | | | | objects --HG-- branch : trunk
* fixed babel entry pointArmin Ronacher2008-05-201-0/+16
| | | | | --HG-- branch : trunk
* more thread safety in LRUCacheArmin Ronacher2008-05-191-2/+26
| | | | | --HG-- branch : trunk
* improved thread safety of the LRUCache and fixed a bug in for loopsArmin Ronacher2008-05-191-2/+2
| | | | | --HG-- branch : trunk
* the two escape implementations work the same now, updated jinja2-debug to ↵Armin Ronacher2008-05-141-1/+1
| | | | | | | load the i18n extension --HG-- branch : trunk
* some documentation improvements, jinja escapes " and ' now, both into ↵Armin Ronacher2008-05-061-2/+11
| | | | | | | charpoints and no named entities for html 3.2 support ;-) --HG-- branch : trunk
* added macro for char* to Py_UNICODE conversionArmin Ronacher2008-05-051-1/+1
| | | | | --HG-- branch : trunk
* improved sandbox, added proper striptags and updated documentation to latest ↵Armin Ronacher2008-05-041-1/+26
| | | | | | | sphinx changes --HG-- branch : trunk
* Automated merge with ssh://team@pocoo.org/jinja2-mainArmin Ronacher2008-05-031-0/+1
|\ | | | | | | | | --HG-- branch : trunk
| * added missing importBenjamin Wiegand2008-05-031-0/+1
| | | | | | | | | | --HG-- branch : trunk
* | updated filters: wordwraps uses the wordwrap module and urlize marks the ↵Armin Ronacher2008-05-031-5/+6
|/ | | | | | | result as HTML now if in autoescape mode --HG-- branch : trunk
* moved concat to utils, fixed a few docstrings, fixed memory leak in ↵Armin Ronacher2008-05-031-0/+23
| | | | | | | _speedups.escape --HG-- branch : trunk
* made LRUCache thread safe -.-Armin Ronacher2008-05-011-15/+34
| | | | | --HG-- branch : trunk
* Fixed typos in documentationLukas Meuser2008-05-011-4/+4
| | | | | --HG-- branch : trunk
* added cache_clear functionArmin Ronacher2008-05-011-0/+12
| | | | | --HG-- branch : trunk
* moved caching from loaders to environment and added environment overlaysArmin Ronacher2008-04-301-0/+4
| | | | | --HG-- branch : trunk
* again documentation updates fixed another python 2.4 bug. Imports are not ↵Armin Ronacher2008-04-291-4/+6
| | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk
* fixed another python2.4 bugArmin Ronacher2008-04-281-4/+5
| | | | | --HG-- branch : trunk
* Automated merge with ssh://team@pocoo.org/jinja2-mainArmin Ronacher2008-04-281-1/+1
|\ | | | | | | | | --HG-- branch : trunk
| * small improvementBenjamin Wiegand2008-04-281-2/+2
| | | | | | | | | | --HG-- branch : trunk