summaryrefslogtreecommitdiff
path: root/jinja2/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Make tojson always safe (fix #709)Ayala Shachar2017-05-231-1/+1
|
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Updated docs on autoescaping and made select_autoescape case insensitiveArmin Ronacher2017-01-071-2/+7
|
* Added a more convenient autoescaping functionArmin Ronacher2017-01-071-0/+49
|
* Ported tojson filter. Fixes #458Armin Ronacher2017-01-061-0/+31
|
* Merge pull request #525 from iffy/fix-cycle-nextArmin Ronacher2017-01-031-1/+3
|\ | | | | Give Cycler a next() method so that it works in python2 and 3
| * Give Cycler a next() method so that it works in python2 and 3Matt Haggard2015-12-291-1/+3
| |
* | Make noopener the default for urlizeArmin Ronacher2016-12-311-8/+6
| |
* | Initial support for async renderingArmin Ronacher2016-12-281-0/+8
| |
* | Fix typo in clear_caches docstringMarcelo Jorge Vieira2016-09-091-1/+1
| |
* | Escape target attribute in the urlize function in utils.py. (#507)Sambhav Satija2016-04-101-1/+1
|/
* Fixed for_qs for urlencode. This fixes #515Armin Ronacher2015-11-201-1/+1
|
* Escape slashes in query strings. This fixes #445Armin Ronacher2015-05-251-2/+6
|
* Merge pull request #375 from zart/fix-relative-search-on-windowsMarkus Unterwaditzer2015-03-111-1/+1
|\ | | | | Windows returns EINVAL on bogus filenames
| * Windows returns EINVAL on bogus filenamesKonstantin Zemlyak2014-09-281-1/+1
| | | | | | | | Related pull of pyramid_jinja2: https://github.com/Pylons/pyramid_jinja2/pull/94
* | Fix typoFabio Utzig2015-01-181-1/+1
|/
* Issue #126: Add `target` keyword argument to urlize.Berker Peksag2013-08-211-5/+11
|
* Removed some no longer needed code from compatArmin Ronacher2013-05-201-2/+3
|
* Removed some dead importsArmin Ronacher2013-05-201-1/+1
|
* More cleanup in the utils moduleArmin Ronacher2013-05-201-30/+2
|
* Some more small cleanup for metaclassesArmin Ronacher2013-05-201-2/+0
|
* Make the runtime leak less of the version hacksArmin Ronacher2013-05-201-2/+3
|
* PY3 -> PY2 macroArmin Ronacher2013-05-191-2/+2
|
* Unified version checks where appropriateArmin Ronacher2013-05-191-2/+2
|
* Moved all six usages (ignoring testsuite) into jinja2._compatArmin Ronacher2013-05-191-28/+8
|
* Removed bundled markupsafeArmin Ronacher2013-05-191-11/+2
|
* Fixed MethodType being wrong on 3.xArmin Ronacher2013-05-181-1/+1
|
* No need for tuple comparisons.Cory Benfield2013-05-181-1/+1
|
* utils: remove some old py compat codeThomas Waldmann2013-05-181-44/+3
|
* python 3 port: manual fixes, remove 2to3 from setup.py, remove fixersThomas Waldmann2013-05-181-19/+12
|
* python 3 port: automated changes by a slightly modified python-modernizeThomas Waldmann2013-05-171-10/+11
| | | | (replacing unicode with six.text_type, but not replacing u"" by six.u(""))
* Pessimistic locking for LRU cache. This fixes #8Armin Ronacher2013-04-131-20/+24
|
* Fixed an issue about urlize functionmozillazg2013-03-181-0/+1
| | | | | | | | | | | When URL startswith 'https://', the return is wrong. Before: >>> urlize('https://github.com/') u'<a href="http://https://github.com/">https://github.com/</a>' After: >>> urlize('https://github.com/') u'<a href="https://github.com/">https://github.com/</a>'
* Few typos in jinja2.utilsFlorent Xicluna2012-02-051-7/+7
|
* Renamed urlescape to urlencodeArmin Ronacher2012-01-071-1/+1
|
* Reworked implementation of the urlescape filter, made it Python3 compatible, ↵Armin Ronacher2012-01-071-0/+19
| | | | documented it.
* 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