jinja2.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

--HG--
branch : trunk

14 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

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

--HG--
branch : trunk

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

--HG--
branch : trunk

14 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

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

--HG--
branch : trunk

14 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

14 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

14 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

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

--HG--
branch : trunk

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

--HG--
branch : trunk

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agotip iis 2.5
Armin Ronacher [Tue, 20 Apr 2010 11:46:08 +0000 (13:46 +0200)]
tip iis 2.5

--HG--
branch : trunk

14 years agoAdded tag 2.4.1 for changeset d927a7499531
Armin Ronacher [Tue, 20 Apr 2010 11:45:17 +0000 (13:45 +0200)]
Added tag 2.4.1 for changeset d927a7499531

--HG--
branch : trunk

14 years agofixed an error reporting bug for undefineds. 2.4.1
Armin Ronacher [Tue, 20 Apr 2010 11:45:11 +0000 (13:45 +0200)]
fixed an error reporting bug for undefineds.

--HG--
branch : trunk

14 years agotip is 2.5
Armin Ronacher [Mon, 12 Apr 2010 22:56:34 +0000 (00:56 +0200)]
tip is 2.5

--HG--
branch : trunk

14 years agoAdded tag 2.4 for changeset e3f873a9d3ff
Armin Ronacher [Mon, 12 Apr 2010 22:55:38 +0000 (00:55 +0200)]
Added tag 2.4 for changeset e3f873a9d3ff

--HG--
branch : trunk

14 years agoReady for release. 2.4
Armin Ronacher [Mon, 12 Apr 2010 22:54:14 +0000 (00:54 +0200)]
Ready for release.

--HG--
branch : trunk

14 years agoImproved error message for undefineds
Armin Ronacher [Mon, 12 Apr 2010 13:49:59 +0000 (15:49 +0200)]
Improved error message for undefineds

--HG--
branch : trunk

14 years agoextensions have a priority now.
Armin Ronacher [Mon, 12 Apr 2010 12:04:35 +0000 (14:04 +0200)]
extensions have a priority now.

--HG--
branch : trunk

14 years agoAdded extension ordering, this fixes #376.
Armin Ronacher [Mon, 12 Apr 2010 12:04:14 +0000 (14:04 +0200)]
Added extension ordering, this fixes #376.

--HG--
branch : trunk

14 years agoUndefineds give better hints for `None` objects now.
Armin Ronacher [Mon, 12 Apr 2010 11:51:33 +0000 (13:51 +0200)]
Undefineds give better hints for `None` objects now.

--HG--
branch : trunk

14 years agothree is the new two
Armin Ronacher [Sat, 10 Apr 2010 11:03:46 +0000 (13:03 +0200)]
three is the new two

--HG--
branch : trunk

14 years agoFixed a scoping bug that caused the immutable scoping rule to be ignored
Armin Ronacher [Mon, 5 Apr 2010 16:43:07 +0000 (18:43 +0200)]
Fixed a scoping bug that caused the immutable scoping rule to be ignored
in a few edge cases.  This clauses #376.

--HG--
branch : trunk

14 years agoAdded missing reference.
Armin Ronacher [Mon, 5 Apr 2010 16:17:27 +0000 (18:17 +0200)]
Added missing reference.

--HG--
branch : trunk

14 years agoautoescape no longer is a plain boolean value but can also be a function
Armin Ronacher [Mon, 5 Apr 2010 16:11:18 +0000 (18:11 +0200)]
autoescape no longer is a plain boolean value but can also be a function
to enable or disable autoescaping for certain filenames (or file
extensions for that matter)

--HG--
branch : trunk

14 years agoAdded improved documentation to the `ContextReference` node.
Armin Ronacher [Wed, 24 Mar 2010 09:53:22 +0000 (10:53 +0100)]
Added improved documentation to the `ContextReference` node.

--HG--
branch : trunk

14 years agoAnother documentation string fix.
Armin Ronacher [Mon, 15 Mar 2010 09:06:53 +0000 (10:06 +0100)]
Another documentation string fix.

--HG--
branch : trunk

14 years agoHopefully fixed EvalContext documentation.
Armin Ronacher [Mon, 15 Mar 2010 08:36:47 +0000 (09:36 +0100)]
Hopefully fixed EvalContext documentation.

--HG--
branch : trunk

14 years agoMore documentation updates.
Armin Ronacher [Mon, 15 Mar 2010 02:06:04 +0000 (03:06 +0100)]
More documentation updates.

--HG--
branch : trunk

14 years agoUpdated copyright. It's 2010!
Armin Ronacher [Mon, 15 Mar 2010 01:49:22 +0000 (02:49 +0100)]
Updated copyright. It's 2010!

--HG--
branch : trunk

14 years agoDocumented autoescaping behavior and eval contexts.
Armin Ronacher [Mon, 15 Mar 2010 01:42:41 +0000 (02:42 +0100)]
Documented autoescaping behavior and eval contexts.

--HG--
branch : trunk

14 years agoTemplate to module compilation should work on 3.x now.
Armin Ronacher [Sun, 14 Mar 2010 23:54:01 +0000 (00:54 +0100)]
Template to module compilation should work on 3.x now.

--HG--
branch : trunk

14 years agoFixed a testcase for Python 2.4
Armin Ronacher [Sun, 14 Mar 2010 23:48:46 +0000 (00:48 +0100)]
Fixed a testcase for Python 2.4

--HG--
branch : trunk

14 years agoMore testcaseeees :)
Armin Ronacher [Sun, 14 Mar 2010 23:42:27 +0000 (00:42 +0100)]
More testcaseeees :)

--HG--
branch : trunk

14 years agoAdded another testcase and fixed a bug with the volatile scoping.
Armin Ronacher [Sun, 14 Mar 2010 23:26:05 +0000 (00:26 +0100)]
Added another testcase and fixed a bug with the volatile scoping.

--HG--
branch : trunk

14 years agoAdded a new testcase for something that is supposed to be a bug.
Armin Ronacher [Sun, 14 Mar 2010 23:03:25 +0000 (00:03 +0100)]
Added a new testcase for something that is supposed to be a bug.

--HG--
branch : trunk

14 years agoBiggest change to Jinja since the 1.x migration: added evaluation contexts
Armin Ronacher [Sun, 14 Mar 2010 18:43:47 +0000 (19:43 +0100)]
Biggest change to Jinja since the 1.x migration: added evaluation contexts
which make it possible to keep the ahead of time optimizations and provide
dynamic activation and deactivation of autoescaping and other context
specific features.

--HG--
branch : trunk

14 years agoImproved tests and template compilation.
Armin Ronacher [Fri, 12 Mar 2010 16:59:51 +0000 (17:59 +0100)]
Improved tests and template compilation.

--HG--
branch : trunk

14 years agoJust in case there is no gc module.
Armin Ronacher [Fri, 12 Mar 2010 02:37:03 +0000 (03:37 +0100)]
Just in case there is no gc module.

--HG--
branch : trunk

14 years agoStreamlined code. Removed an unnecessary leftover.
Armin Ronacher [Fri, 12 Mar 2010 02:27:33 +0000 (03:27 +0100)]
Streamlined code.  Removed an unnecessary leftover.

--HG--
branch : trunk

14 years agoadded a :class:`ModuleLoader` that can load templates from
Armin Ronacher [Fri, 12 Mar 2010 02:17:41 +0000 (03:17 +0100)]
added a :class:`ModuleLoader` that can load templates from
precompiled sources.  The environment now features a method
to compile the templates from a configured loader into a zip
file or folder.

--HG--
branch : trunk
extra : rebase_source : 4824f663e4ff58ca3d2176c65fc1b7494e1f0c43

14 years agoMake the _speedups extension compatible with Python 3.
Georg Brandl [Sun, 21 Feb 2010 16:50:32 +0000 (17:50 +0100)]
Make the _speedups extension compatible with Python 3.

--HG--
branch : trunk

14 years agoFix test in Python 3.2 -- the exception message changed.
Georg Brandl [Sun, 21 Feb 2010 16:49:04 +0000 (17:49 +0100)]
Fix test in Python 3.2 -- the exception message changed.

--HG--
branch : trunk

14 years agoMerged in 2.3.1 release fixes
Armin Ronacher [Fri, 19 Feb 2010 12:40:23 +0000 (13:40 +0100)]
Merged in 2.3.1 release fixes

--HG--
branch : trunk

14 years agoAdded tag 2.3.1 for changeset 140c54afc249
Armin Ronacher [Fri, 19 Feb 2010 12:37:33 +0000 (13:37 +0100)]
Added tag 2.3.1 for changeset 140c54afc249

--HG--
branch : trunk

14 years agoUntagged 2.3.1 and fixed setup.py for a new release 2.3.1
Armin Ronacher [Fri, 19 Feb 2010 12:37:28 +0000 (13:37 +0100)]
Untagged 2.3.1 and fixed setup.py for a new release

--HG--
branch : trunk

14 years agomerged with 2.3-maintenance
Armin Ronacher [Fri, 19 Feb 2010 10:10:32 +0000 (11:10 +0100)]
merged with 2.3-maintenance

--HG--
branch : trunk

14 years agoAdded changelog
Armin Ronacher [Fri, 19 Feb 2010 10:09:28 +0000 (11:09 +0100)]
Added changelog

--HG--
branch : trunk

14 years agoMerged 2.3.1 in
Armin Ronacher [Thu, 18 Feb 2010 23:01:18 +0000 (00:01 +0100)]
Merged 2.3.1 in

--HG--
branch : trunk

14 years agoAdded tag 2.3.1 for changeset 53f4dc68cec0
Armin Ronacher [Thu, 18 Feb 2010 22:59:57 +0000 (23:59 +0100)]
Added tag 2.3.1 for changeset 53f4dc68cec0

--HG--
branch : trunk

14 years agoMerged in changes from 2.3.1
Armin Ronacher [Wed, 17 Feb 2010 07:02:52 +0000 (08:02 +0100)]
Merged in changes from 2.3.1

--HG--
branch : trunk

14 years agoPushed version number in setup.py for 2.3.1 release.
Armin Ronacher [Wed, 17 Feb 2010 07:01:10 +0000 (08:01 +0100)]
Pushed version number in setup.py for 2.3.1 release.

--HG--
branch : trunk

14 years agoFixed some tests for python 2.4. Disabled a test for 2.4 that does not work because...
Armin Ronacher [Wed, 17 Feb 2010 06:59:38 +0000 (07:59 +0100)]
Fixed some tests for python 2.4.  Disabled a test for 2.4 that does not work because of a python limitation.

--HG--
branch : trunk

14 years agobroke a line into two. (test commit)
Armin Ronacher [Tue, 16 Feb 2010 23:52:42 +0000 (00:52 +0100)]
broke a line into two. (test commit)

--HG--
branch : trunk

14 years agoThe jdebug file should have a 2010 copyright as well.
Armin Ronacher [Tue, 16 Feb 2010 23:30:01 +0000 (00:30 +0100)]
The jdebug file should have a 2010 copyright as well.

--HG--
branch : trunk

14 years agoRemoved unnecessary runtime check. Our 2to3 fixer fixes that
Armin Ronacher [Tue, 16 Feb 2010 23:25:14 +0000 (00:25 +0100)]
Removed unnecessary runtime check.  Our 2to3 fixer fixes that
automatically now.

--HG--
branch : trunk

14 years agoReindented a docstring.
Armin Ronacher [Tue, 16 Feb 2010 23:16:07 +0000 (00:16 +0100)]
Reindented a docstring.

--HG--
branch : trunk

14 years agobetter wording and test commit.
Armin Ronacher [Tue, 16 Feb 2010 22:34:45 +0000 (23:34 +0100)]
better wording and test commit.

--HG--
branch : trunk

14 years agoDocumented the API changes in get_template and select_template.
Armin Ronacher [Tue, 16 Feb 2010 16:37:17 +0000 (17:37 +0100)]
Documented the API changes in get_template and select_template.

--HG--
branch : trunk

14 years agothe environment template loading functions now transparently
Armin Ronacher [Tue, 16 Feb 2010 16:35:59 +0000 (17:35 +0100)]
the environment template loading functions now transparently
pass through a template object if it was passed to it.  This
makes it possible to import or extend from a template object
that was passed to the template.

--HG--
branch : trunk

14 years agoported fix for #368 from maintenance branch.
Armin Ronacher [Thu, 11 Feb 2010 13:29:47 +0000 (14:29 +0100)]
ported fix for #368 from maintenance branch.

--HG--
branch : trunk

14 years agoThis fixes #368.
Armin Ronacher [Thu, 11 Feb 2010 13:27:23 +0000 (14:27 +0100)]
This fixes #368.

--HG--
branch : trunk