]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
12 years agoMerge pull request #213 from Lukasa/luk-sprint-branch
Armin Ronacher [Sat, 18 May 2013 10:37:18 +0000 (03:37 -0700)] 
Merge pull request #213 from Lukasa/luk-sprint-branch

Sprint: Misc fixes.

12 years agoFixed a check that broke pypy
Armin Ronacher [Sat, 18 May 2013 10:36:32 +0000 (11:36 +0100)] 
Fixed a check that broke pypy

12 years agoAdded .tox to .gitignore
Armin Ronacher [Sat, 18 May 2013 10:36:26 +0000 (11:36 +0100)] 
Added .tox to .gitignore

12 years agoMerge pull request #212 from DasIch/add-tox
Armin Ronacher [Sat, 18 May 2013 10:32:21 +0000 (03:32 -0700)] 
Merge pull request #212 from DasIch/add-tox

Add tox configuration

12 years agoNo need for tuple comparisons. 213/head
Cory Benfield [Sat, 18 May 2013 09:54:29 +0000 (10:54 +0100)] 
No need for tuple comparisons.

12 years agoWe don't support 2.4 anymore.
Cory Benfield [Sat, 18 May 2013 09:53:48 +0000 (10:53 +0100)] 
We don't support 2.4 anymore.

12 years agoAdd tox configuration 212/head
Daniel Neuhäuser [Sat, 18 May 2013 10:29:58 +0000 (12:29 +0200)] 
Add tox configuration

12 years agoA bit of cleanup in the environment
Armin Ronacher [Sat, 18 May 2013 10:18:57 +0000 (11:18 +0100)] 
A bit of cleanup in the environment

12 years agoMerge pull request #207 from ekalinin/patch-1
Armin Ronacher [Sat, 18 May 2013 10:13:17 +0000 (03:13 -0700)] 
Merge pull request #207 from ekalinin/patch-1

Fixed improperly closed tag in menu example in tricks.rst

12 years agoAdd myself. 211/head
Cory Benfield [Sat, 18 May 2013 09:39:12 +0000 (10:39 +0100)] 
Add myself.

12 years agoTrash debugsupport.
Cory Benfield [Sat, 18 May 2013 09:35:04 +0000 (10:35 +0100)] 
Trash debugsupport.

12 years agosetup.py: add "six" library to install_requires 210/head
Thomas Waldmann [Fri, 17 May 2013 23:16:18 +0000 (01:16 +0200)] 
setup.py: add "six" library to install_requires

12 years agoupdate docs / changelog about python requirement, add myself to AUTHORS
Thomas Waldmann [Fri, 17 May 2013 23:07:52 +0000 (01:07 +0200)] 
update docs / changelog about python requirement, add myself to AUTHORS

also added 2 FIXMEs to intro.rst about the debugsupport for python 2.4
that needs to get removed

12 years agoutils: remove some old py compat code
Thomas Waldmann [Fri, 17 May 2013 22:47:41 +0000 (00:47 +0200)] 
utils: remove some old py compat code

12 years ago_markupsafe: remove some py2.4/2.5 compat code
Thomas Waldmann [Fri, 17 May 2013 22:24:05 +0000 (00:24 +0200)] 
_markupsafe: remove some py2.4/2.5 compat code

12 years agopython 3 port: manual fixes, remove 2to3 from setup.py, remove fixers
Thomas Waldmann [Fri, 17 May 2013 22:06:22 +0000 (00:06 +0200)] 
python 3 port: manual fixes, remove 2to3 from setup.py, remove fixers

12 years agopython 3 port: automated changes by a slightly modified python-modernize
Thomas Waldmann [Fri, 17 May 2013 21:52:14 +0000 (23:52 +0200)] 
python 3 port: automated changes by a slightly modified python-modernize

(replacing unicode with six.text_type, but not replacing u"" by six.u(""))

12 years agoFixed improperly closed tag in menu example in tricks.rst 207/head
Eugene Kalinin [Tue, 14 May 2013 02:59:53 +0000 (06:59 +0400)] 
Fixed improperly closed tag in menu example in tricks.rst

12 years agoAllow choice of wrap string in wordwrap filter. 206/head
John McDonnell [Sun, 2 Oct 2011 07:17:57 +0000 (03:17 -0400)] 
Allow choice of wrap string in wordwrap filter.

12 years agoPrevent line statements eating newlines (fixes #52) 203/head
Adam Spiers [Wed, 1 May 2013 17:42:55 +0000 (18:42 +0100)] 
Prevent line statements eating newlines (fixes #52)

12 years agoFix vim syntax: Correctly highlight filters. 202/head
René Neumann [Tue, 23 Apr 2013 12:50:51 +0000 (14:50 +0200)] 
Fix vim syntax: Correctly highlight filters.

`skipwhite` makes only sense in combination with `nextgroup`.
Now filters are correctly highlighted independent of spaces after the
'|'.

12 years ago- Allow callable classes to have contextfunction and the like 200/head
Richard Eames [Tue, 16 Apr 2013 05:49:02 +0000 (23:49 -0600)] 
- Allow callable classes to have contextfunction and the like

12 years ago- Testcase
Richard Eames [Tue, 16 Apr 2013 05:48:48 +0000 (23:48 -0600)] 
- Testcase

12 years agoMerge pull request #177 from sakti/patch-1
Armin Ronacher [Fri, 12 Apr 2013 23:39:51 +0000 (16:39 -0700)] 
Merge pull request #177 from sakti/patch-1

fix typo swtich -> switch

12 years agoMerge pull request #171 from mgorny/master
Armin Ronacher [Fri, 12 Apr 2013 23:39:34 +0000 (16:39 -0700)] 
Merge pull request #171 from mgorny/master

Fix jinjaext compatibility with Python 3

12 years agoPessimistic locking for LRU cache. This fixes #8
Armin Ronacher [Fri, 12 Apr 2013 23:38:27 +0000 (00:38 +0100)] 
Pessimistic locking for LRU cache.  This fixes #8

12 years agoMerge pull request #187 from jet-sun/patch-1
Armin Ronacher [Fri, 12 Apr 2013 23:19:27 +0000 (16:19 -0700)] 
Merge pull request #187 from jet-sun/patch-1

correct typo

12 years agoMerge pull request #193 from mozillazg/patch-1
Armin Ronacher [Fri, 12 Apr 2013 23:18:49 +0000 (16:18 -0700)] 
Merge pull request #193 from mozillazg/patch-1

Fixed an issue about urlize function

12 years agoMerge pull request #195 from vergenzt/master
Armin Ronacher [Fri, 12 Apr 2013 23:18:03 +0000 (16:18 -0700)] 
Merge pull request #195 from vergenzt/master

Correct typo in dictsort filter documentation

12 years agoCorrect typo in dictsort filter documentation 195/head
Tim Vergenz [Thu, 28 Mar 2013 20:41:35 +0000 (13:41 -0700)] 
Correct typo in dictsort filter documentation

12 years agoFixed an issue about urlize function 193/head
mozillazg [Mon, 18 Mar 2013 06:27:54 +0000 (14:27 +0800)] 
Fixed an issue about urlize function

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>'

12 years agoFixed typos: overriden to overridden 188/head
Jonas Nockert [Sat, 23 Feb 2013 19:34:47 +0000 (20:34 +0100)] 
Fixed typos: overriden to overridden

12 years agocorrect typo 187/head
Jet Sun [Wed, 20 Feb 2013 23:30:16 +0000 (15:30 -0800)] 
correct typo

12 years agoFixes #181: Handle memcached errors gracefully. 182/head
Kyle Adams [Mon, 18 Feb 2013 18:26:40 +0000 (13:26 -0500)] 
Fixes #181: Handle memcached errors gracefully.

12 years agofix typo swtich -> switch 177/head
Sakti Dwi Cahyono [Fri, 15 Feb 2013 07:08:45 +0000 (14:08 +0700)] 
fix typo swtich -> switch

12 years agoUpdate jinja2/filters.py 173/head
kracekumar [Tue, 15 Jan 2013 12:32:49 +0000 (18:02 +0530)] 
Update jinja2/filters.py

Fixed spelling mistake in docstring for dictsort

12 years agoFix jinjaext compatibility with Python 3. 171/head
Michał Górny [Sun, 13 Jan 2013 21:58:30 +0000 (22:58 +0100)] 
Fix jinjaext compatibility with Python 3.

Patch by Arfrever.

Fixes: https://github.com/mitsuhiko/jinja2/issues/115
12 years agoAdd `keep_trailing_newline` to configure final endline stripping 170/head
W. Trevor King [Fri, 11 Jan 2013 13:23:24 +0000 (08:23 -0500)] 
Add `keep_trailing_newline` to configure final endline stripping

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

12 years agoadding explicit mention of distribute prerequisite at runtime 168/head
Mike Chesnut [Tue, 18 Dec 2012 21:52:07 +0000 (13:52 -0800)] 
adding explicit mention of distribute prerequisite at runtime

12 years agoUpdate docs/tricks.rst 166/head
Richard [Sat, 1 Dec 2012 06:56:16 +0000 (23:56 -0700)] 
Update docs/tricks.rst

Fixing a typo

12 years agoupdate the Docstring of do_truncate, add useful examples 165/head
AquarHEAD L [Sun, 25 Nov 2012 20:37:13 +0000 (04:37 +0800)] 
update the Docstring of do_truncate, add useful examples

12 years agoFixed typo 163/head
Natan L [Thu, 22 Nov 2012 08:10:41 +0000 (00:10 -0800)] 
Fixed typo

'ore' > 'or'

12 years agofix DictLoader `uptodate` callback 162/head
Alex Morega [Sun, 18 Nov 2012 17:19:47 +0000 (18:19 +0100)] 
fix DictLoader `uptodate` callback

12 years agoUpdate docs/templates.rst 159/head
Dimitris Leventeas [Thu, 1 Nov 2012 22:21:32 +0000 (23:21 +0100)] 
Update docs/templates.rst

Loop (recursive) --> Another loop -> loop(...)

12 years agoFix typo in `include` documentation 149/head
Dmitry Medvinsky [Fri, 21 Sep 2012 13:15:38 +0000 (17:15 +0400)] 
Fix typo in `include` documentation

12 years agoFixed an unicode error after 2to3
Armin Ronacher [Sat, 15 Sep 2012 23:30:50 +0000 (08:30 +0900)] 
Fixed an unicode error after 2to3

12 years agoAdded filesize part to the module compiler. This fixes #131 for 3.3 and later
Armin Ronacher [Sat, 15 Sep 2012 23:26:31 +0000 (08:26 +0900)] 
Added filesize part to the module compiler.  This fixes #131 for 3.3 and later

13 years agoFix FAQ typo 141/head
David Gilman [Sat, 21 Jul 2012 06:30:36 +0000 (01:30 -0500)] 
Fix FAQ typo

13 years agoDocument the {%+ manual disable lstrip_blocks feature 139/head
Kristi Tsukida [Thu, 12 Jul 2012 20:44:54 +0000 (13:44 -0700)] 
Document the {%+ manual disable lstrip_blocks feature

13 years agofix tests since lstrip_blocks strips comments
Kristi Tsukida [Thu, 12 Jul 2012 20:38:11 +0000 (13:38 -0700)] 
fix tests since lstrip_blocks strips comments

13 years agoApply lstrip_blocks to comments (match trim_blocks behavior)
Kristi Tsukida [Thu, 12 Jul 2012 20:37:21 +0000 (13:37 -0700)] 
Apply lstrip_blocks to comments (match trim_blocks behavior)

13 years agoFix lstrip_blocks tests
Kristi Tsukida [Thu, 12 Jul 2012 20:03:11 +0000 (13:03 -0700)] 
Fix lstrip_blocks tests

13 years agoDon't match variable or comment blocks, Use {%+ to disable lstrip_blocks behavior...
Kristi Tsukida [Thu, 12 Jul 2012 20:01:42 +0000 (13:01 -0700)] 
Don't match variable or comment blocks, Use {%+ to disable lstrip_blocks behavior manually

13 years agoadd tests for lstrip_blocks option
Kristi Tsukida [Thu, 12 Jul 2012 00:11:36 +0000 (17:11 -0700)] 
add tests for lstrip_blocks option

13 years agohash lstrip_blocks in lexer cache
Kristi Tsukida [Wed, 11 Jul 2012 16:15:42 +0000 (09:15 -0700)] 
hash lstrip_blocks in lexer cache

13 years agoclarify lstrip_blocks option
Kristi Tsukida [Wed, 11 Jul 2012 01:16:28 +0000 (18:16 -0700)] 
clarify lstrip_blocks option

13 years agodocument `lstrip_blocks`
Kristi Tsukida [Wed, 11 Jul 2012 01:13:52 +0000 (18:13 -0700)] 
document `lstrip_blocks`

13 years agoremove debug code
Kristi Tsukida [Wed, 11 Jul 2012 00:29:27 +0000 (17:29 -0700)] 
remove debug code

13 years agoadd lstrip_blocks environment setting, fix lexer
Kristi Tsukida [Wed, 11 Jul 2012 00:13:50 +0000 (17:13 -0700)] 
add lstrip_blocks environment setting, fix lexer

13 years agolstrip spaces (but not newlines) from block tags
Kristi Tsukida [Tue, 10 Jul 2012 20:25:38 +0000 (13:25 -0700)] 
lstrip spaces (but not newlines) from block tags

13 years agoPrevent default filter from throwing UndefinedError when boolean flag is used with... 138/head
Chase Sterling [Thu, 5 Jul 2012 19:43:14 +0000 (15:43 -0400)] 
Prevent default filter from throwing UndefinedError when boolean flag is used with StrictUndefined.

13 years agoMerge pull request #137 from PaulMcMillan/improve_whitespace_docs
Armin Ronacher [Thu, 5 Jul 2012 07:39:32 +0000 (00:39 -0700)] 
Merge pull request #137 from PaulMcMillan/improve_whitespace_docs

Improve whitespace docs to reflect reality.

13 years agoImprove whitespace docs to reflect reality. 137/head
Paul McMillan [Wed, 4 Jul 2012 18:57:37 +0000 (11:57 -0700)] 
Improve whitespace docs to reflect reality.

See also:
https://groups.google.com/d/msg/pocoo-libs/6DylMqq1voI/GXTbZJ1Tr-sJ

13 years agoThere is no need to initialize Environment#bytecode_cache. 114/head
cocoatomo [Thu, 5 Apr 2012 17:53:39 +0000 (02:53 +0900)] 
There is no need to initialize Environment#bytecode_cache.

13 years agoAdd a note about the else statement. 112/head
Christoph Zwerschke [Wed, 21 Mar 2012 15:56:36 +0000 (16:56 +0100)] 
Add a note about the else statement.

13 years agoFix typos.
Christoph Zwerschke [Sun, 23 Oct 2011 16:23:58 +0000 (18:23 +0200)] 
Fix typos.

13 years agoMerge pull request #103 from njl/fix-issue-93
Ron DuPlain [Tue, 13 Mar 2012 23:50:27 +0000 (16:50 -0700)] 
Merge pull request #103 from njl/fix-issue-93

Fix to #93, this time respecting whitespace

13 years agoDistinguish ext folder from ext namespace.
Ron DuPlain [Tue, 13 Mar 2012 21:53:15 +0000 (14:53 -0700)] 
Distinguish ext folder from ext namespace.

13 years agoFixes issue #77 by adding explanation to docs 104/head
Ned Jackson Lovely [Tue, 13 Mar 2012 00:45:08 +0000 (20:45 -0400)] 
Fixes issue #77 by adding explanation to docs

Points out that the Django empty is replaced by the
Flask else.

13 years agoFix to #93, this time respecting whitespace 103/head
Ned Jackson Lovely [Tue, 13 Mar 2012 00:38:06 +0000 (20:38 -0400)] 
Fix to #93, this time respecting whitespace

Rejigger of title split to respect whitespace, also capitalize follow-on
hyphenated words.

13 years agoMerge pull request #78 from SimonSapin/patch-2
Ron DuPlain [Fri, 9 Mar 2012 22:29:09 +0000 (14:29 -0800)] 
Merge pull request #78 from SimonSapin/patch-2

Typo fix

13 years agoMerge pull request #81 from obeattie/docs-fix
Ron DuPlain [Fri, 9 Mar 2012 22:26:26 +0000 (14:26 -0800)] 
Merge pull request #81 from obeattie/docs-fix

Small typo fix to extension docs

13 years agoMerge pull request #95 from florentx/patch-2
Ron DuPlain [Fri, 9 Mar 2012 22:23:22 +0000 (14:23 -0800)] 
Merge pull request #95 from florentx/patch-2

Few typos in jinja2.utils

13 years agotypo 94/head
Florent Xicluna [Sun, 5 Feb 2012 14:03:12 +0000 (15:03 +0100)] 
typo

13 years agoFew typos in jinja2.utils 95/head
Florent Xicluna [Sun, 5 Feb 2012 12:09:15 +0000 (13:09 +0100)] 
Few typos in jinja2.utils

13 years agoFix the Mako-like environment.
Florent Xicluna [Sun, 5 Feb 2012 11:14:08 +0000 (12:14 +0100)] 
Fix the Mako-like environment.

13 years agoAdded changelog entry for #92 and changed LoopContext.End to _last_iteration
Armin Ronacher [Tue, 24 Jan 2012 23:42:54 +0000 (00:42 +0100)] 
Added changelog entry for #92 and changed LoopContext.End to _last_iteration

13 years agoMerge pull request #92 from jasonkotenko/master
Armin Ronacher [Tue, 24 Jan 2012 23:40:38 +0000 (15:40 -0800)] 
Merge pull request #92 from jasonkotenko/master

Fix loop.last memory issue

13 years agoFixed loop.last to not consume the entire iterator to determine if this is 92/head
Jason Kotenko [Tue, 24 Jan 2012 22:19:08 +0000 (14:19 -0800)] 
Fixed loop.last to not consume the entire iterator to determine if this is
the last iteration of the loop.

13 years agofix previous commit, which was kinda nonfunctional 89/head
Florian Apolloner [Wed, 18 Jan 2012 16:47:54 +0000 (17:47 +0100)] 
fix previous commit, which was kinda nonfunctional

13 years agodon't evaluate trans arguments twice.
Florian Apolloner [Wed, 18 Jan 2012 16:08:48 +0000 (17:08 +0100)] 
don't evaluate trans arguments twice.

13 years agoRenamed urlescape to urlencode
Armin Ronacher [Sat, 7 Jan 2012 16:47:56 +0000 (17:47 +0100)] 
Renamed urlescape to urlencode

13 years agoReworked implementation of the urlescape filter, made it Python3 compatible, document...
Armin Ronacher [Sat, 7 Jan 2012 16:46:40 +0000 (17:46 +0100)] 
Reworked implementation of the urlescape filter, made it Python3 compatible, documented it.

13 years agoNormalize to styleguide
Armin Ronacher [Sat, 7 Jan 2012 16:28:28 +0000 (17:28 +0100)] 
Normalize to styleguide

13 years agolive up to @mitsuhiko's ridiculous expectations 85/head
Aaron Swartz [Sat, 7 Jan 2012 01:25:57 +0000 (20:25 -0500)] 
live up to @mitsuhiko's ridiculous expectations

13 years agoAdd urlescape to default filters.
Aaron Swartz [Fri, 6 Jan 2012 15:27:36 +0000 (10:27 -0500)] 
Add urlescape to default filters.

13 years agoSupport included blocks override 84/head
Florian Mounier [Thu, 5 Jan 2012 16:06:36 +0000 (17:06 +0100)] 
Support included blocks override

13 years agoMerge branch 'master' of github.com:mitsuhiko/jinja2
Armin Ronacher [Thu, 15 Dec 2011 10:50:59 +0000 (11:50 +0100)] 
Merge branch 'master' of github.com:mitsuhiko/jinja2

13 years agoFixed a bug in the i18n extraction option handling and added a silent option.
Armin Ronacher [Thu, 15 Dec 2011 10:50:27 +0000 (11:50 +0100)] 
Fixed a bug in the i18n extraction option handling and added a silent option.

13 years agoSmall typo fix to extension docs 81/head
Oliver Beattie [Thu, 15 Dec 2011 09:47:34 +0000 (09:47 +0000)] 
Small typo fix to extension docs

13 years agoMerge pull request #80 from joshmoore/master
Armin Ronacher [Wed, 14 Dec 2011 16:17:27 +0000 (08:17 -0800)] 
Merge pull request #80 from joshmoore/master

Minor typo fix under docs/

13 years agoMinor type: s/of/or/ 80/head
jmoore [Wed, 14 Dec 2011 16:09:29 +0000 (17:09 +0100)] 
Minor type: s/of/or/

13 years agoTypo fix 78/head
Simon Sapin [Sat, 3 Dec 2011 12:05:08 +0000 (13:05 +0100)] 
Typo fix

13 years agoChanged three major types to four major types in nodes.py 76/head
kracekumar [Fri, 25 Nov 2011 02:56:55 +0000 (08:26 +0530)] 
Changed three major types to four major types  in nodes.py

13 years agoFixed do_filesizeformat to actually calculate correctly, fixes #59
Christopher Grebs [Fri, 7 Oct 2011 20:50:13 +0000 (22:50 +0200)] 
Fixed do_filesizeformat to actually calculate correctly, fixes #59

13 years agoAdded a dict iteration example. This fixes #64
Armin Ronacher [Thu, 6 Oct 2011 14:09:31 +0000 (10:09 -0400)] 
Added a dict iteration example.  This fixes #64

13 years agoFixed filesizeformat
Armin Ronacher [Wed, 5 Oct 2011 07:48:05 +0000 (09:48 +0200)] 
Fixed filesizeformat

13 years agoAdded readme
Armin Ronacher [Mon, 3 Oct 2011 01:05:52 +0000 (03:05 +0200)] 
Added readme

13 years agoRemoved tmbundle. Now in mitsuhiko/jinja2-textmate
Armin Ronacher [Mon, 3 Oct 2011 01:05:23 +0000 (03:05 +0200)] 
Removed tmbundle.  Now in mitsuhiko/jinja2-textmate

13 years agounused code 61/head
Dmitry Jemerov [Mon, 26 Sep 2011 17:06:05 +0000 (19:06 +0200)] 
unused code