]>
git.ipfire.org Git - thirdparty/jinja.git/log
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.
Armin Ronacher [Sat, 18 May 2013 10:36:32 +0000 (11:36 +0100)]
Fixed a check that broke pypy
Armin Ronacher [Sat, 18 May 2013 10:36:26 +0000 (11:36 +0100)]
Added .tox to .gitignore
Armin Ronacher [Sat, 18 May 2013 10:32:21 +0000 (03:32 -0700)]
Merge pull request #212 from DasIch/add-tox
Add tox configuration
Cory Benfield [Sat, 18 May 2013 09:54:29 +0000 (10:54 +0100)]
No need for tuple comparisons.
Cory Benfield [Sat, 18 May 2013 09:53:48 +0000 (10:53 +0100)]
We don't support 2.4 anymore.
Daniel Neuhäuser [Sat, 18 May 2013 10:29:58 +0000 (12:29 +0200)]
Add tox configuration
Armin Ronacher [Sat, 18 May 2013 10:18:57 +0000 (11:18 +0100)]
A bit of cleanup in the environment
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
Cory Benfield [Sat, 18 May 2013 09:39:12 +0000 (10:39 +0100)]
Add myself.
Cory Benfield [Sat, 18 May 2013 09:35:04 +0000 (10:35 +0100)]
Trash debugsupport.
Thomas Waldmann [Fri, 17 May 2013 23:16:18 +0000 (01:16 +0200)]
setup.py: add "six" library to install_requires
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
Thomas Waldmann [Fri, 17 May 2013 22:47:41 +0000 (00:47 +0200)]
utils: remove some old py compat code
Thomas Waldmann [Fri, 17 May 2013 22:24:05 +0000 (00:24 +0200)]
_markupsafe: remove some py2.4/2.5 compat code
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
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(""))
Eugene Kalinin [Tue, 14 May 2013 02:59:53 +0000 (06:59 +0400)]
Fixed improperly closed tag in menu example in tricks.rst
John McDonnell [Sun, 2 Oct 2011 07:17:57 +0000 (03:17 -0400)]
Allow choice of wrap string in wordwrap filter.
Adam Spiers [Wed, 1 May 2013 17:42:55 +0000 (18:42 +0100)]
Prevent line statements eating newlines (fixes #52)
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
'|'.
Richard Eames [Tue, 16 Apr 2013 05:49:02 +0000 (23:49 -0600)]
- Allow callable classes to have contextfunction and the like
Richard Eames [Tue, 16 Apr 2013 05:48:48 +0000 (23:48 -0600)]
- Testcase
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
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
Armin Ronacher [Fri, 12 Apr 2013 23:38:27 +0000 (00:38 +0100)]
Pessimistic locking for LRU cache. This fixes #8
Armin Ronacher [Fri, 12 Apr 2013 23:19:27 +0000 (16:19 -0700)]
Merge pull request #187 from jet-sun/patch-1
correct typo
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
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
Tim Vergenz [Thu, 28 Mar 2013 20:41:35 +0000 (13:41 -0700)]
Correct typo in dictsort filter documentation
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>'
Jonas Nockert [Sat, 23 Feb 2013 19:34:47 +0000 (20:34 +0100)]
Fixed typos: overriden to overridden
Jet Sun [Wed, 20 Feb 2013 23:30:16 +0000 (15:30 -0800)]
correct typo
Kyle Adams [Mon, 18 Feb 2013 18:26:40 +0000 (13:26 -0500)]
Fixes #181: Handle memcached errors gracefully.
Sakti Dwi Cahyono [Fri, 15 Feb 2013 07:08:45 +0000 (14:08 +0700)]
fix typo swtich -> switch
kracekumar [Tue, 15 Jan 2013 12:32:49 +0000 (18:02 +0530)]
Update jinja2/filters.py
Fixed spelling mistake in docstring for dictsort
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
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
Mike Chesnut [Tue, 18 Dec 2012 21:52:07 +0000 (13:52 -0800)]
adding explicit mention of distribute prerequisite at runtime
Richard [Sat, 1 Dec 2012 06:56:16 +0000 (23:56 -0700)]
Update docs/tricks.rst
Fixing a typo
AquarHEAD L [Sun, 25 Nov 2012 20:37:13 +0000 (04:37 +0800)]
update the Docstring of do_truncate, add useful examples
Natan L [Thu, 22 Nov 2012 08:10:41 +0000 (00:10 -0800)]
Fixed typo
'ore' > 'or'
Alex Morega [Sun, 18 Nov 2012 17:19:47 +0000 (18:19 +0100)]
fix DictLoader `uptodate` callback
Dimitris Leventeas [Thu, 1 Nov 2012 22:21:32 +0000 (23:21 +0100)]
Update docs/templates.rst
Loop (recursive) --> Another loop -> loop(...)
Dmitry Medvinsky [Fri, 21 Sep 2012 13:15:38 +0000 (17:15 +0400)]
Fix typo in `include` documentation
Armin Ronacher [Sat, 15 Sep 2012 23:30:50 +0000 (08:30 +0900)]
Fixed an unicode error after 2to3
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
David Gilman [Sat, 21 Jul 2012 06:30:36 +0000 (01:30 -0500)]
Fix FAQ typo
Kristi Tsukida [Thu, 12 Jul 2012 20:44:54 +0000 (13:44 -0700)]
Document the {%+ manual disable lstrip_blocks feature
Kristi Tsukida [Thu, 12 Jul 2012 20:38:11 +0000 (13:38 -0700)]
fix tests since lstrip_blocks strips comments
Kristi Tsukida [Thu, 12 Jul 2012 20:37:21 +0000 (13:37 -0700)]
Apply lstrip_blocks to comments (match trim_blocks behavior)
Kristi Tsukida [Thu, 12 Jul 2012 20:03:11 +0000 (13:03 -0700)]
Fix lstrip_blocks tests
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
Kristi Tsukida [Thu, 12 Jul 2012 00:11:36 +0000 (17:11 -0700)]
add tests for lstrip_blocks option
Kristi Tsukida [Wed, 11 Jul 2012 16:15:42 +0000 (09:15 -0700)]
hash lstrip_blocks in lexer cache
Kristi Tsukida [Wed, 11 Jul 2012 01:16:28 +0000 (18:16 -0700)]
clarify lstrip_blocks option
Kristi Tsukida [Wed, 11 Jul 2012 01:13:52 +0000 (18:13 -0700)]
document `lstrip_blocks`
Kristi Tsukida [Wed, 11 Jul 2012 00:29:27 +0000 (17:29 -0700)]
remove debug code
Kristi Tsukida [Wed, 11 Jul 2012 00:13:50 +0000 (17:13 -0700)]
add lstrip_blocks environment setting, fix lexer
Kristi Tsukida [Tue, 10 Jul 2012 20:25:38 +0000 (13:25 -0700)]
lstrip spaces (but not newlines) from block tags
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.
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.
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
cocoatomo [Thu, 5 Apr 2012 17:53:39 +0000 (02:53 +0900)]
There is no need to initialize Environment#bytecode_cache.
Christoph Zwerschke [Wed, 21 Mar 2012 15:56:36 +0000 (16:56 +0100)]
Add a note about the else statement.
Christoph Zwerschke [Sun, 23 Oct 2011 16:23:58 +0000 (18:23 +0200)]
Fix typos.
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
Ron DuPlain [Tue, 13 Mar 2012 21:53:15 +0000 (14:53 -0700)]
Distinguish ext folder from ext namespace.
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.
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.
Ron DuPlain [Fri, 9 Mar 2012 22:29:09 +0000 (14:29 -0800)]
Merge pull request #78 from SimonSapin/patch-2
Typo 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
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
Florent Xicluna [Sun, 5 Feb 2012 14:03:12 +0000 (15:03 +0100)]
typo
Florent Xicluna [Sun, 5 Feb 2012 12:09:15 +0000 (13:09 +0100)]
Few typos in jinja2.utils
Florent Xicluna [Sun, 5 Feb 2012 11:14:08 +0000 (12:14 +0100)]
Fix the Mako-like environment.
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
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
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.
Florian Apolloner [Wed, 18 Jan 2012 16:47:54 +0000 (17:47 +0100)]
fix previous commit, which was kinda nonfunctional
Florian Apolloner [Wed, 18 Jan 2012 16:08:48 +0000 (17:08 +0100)]
don't evaluate trans arguments twice.
Armin Ronacher [Sat, 7 Jan 2012 16:47:56 +0000 (17:47 +0100)]
Renamed urlescape to urlencode
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.
Armin Ronacher [Sat, 7 Jan 2012 16:28:28 +0000 (17:28 +0100)]
Normalize to styleguide
Aaron Swartz [Sat, 7 Jan 2012 01:25:57 +0000 (20:25 -0500)]
live up to @mitsuhiko's ridiculous expectations
Aaron Swartz [Fri, 6 Jan 2012 15:27:36 +0000 (10:27 -0500)]
Add urlescape to default filters.
Florian Mounier [Thu, 5 Jan 2012 16:06:36 +0000 (17:06 +0100)]
Support included blocks override
Armin Ronacher [Thu, 15 Dec 2011 10:50:59 +0000 (11:50 +0100)]
Merge branch 'master' of github.com:mitsuhiko/jinja2
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.
Oliver Beattie [Thu, 15 Dec 2011 09:47:34 +0000 (09:47 +0000)]
Small typo fix to extension docs
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/
jmoore [Wed, 14 Dec 2011 16:09:29 +0000 (17:09 +0100)]
Minor type: s/of/or/
Simon Sapin [Sat, 3 Dec 2011 12:05:08 +0000 (13:05 +0100)]
Typo fix
kracekumar [Fri, 25 Nov 2011 02:56:55 +0000 (08:26 +0530)]
Changed three major types to four major types in nodes.py
Christopher Grebs [Fri, 7 Oct 2011 20:50:13 +0000 (22:50 +0200)]
Fixed do_filesizeformat to actually calculate correctly, fixes #59
Armin Ronacher [Thu, 6 Oct 2011 14:09:31 +0000 (10:09 -0400)]
Added a dict iteration example. This fixes #64
Armin Ronacher [Wed, 5 Oct 2011 07:48:05 +0000 (09:48 +0200)]
Fixed filesizeformat
Armin Ronacher [Mon, 3 Oct 2011 01:05:52 +0000 (03:05 +0200)]
Added readme
Armin Ronacher [Mon, 3 Oct 2011 01:05:23 +0000 (03:05 +0200)]
Removed tmbundle. Now in mitsuhiko/jinja2-textmate
Dmitry Jemerov [Mon, 26 Sep 2011 17:06:05 +0000 (19:06 +0200)]
unused code