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
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
Armin Ronacher [Thu, 2 Apr 2009 12:14:30 +0000 (14:14 +0200)]
Broken overlong line.
--HG--
branch : trunk
Armin Ronacher [Wed, 1 Apr 2009 17:17:31 +0000 (19:17 +0200)]
Added a testcase for the last change.
--HG--
branch : trunk
Armin Ronacher [Wed, 1 Apr 2009 17:16:25 +0000 (19:16 +0200)]
Fixed another bug with line comments
--HG--
branch : trunk
Armin Ronacher [Tue, 31 Mar 2009 21:51:56 +0000 (23:51 +0200)]
Fixed bug in line-based comments with priority.
--HG--
branch : trunk
Armin Ronacher [Mon, 30 Mar 2009 19:00:16 +0000 (21:00 +0200)]
Added support for line-based comments.
--HG--
branch : trunk
Armin Ronacher [Mon, 30 Mar 2009 16:50:49 +0000 (18:50 +0200)]
Added testcase for #335
--HG--
branch : trunk
Armin Ronacher [Wed, 18 Mar 2009 00:01:36 +0000 (01:01 +0100)]
Applied documentation patches by Clemens Hermann.
--HG--
branch : trunk
Armin Ronacher [Tue, 17 Mar 2009 23:59:32 +0000 (00:59 +0100)]
Added testcase for a bug
--HG--
branch : trunk
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
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
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
Armin Ronacher [Thu, 19 Feb 2009 15:11:11 +0000 (16:11 +0100)]
Added proper super() support for scoped blocks.
--HG--
branch : trunk
Armin Ronacher [Thu, 19 Feb 2009 14:56:53 +0000 (15:56 +0100)]
Added support for optional `scoped` modifier to blocks.
--HG--
branch : trunk
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
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
Armin Ronacher [Sun, 8 Feb 2009 10:11:57 +0000 (11:11 +0100)]
Fixed a documenation bug in the cache extension.
--HG--
branch : trunk
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
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
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
Armin Ronacher [Wed, 4 Feb 2009 18:03:40 +0000 (19:03 +0100)]
This fixes #325.
--HG--
branch : trunk
Armin Ronacher [Wed, 4 Feb 2009 18:02:30 +0000 (19:02 +0100)]
This fixes #317.
--HG--
branch : trunk
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
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
Armin Ronacher [Tue, 6 Jan 2009 12:10:58 +0000 (13:10 +0100)]
Fixed inconsistency in LICENSE file.
--HG--
branch : trunk
Armin Ronacher [Mon, 5 Jan 2009 11:16:46 +0000 (12:16 +0100)]
Same thing for extensions.
--HG--
branch : trunk
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
Armin Ronacher [Sun, 4 Jan 2009 13:26:19 +0000 (14:26 +0100)]
Copyright switch to "The Jinja Team".
--HG--
branch : trunk
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
Armin Ronacher [Thu, 25 Dec 2008 17:51:22 +0000 (18:51 +0100)]
Tip is 2.2
--HG--
branch : trunk
Armin Ronacher [Thu, 25 Dec 2008 17:40:47 +0000 (18:40 +0100)]
Added tag 2.1.1 for changeset
744e087d24e9
--HG--
branch : trunk
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
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
Armin Ronacher [Mon, 8 Dec 2008 14:21:26 +0000 (15:21 +0100)]
Fixed a typo
--HG--
branch : trunk
Armin Ronacher [Sun, 23 Nov 2008 14:45:13 +0000 (15:45 +0100)]
tip is now 2.2-dev
--HG--
branch : trunk
Armin Ronacher [Sun, 23 Nov 2008 12:26:31 +0000 (13:26 +0100)]
Added tag 2.1 for changeset
dbf1e3a0b178
--HG--
branch : trunk
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
Armin Ronacher [Sun, 23 Nov 2008 12:09:18 +0000 (13:09 +0100)]
Removed optional speedups extension hack.
--HG--
branch : trunk
Armin Ronacher [Sun, 23 Nov 2008 11:56:13 +0000 (12:56 +0100)]
Untagged 2.1
--HG--
branch : trunk
Armin Ronacher [Sun, 23 Nov 2008 11:55:31 +0000 (12:55 +0100)]
Added tag 2.1 for changeset
1322ed9fffbe
--HG--
branch : trunk
Armin Ronacher [Sun, 23 Nov 2008 11:55:23 +0000 (12:55 +0100)]
Final changes for Jinja 2.1 release
--HG--
branch : trunk
Armin Ronacher [Sun, 16 Nov 2008 23:50:09 +0000 (00:50 +0100)]
Added thanks entry for habbie
--HG--
branch : trunk
Armin Ronacher [Sun, 16 Nov 2008 23:35:30 +0000 (00:35 +0100)]
Fixed an escaping bug in urlize
--HG--
branch : trunk
Armin Ronacher [Sun, 2 Nov 2008 14:58:14 +0000 (15:58 +0100)]
Added support for `Environment.compile_expression`.
--HG--
branch : trunk
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
Armin Ronacher [Thu, 30 Oct 2008 18:48:53 +0000 (19:48 +0100)]
Added a Thanks entry for Cameron Knight.
--HG--
branch : trunk
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
Julien Visinand [Mon, 20 Oct 2008 21:31:04 +0000 (23:31 +0200)]
Added support for variable name translations in django2jinja
--HG--
branch : trunk
Armin Ronacher [Mon, 13 Oct 2008 21:47:51 +0000 (23:47 +0200)]
Implemented and documented "joiner"
--HG--
branch : trunk
Armin Ronacher [Sun, 5 Oct 2008 21:08:58 +0000 (23:08 +0200)]
Various cleanups and added custom cycler.
--HG--
branch : trunk
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
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
Armin Ronacher [Sun, 21 Sep 2008 15:14:11 +0000 (17:14 +0200)]
Added THANKS entry for nosklo
--HG--
branch : trunk
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
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
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
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
Georg Brandl [Fri, 19 Sep 2008 09:55:17 +0000 (09:55 +0000)]
Some typos.
--HG--
branch : trunk
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
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
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
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
Armin Ronacher [Wed, 17 Sep 2008 20:25:04 +0000 (22:25 +0200)]
Fixed FileSystemBytecodeCache.clear
--HG--
branch : trunk
Armin Ronacher [Wed, 17 Sep 2008 19:28:01 +0000 (21:28 +0200)]
Improved bbcache and documented it.
--HG--
branch : trunk
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
Armin Ronacher [Wed, 17 Sep 2008 14:19:46 +0000 (16:19 +0200)]
Added experimental and undocumented bytecode cache support
--HG--
branch : trunk
Armin Ronacher [Wed, 17 Sep 2008 11:57:45 +0000 (13:57 +0200)]
Implemented a sort filter that sorts arbitrary sequences.
--HG--
branch : trunk
Armin Ronacher [Tue, 16 Sep 2008 14:40:48 +0000 (16:40 +0200)]
Nearly complete core django template code coverage.
--HG--
branch : trunk
Armin Ronacher [Tue, 16 Sep 2008 09:02:34 +0000 (11:02 +0200)]
Moved django configuration into the __main__ section
--HG--
branch : trunk
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
Armin Ronacher [Mon, 15 Sep 2008 12:35:01 +0000 (14:35 +0200)]
Fixed a confusing edge case (thanks apollo13)
--HG--
branch : trunk
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
Armin Ronacher [Fri, 12 Sep 2008 21:12:49 +0000 (23:12 +0200)]
Fixed a bug in the subscript operation.
--HG--
branch : trunk
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
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
Armin Ronacher [Mon, 8 Sep 2008 21:57:26 +0000 (23:57 +0200)]
Linked from autoescape to markup
--HG--
branch : trunk
Armin Ronacher [Mon, 8 Sep 2008 21:55:32 +0000 (23:55 +0200)]
Fixed a documentation bug.
--HG--
branch : trunk
Armin Ronacher [Mon, 8 Sep 2008 21:10:47 +0000 (23:10 +0200)]
Fixed a typo
--HG--
branch : trunk
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
Armin Ronacher [Sun, 17 Aug 2008 17:43:22 +0000 (19:43 +0200)]
More work on the ironpython support
--HG--
branch : trunk
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
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
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
Armin Ronacher [Thu, 17 Jul 2008 22:41:37 +0000 (00:41 +0200)]
fixed development status classification
--HG--
branch : trunk
Armin Ronacher [Thu, 17 Jul 2008 21:36:34 +0000 (23:36 +0200)]
added the missing fabfile (gnabber)
--HG--
branch : trunk
Armin Ronacher [Thu, 17 Jul 2008 21:34:44 +0000 (23:34 +0200)]
tip is now 2.1-dev
--HG--
branch : trunk
Armin Ronacher [Thu, 17 Jul 2008 21:33:10 +0000 (23:33 +0200)]
tagged '2.0'
--HG--
branch : trunk
Armin Ronacher [Thu, 17 Jul 2008 21:32:00 +0000 (23:32 +0200)]
preparing the big 2.0 release
--HG--
branch : trunk
Armin Ronacher [Thu, 17 Jul 2008 21:26:14 +0000 (23:26 +0200)]
make -> fab
--HG--
branch : trunk
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
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
Armin Ronacher [Mon, 14 Jul 2008 11:41:46 +0000 (13:41 +0200)]
Fixed bug in finalizer
--HG--
branch : trunk
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
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
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
Christopher Grebs [Thu, 10 Jul 2008 09:52:17 +0000 (11:52 +0200)]
fixed attribute lookup error with old style classes
--HG--
branch : trunk
Armin Ronacher [Fri, 4 Jul 2008 15:00:38 +0000 (17:00 +0200)]
Documented if-conditional changes.
--HG--
branch : trunk
Armin Ronacher [Fri, 4 Jul 2008 14:35:10 +0000 (16:35 +0200)]
Fixed a bug with the loop context of a for loop if the iterator passed has a volatile `__len__` like the listreverseiterator. `else` in inline if-expressions is optional now.
--HG--
branch : trunk
Armin Ronacher [Sun, 29 Jun 2008 15:23:04 +0000 (17:23 +0200)]
Skip templates with syntax errors on babel extract
--HG--
branch : trunk