jinja2.git
15 years agoResolved conflict
Armin Ronacher [Thu, 16 Apr 2009 21:17:43 +0000 (23:17 +0200)]
Resolved conflict

--HG--
branch : trunk

15 years agoFixed a bug with template syntax errors not handled properly.
Armin Ronacher [Thu, 16 Apr 2009 21:15:22 +0000 (23:15 +0200)]
Fixed a bug with template syntax errors not handled properly.

--HG--
branch : trunk

15 years agoDocumented more changes
Armin Ronacher [Thu, 2 Apr 2009 12:04:41 +0000 (14:04 +0200)]
Documented more changes

--HG--
branch : trunk

15 years agoStarted refactoring of debugging system for better AppEngine/Pylons support.
Armin Ronacher [Thu, 5 Mar 2009 22:47:00 +0000 (23:47 +0100)]
Started refactoring of debugging system for better AppEngine/Pylons support.

--HG--
branch : trunk
extra : rebase_source : 30b87a402e0847f95eaf277d0fc50e1a63177d5b

15 years agoMoved tmbundle into tarfile (does not check out properly on windows)
Armin Ronacher [Thu, 2 Apr 2009 12:36:56 +0000 (14:36 +0200)]
Moved tmbundle into tarfile (does not check out properly on windows)

--HG--
branch : trunk

15 years agoBroken overlong line.
Armin Ronacher [Thu, 2 Apr 2009 12:14:30 +0000 (14:14 +0200)]
Broken overlong line.

--HG--
branch : trunk

15 years agoAdded a testcase for the last change.
Armin Ronacher [Wed, 1 Apr 2009 17:17:31 +0000 (19:17 +0200)]
Added a testcase for the last change.

--HG--
branch : trunk

15 years agoFixed another bug with line comments
Armin Ronacher [Wed, 1 Apr 2009 17:16:25 +0000 (19:16 +0200)]
Fixed another bug with line comments

--HG--
branch : trunk

15 years agoFixed bug in line-based comments with priority.
Armin Ronacher [Tue, 31 Mar 2009 21:51:56 +0000 (23:51 +0200)]
Fixed bug in line-based comments with priority.

--HG--
branch : trunk

15 years agoAdded support for line-based comments.
Armin Ronacher [Mon, 30 Mar 2009 19:00:16 +0000 (21:00 +0200)]
Added support for line-based comments.

--HG--
branch : trunk

15 years agoAdded testcase for #335
Armin Ronacher [Mon, 30 Mar 2009 16:50:49 +0000 (18:50 +0200)]
Added testcase for #335

--HG--
branch : trunk

15 years agoApplied documentation patches by Clemens Hermann.
Armin Ronacher [Wed, 18 Mar 2009 00:01:36 +0000 (01:01 +0100)]
Applied documentation patches by Clemens Hermann.

--HG--
branch : trunk

15 years agoAdded testcase for a bug
Armin Ronacher [Tue, 17 Mar 2009 23:59:32 +0000 (00:59 +0100)]
Added testcase for a bug

--HG--
branch : trunk

15 years agoStarted refactoring of debugging system for better AppEngine/Pylons support.
Armin Ronacher [Thu, 5 Mar 2009 22:47:00 +0000 (23:47 +0100)]
Started refactoring of debugging system for better AppEngine/Pylons support.

--HG--
branch : trunk

15 years agoImproved Jinja's debugging support by introducing "@internalcode" which marks code...
Armin Ronacher [Tue, 24 Feb 2009 21:58:00 +0000 (22:58 +0100)]
Improved Jinja's debugging support by introducing "@internalcode" which marks code objects that are skipped on tracebacks.  Also template errors are now translated as well to help the pylons debugger.

--HG--
branch : trunk

15 years agoAdded a (ugly) hack to the exceptions so that they don't warn under 2.6
Armin Ronacher [Thu, 19 Feb 2009 19:07:13 +0000 (20:07 +0100)]
Added a (ugly) hack to the exceptions so that they don't warn under 2.6

--HG--
branch : trunk

15 years agojinja2.sandbox should not warn on 2.6 any more.
Armin Ronacher [Thu, 19 Feb 2009 18:57:01 +0000 (19:57 +0100)]
jinja2.sandbox should not warn on 2.6 any more.

--HG--
branch : trunk

15 years agoAdded proper super() support for scoped blocks.
Armin Ronacher [Thu, 19 Feb 2009 15:11:11 +0000 (16:11 +0100)]
Added proper super() support for scoped blocks.

--HG--
branch : trunk

15 years agoAdded support for optional `scoped` modifier to blocks.
Armin Ronacher [Thu, 19 Feb 2009 14:56:53 +0000 (15:56 +0100)]
Added support for optional `scoped` modifier to blocks.

--HG--
branch : trunk

15 years agoFixed a bug that caused internal errors if names where used as iteration
Armin Ronacher [Wed, 11 Feb 2009 21:49:08 +0000 (22:49 +0100)]
Fixed a bug that caused internal errors if names where used as iteration
variable and regular variable *after* the loop if that variable was unused
*before* the loop.  (#331)

--HG--
branch : trunk

15 years agoMade it possible to refer to names from outer scopes in included templates
Armin Ronacher [Sun, 8 Feb 2009 18:11:44 +0000 (19:11 +0100)]
Made it possible to refer to names from outer scopes in included templates
that were unused in the callers frame (#327).

--HG--
branch : trunk

15 years agoFixed a documenation bug in the cache extension.
Armin Ronacher [Sun, 8 Feb 2009 10:11:57 +0000 (11:11 +0100)]
Fixed a documenation bug in the cache extension.

--HG--
branch : trunk

15 years agoFixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible.
Armin Ronacher [Thu, 5 Feb 2009 22:13:15 +0000 (23:13 +0100)]
Fixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible.

--HG--
branch : trunk

15 years agoImproved usage of string interning. This should fix the problems with jython.
Armin Ronacher [Wed, 4 Feb 2009 18:33:58 +0000 (19:33 +0100)]
Improved usage of string interning.  This should fix the problems with jython.

--HG--
branch : trunk

15 years agoFixed a bug that caused syntax errors when defining macros or using the
Armin Ronacher [Wed, 4 Feb 2009 18:13:58 +0000 (19:13 +0100)]
Fixed a bug that caused syntax errors when defining macros or using the
`{% call %}` tag inside loops.

This fixes #323.

--HG--
branch : trunk

15 years agoThis fixes #325.
Armin Ronacher [Wed, 4 Feb 2009 18:03:40 +0000 (19:03 +0100)]
This fixes #325.

--HG--
branch : trunk

15 years agoThis fixes #317.
Armin Ronacher [Wed, 4 Feb 2009 18:02:30 +0000 (19:02 +0100)]
This fixes #317.

--HG--
branch : trunk

15 years agoPriority of `not` raised. It's now possible to write `not foo in bar`
Armin Ronacher [Wed, 4 Feb 2009 17:57:27 +0000 (18:57 +0100)]
Priority of `not` raised.  It's now possible to write `not foo in bar`
as an alias to `foo not in bar` like in python.  Previously the grammar
required parentheses (`not (foo in bar)`) which was odd.

--HG--
branch : trunk

15 years agoFixed a threading issue with the LRUCache. Still not sure if I should release a...
Armin Ronacher [Mon, 12 Jan 2009 10:08:26 +0000 (11:08 +0100)]
Fixed a threading issue with the LRUCache.  Still not sure if I should release a Jinja 2.1.2 for that.

--HG--
branch : trunk

15 years agoFixed inconsistency in LICENSE file.
Armin Ronacher [Tue, 6 Jan 2009 12:10:58 +0000 (13:10 +0100)]
Fixed inconsistency in LICENSE file.

--HG--
branch : trunk

15 years agoSame thing for extensions.
Armin Ronacher [Mon, 5 Jan 2009 11:16:46 +0000 (12:16 +0100)]
Same thing for extensions.

--HG--
branch : trunk

15 years agoThis commit makes the parser and lexer use regular string comparison to support jython
Ali Afshar [Mon, 5 Jan 2009 11:14:14 +0000 (12:14 +0100)]
This commit makes the parser and lexer use regular string comparison to support jython

--HG--
branch : trunk

15 years agoCopyright switch to "The Jinja Team".
Armin Ronacher [Sun, 4 Jan 2009 13:26:19 +0000 (14:26 +0100)]
Copyright switch to "The Jinja Team".

--HG--
branch : trunk

15 years agoInclude statements can now be marked with ``ignore missing`` to skip
Armin Ronacher [Sat, 27 Dec 2008 12:10:38 +0000 (13:10 +0100)]
Include statements can now be marked with ``ignore missing`` to skip
non existing templates.

--HG--
branch : trunk

15 years agoTip is 2.2
Armin Ronacher [Thu, 25 Dec 2008 17:51:22 +0000 (18:51 +0100)]
Tip is 2.2

--HG--
branch : trunk

15 years agoAdded tag 2.1.1 for changeset 744e087d24e9
Armin Ronacher [Thu, 25 Dec 2008 17:40:47 +0000 (18:40 +0100)]
Added tag 2.1.1 for changeset 744e087d24e9

--HG--
branch : trunk

15 years agoOn our way to 2.2 we found a bug in 2.1 and our repo is now 2.1.1 :) No need to... 2.1.1
Armin Ronacher [Thu, 25 Dec 2008 17:40:27 +0000 (18:40 +0100)]
On our way to 2.2 we found a bug in 2.1 and our repo is now 2.1.1 :)  No need to branch for that.

--HG--
branch : trunk

15 years agoFixed a translation error caused by looping over empty recursive loops.
Armin Ronacher [Thu, 25 Dec 2008 17:33:46 +0000 (18:33 +0100)]
Fixed a translation error caused by looping over empty recursive loops.

--HG--
branch : trunk

15 years agoFixed a typo
Armin Ronacher [Mon, 8 Dec 2008 14:21:26 +0000 (15:21 +0100)]
Fixed a typo

--HG--
branch : trunk

15 years agotip is now 2.2-dev
Armin Ronacher [Sun, 23 Nov 2008 14:45:13 +0000 (15:45 +0100)]
tip is now 2.2-dev

--HG--
branch : trunk

15 years agoAdded tag 2.1 for changeset dbf1e3a0b178
Armin Ronacher [Sun, 23 Nov 2008 12:26:31 +0000 (13:26 +0100)]
Added tag 2.1 for changeset dbf1e3a0b178

--HG--
branch : trunk

15 years agoUpdated documentation to reflect the new speedups installation behavior. 2.1
Armin Ronacher [Sun, 23 Nov 2008 12:25:51 +0000 (13:25 +0100)]
Updated documentation to reflect the new speedups installation behavior.

--HG--
branch : trunk

15 years agoRemoved optional speedups extension hack.
Armin Ronacher [Sun, 23 Nov 2008 12:09:18 +0000 (13:09 +0100)]
Removed optional speedups extension hack.

--HG--
branch : trunk

15 years agoUntagged 2.1
Armin Ronacher [Sun, 23 Nov 2008 11:56:13 +0000 (12:56 +0100)]
Untagged 2.1

--HG--
branch : trunk

15 years agoAdded tag 2.1 for changeset 1322ed9fffbe
Armin Ronacher [Sun, 23 Nov 2008 11:55:31 +0000 (12:55 +0100)]
Added tag 2.1 for changeset 1322ed9fffbe

--HG--
branch : trunk

15 years agoFinal changes for Jinja 2.1 release
Armin Ronacher [Sun, 23 Nov 2008 11:55:23 +0000 (12:55 +0100)]
Final changes for Jinja 2.1 release

--HG--
branch : trunk

15 years agoAdded thanks entry for habbie
Armin Ronacher [Sun, 16 Nov 2008 23:50:09 +0000 (00:50 +0100)]
Added thanks entry for habbie

--HG--
branch : trunk

15 years agoFixed an escaping bug in urlize
Armin Ronacher [Sun, 16 Nov 2008 23:35:30 +0000 (00:35 +0100)]
Fixed an escaping bug in urlize

--HG--
branch : trunk

15 years agoAdded support for `Environment.compile_expression`.
Armin Ronacher [Sun, 2 Nov 2008 14:58:14 +0000 (15:58 +0100)]
Added support for `Environment.compile_expression`.

--HG--
branch : trunk

15 years agoFixed a small bug with the undefined object: the error message on divisions with...
Armin Ronacher [Sun, 2 Nov 2008 11:22:00 +0000 (12:22 +0100)]
Fixed a small bug with the undefined object: the error message on divisions with undefined objects was misleading.

--HG--
branch : trunk

15 years agoAdded a Thanks entry for Cameron Knight.
Armin Ronacher [Thu, 30 Oct 2008 18:48:53 +0000 (19:48 +0100)]
Added a Thanks entry for Cameron Knight.

--HG--
branch : trunk

15 years agoFixed a macro scoping bug discovered by ckknight introduced in one of the earlier...
Armin Ronacher [Thu, 30 Oct 2008 18:18:45 +0000 (19:18 +0100)]
Fixed a macro scoping bug discovered by ckknight introduced in one of the earlier changes for the 2.1 release.

--HG--
branch : trunk

15 years agoAdded support for variable name translations in django2jinja
Julien Visinand [Mon, 20 Oct 2008 21:31:04 +0000 (23:31 +0200)]
Added support for variable name translations in django2jinja

--HG--
branch : trunk

15 years agoImplemented and documented "joiner"
Armin Ronacher [Mon, 13 Oct 2008 21:47:51 +0000 (23:47 +0200)]
Implemented and documented "joiner"

--HG--
branch : trunk

15 years agoVarious cleanups and added custom cycler.
Armin Ronacher [Sun, 5 Oct 2008 21:08:58 +0000 (23:08 +0200)]
Various cleanups and added custom cycler.

--HG--
branch : trunk

15 years agoimports and includes "with context" are passed the full context now, not only the...
Armin Ronacher [Sat, 4 Oct 2008 16:06:57 +0000 (18:06 +0200)]
imports and includes "with context" are passed the full context now, not only the initial one.

--HG--
branch : trunk

15 years agoThe hopefully final fix for the bug apollo13 spotted earlier.
Armin Ronacher [Tue, 23 Sep 2008 20:52:46 +0000 (22:52 +0200)]
The hopefully final fix for the bug apollo13 spotted earlier.

--HG--
branch : trunk

15 years agoAdded THANKS entry for nosklo
Armin Ronacher [Sun, 21 Sep 2008 15:14:11 +0000 (17:14 +0200)]
Added THANKS entry for nosklo

--HG--
branch : trunk

15 years agoFixed a bug in constant folding of keyword arguments to filter calls. Thanks noskolo.
Armin Ronacher [Sun, 21 Sep 2008 15:08:48 +0000 (17:08 +0200)]
Fixed a bug in constant folding of keyword arguments to filter calls.  Thanks noskolo.

--HG--
branch : trunk

15 years agoAutomated merge with ssh://team@pocoo.org/jinja2-main
Armin Ronacher [Sun, 21 Sep 2008 14:21:34 +0000 (16:21 +0200)]
Automated merge with ssh://team@pocoo.org/jinja2-main

--HG--
branch : trunk

15 years agoFixed a bug in djangojinja2 that caused mimetype being forwarded propertly.
Armin Ronacher [Sun, 21 Sep 2008 14:21:24 +0000 (16:21 +0200)]
Fixed a bug in djangojinja2 that caused mimetype being forwarded propertly.

--HG--
branch : trunk

15 years agoUnified some code in the super/template reference system.
Armin Ronacher [Sat, 20 Sep 2008 10:04:53 +0000 (12:04 +0200)]
Unified some code in the super/template reference system.

--HG--
branch : trunk

15 years agoSome typos.
Georg Brandl [Fri, 19 Sep 2008 09:55:17 +0000 (09:55 +0000)]
Some typos.

--HG--
branch : trunk

15 years agoAdded i18n support to django2jinja (not complete support, but the best you can get...
Armin Ronacher [Thu, 18 Sep 2008 21:50:02 +0000 (23:50 +0200)]
Added i18n support to django2jinja (not complete support, but the best you can get before django fixes a bug in i18n handling)

--HG--
branch : trunk

15 years agoIt's now possible to create weak references to template contexts.
Armin Ronacher [Thu, 18 Sep 2008 16:38:58 +0000 (18:38 +0200)]
It's now possible to create weak references to template contexts.

--HG--
branch : trunk

15 years agoFixed bytecode cache and added support for memcached (tests still missing)
Armin Ronacher [Thu, 18 Sep 2008 16:09:06 +0000 (18:09 +0200)]
Fixed bytecode cache and added support for memcached (tests still missing)

--HG--
branch : trunk

15 years agomoved os.remove import where it woudn't be noticed by GAE
Max Ischenko [Thu, 18 Sep 2008 14:23:33 +0000 (16:23 +0200)]
moved os.remove import where it woudn't be noticed by GAE

--HG--
branch : trunk

15 years agoFixed FileSystemBytecodeCache.clear
Armin Ronacher [Wed, 17 Sep 2008 20:25:04 +0000 (22:25 +0200)]
Fixed FileSystemBytecodeCache.clear

--HG--
branch : trunk

15 years agoImproved bbcache and documented it.
Armin Ronacher [Wed, 17 Sep 2008 19:28:01 +0000 (21:28 +0200)]
Improved bbcache and documented it.

--HG--
branch : trunk

15 years agoFixed a bug with the handling of empty statements in macros (it also fixes a bug...
Armin Ronacher [Wed, 17 Sep 2008 16:51:26 +0000 (18:51 +0200)]
Fixed a bug with the handling of empty statements in macros (it also fixes a bug introduced in one of the previous changesets)

--HG--
branch : trunk

15 years agoAdded experimental and undocumented bytecode cache support
Armin Ronacher [Wed, 17 Sep 2008 14:19:46 +0000 (16:19 +0200)]
Added experimental and undocumented bytecode cache support

--HG--
branch : trunk

15 years agoImplemented a sort filter that sorts arbitrary sequences.
Armin Ronacher [Wed, 17 Sep 2008 11:57:45 +0000 (13:57 +0200)]
Implemented a sort filter that sorts arbitrary sequences.

--HG--
branch : trunk

15 years agoNearly complete core django template code coverage.
Armin Ronacher [Tue, 16 Sep 2008 14:40:48 +0000 (16:40 +0200)]
Nearly complete core django template code coverage.

--HG--
branch : trunk

15 years agoMoved django configuration into the __main__ section
Armin Ronacher [Tue, 16 Sep 2008 09:02:34 +0000 (11:02 +0200)]
Moved django configuration into the __main__ section

--HG--
branch : trunk

15 years agoAdded first code for a django-to-jinja converter
Armin Ronacher [Tue, 16 Sep 2008 08:59:03 +0000 (10:59 +0200)]
Added first code for a django-to-jinja converter

--HG--
branch : trunk

15 years agoFixed a confusing edge case (thanks apollo13)
Armin Ronacher [Mon, 15 Sep 2008 12:35:01 +0000 (14:35 +0200)]
Fixed a confusing edge case (thanks apollo13)

--HG--
branch : trunk

15 years agoDisabled iron python support until new lexer is implemented.
Armin Ronacher [Sat, 13 Sep 2008 17:19:22 +0000 (19:19 +0200)]
Disabled iron python support until new lexer is implemented.

--HG--
branch : trunk

15 years agoFixed a bug in the subscript operation.
Armin Ronacher [Fri, 12 Sep 2008 21:12:49 +0000 (23:12 +0200)]
Fixed a bug in the subscript operation.

--HG--
branch : trunk

15 years agofilter -> test in the tests section (i feel so embarrassed).
Armin Ronacher [Thu, 11 Sep 2008 18:46:34 +0000 (20:46 +0200)]
filter -> test in the tests section (i feel so embarrassed).

--HG--
branch : trunk

15 years agoIt's now possible to use ``{{ foo.0.0 }}``
Armin Ronacher [Wed, 10 Sep 2008 12:03:53 +0000 (14:03 +0200)]
It's now possible to use ``{{ foo.0.0 }}``

--HG--
branch : trunk

15 years agoLinked from autoescape to markup
Armin Ronacher [Mon, 8 Sep 2008 21:57:26 +0000 (23:57 +0200)]
Linked from autoescape to markup

--HG--
branch : trunk

15 years agoFixed a documentation bug.
Armin Ronacher [Mon, 8 Sep 2008 21:55:32 +0000 (23:55 +0200)]
Fixed a documentation bug.

--HG--
branch : trunk

15 years agoFixed a typo
Armin Ronacher [Mon, 8 Sep 2008 21:10:47 +0000 (23:10 +0200)]
Fixed a typo

--HG--
branch : trunk

15 years agoFixed a bug in the i18n extension that caused the explicit pluralization block to...
Armin Ronacher [Sat, 6 Sep 2008 14:15:38 +0000 (16:15 +0200)]
Fixed a bug in the i18n extension that caused the explicit pluralization block to look up the wrong variable.

--HG--
branch : trunk

15 years agoMore work on the ironpython support
Armin Ronacher [Sun, 17 Aug 2008 17:43:22 +0000 (19:43 +0200)]
More work on the ironpython support

--HG--
branch : trunk

15 years agoFixed a bug in the compiler that caused problems with loop not being referenced in...
Armin Ronacher [Thu, 14 Aug 2008 10:31:12 +0000 (12:31 +0200)]
Fixed a bug in the compiler that caused problems with loop not being referenced in an outer scoped.  (Introduced in the last checkin)

--HG--
branch : trunk

15 years agofixed a bug with nested loops and the special loop variable.
Armin Ronacher [Wed, 13 Aug 2008 16:55:50 +0000 (18:55 +0200)]
fixed a bug with nested loops and the special loop variable.

H: Enter commit message.  Lines beginning with 'HG:' are removed.

--HG--
branch : trunk

15 years agoRemoved a few stdlib dependencies. This is the first step for IronPython support...
Armin Ronacher [Wed, 13 Aug 2008 16:24:17 +0000 (18:24 +0200)]
Removed a few stdlib dependencies.  This is the first step for IronPython support, the second one being a new lexer.

--HG--
branch : trunk

15 years agofixed development status classification
Armin Ronacher [Thu, 17 Jul 2008 22:41:37 +0000 (00:41 +0200)]
fixed development status classification

--HG--
branch : trunk

15 years agoadded the missing fabfile (gnabber)
Armin Ronacher [Thu, 17 Jul 2008 21:36:34 +0000 (23:36 +0200)]
added the missing fabfile (gnabber)

--HG--
branch : trunk

15 years agotip is now 2.1-dev
Armin Ronacher [Thu, 17 Jul 2008 21:34:44 +0000 (23:34 +0200)]
tip is now 2.1-dev

--HG--
branch : trunk

15 years agotagged '2.0'
Armin Ronacher [Thu, 17 Jul 2008 21:33:10 +0000 (23:33 +0200)]
tagged '2.0'

--HG--
branch : trunk

15 years agopreparing the big 2.0 release 2.0
Armin Ronacher [Thu, 17 Jul 2008 21:32:00 +0000 (23:32 +0200)]
preparing the big 2.0 release

--HG--
branch : trunk

15 years agomake -> fab
Armin Ronacher [Thu, 17 Jul 2008 21:26:14 +0000 (23:26 +0200)]
make -> fab

--HG--
branch : trunk

15 years agoez_setup is no longer needed/imported in the setup file
Armin Ronacher [Mon, 14 Jul 2008 22:20:16 +0000 (00:20 +0200)]
ez_setup is no longer needed/imported in the setup file

--HG--
branch : trunk

15 years agofixed a few broken license declarations. should have been BSD not GPL
Armin Ronacher [Mon, 14 Jul 2008 22:11:14 +0000 (00:11 +0200)]
fixed a few broken license declarations. should have been BSD not GPL

--HG--
branch : trunk

15 years agoFixed bug in finalizer
Armin Ronacher [Mon, 14 Jul 2008 11:41:46 +0000 (13:41 +0200)]
Fixed bug in finalizer

--HG--
branch : trunk

15 years agoAutomated merge with ssh://team@pocoo.org/jinja2-main
Armin Ronacher [Sat, 12 Jul 2008 05:27:02 +0000 (07:27 +0200)]
Automated merge with ssh://team@pocoo.org/jinja2-main

--HG--
branch : trunk

15 years agoAltered filesizeformat to support both MB and MiB, documented `{% filter %}`.
Armin Ronacher [Sat, 12 Jul 2008 00:08:29 +0000 (02:08 +0200)]
Altered filesizeformat to support both MB and MiB, documented `{% filter %}`.

--HG--
branch : trunk

15 years agoAutomated merge with http://dev.pocoo.org/hg/jinja2-main/
Christopher Grebs [Thu, 10 Jul 2008 09:52:37 +0000 (11:52 +0200)]
Automated merge with dev.pocoo.org/hg/jinja2-main/

--HG--
branch : trunk