jinja2.git
13 years agoNew documentation style go match Flask and Werkzeug better
Armin Ronacher [Mon, 24 Jan 2011 01:03:57 +0000 (02:03 +0100)]
New documentation style go match Flask and Werkzeug better

13 years agoDamn you Sphinx
Armin Ronacher [Mon, 24 Jan 2011 00:16:00 +0000 (01:16 +0100)]
Damn you Sphinx

13 years agoFixed a bug in the documentation tool
Armin Ronacher [Mon, 24 Jan 2011 00:14:20 +0000 (01:14 +0100)]
Fixed a bug in the documentation tool

13 years agojoin now also accepts parameters
Armin Ronacher [Mon, 24 Jan 2011 00:13:51 +0000 (01:13 +0100)]
join now also accepts parameters

13 years agoImproved documentation for sum
Armin Ronacher [Mon, 24 Jan 2011 00:07:36 +0000 (01:07 +0100)]
Improved documentation for sum

13 years agosort now also accepts an attribute
Armin Ronacher [Mon, 24 Jan 2011 00:05:47 +0000 (01:05 +0100)]
sort now also accepts an attribute

13 years agoThe sum filter can now sum up attributes
Armin Ronacher [Sun, 23 Jan 2011 23:57:58 +0000 (00:57 +0100)]
The sum filter can now sum up attributes

13 years agoGrammar.
Armin Ronacher [Sat, 15 Jan 2011 17:35:45 +0000 (18:35 +0100)]
Grammar.

13 years agoNo longer segfault on new versions. This fixes #4
Armin Ronacher [Tue, 11 Jan 2011 19:53:42 +0000 (20:53 +0100)]
No longer segfault on new versions.  This fixes #4

13 years agoFixed imports with scoped blocks
Armin Ronacher [Wed, 22 Dec 2010 22:22:08 +0000 (23:22 +0100)]
Fixed imports with scoped blocks

13 years agogroupby now supports attributes of attributes. This fixes #10
Armin Ronacher [Mon, 20 Dec 2010 23:44:34 +0000 (00:44 +0100)]
groupby now supports attributes of attributes.  This fixes #10

13 years agoUpdated documentation for operator intercepting
Armin Ronacher [Mon, 29 Nov 2010 13:29:00 +0000 (14:29 +0100)]
Updated documentation for operator intercepting

13 years agoImplemented operator intercepting
Armin Ronacher [Mon, 29 Nov 2010 12:21:57 +0000 (13:21 +0100)]
Implemented operator intercepting

13 years agoRemoved more imports
Armin Ronacher [Mon, 29 Nov 2010 12:02:06 +0000 (13:02 +0100)]
Removed more imports

13 years agoRemoved unnecessary imports
Armin Ronacher [Mon, 29 Nov 2010 12:01:39 +0000 (13:01 +0100)]
Removed unnecessary imports

13 years agoFixed a typo and removed a useless backslash
Armin Ronacher [Mon, 29 Nov 2010 11:39:11 +0000 (12:39 +0100)]
Fixed a typo and removed a useless backslash

13 years agoRemoved unused import
Armin Ronacher [Mon, 29 Nov 2010 11:36:18 +0000 (12:36 +0100)]
Removed unused import

13 years agoTraceback support now works with PyPy
Armin Ronacher [Mon, 29 Nov 2010 11:24:57 +0000 (12:24 +0100)]
Traceback support now works with PyPy

13 years agoTraceback hack now works for pypy
Armin Ronacher [Mon, 29 Nov 2010 11:24:03 +0000 (12:24 +0100)]
Traceback hack now works for pypy

13 years agoShould work for cpython and pypy now (if the latter is fixed)
Armin Ronacher [Mon, 29 Nov 2010 11:16:17 +0000 (12:16 +0100)]
Should work for cpython and pypy now (if the latter is fixed)

13 years agoWe cannot fake the descriptor on a tproxy so we have to set _tb_next directly
Armin Ronacher [Mon, 29 Nov 2010 11:14:50 +0000 (12:14 +0100)]
We cannot fake the descriptor on a tproxy so we have to set _tb_next directly

13 years agoStarted work on support for transparent proxies for the debug hack
Armin Ronacher [Mon, 29 Nov 2010 09:50:34 +0000 (10:50 +0100)]
Started work on support for transparent proxies for the debug hack

13 years agoUndefineds now support attribute errors for special attributes. This fixes #6
Armin Ronacher [Fri, 19 Nov 2010 12:51:38 +0000 (13:51 +0100)]
Undefineds now support attribute errors for special attributes.  This fixes #6

13 years agoChanged naked except statements to catch only subclasses of Exception.
Ian Lewis [Sun, 31 Oct 2010 11:29:28 +0000 (20:29 +0900)]
Changed naked except statements to catch only subclasses of Exception.

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>
13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Mon, 18 Oct 2010 12:38:39 +0000 (14:38 +0200)]
Merge branch '2.5-maintenance'

Conflicts:
CHANGES
setup.py

13 years agoRe-release of 2.5.4 as 2.5.5 without docs 2.5.5
Armin Ronacher [Mon, 18 Oct 2010 12:38:03 +0000 (14:38 +0200)]
Re-release of 2.5.4 as 2.5.5 without docs

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:48:55 +0000 (16:48 +0200)]
Merge branch '2.5-maintenance'

13 years agoRelease 2.5.4 as well 2.5.4
Armin Ronacher [Sun, 17 Oct 2010 14:48:18 +0000 (16:48 +0200)]
Release 2.5.4 as well

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:47:13 +0000 (16:47 +0200)]
Merge branch '2.5-maintenance'

13 years agoFinally fixed the 64bit segfault on big-endian architectures in non-tracing mode
Armin Ronacher [Sun, 17 Oct 2010 14:47:06 +0000 (16:47 +0200)]
Finally fixed the 64bit segfault on big-endian architectures in non-tracing mode

13 years agoFixed extensions not loading properly with overlays
Armin Ronacher [Sun, 17 Oct 2010 14:44:19 +0000 (16:44 +0200)]
Fixed extensions not loading properly with overlays

13 years agomaster will be 2.6
Armin Ronacher [Sun, 17 Oct 2010 14:43:07 +0000 (16:43 +0200)]
master will be 2.6

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:42:32 +0000 (16:42 +0200)]
Merge branch '2.5-maintenance'

13 years agoThis will be 2.5.4
Armin Ronacher [Sun, 17 Oct 2010 14:42:26 +0000 (16:42 +0200)]
This will be 2.5.4

13 years agoAdded upload command for docs
Armin Ronacher [Sun, 17 Oct 2010 14:37:22 +0000 (16:37 +0200)]
Added upload command for docs

13 years agoDocumentation update. Documentation will become the new Jinja2 website
Armin Ronacher [Sun, 17 Oct 2010 14:30:15 +0000 (16:30 +0200)]
Documentation update.  Documentation will become the new Jinja2 website

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:13:02 +0000 (16:13 +0200)]
Merge branch '2.5-maintenance'

13 years agoUpdated setup file for URLs
Armin Ronacher [Sun, 17 Oct 2010 14:12:55 +0000 (16:12 +0200)]
Updated setup file for URLs

13 years agoFixed link to git
Armin Ronacher [Sun, 17 Oct 2010 14:07:38 +0000 (16:07 +0200)]
Fixed link to git

13 years agoChanged links to github
Armin Ronacher [Sun, 17 Oct 2010 14:07:08 +0000 (16:07 +0200)]
Changed links to github

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:04:26 +0000 (16:04 +0200)]
Merge branch '2.5-maintenance'

13 years agoRemoved unneeded file
Armin Ronacher [Sun, 17 Oct 2010 14:04:19 +0000 (16:04 +0200)]
Removed unneeded file

13 years agoMerge branch '2.5-maintenance'
Armin Ronacher [Sun, 17 Oct 2010 14:02:23 +0000 (16:02 +0200)]
Merge branch '2.5-maintenance'

13 years agoUpdated ignore files
Armin Ronacher [Sun, 17 Oct 2010 14:02:17 +0000 (16:02 +0200)]
Updated ignore files

13 years agoAdded README
Armin Ronacher [Sun, 17 Oct 2010 13:58:08 +0000 (15:58 +0200)]
Added README

13 years agoUpdated CHANGES entry for release
Armin Ronacher [Sun, 17 Oct 2010 13:56:49 +0000 (15:56 +0200)]
Updated CHANGES entry for release

13 years agofixed an operator precedence error introduced in 2.5.2. 2.5.3
Armin Ronacher [Sun, 17 Oct 2010 13:53:59 +0000 (15:53 +0200)]
fixed an operator precedence error introduced in 2.5.2.

Statements like "-foo.bar" had their implicit parentheses applied around
the first part of the expression ("(-foo).bar") instead of the more
correct "-(foo.bar)".

13 years agoPrepare for Jinja 2.5.3
Armin Ronacher [Sun, 17 Oct 2010 13:52:57 +0000 (15:52 +0200)]
Prepare for Jinja 2.5.3

13 years agoUnbroke setup.py
Armin Ronacher [Wed, 18 Aug 2010 09:14:28 +0000 (11:14 +0200)]
Unbroke setup.py

--HG--
branch : trunk

13 years agoMerged in fix for Python 3 regarding precisions
Armin Ronacher [Wed, 18 Aug 2010 09:13:16 +0000 (11:13 +0200)]
Merged in fix for Python 3 regarding precisions

--HG--
branch : trunk

13 years agoImproved message and unbroke 3.x
Armin Ronacher [Wed, 18 Aug 2010 09:12:52 +0000 (11:12 +0200)]
Improved message and unbroke 3.x

--HG--
branch : trunk

13 years agoPreparing for a 2.5.2 release. Fixed an issue with setup.py
Armin Ronacher [Wed, 18 Aug 2010 09:10:50 +0000 (11:10 +0200)]
Preparing for a 2.5.2 release.  Fixed an issue with setup.py

--HG--
branch : trunk

13 years agoAdded benchmark for chameleon/chameleon-genshi.
Rodrigo Moraes [Tue, 17 Aug 2010 15:08:01 +0000 (12:08 -0300)]
Added benchmark for chameleon/chameleon-genshi.

--HG--
branch : trunk

13 years agoround filter: remove the special case for precission=0 in order to ensure consistent...
Ronny Pfannschmidt [Tue, 17 Aug 2010 11:18:41 +0000 (13:18 +0200)]
round filter: remove the special case for precission=0 in order to ensure consistent output types on python3

--HG--
branch : trunk

13 years agotip is 2.6
Armin Ronacher [Tue, 17 Aug 2010 10:39:40 +0000 (12:39 +0200)]
tip is 2.6

--HG--
branch : trunk

13 years agoAdded tag 2.5.1 for changeset 7867a9cb933a
Armin Ronacher [Tue, 17 Aug 2010 10:39:07 +0000 (12:39 +0200)]
Added tag 2.5.1 for changeset 7867a9cb933a

--HG--
branch : trunk

13 years agofixed an issue with unary operators having the wrong precendence. 2.5.1
Armin Ronacher [Tue, 17 Aug 2010 10:36:38 +0000 (12:36 +0200)]
fixed an issue with unary operators having the wrong precendence.

--HG--
branch : trunk

13 years agoMerged in ronny's fixes for round filter
Armin Ronacher [Tue, 17 Aug 2010 10:11:45 +0000 (12:11 +0200)]
Merged in ronny's fixes for round filter

--HG--
branch : trunk

13 years agoDocumented switch to MarkupSafe
Armin Ronacher [Tue, 17 Aug 2010 10:10:27 +0000 (12:10 +0200)]
Documented switch to MarkupSafe

--HG--
branch : trunk

13 years agoPulled in code from markupsafe
Armin Ronacher [Tue, 17 Aug 2010 09:57:18 +0000 (11:57 +0200)]
Pulled in code from markupsafe

--HG--
branch : trunk

13 years agoMarkupSafe is now used for the Jinja2 speedups
Armin Ronacher [Tue, 17 Aug 2010 09:57:07 +0000 (11:57 +0200)]
MarkupSafe is now used for the Jinja2 speedups

--HG--
branch : trunk

13 years agofix the abs filter test
Ronny Pfannschmidt [Tue, 17 Aug 2010 09:43:06 +0000 (11:43 +0200)]
fix the abs filter test

--HG--
branch : trunk

13 years agoround filter support+test negative precission in the round and use power of 10 instea...
Ronny Pfannschmidt [Tue, 17 Aug 2010 09:42:45 +0000 (11:42 +0200)]
round filter support+test negative precission in the round and use power of 10 instead of multiples

--HG--
branch : trunk

13 years agoMeh. Fixed a typo
Armin Ronacher [Mon, 16 Aug 2010 10:13:04 +0000 (12:13 +0200)]
Meh.  Fixed a typo

--HG--
branch : trunk

13 years agoFixed spelling
Armin Ronacher [Sun, 8 Aug 2010 20:23:51 +0000 (22:23 +0200)]
Fixed spelling

--HG--
branch : trunk

13 years agoAdded docs for comparisions
Armin Ronacher [Sun, 8 Aug 2010 19:59:29 +0000 (21:59 +0200)]
Added docs for comparisions

--HG--
branch : trunk

13 years agoAdded anothe test
Armin Ronacher [Tue, 6 Jul 2010 10:00:33 +0000 (12:00 +0200)]
Added anothe test

--HG--
branch : trunk

13 years agoAdded new testcase
Armin Ronacher [Tue, 6 Jul 2010 09:37:45 +0000 (11:37 +0200)]
Added new testcase

--HG--
branch : trunk

13 years agobabel extraction can now properly extract newstyle gettext calls.
Armin Ronacher [Thu, 1 Jul 2010 10:15:39 +0000 (12:15 +0200)]
babel extraction can now properly extract newstyle gettext calls.
using the variable `num` in newstyle gettext for something else
than the pluralize count will no longer raise a :exc:`KeyError`.

--HG--
branch : trunk

13 years agoUpdated rwbench
Armin Ronacher [Thu, 1 Jul 2010 10:15:35 +0000 (12:15 +0200)]
Updated rwbench

--HG--
branch : trunk

13 years agoWe will have a 2.5.1 release
Armin Ronacher [Thu, 1 Jul 2010 09:30:42 +0000 (11:30 +0200)]
We will have a 2.5.1 release

--HG--
branch : trunk

13 years agoFixed the profile.py file and removed a useless newline call
Armin Ronacher [Sun, 6 Jun 2010 13:14:55 +0000 (15:14 +0200)]
Fixed the profile.py file and removed a useless newline call

--HG--
branch : trunk

13 years agoRaised version number in setup.py
Armin Ronacher [Sat, 5 Jun 2010 12:41:55 +0000 (14:41 +0200)]
Raised version number in setup.py

--HG--
branch : trunk

13 years agoDocumented changes.
Armin Ronacher [Sat, 5 Jun 2010 12:41:34 +0000 (14:41 +0200)]
Documented changes.

--HG--
branch : trunk

13 years agoCommitted fix for raw testcase.
Armin Ronacher [Sat, 5 Jun 2010 12:37:32 +0000 (14:37 +0200)]
Committed fix for raw testcase.

--HG--
branch : trunk

13 years agoAdded failing testcase for raw.
Armin Ronacher [Sat, 5 Jun 2010 12:37:09 +0000 (14:37 +0200)]
Added failing testcase for raw.

--HG--
branch : trunk

13 years agoCalls to functions in templates are now intercepted for StopIteration.
Armin Ronacher [Sat, 5 Jun 2010 12:32:06 +0000 (14:32 +0200)]
Calls to functions in templates are now intercepted for StopIteration.
Improved performance of macro call slightly.

--HG--
branch : trunk

13 years agoUpdated examples to use Django cached.
Armin Ronacher [Sat, 5 Jun 2010 12:31:27 +0000 (14:31 +0200)]
Updated examples to use Django cached.

--HG--
branch : trunk

13 years agoAdded tag 2.5 for changeset 0dd0062a6480
Armin Ronacher [Sat, 29 May 2010 20:54:16 +0000 (22:54 +0200)]
Added tag 2.5 for changeset 0dd0062a6480

--HG--
branch : trunk

13 years agoRemoved tag 2.5 2.5
Armin Ronacher [Sat, 29 May 2010 20:54:15 +0000 (22:54 +0200)]
Removed tag 2.5

--HG--
branch : trunk

13 years agoTip is 2.5, not 2.4.2
Armin Ronacher [Sat, 29 May 2010 20:54:06 +0000 (22:54 +0200)]
Tip is 2.5, not 2.4.2

--HG--
branch : trunk

13 years agoAdded tag 2.5 for changeset 3f3eadf15f61
Armin Ronacher [Sat, 29 May 2010 20:53:39 +0000 (22:53 +0200)]
Added tag 2.5 for changeset 3f3eadf15f61

--HG--
branch : trunk

13 years agoAdded a small improvement for the code generation of newstyle gettext
Armin Ronacher [Sat, 29 May 2010 20:31:17 +0000 (22:31 +0200)]
Added a small improvement for the code generation of newstyle gettext
calls.

--HG--
branch : trunk

13 years agoAdded a testcase for add_extension
Armin Ronacher [Sat, 29 May 2010 20:03:29 +0000 (22:03 +0200)]
Added a testcase for add_extension

--HG--
branch : trunk

13 years agoFixed a typo in the docs
Armin Ronacher [Sat, 29 May 2010 20:02:03 +0000 (22:02 +0200)]
Fixed a typo in the docs

--HG--
branch : trunk

13 years agoFixed a bug in add_extension
Armin Ronacher [Sat, 29 May 2010 20:01:59 +0000 (22:01 +0200)]
Fixed a bug in add_extension

--HG--
branch : trunk

13 years agoAdded hooks for compilation and generation. This fixes #384
Armin Ronacher [Sat, 29 May 2010 19:48:24 +0000 (21:48 +0200)]
Added hooks for compilation and generation.  This fixes #384

--HG--
branch : trunk

13 years agoNext try for a Python 3 fix
Armin Ronacher [Sat, 29 May 2010 19:16:35 +0000 (21:16 +0200)]
Next try for a Python 3 fix

--HG--
branch : trunk

13 years agoFixed a Python 3 bug.
Armin Ronacher [Sat, 29 May 2010 19:00:44 +0000 (21:00 +0200)]
Fixed a Python 3 bug.

--HG--
branch : trunk

13 years agoRemoved debug print
Armin Ronacher [Sat, 29 May 2010 18:58:44 +0000 (20:58 +0200)]
Removed debug print

--HG--
branch : trunk

13 years agoit's now possible to register extensions after an environment
Armin Ronacher [Sat, 29 May 2010 18:57:16 +0000 (20:57 +0200)]
it's now possible to register extensions after an environment
was created.

--HG--
branch : trunk

13 years agoFinished support for newstyle gettext translations
Armin Ronacher [Sat, 29 May 2010 15:58:06 +0000 (17:58 +0200)]
Finished support for newstyle gettext translations

--HG--
branch : trunk

13 years agoTip is now 2.5. Started work on newstyle gettext translations.
Armin Ronacher [Sat, 29 May 2010 15:35:10 +0000 (17:35 +0200)]
Tip is now 2.5.  Started work on newstyle gettext translations.

--HG--
branch : trunk

13 years agoNext release without pycs
Armin Ronacher [Sun, 23 May 2010 21:23:44 +0000 (23:23 +0200)]
Next release without pycs

--HG--
branch : trunk

13 years agoFixed another failing testcase that was never added to the test runner.
Armin Ronacher [Sun, 23 May 2010 21:14:59 +0000 (23:14 +0200)]
Fixed another failing testcase that was never added to the test runner.
Epic fail

--HG--
branch : trunk

13 years agotip is 2.4.2 dev.
Armin Ronacher [Sun, 23 May 2010 21:07:32 +0000 (23:07 +0200)]
tip is 2.4.2 dev.

--HG--
branch : trunk

13 years agoVersion 2.4.2
Armin Ronacher [Sun, 23 May 2010 21:07:08 +0000 (23:07 +0200)]
Version 2.4.2
-------------
(bugfix release, release date to be announced)

improved the sort filter (should have worked like this for a
long time) by adding support for case insensitive searches.
fixed a bug for getattribute constant folding.

--HG--
branch : trunk

13 years agoFixed a failing testcase. (Error caused by constant folding of undefined
Armin Ronacher [Sun, 23 May 2010 20:58:28 +0000 (22:58 +0200)]
Fixed a failing testcase. (Error caused by constant folding of undefined
values)

--HG--
branch : trunk

13 years agoFix unbound local error masked by bare except.
Georg Brandl [Sun, 23 May 2010 20:35:53 +0000 (22:35 +0200)]
Fix unbound local error masked by bare except.

--HG--
branch : trunk

14 years agoDifferent name for builtins in Python 3
Armin Ronacher [Tue, 20 Apr 2010 17:48:46 +0000 (19:48 +0200)]
Different name for builtins in Python 3

--HG--
branch : trunk