]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
11 years agoAdded tests for logging undefined and added it to the docs.
Armin Ronacher [Fri, 6 Jun 2014 16:14:45 +0000 (22:14 +0600)] 
Added tests for logging undefined and added it to the docs.

11 years agoAdded support for logging of undefined objects.
Armin Ronacher [Fri, 6 Jun 2014 16:00:04 +0000 (22:00 +0600)] 
Added support for logging of undefined objects.

fixup!

fixup!

11 years agoAdded changelog for #304 fix.
Armin Ronacher [Fri, 6 Jun 2014 15:49:25 +0000 (21:49 +0600)] 
Added changelog for #304 fix.

11 years agoFix for #304
Armin Ronacher [Fri, 6 Jun 2014 15:48:42 +0000 (21:48 +0600)] 
Fix for #304

11 years agoMerge pull request #324 from br0p0p/patch-1
Armin Ronacher [Fri, 6 Jun 2014 15:38:55 +0000 (21:38 +0600)] 
Merge pull request #324 from br0p0p/patch-1

Update Jinja2 tip link

11 years agoMerge branch 'pr/314'
Armin Ronacher [Fri, 6 Jun 2014 15:37:47 +0000 (21:37 +0600)] 
Merge branch 'pr/314'

11 years agoAdded changelog entry
Armin Ronacher [Fri, 6 Jun 2014 15:36:53 +0000 (21:36 +0600)] 
Added changelog entry

11 years agoMerge pull request #315 from lazka/fix-iter-length
Armin Ronacher [Fri, 6 Jun 2014 15:36:26 +0000 (21:36 +0600)] 
Merge pull request #315 from lazka/fix-iter-length

Fix loop context length calculation for iterators. Fixes #244

11 years agoMerge pull request #317 from shedokan/master
Armin Ronacher [Fri, 6 Jun 2014 15:36:08 +0000 (21:36 +0600)] 
Merge pull request #317 from shedokan/master

Improved performance of filters.do_truncate()

11 years agoMerge pull request #319 from richierichrawr/master
Armin Ronacher [Fri, 6 Jun 2014 15:35:56 +0000 (21:35 +0600)] 
Merge pull request #319 from richierichrawr/master

Edit code comments for readability

11 years agoAdded 3.4 to tox
Armin Ronacher [Fri, 6 Jun 2014 15:33:07 +0000 (21:33 +0600)] 
Added 3.4 to tox

11 years agoAdded 3.4 to travis
Armin Ronacher [Fri, 6 Jun 2014 15:32:55 +0000 (21:32 +0600)] 
Added 3.4 to travis

11 years agoStyle cleanups in environment and a tiny bugfix.
Armin Ronacher [Fri, 6 Jun 2014 15:31:03 +0000 (21:31 +0600)] 
Style cleanups in environment and a tiny bugfix.

11 years agoFixed issue #309
Armin Ronacher [Fri, 6 Jun 2014 15:30:53 +0000 (21:30 +0600)] 
Fixed issue #309

11 years agoMore resilient template directory handling for bytecode cache.
Armin Ronacher [Fri, 6 Jun 2014 15:28:09 +0000 (21:28 +0600)] 
More resilient template directory handling for bytecode cache.

11 years agoMerge pull request #331 from SteelyWing/patch-1
Armin Ronacher [Fri, 6 Jun 2014 15:23:30 +0000 (21:23 +0600)] 
Merge pull request #331 from SteelyWing/patch-1

fix os.name of Windows

11 years agoAdded changelog entry
Armin Ronacher [Fri, 6 Jun 2014 15:23:13 +0000 (21:23 +0600)] 
Added changelog entry

11 years agoMerge pull request #332 from SteelyWing/patch-2
Armin Ronacher [Fri, 6 Jun 2014 15:22:27 +0000 (21:22 +0600)] 
Merge pull request #332 from SteelyWing/patch-2

Use abs path for cache key

11 years agoMerge pull request #333 from SteelyWing/patch-3
Armin Ronacher [Fri, 6 Jun 2014 15:20:11 +0000 (21:20 +0600)] 
Merge pull request #333 from SteelyWing/patch-3

close temp file

11 years agoMerge pull request #336 from berkerpeksag/wheel-support
Armin Ronacher [Fri, 6 Jun 2014 15:19:56 +0000 (21:19 +0600)] 
Merge pull request #336 from berkerpeksag/wheel-support

Add wheel support.

11 years agoMerge pull request #337 from berkerpeksag/delete-with-speedups-warning
Armin Ronacher [Fri, 6 Jun 2014 15:19:40 +0000 (21:19 +0600)] 
Merge pull request #337 from berkerpeksag/delete-with-speedups-warning

Delete the ignore --with-speedups message.

11 years agoDelete the ignore --with-speedups message. 337/head
Berker Peksag [Mon, 19 May 2014 03:55:02 +0000 (06:55 +0300)] 
Delete the ignore --with-speedups message.

The with-speedups flag was deprecated 4 years and
3 major releases ago.

11 years agoAdd wheel support. 336/head
Berker Peksag [Mon, 19 May 2014 03:48:10 +0000 (06:48 +0300)] 
Add wheel support.

11 years agobetter assignment 332/head
Wing [Sat, 17 May 2014 06:30:34 +0000 (14:30 +0800)] 
better assignment

11 years agocheck for if loader does not implement get_source()
Wing [Sat, 17 May 2014 05:42:53 +0000 (13:42 +0800)] 
check for if loader does not implement get_source()

11 years agoclose temp file 333/head
Wing [Sat, 17 May 2014 05:18:39 +0000 (13:18 +0800)] 
close temp file

The test can't remove the temp file on Windows, because `mkstemp()` will open the temp.

11 years agoif template is not file, use name for cache key
Wing [Sat, 17 May 2014 04:49:49 +0000 (12:49 +0800)] 
if template is not file, use name for cache key

11 years agoUpdate environment.py
Wing [Fri, 16 May 2014 19:52:50 +0000 (03:52 +0800)] 
Update environment.py

11 years agoUpdate environment.py
Wing [Fri, 16 May 2014 19:52:11 +0000 (03:52 +0800)] 
Update environment.py

11 years agouse abs path for cache key
Wing [Fri, 16 May 2014 19:36:57 +0000 (03:36 +0800)] 
use abs path for cache key

11 years agofix os.name of Windows 331/head
Wing [Fri, 16 May 2014 19:27:05 +0000 (03:27 +0800)] 
fix os.name of Windows

os.name of Windows is 'nt', https://docs.python.org/3.4/library/os.html#os.name

11 years agoUpdate Jinja2 tip link 324/head
Caleb Williams [Thu, 17 Apr 2014 04:44:56 +0000 (23:44 -0500)] 
Update Jinja2 tip link

11 years agoSwitch to new server
Armin Ronacher [Mon, 7 Apr 2014 21:25:37 +0000 (23:25 +0200)] 
Switch to new server

11 years agoEdit code comments for readability 319/head
richierichrawr [Sat, 5 Apr 2014 20:33:51 +0000 (16:33 -0400)] 
Edit code comments for readability

Changed a few things to make it more understandable

11 years agoImproved performance of filters.do_truncate() 317/head
Eric Sh [Thu, 3 Apr 2014 11:19:05 +0000 (14:19 +0300)] 
Improved performance of filters.do_truncate()

11 years agoFix loop context length calculation for iterators. Fixes #244 315/head
Christoph Reiter [Sun, 30 Mar 2014 15:40:08 +0000 (17:40 +0200)] 
Fix loop context length calculation for iterators. Fixes #244

This resulted in wrong values for revindex and revindex0
while looping over an iterator.

11 years agoFixed typo 314/head
fsp [Sun, 30 Mar 2014 06:18:10 +0000 (14:18 +0800)] 
Fixed typo

11 years agoMerge branch '2.7-maintenance'
Armin Ronacher [Fri, 10 Jan 2014 10:43:55 +0000 (10:43 +0000)] 
Merge branch '2.7-maintenance'

11 years agoThis is 0.7.3-dev
Armin Ronacher [Fri, 10 Jan 2014 10:43:07 +0000 (10:43 +0000)] 
This is 0.7.3-dev

11 years agoBump version number to 2.7.2 2.7.2
Armin Ronacher [Fri, 10 Jan 2014 10:42:33 +0000 (10:42 +0000)] 
Bump version number to 2.7.2

11 years agoFixed a syntax error on Python 3
Armin Ronacher [Fri, 10 Jan 2014 10:42:24 +0000 (10:42 +0000)] 
Fixed a syntax error on Python 3

11 years agoRelease 2.7.2 today
Armin Ronacher [Fri, 10 Jan 2014 10:41:28 +0000 (10:41 +0000)] 
Release 2.7.2 today

11 years agoFixed a security issue with temporary files on the filesystem cache on UNIX.
Armin Ronacher [Fri, 10 Jan 2014 10:40:51 +0000 (10:40 +0000)] 
Fixed a security issue with temporary files on the filesystem cache on UNIX.

11 years agoAdded a note on why equalto exists.
Armin Ronacher [Thu, 12 Dec 2013 22:32:44 +0000 (22:32 +0000)] 
Added a note on why equalto exists.

11 years agoAdded a changelog entry for the equalto filter
Armin Ronacher [Thu, 12 Dec 2013 22:30:24 +0000 (22:30 +0000)] 
Added a changelog entry for the equalto filter

11 years agoMerge branch 'pr/283'
Armin Ronacher [Thu, 12 Dec 2013 22:29:46 +0000 (22:29 +0000)] 
Merge branch 'pr/283'

11 years agoAdded changelog entry for truncate filter
Armin Ronacher [Thu, 12 Dec 2013 22:28:21 +0000 (22:28 +0000)] 
Added changelog entry for truncate filter

11 years agoMerge branch 'pr/267'
Armin Ronacher [Thu, 12 Dec 2013 22:27:53 +0000 (22:27 +0000)] 
Merge branch 'pr/267'

11 years agoAdded and corrected changelog entry
Armin Ronacher [Thu, 12 Dec 2013 22:27:28 +0000 (22:27 +0000)] 
Added and corrected changelog entry

11 years agoMerge branch 'pr/266'
Armin Ronacher [Thu, 12 Dec 2013 22:26:58 +0000 (22:26 +0000)] 
Merge branch 'pr/266'

11 years agoAdded changelog entry
Armin Ronacher [Thu, 12 Dec 2013 22:26:29 +0000 (22:26 +0000)] 
Added changelog entry

11 years agoDefine tests for equalto. 283/head
Thomas van Noort [Fri, 22 Nov 2013 12:50:51 +0000 (13:50 +0100)] 
Define tests for equalto.

11 years agoAdd equalto test as value-level analogue of reference-level sameas test.
Thomas van Noort [Fri, 22 Nov 2013 11:24:52 +0000 (12:24 +0100)] 
Add equalto test as value-level analogue of reference-level sameas test.

11 years agoIssue #121: The truncate filter now counts the length 267/head
Berker Peksag [Sun, 8 Sep 2013 15:09:29 +0000 (18:09 +0300)] 
Issue #121: The truncate filter now counts the length
of the *end* parameter when truncating a string.

This is the same behavior as Django's truncate filter:

https://docs.djangoproject.com/en/1.4/ref/templates/builtins/#truncatechars

11 years agoIssue #71: Add `followlinks` parameter to FileSystemLoader. 266/head
Berker Peksag [Sun, 8 Sep 2013 15:27:58 +0000 (18:27 +0300)] 
Issue #71: Add `followlinks` parameter to FileSystemLoader.

11 years agoIssue #126: Add `target` keyword argument to urlize. 261/head
Berker Peksag [Wed, 21 Aug 2013 10:13:48 +0000 (13:13 +0300)] 
Issue #126: Add `target` keyword argument to urlize.

12 years agoMerge branch '2.7-maintenance'
Armin Ronacher [Wed, 7 Aug 2013 15:04:01 +0000 (16:04 +0100)] 
Merge branch '2.7-maintenance'

12 years agoFixed prefix loader now properly forward globals.
Armin Ronacher [Wed, 7 Aug 2013 15:01:00 +0000 (16:01 +0100)] 
Fixed prefix loader now properly forward globals.

This fixes #238

12 years agoPrepared a changelog entry
Armin Ronacher [Wed, 7 Aug 2013 14:59:07 +0000 (15:59 +0100)] 
Prepared a changelog entry

12 years agoMerge branch '2.7-maintenance'
Armin Ronacher [Wed, 7 Aug 2013 13:28:50 +0000 (14:28 +0100)] 
Merge branch '2.7-maintenance'

12 years agoReady for another release
Armin Ronacher [Wed, 7 Aug 2013 13:27:53 +0000 (14:27 +0100)] 
Ready for another release

12 years agoBump version number to 2.7.1 2.7.1
Armin Ronacher [Wed, 7 Aug 2013 13:27:31 +0000 (14:27 +0100)] 
Bump version number to 2.7.1

12 years agoFixed release script
Armin Ronacher [Wed, 7 Aug 2013 13:25:19 +0000 (14:25 +0100)] 
Fixed release script

12 years agoBugfix release is today
Armin Ronacher [Wed, 7 Aug 2013 12:04:00 +0000 (13:04 +0100)] 
Bugfix release is today

12 years agoCorrected title filter behavior.
Armin Ronacher [Wed, 7 Aug 2013 11:53:03 +0000 (12:53 +0100)] 
Corrected title filter behavior.

The title filter will now correctly lowercase the non first letter
like the regular Python filter does.

This fixes #251.

12 years agoFixed warnings if Python is run with -3.
Armin Ronacher [Wed, 7 Aug 2013 11:48:37 +0000 (12:48 +0100)] 
Fixed warnings if Python is run with -3.

This also adds proper hashing and comparision support to
undefined objects.

This fixes #224

12 years agoAdded changelog note
Armin Ronacher [Wed, 7 Aug 2013 11:41:56 +0000 (12:41 +0100)] 
Added changelog note

12 years agoRevert "Support included blocks override"
Armin Ronacher [Wed, 7 Aug 2013 11:40:59 +0000 (12:40 +0100)] 
Revert "Support included blocks override"

This reverts commit 33aee12a29426987805420a410e13e0470a79cbf.

This fixes #243.

12 years agoMerge branch '2.7-maintenance'
Armin Ronacher [Wed, 7 Aug 2013 11:31:17 +0000 (12:31 +0100)] 
Merge branch '2.7-maintenance'

12 years agoAdded changelog entry
Armin Ronacher [Wed, 7 Aug 2013 11:31:07 +0000 (12:31 +0100)] 
Added changelog entry

12 years agoFix Python 3 compatibility of BytecodeCache by checking for `if
Marc Abramowitz [Thu, 6 Jun 2013 05:40:03 +0000 (22:40 -0700)] 
Fix Python 3 compatibility of BytecodeCache by checking for `if
isinstance(filename, text_type)` instead of `if isinstance(filename,
unicode)`

12 years agoAdd test (jinja2.testsuite.bytecode_cache.ByteCodeCacheTestCase) for
Marc Abramowitz [Thu, 6 Jun 2013 05:29:04 +0000 (22:29 -0700)] 
Add test (jinja2.testsuite.bytecode_cache.ByteCodeCacheTestCase) for
BytecodeCache that fails on Python 3 because it uses `unicode`

12 years agoMerge branch '2.7-maintenance'
Armin Ronacher [Thu, 4 Jul 2013 14:25:55 +0000 (16:25 +0200)] 
Merge branch '2.7-maintenance'

12 years agoFixed a bug with call_filter not working properly
Armin Ronacher [Thu, 4 Jul 2013 14:25:04 +0000 (16:25 +0200)] 
Fixed a bug with call_filter not working properly

12 years agoStarted 2.7 maintenance branch
Armin Ronacher [Thu, 4 Jul 2013 14:24:31 +0000 (16:24 +0200)] 
Started 2.7 maintenance branch

12 years agoFixed some incorrect docs
Armin Ronacher [Wed, 5 Jun 2013 09:33:02 +0000 (10:33 +0100)] 
Fixed some incorrect docs

12 years agoMerge branch 'master' of github.com:mitsuhiko/jinja2
Armin Ronacher [Fri, 31 May 2013 00:00:56 +0000 (01:00 +0100)] 
Merge branch 'master' of github.com:mitsuhiko/jinja2

12 years agoLet travis notify the #pocoo irc channel
Armin Ronacher [Fri, 31 May 2013 00:00:45 +0000 (01:00 +0100)] 
Let travis notify the #pocoo irc channel

12 years agoMerge pull request #236 from johnboxall/title-filter-with-objects
Armin Ronacher [Wed, 29 May 2013 00:37:41 +0000 (17:37 -0700)] 
Merge pull request #236 from johnboxall/title-filter-with-objects

`title` filter should accept objects.

12 years ago filter should accept objects. 236/head
John Boxall [Wed, 29 May 2013 00:06:22 +0000 (17:06 -0700)] 
 filter should accept objects.

12 years agoMerge pull request #226 from dzen/master
Armin Ronacher [Wed, 22 May 2013 13:27:51 +0000 (06:27 -0700)] 
Merge pull request #226 from dzen/master

Fix MarkupSafe dependancy case

12 years agoFix MarkupSafe case in setup.py 226/head
Benoit Calvez [Wed, 22 May 2013 12:39:44 +0000 (14:39 +0200)] 
Fix MarkupSafe case in setup.py

Most of pypi mirrors don't allow wrong package name case when installing
them using pip
example: c.pypi.python.org

I know, this is very painful

12 years agoRemoved some no longer needed code from compat
Armin Ronacher [Mon, 20 May 2013 16:06:41 +0000 (17:06 +0100)] 
Removed some no longer needed code from compat

12 years agoRemoved duplication from types that was only necessary for IronPython
Armin Ronacher [Mon, 20 May 2013 16:03:46 +0000 (17:03 +0100)] 
Removed duplication from types that was only necessary for IronPython

12 years agoSince we no longer support 2.5 we can use the builtin next() function
Armin Ronacher [Mon, 20 May 2013 15:54:48 +0000 (16:54 +0100)] 
Since we no longer support 2.5 we can use the builtin next() function

12 years agoFixed docs not building
Armin Ronacher [Mon, 20 May 2013 13:06:59 +0000 (14:06 +0100)] 
Fixed docs not building

12 years agoThis is now 2.8-dev
Armin Ronacher [Mon, 20 May 2013 13:04:11 +0000 (14:04 +0100)] 
This is now 2.8-dev

12 years agoBump version number to 2.7 2.7
Armin Ronacher [Mon, 20 May 2013 13:02:56 +0000 (14:02 +0100)] 
Bump version number to 2.7

12 years agoFixed a release script and added a release date
Armin Ronacher [Mon, 20 May 2013 13:02:53 +0000 (14:02 +0100)] 
Fixed a release script and added a release date

12 years agoMake travis execute make test instead of setup.py test
Armin Ronacher [Mon, 20 May 2013 11:18:35 +0000 (12:18 +0100)] 
Make travis execute make test instead of setup.py test

12 years agoClarified some text in the intro
Armin Ronacher [Mon, 20 May 2013 11:15:50 +0000 (12:15 +0100)] 
Clarified some text in the intro

12 years agoDisable py_compile for Python 3 and pypy
Armin Ronacher [Mon, 20 May 2013 11:11:02 +0000 (12:11 +0100)] 
Disable py_compile for Python 3 and pypy

12 years agoAdded nicer test finder from Flask
Armin Ronacher [Mon, 20 May 2013 10:51:37 +0000 (11:51 +0100)] 
Added nicer test finder from Flask

12 years agoUpdated makefile with tox and develop command
Armin Ronacher [Mon, 20 May 2013 10:44:15 +0000 (11:44 +0100)] 
Updated makefile with tox and develop command

12 years agoActually remove argument in setup.py for speedups
Armin Ronacher [Mon, 20 May 2013 08:49:40 +0000 (09:49 +0100)] 
Actually remove argument in setup.py for speedups

12 years agoDocumented loop.depth and added loop.depth0.
Armin Ronacher [Mon, 20 May 2013 08:26:57 +0000 (09:26 +0100)] 
Documented loop.depth and added loop.depth0.

12 years agoChanged lookup logic for make_attrgetter to support integers like the regular syntax
Armin Ronacher [Mon, 20 May 2013 08:07:08 +0000 (09:07 +0100)] 
Changed lookup logic for make_attrgetter to support integers like the regular syntax

12 years agoRenamed helper classes in with_metaclass
Armin Ronacher [Mon, 20 May 2013 08:00:04 +0000 (09:00 +0100)] 
Renamed helper classes in with_metaclass

12 years agoAdded missing method for template errors
Armin Ronacher [Mon, 20 May 2013 01:21:17 +0000 (02:21 +0100)] 
Added missing method for template errors

12 years agoRemoved some dead imports
Armin Ronacher [Mon, 20 May 2013 01:19:35 +0000 (02:19 +0100)] 
Removed some dead imports