]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
8 years agoAdded a second test for #278
Armin Ronacher [Tue, 3 Jan 2017 01:30:05 +0000 (02:30 +0100)] 
Added a second test for #278

8 years agoAdded a test for #278
Armin Ronacher [Tue, 3 Jan 2017 01:29:12 +0000 (02:29 +0100)] 
Added a test for #278

8 years agoAdded test for #86
Armin Ronacher [Tue, 3 Jan 2017 01:27:40 +0000 (02:27 +0100)] 
Added test for #86

8 years agoAlias resolve and undefined
Armin Ronacher [Tue, 3 Jan 2017 01:12:24 +0000 (02:12 +0100)] 
Alias resolve and undefined

8 years agoKill stray print
Armin Ronacher [Tue, 3 Jan 2017 01:06:26 +0000 (02:06 +0100)] 
Kill stray print

8 years agoSmall optimizations for escape branches
Armin Ronacher [Tue, 3 Jan 2017 00:57:12 +0000 (01:57 +0100)] 
Small optimizations for escape branches

8 years agoSmall optimization for recursive loops
Armin Ronacher [Tue, 3 Jan 2017 00:53:33 +0000 (01:53 +0100)] 
Small optimization for recursive loops

8 years agoUse a separate scope for the loop else branch
Armin Ronacher [Tue, 3 Jan 2017 00:50:05 +0000 (01:50 +0100)] 
Use a separate scope for the loop else branch

8 years agoClarified for else todo
Armin Ronacher [Tue, 3 Jan 2017 00:37:35 +0000 (01:37 +0100)] 
Clarified for else todo

8 years agoSmall optimization for python scopes
Armin Ronacher [Mon, 2 Jan 2017 23:46:46 +0000 (00:46 +0100)] 
Small optimization for python scopes

8 years agoFixed a typo
Armin Ronacher [Mon, 2 Jan 2017 23:10:56 +0000 (00:10 +0100)] 
Fixed a typo

8 years agoCleaned up some code that no longer needs to exist
Armin Ronacher [Mon, 2 Jan 2017 21:06:56 +0000 (22:06 +0100)] 
Cleaned up some code that no longer needs to exist

8 years agoStop assigning stuff to the frame that does not belong there
Armin Ronacher [Mon, 2 Jan 2017 21:04:37 +0000 (22:04 +0100)] 
Stop assigning stuff to the frame that does not belong there

8 years agoKill now unused assigned_names
Armin Ronacher [Mon, 2 Jan 2017 20:45:29 +0000 (21:45 +0100)] 
Kill now unused assigned_names

8 years agoKill some dead code
Armin Ronacher [Mon, 2 Jan 2017 20:44:30 +0000 (21:44 +0100)] 
Kill some dead code

8 years agoForce missing to be a local
Armin Ronacher [Mon, 2 Jan 2017 20:39:34 +0000 (21:39 +0100)] 
Force missing to be a local

8 years agoFixed from imports with context
Armin Ronacher [Mon, 2 Jan 2017 20:35:57 +0000 (21:35 +0100)] 
Fixed from imports with context

8 years agoMake tests pass on 3.x again
Armin Ronacher [Mon, 2 Jan 2017 20:26:09 +0000 (21:26 +0100)] 
Make tests pass on 3.x again

8 years agoMade all tests pass again
Armin Ronacher [Mon, 2 Jan 2017 20:19:58 +0000 (21:19 +0100)] 
Made all tests pass again

8 years agoFixed some broken tests
Armin Ronacher [Mon, 2 Jan 2017 20:14:51 +0000 (21:14 +0100)] 
Fixed some broken tests

8 years agoFixed various breakage from the new id tracking
Armin Ronacher [Mon, 2 Jan 2017 20:12:23 +0000 (21:12 +0100)] 
Fixed various breakage from the new id tracking

8 years agoChanged behavior of local extraction
Armin Ronacher [Mon, 2 Jan 2017 16:10:18 +0000 (17:10 +0100)] 
Changed behavior of local extraction

8 years agoReset variables for scoping
Armin Ronacher [Mon, 2 Jan 2017 12:52:37 +0000 (13:52 +0100)] 
Reset variables for scoping

8 years agoFixed debug support locals for new behavior
Armin Ronacher [Mon, 2 Jan 2017 12:52:27 +0000 (13:52 +0100)] 
Fixed debug support locals for new behavior

8 years agoFirst pass on integrating id tracking
Armin Ronacher [Mon, 2 Jan 2017 11:09:52 +0000 (12:09 +0100)] 
First pass on integrating id tracking

8 years agoAdded new-style id tracking code
Armin Ronacher [Mon, 2 Jan 2017 11:09:45 +0000 (12:09 +0100)] 
Added new-style id tracking code

8 years agoChangelog and __rsub__ handling
Armin Ronacher [Tue, 3 Jan 2017 18:33:25 +0000 (19:33 +0100)] 
Changelog and __rsub__ handling

8 years agoMerge pull request #530 from nick-garcia/master
Armin Ronacher [Tue, 3 Jan 2017 18:31:01 +0000 (19:31 +0100)] 
Merge pull request #530 from nick-garcia/master

Subtraction from Undefined does not raise UndefinedError

8 years agoChangelog entry
Armin Ronacher [Tue, 3 Jan 2017 18:19:29 +0000 (19:19 +0100)] 
Changelog entry

8 years agoMerge pull request #525 from iffy/fix-cycle-next
Armin Ronacher [Tue, 3 Jan 2017 18:18:42 +0000 (19:18 +0100)] 
Merge pull request #525 from iffy/fix-cycle-next

Give Cycler a next() method so that it works in python2 and 3

8 years agoSupport block-set in toplevel situations when extends is used
Armin Ronacher [Sat, 31 Dec 2016 00:11:20 +0000 (01:11 +0100)] 
Support block-set in toplevel situations when extends is used

8 years agoSupport old-style classes for attribute lookups. Fixes #631
Armin Ronacher [Fri, 30 Dec 2016 23:47:15 +0000 (00:47 +0100)] 
Support old-style classes for attribute lookups.  Fixes #631

8 years agoAdded docs for policies
Armin Ronacher [Fri, 30 Dec 2016 23:43:50 +0000 (00:43 +0100)] 
Added docs for policies

8 years agoMake noopener the default for urlize
Armin Ronacher [Fri, 30 Dec 2016 23:40:38 +0000 (00:40 +0100)] 
Make noopener the default for urlize

8 years agoMerge branch 'master' of github.com:pallets/jinja
Armin Ronacher [Thu, 29 Dec 2016 21:54:50 +0000 (22:54 +0100)] 
Merge branch 'master' of github.com:pallets/jinja

8 years agoMerge branch '2.8-maintenance'
Armin Ronacher [Thu, 29 Dec 2016 15:01:54 +0000 (16:01 +0100)] 
Merge branch '2.8-maintenance'

8 years agoFixed a name error for an uncommon attribute access in the sandbox
Armin Ronacher [Thu, 29 Dec 2016 15:01:35 +0000 (16:01 +0100)] 
Fixed a name error for an uncommon attribute access in the sandbox

8 years agoMerge pull request #636 from hroncok/tests_rename
Armin Ronacher [Thu, 29 Dec 2016 13:41:31 +0000 (14:41 +0100)] 
Merge pull request #636 from hroncok/tests_rename

Rename tests to avoid name collision

8 years agoRename tests to avoid name collision 636/head
Miro Hrončok [Thu, 29 Dec 2016 13:28:38 +0000 (14:28 +0100)] 
Rename tests to avoid name collision

Previously, two tests where not executed because of name collision

8 years agoMerge branch '2.8-maintenance'
Armin Ronacher [Thu, 29 Dec 2016 13:17:42 +0000 (14:17 +0100)] 
Merge branch '2.8-maintenance'

8 years ago2.8.2.dev0 just in case
Armin Ronacher [Thu, 29 Dec 2016 13:17:12 +0000 (14:17 +0100)] 
2.8.2.dev0 just in case

8 years agoBump version number to 2.8.1 2.8.1
Armin Ronacher [Thu, 29 Dec 2016 13:16:16 +0000 (14:16 +0100)] 
Bump version number to 2.8.1

8 years agoMerge branch '2.8-maintenance' of github.com:pallets/jinja into 2.8-maintenance
Armin Ronacher [Thu, 29 Dec 2016 13:15:27 +0000 (14:15 +0100)] 
Merge branch '2.8-maintenance' of github.com:pallets/jinja into 2.8-maintenance

8 years agoUpdated changelog
Armin Ronacher [Thu, 29 Dec 2016 13:14:44 +0000 (14:14 +0100)] 
Updated changelog

8 years agoSECURITY: support sandboxing in format expressions
Armin Ronacher [Thu, 29 Dec 2016 13:13:38 +0000 (14:13 +0100)] 
SECURITY: support sandboxing in format expressions

8 years agoMake slice work with async generators 634/head
Armin Ronacher [Thu, 29 Dec 2016 10:38:28 +0000 (11:38 +0100)] 
Make slice work with async generators

8 years agoAlso test on 3.6
Armin Ronacher [Wed, 28 Dec 2016 23:23:37 +0000 (00:23 +0100)] 
Also test on 3.6

8 years agoAdded changelog entry
Armin Ronacher [Wed, 28 Dec 2016 23:22:56 +0000 (00:22 +0100)] 
Added changelog entry

8 years agoImproved tests for sum
Armin Ronacher [Wed, 28 Dec 2016 23:22:11 +0000 (00:22 +0100)] 
Improved tests for sum

8 years agoported list and sum
Armin Ronacher [Wed, 28 Dec 2016 23:20:34 +0000 (00:20 +0100)] 
ported list and sum

8 years agoImproved tests for select
Armin Ronacher [Wed, 28 Dec 2016 23:13:49 +0000 (00:13 +0100)] 
Improved tests for select

8 years agoPorted map and select
Armin Ronacher [Wed, 28 Dec 2016 23:11:40 +0000 (00:11 +0100)] 
Ported map and select

8 years agoTest sync and async generator
Armin Ronacher [Wed, 28 Dec 2016 23:06:09 +0000 (00:06 +0100)] 
Test sync and async generator

8 years agoAdded reject/rejectattr with basic async support
Armin Ronacher [Wed, 28 Dec 2016 23:05:02 +0000 (00:05 +0100)] 
Added reject/rejectattr with basic async support

8 years agoMade join filter work with async
Armin Ronacher [Wed, 28 Dec 2016 22:49:29 +0000 (23:49 +0100)] 
Made join filter work with async

8 years agoRestructured tests for async filters
Armin Ronacher [Wed, 28 Dec 2016 22:44:36 +0000 (23:44 +0100)] 
Restructured tests for async filters

8 years agoMade groupby work with async
Armin Ronacher [Wed, 28 Dec 2016 22:39:03 +0000 (23:39 +0100)] 
Made groupby work with async

8 years agoImproved internal async filter framework
Armin Ronacher [Wed, 28 Dec 2016 22:27:58 +0000 (23:27 +0100)] 
Improved internal async filter framework

8 years agoAdded note for async from filter calls
Armin Ronacher [Wed, 28 Dec 2016 22:19:35 +0000 (23:19 +0100)] 
Added note for async from filter calls

8 years agoFirst pass on async support for filters
Armin Ronacher [Wed, 28 Dec 2016 22:18:49 +0000 (23:18 +0100)] 
First pass on async support for filters

8 years agoMade the env._async property public for filters
Armin Ronacher [Wed, 28 Dec 2016 21:51:56 +0000 (22:51 +0100)] 
Made the env._async property public for filters

8 years agoStarted doc work for async
Armin Ronacher [Wed, 28 Dec 2016 21:51:46 +0000 (22:51 +0100)] 
Started doc work for async

8 years agoMake tests pass on older python versions again
Armin Ronacher [Wed, 28 Dec 2016 20:54:33 +0000 (21:54 +0100)] 
Make tests pass on older python versions again

8 years agoSupport the same set of loop functions for async mode
Armin Ronacher [Wed, 28 Dec 2016 20:49:00 +0000 (21:49 +0100)] 
Support the same set of loop functions for async mode

8 years agoImproved wrapper code so that the API is more consistent on failure
Armin Ronacher [Wed, 28 Dec 2016 19:31:14 +0000 (20:31 +0100)] 
Improved wrapper code so that the API is more consistent on failure

8 years agoFixed error message
Armin Ronacher [Wed, 28 Dec 2016 19:23:49 +0000 (20:23 +0100)] 
Fixed error message

8 years agoAdded support for async loop context
Armin Ronacher [Wed, 28 Dec 2016 19:06:34 +0000 (20:06 +0100)] 
Added support for async loop context

8 years agoAdded basic support for async iter
Armin Ronacher [Wed, 28 Dec 2016 16:08:21 +0000 (17:08 +0100)] 
Added basic support for async iter

8 years agoWrap generate to support async mode
Armin Ronacher [Wed, 28 Dec 2016 15:11:09 +0000 (16:11 +0100)] 
Wrap generate to support async mode

8 years agoAuto skip async tests for imports
Armin Ronacher [Wed, 28 Dec 2016 15:08:02 +0000 (16:08 +0100)] 
Auto skip async tests for imports

8 years agoAdded tests for async functionality with imports and includes
Armin Ronacher [Wed, 28 Dec 2016 14:55:54 +0000 (15:55 +0100)] 
Added tests for async functionality with imports and includes

8 years agoAdded untested support for imports and includes in async mode
Armin Ronacher [Wed, 28 Dec 2016 14:33:14 +0000 (15:33 +0100)] 
Added untested support for imports and includes in async mode

8 years agoUse more _get_default_module calls
Armin Ronacher [Wed, 28 Dec 2016 14:19:32 +0000 (15:19 +0100)] 
Use more _get_default_module calls

8 years agoFirst pass on implementing async default module
Armin Ronacher [Wed, 28 Dec 2016 14:17:10 +0000 (15:17 +0100)] 
First pass on implementing async default module

8 years agoSwitch to short traceback
Armin Ronacher [Wed, 28 Dec 2016 14:15:10 +0000 (15:15 +0100)] 
Switch to short traceback

8 years agoRewrap
Armin Ronacher [Wed, 28 Dec 2016 14:04:17 +0000 (15:04 +0100)] 
Rewrap

8 years agoStop use of .module in generated code
Armin Ronacher [Wed, 28 Dec 2016 13:57:34 +0000 (14:57 +0100)] 
Stop use of .module in generated code

8 years agoRestore original render func for non async usage
Armin Ronacher [Wed, 28 Dec 2016 13:38:58 +0000 (14:38 +0100)] 
Restore original render func for non async usage

8 years agoBasic async support for blocks
Armin Ronacher [Wed, 28 Dec 2016 13:37:56 +0000 (14:37 +0100)] 
Basic async support for blocks

8 years agoUpdated setup.cfg for pytest
Armin Ronacher [Wed, 28 Dec 2016 12:34:04 +0000 (13:34 +0100)] 
Updated setup.cfg for pytest

8 years agoImproved async test
Armin Ronacher [Wed, 28 Dec 2016 12:33:37 +0000 (13:33 +0100)] 
Improved async test

8 years agoAdded test for macro async support
Armin Ronacher [Wed, 28 Dec 2016 12:32:42 +0000 (13:32 +0100)] 
Added test for macro async support

8 years agoAutomatically await on function calls if necessary
Armin Ronacher [Wed, 28 Dec 2016 12:18:20 +0000 (13:18 +0100)] 
Automatically await on function calls if necessary

8 years agoInitial support for async rendering
Armin Ronacher [Wed, 28 Dec 2016 11:40:42 +0000 (12:40 +0100)] 
Initial support for async rendering

8 years agoAdd async flags
Armin Ronacher [Wed, 28 Dec 2016 09:42:47 +0000 (10:42 +0100)] 
Add async flags

8 years agoFixed long standing wrong operator precedence
Armin Ronacher [Wed, 28 Dec 2016 09:07:52 +0000 (10:07 +0100)] 
Fixed long standing wrong operator precedence

8 years agoUpdated gitignore to include venvs
Armin Ronacher [Wed, 28 Dec 2016 08:51:24 +0000 (09:51 +0100)] 
Updated gitignore to include venvs

8 years agoAdded a test for generator_stop
Armin Ronacher [Wed, 28 Dec 2016 08:51:01 +0000 (09:51 +0100)] 
Added a test for generator_stop

8 years agoRestrict where we collect tests
Armin Ronacher [Tue, 27 Dec 2016 19:04:01 +0000 (20:04 +0100)] 
Restrict where we collect tests

8 years agoMerge branch 'master' of github.com:mitsuhiko/jinja2
Armin Ronacher [Tue, 27 Dec 2016 18:53:39 +0000 (19:53 +0100)] 
Merge branch 'master' of github.com:mitsuhiko/jinja2

8 years agoAdded support for generator_stop
Armin Ronacher [Tue, 27 Dec 2016 18:52:43 +0000 (19:52 +0100)] 
Added support for generator_stop

8 years agoUses re.compile flags argument, not inline flags (#628)
jfinkels [Sun, 25 Dec 2016 23:10:33 +0000 (18:10 -0500)] 
Uses re.compile flags argument, not inline flags (#628)

This commit replaces the use of terminal inline flags in a regular
expression in `re.compile`,

    re.compile(r'\w+(?u)')

with arguments to the `re.compile` function itself,

    re.compile(r'\w+', re.UNICODE)

because the former is deprecated as of Python 3.6.

8 years agoFix typos in CHANGES (#626)
Andrew Arendt [Wed, 14 Dec 2016 01:10:30 +0000 (19:10 -0600)] 
Fix typos in CHANGES (#626)

8 years agoAdd license_file to setup.cfg metadata (#609)
Philippe Ombredanne [Tue, 1 Nov 2016 20:18:45 +0000 (13:18 -0700)] 
Add license_file to setup.cfg metadata (#609)

Without this, the LICENSE file is never included in the built wheels: this makes it harder for users to comply with the license.
With this addition a file LICENSE.txt will be created in the `xxx.dist-info` directory with the content of the `license_file` file, e.g. the top level LICENSE.

8 years agoFix typo in clear_caches docstring
Marcelo Jorge Vieira [Fri, 9 Sep 2016 14:14:18 +0000 (11:14 -0300)] 
Fix typo in clear_caches docstring

8 years agoFixed typo in jinja2/loaders.py (#606)
Marcelo Jorge Vieira [Fri, 2 Sep 2016 20:50:42 +0000 (17:50 -0300)] 
Fixed typo in jinja2/loaders.py (#606)

Replaced 'fileame' with 'filename'

9 years agoAdded a GitHub issue template (#599)
Francisco Jiménez Cabrera [Tue, 19 Jul 2016 21:58:17 +0000 (23:58 +0200)] 
Added a GitHub issue template (#599)

9 years agoClarified and extended the docs for the `{select|reject}[attr]` filters. (#231)
Jochen Kupperschmidt [Mon, 30 May 2016 14:48:11 +0000 (16:48 +0200)] 
Clarified and extended the docs for the `{select|reject}[attr]` filters. (#231)

9 years agoMerge pull request #585 from pgjones/master
Jeff Widman [Mon, 23 May 2016 22:29:27 +0000 (15:29 -0700)] 
Merge pull request #585 from pgjones/master

Change environment cache key construction

9 years agoChange environment cache key construction 585/head
pgjones [Sat, 21 May 2016 15:17:21 +0000 (16:17 +0100)] 
Change environment cache key construction

Changing from a tuple of the loader ID and template name to a weakref
to the loader and the template name should avoid situations whereby
the loader has changed, yet the cached templates are returned. This
would occur if the id of the new loader matches the old. A weakref is
preferred over a direct reference so that the loader can be garbaged
collected.