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

16 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

16 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

16 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

16 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

16 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

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

--HG--
branch : trunk

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

--HG--
branch : trunk

16 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

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

--HG--
branch : trunk

16 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

16 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

16 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

16 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

16 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

16 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

16 years agofixed attribute lookup error with old style classes
Christopher Grebs [Thu, 10 Jul 2008 09:52:17 +0000 (11:52 +0200)]
fixed attribute lookup error with old style classes

--HG--
branch : trunk

16 years agoDocumented if-conditional changes.
Armin Ronacher [Fri, 4 Jul 2008 15:00:38 +0000 (17:00 +0200)]
Documented if-conditional changes.

--HG--
branch : trunk

16 years agoFixed a bug with the loop context of a for loop if the iterator passed has a volatile...
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

16 years agoSkip templates with syntax errors on babel extract
Armin Ronacher [Sun, 29 Jun 2008 15:23:04 +0000 (17:23 +0200)]
Skip templates with syntax errors on babel extract

--HG--
branch : trunk

16 years agoFixed release date
Armin Ronacher [Fri, 27 Jun 2008 21:19:09 +0000 (23:19 +0200)]
Fixed release date

--HG--
branch : trunk

16 years agoAdded non-babel output mode to extract_from_ast, integreated jinja2 doctests directly...
Armin Ronacher [Fri, 27 Jun 2008 06:45:19 +0000 (08:45 +0200)]
Added non-babel output mode to extract_from_ast, integreated jinja2 doctests directly into the py.test suite (ugh, that's an ugly hack)

--HG--
branch : trunk

16 years agoFixed a link to the renamed section.
Armin Ronacher [Wed, 25 Jun 2008 18:46:22 +0000 (20:46 +0200)]
Fixed a link to the renamed section.

--HG--
branch : trunk

16 years agoChanged all sentences with occurrences of subscribing to a similar sentence that...
Armin Ronacher [Wed, 25 Jun 2008 18:43:18 +0000 (20:43 +0200)]
Changed all sentences with occurrences of subscribing to a similar sentence that uses the word "subscript".  And the person that comes up with a less confusing verb for the attribute/item lookup method (that is not lookup!!1) gets an extra THANKS entry.

--HG--
branch : trunk

16 years agoadded support for implicit string literal concatenation
Armin Ronacher [Sun, 22 Jun 2008 10:48:37 +0000 (12:48 +0200)]
added support for implicit string literal concatenation

--HG--
branch : trunk

16 years agoFixed some minor glitches.
Armin Ronacher [Fri, 20 Jun 2008 16:47:56 +0000 (18:47 +0200)]
Fixed some minor glitches.

--HG--
branch : trunk

16 years agoDocumented differences of cycling between Django and Jinja2.
Armin Ronacher [Thu, 19 Jun 2008 07:41:56 +0000 (09:41 +0200)]
Documented differences of cycling between Django and Jinja2.

--HG--
branch : trunk

16 years agoAdded `TemplateStream.dump`.
Armin Ronacher [Tue, 17 Jun 2008 09:28:59 +0000 (11:28 +0200)]
Added `TemplateStream.dump`.

--HG--
branch : trunk

16 years agoAdded example extension that uses the stream filtering and added unittests.
Armin Ronacher [Sat, 14 Jun 2008 12:19:47 +0000 (14:19 +0200)]
Added example extension that uses the stream filtering and added unittests.

--HG--
branch : trunk

16 years agoAdded unittests for stream filtering and preprocessing features of extensions.
Armin Ronacher [Sat, 14 Jun 2008 10:44:15 +0000 (12:44 +0200)]
Added unittests for stream filtering and preprocessing features of extensions.

--HG--
branch : trunk

16 years agoadded support for token stream filtering and preprocessing.
Armin Ronacher [Fri, 13 Jun 2008 20:44:01 +0000 (22:44 +0200)]
added support for token stream filtering and preprocessing.

--HG--
branch : trunk

16 years agoFixed a broken unittest and fixed a bug that required multiple tests to be put into...
Armin Ronacher [Thu, 12 Jun 2008 08:30:01 +0000 (10:30 +0200)]
Fixed a broken unittest and fixed a bug that required multiple tests to be put into parentheses for chaning.

--HG--
branch : trunk

16 years agoImproved attribute and item lookup by allowing template designers to express the...
Armin Ronacher [Thu, 12 Jun 2008 06:50:07 +0000 (08:50 +0200)]
Improved attribute and item lookup by allowing template designers to express the priority.  foo.bar checks foo.bar first and then foo['bar'] and the other way round.

--HG--
branch : trunk

16 years agoAutomated merge with ssh://team@pocoo.org/jinja2-main
Armin Ronacher [Mon, 9 Jun 2008 20:19:25 +0000 (22:19 +0200)]
Automated merge with ssh://team@pocoo.org/jinja2-main

--HG--
branch : trunk

16 years agomade speedups c89 compatible.
Armin Ronacher [Mon, 9 Jun 2008 18:23:28 +0000 (20:23 +0200)]
made speedups c89 compatible.

--HG--
branch : trunk

16 years agoAutomated merge with http://dev.pocoo.org/hg/jinja2-main
Benjamin Wiegand [Mon, 9 Jun 2008 17:09:39 +0000 (19:09 +0200)]
Automated merge with dev.pocoo.org/hg/jinja2-main

--HG--
branch : trunk

16 years agofixed error in wordwrap filter
Benjamin Wiegand [Mon, 9 Jun 2008 17:09:34 +0000 (19:09 +0200)]
fixed error in wordwrap filter

--HG--
branch : trunk

16 years agoAdded tag 2.0rc1 for changeset f237ad93b237
Armin Ronacher [Mon, 9 Jun 2008 16:57:44 +0000 (18:57 +0200)]
Added tag 2.0rc1 for changeset f237ad93b237

--HG--
branch : trunk

16 years agountag -.- 2.0rc1
Armin Ronacher [Mon, 9 Jun 2008 16:57:40 +0000 (18:57 +0200)]
untag -.-

--HG--
branch : trunk

16 years agosmall fix for Python 2.4
Armin Ronacher [Mon, 9 Jun 2008 16:54:56 +0000 (18:54 +0200)]
small fix for Python 2.4

--HG--
branch : trunk

16 years agoAdded tag 2.0rc1 for changeset 2dcf0a817634
Armin Ronacher [Mon, 9 Jun 2008 16:49:20 +0000 (18:49 +0200)]
Added tag 2.0rc1 for changeset 2dcf0a817634

--HG--
branch : trunk

16 years agorelease trying #3: fixed typos in description :)
Armin Ronacher [Mon, 9 Jun 2008 16:49:14 +0000 (18:49 +0200)]
release trying #3: fixed typos in description :)

--HG--
branch : trunk

16 years agoAdded tag 2.0rc1 for changeset dd743ad1722d
Armin Ronacher [Mon, 9 Jun 2008 16:46:30 +0000 (18:46 +0200)]
Added tag 2.0rc1 for changeset dd743ad1722d

--HG--
branch : trunk

16 years agountagged 2.0rc1 again and fixed classifier
Armin Ronacher [Mon, 9 Jun 2008 16:46:26 +0000 (18:46 +0200)]
untagged 2.0rc1 again and fixed classifier

--HG--
branch : trunk

16 years agoAdded tag 2.0rc1 for changeset 125cbaa57516
Armin Ronacher [Mon, 9 Jun 2008 16:44:42 +0000 (18:44 +0200)]
Added tag 2.0rc1 for changeset 125cbaa57516

--HG--
branch : trunk

16 years agountagged 1.2
Armin Ronacher [Mon, 9 Jun 2008 16:44:41 +0000 (18:44 +0200)]
untagged 1.2

--HG--
branch : trunk

16 years agoupdated setup file for Jinja2 rc1
Armin Ronacher [Mon, 9 Jun 2008 16:44:05 +0000 (18:44 +0200)]
updated setup file for Jinja2 rc1

--HG--
branch : trunk

16 years agoupdated documentation
Armin Ronacher [Mon, 9 Jun 2008 16:27:19 +0000 (18:27 +0200)]
updated documentation

--HG--
branch : trunk

16 years agodata files are optional now
Armin Ronacher [Wed, 28 May 2008 19:30:14 +0000 (21:30 +0200)]
data files are optional now

--HG--
branch : trunk

16 years agoadded the title case versions of the special constants to jinja.vim
Armin Ronacher [Wed, 28 May 2008 09:27:45 +0000 (11:27 +0200)]
added the title case versions of the special constants to jinja.vim

--HG--
branch : trunk

16 years agosome more documentation updates and minor code cleanups. Additionally True and true...
Armin Ronacher [Wed, 28 May 2008 09:26:59 +0000 (11:26 +0200)]
some more documentation updates and minor code cleanups.  Additionally True and true in the template are the same now, same for false/False and none/None.

--HG--
branch : trunk

16 years agoimproved sandbox and updated setup.py
Armin Ronacher [Mon, 26 May 2008 21:57:07 +0000 (23:57 +0200)]
improved sandbox and updated setup.py

--HG--
branch : trunk

16 years agofixed linking in jinja docs for the intro
Armin Ronacher [Mon, 26 May 2008 11:59:26 +0000 (13:59 +0200)]
fixed linking in jinja docs for the intro

--HG--
branch : trunk

16 years agoadded attr filter
Armin Ronacher [Mon, 26 May 2008 11:35:58 +0000 (13:35 +0200)]
added attr filter

--HG--
branch : trunk

16 years agoitems have a higher priority than attributes now. That's compatible with Jinja1...
Armin Ronacher [Mon, 26 May 2008 10:21:45 +0000 (12:21 +0200)]
items have a higher priority than attributes now.  That's compatible with Jinja1 and Django

--HG--
branch : trunk

16 years agofixed a bug in error reporting and some small documentation updates
Armin Ronacher [Mon, 26 May 2008 10:07:44 +0000 (12:07 +0200)]
fixed a bug in error reporting and some small documentation updates

--HG--
branch : trunk

16 years agoand added genshi to rwbench too. want to see how much the GSOC improves performance :)
Armin Ronacher [Sun, 25 May 2008 18:51:09 +0000 (20:51 +0200)]
and added genshi to rwbench too.  want to see how much the GSOC improves performance :)

--HG--
branch : trunk

16 years agoAutomated merge with ssh://team@pocoo.org/jinja2-main
Armin Ronacher [Sun, 25 May 2008 16:10:22 +0000 (18:10 +0200)]
Automated merge with ssh://team@pocoo.org/jinja2-main

--HG--
branch : trunk

16 years agoupdated FAQ for performance numbers. I guess I should remove that point anyways.
Armin Ronacher [Sun, 25 May 2008 16:10:12 +0000 (18:10 +0200)]
updated FAQ for performance numbers.  I guess I should remove that point anyways.

--HG--
branch : trunk

16 years agoimplemented rwbench for django (uh. that sucks)
Armin Ronacher [Sun, 25 May 2008 10:52:11 +0000 (12:52 +0200)]
implemented rwbench for django (uh. that sucks)

--HG--
branch : trunk

16 years agoeven more tests, fixed severe bug with autoescaping.
Armin Ronacher [Sun, 25 May 2008 09:36:22 +0000 (11:36 +0200)]
even more tests, fixed severe bug with autoescaping.

--HG--
branch : trunk

16 years agoall calls are proxied by context.call now so that we can inject environment and conte...
Armin Ronacher [Sat, 24 May 2008 22:16:51 +0000 (00:16 +0200)]
all calls are proxied by context.call now so that we can inject environment and context as first arguments.  This slows calls down a bit but is a lot more user friendly.  Added first draft of FAQ

--HG--
branch : trunk

16 years agoadded more unittests for various tasks
Armin Ronacher [Sat, 24 May 2008 20:28:52 +0000 (22:28 +0200)]
added more unittests for various tasks

--HG--
branch : trunk

16 years agomore unittests
Armin Ronacher [Sat, 24 May 2008 18:47:29 +0000 (20:47 +0200)]
more unittests

--HG--
branch : trunk

16 years agofixed bug with static unicode strings and auto escaping
Armin Ronacher [Sat, 24 May 2008 17:54:43 +0000 (19:54 +0200)]
fixed bug with static unicode strings and auto escaping

--HG--
branch : trunk

16 years agoadded unittest for Markup and let the markup constructor accept `__html__` objects
Armin Ronacher [Fri, 23 May 2008 21:57:38 +0000 (23:57 +0200)]
added unittest for Markup and let the markup constructor accept `__html__` objects

--HG--
branch : trunk

16 years agoadded two more unittests for inheritance
Armin Ronacher [Fri, 23 May 2008 21:43:45 +0000 (23:43 +0200)]
added two more unittests for inheritance

--HG--
branch : trunk

16 years agomoved environment defaults to jinja2.defaults
Armin Ronacher [Fri, 23 May 2008 21:36:07 +0000 (23:36 +0200)]
moved environment defaults to jinja2.defaults

--HG--
branch : trunk

16 years agoend of line sequence is no configurable
Armin Ronacher [Fri, 23 May 2008 21:18:14 +0000 (23:18 +0200)]
end of line sequence is no configurable

--HG--
branch : trunk

16 years agoEnvironment.lex returns unicode tokens now, even if the input data was a bytestring.
Armin Ronacher [Fri, 23 May 2008 20:26:45 +0000 (22:26 +0200)]
Environment.lex returns unicode tokens now, even if the input data was a bytestring.

--HG--
branch : trunk

16 years agomore unittests and updated documentation for extensions. Fixed bug in optimizer...
Armin Ronacher [Fri, 23 May 2008 20:18:38 +0000 (22:18 +0200)]
more unittests and updated documentation for extensions.  Fixed bug in optimizer that caused blocks to be optimized away under some circumstances.

--HG--
branch : trunk

16 years agoadded loopcontrols extension and added unittests for it
Armin Ronacher [Fri, 23 May 2008 14:37:28 +0000 (16:37 +0200)]
added loopcontrols extension and added unittests for it

--HG--
branch : trunk

16 years agorefactored compiler and improved identifier handling for for-loops
Armin Ronacher [Fri, 23 May 2008 14:12:47 +0000 (16:12 +0200)]
refactored compiler and improved identifier handling for for-loops

--HG--
branch : trunk

16 years agovariables starting with one or more underscores are not exported
Armin Ronacher [Thu, 22 May 2008 22:51:58 +0000 (00:51 +0200)]
variables starting with one or more underscores are not exported

--HG--
branch : trunk

16 years agoAdd Jinja2 Emacs mode, first approximation.
Georg Brandl [Thu, 22 May 2008 21:06:08 +0000 (23:06 +0200)]
Add Jinja2 Emacs mode, first approximation.

--HG--
branch : trunk

16 years agolex includes whitespace now which makes it a lot more useful
Armin Ronacher [Thu, 22 May 2008 19:28:32 +0000 (21:28 +0200)]
lex includes whitespace now which makes it a lot more useful

--HG--
branch : trunk

16 years agocall is now handled like a regular unnamed macro, refactored compiled a bit
Armin Ronacher [Thu, 22 May 2008 18:28:21 +0000 (20:28 +0200)]
call is now handled like a regular unnamed macro, refactored compiled a bit

--HG--
branch : trunk

16 years agofixed babel entry point
Armin Ronacher [Tue, 20 May 2008 15:52:52 +0000 (17:52 +0200)]
fixed babel entry point

--HG--
branch : trunk

16 years agomore thread safety in LRUCache
Armin Ronacher [Mon, 19 May 2008 09:20:41 +0000 (11:20 +0200)]
more thread safety in LRUCache

--HG--
branch : trunk

16 years agoadded unittest for the latest fixed bug
Armin Ronacher [Mon, 19 May 2008 07:28:17 +0000 (09:28 +0200)]
added unittest for the latest fixed bug

--HG--
branch : trunk

16 years agoimproved thread safety of the LRUCache and fixed a bug in for loops
Armin Ronacher [Mon, 19 May 2008 07:25:57 +0000 (09:25 +0200)]
improved thread safety of the LRUCache and fixed a bug in for loops

--HG--
branch : trunk

16 years agotemporary identifiers are prefixed with "t_" now and the _node_setup_finished hack...
Armin Ronacher [Mon, 19 May 2008 06:37:19 +0000 (08:37 +0200)]
temporary identifiers are prefixed with "t_" now and the _node_setup_finished hack went away

--HG--
branch : trunk

16 years agofixed an embarrassing mistake in the documentation
Armin Ronacher [Sun, 18 May 2008 22:23:37 +0000 (00:23 +0200)]
fixed an embarrassing mistake in the documentation

--HG--
branch : trunk

16 years agosome more cleaning up
Armin Ronacher [Sun, 18 May 2008 21:14:14 +0000 (23:14 +0200)]
some more cleaning up

--HG--
branch : trunk

16 years agosome small documentation fixes
Armin Ronacher [Sun, 18 May 2008 18:29:32 +0000 (20:29 +0200)]
some small documentation fixes

--HG--
branch : trunk

16 years agosmall refactoring
Armin Ronacher [Sun, 18 May 2008 18:25:28 +0000 (20:25 +0200)]
small refactoring

--HG--
branch : trunk

16 years agoremoved esection about Jinja semantics as we don't have local aliasing currently
Armin Ronacher [Sat, 17 May 2008 12:17:15 +0000 (14:17 +0200)]
removed esection about Jinja semantics as we don't have local aliasing currently

--HG--
branch : trunk

16 years agoadded `ImmutableSandboxedEnvironment`.
Armin Ronacher [Sat, 17 May 2008 11:55:37 +0000 (13:55 +0200)]
added `ImmutableSandboxedEnvironment`.

--HG--
branch : trunk

16 years agosubscribe doesn't eat up unicode errors any longer
Armin Ronacher [Fri, 16 May 2008 22:34:11 +0000 (00:34 +0200)]
subscribe doesn't eat up unicode errors any longer

--HG--
branch : trunk

16 years agoremoved attribute local aliasing again because that implementation was broken
Armin Ronacher [Fri, 16 May 2008 07:27:51 +0000 (09:27 +0200)]
removed attribute local aliasing again because that implementation was broken

--HG--
branch : trunk

16 years agoimproved exception system. now both name (load name) and filename are passed.
Armin Ronacher [Fri, 16 May 2008 07:11:39 +0000 (09:11 +0200)]
improved exception system.  now both name (load name) and filename are passed.

--HG--
branch : trunk

16 years agoadded disclaimer to rwbench and fixed error reporting for one of the four Output...
Armin Ronacher [Thu, 15 May 2008 22:22:40 +0000 (00:22 +0200)]
added disclaimer to rwbench and fixed error reporting for one of the four Output cases

--HG--
branch : trunk