Commit Graph

178 Commits

Author SHA1 Message Date
Fabien Potencier 11c00dccf3 updated CHANGELOG 2010-01-26 08:18:46 +01:00
Fabien Potencier cd4cde952d fixed Lexer when a template has a big chunk of text between/in a block (due to a limitation of preg_match maximum length of matching - closes #10) 2010-01-26 08:13:46 +01:00
Fabien Potencier fc3a59dd32 fixed typo 2010-01-22 18:50:37 +01:00
fabien 29d16d9940 bumped version for development
git-svn-id: http://svn.twig-project.org/trunk@232 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-20 10:15:36 +00:00
fabien 83041be523 updated CHANGELOG and bumped version
git-svn-id: http://svn.twig-project.org/trunk@228 93ef8e89-cb99-4229-a87c-7fa0fa45744b
v0.9.5
2010-01-20 09:38:50 +00:00
fabien 18933dfbb6 partially reverted the previous commit
git-svn-id: http://svn.twig-project.org/trunk@227 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-14 12:36:32 +00:00
fabien 8099060509 fixed Twig_Token::getTypeAsString (closes #53)
git-svn-id: http://svn.twig-project.org/trunk@226 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-14 12:35:14 +00:00
fabien 6344bf535e change usage of realpath because of some bug with PHP 5.2.4
git-svn-id: http://svn.twig-project.org/trunk@225 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-13 14:43:33 +00:00
fabien 47d5f85c11 added a not in the CHANGELOG about flushing the template cache
git-svn-id: http://svn.twig-project.org/trunk@224 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 16:15:16 +00:00
fabien 2c2b10097b added a getName() method in the default Template abstract class
git-svn-id: http://svn.twig-project.org/trunk@223 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 16:14:59 +00:00
fabien 58c7e55ce4 added a missing accessor in Twig_Node_Set
git-svn-id: http://svn.twig-project.org/trunk@222 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 16:12:44 +00:00
fabien 53ebfec20c fixed Twig_Node_Include
git-svn-id: http://svn.twig-project.org/trunk@221 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 15:26:17 +00:00
fabien 84bf02bbc2 updated CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@220 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 15:20:34 +00:00
fabien 643114be06 fixed Twig_Node_Set
git-svn-id: http://svn.twig-project.org/trunk@219 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 15:01:33 +00:00
fabien 81f4ebea8f added some methods to Twig_Node_Include to allow better introspection
git-svn-id: http://svn.twig-project.org/trunk@218 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 14:59:14 +00:00
fabien 7f9768382f fixed Twig_Node_Expression_Array
git-svn-id: http://svn.twig-project.org/trunk@217 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 14:58:41 +00:00
fabien 83ea0a5eca added the "without loop" option to the for tag (it disables the generation of the loop variable)
git-svn-id: http://svn.twig-project.org/trunk@216 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 13:16:37 +00:00
fabien b8cf67ab51 removed obsolete code in fixtures
git-svn-id: http://svn.twig-project.org/trunk@215 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 13:14:39 +00:00
fabien 62516888f8 moved the nested loop doc into a recipe
git-svn-id: http://svn.twig-project.org/trunk@214 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 12:48:59 +00:00
fabien 7cbc43a10f added an example of a nested loop to demonstrate the usage of loop.parent
git-svn-id: http://svn.twig-project.org/trunk@213 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 15:20:16 +00:00
fabien da5902593f -
git-svn-id: http://svn.twig-project.org/trunk@212 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 15:05:14 +00:00
fabien 7ee1a5d5e5 rewrote the tag section of the documentation
git-svn-id: http://svn.twig-project.org/trunk@211 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 09:11:53 +00:00
fabien a660519473 rewrote the filter sections of the documentation
git-svn-id: http://svn.twig-project.org/trunk@210 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 09:00:16 +00:00
fabien 4af896b9dc updated doc
git-svn-id: http://svn.twig-project.org/trunk@209 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 08:21:18 +00:00
fabien 575ed89d19 added the // operator (like in Jinja2, closes #44)
git-svn-id: http://svn.twig-project.org/trunk@208 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 08:19:36 +00:00
fabien 62184184c6 added a not about using several directories for the filesystem loader
git-svn-id: http://svn.twig-project.org/trunk@207 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-28 20:55:27 +00:00
fabien ca759228e3 made some cleanup
git-svn-id: http://svn.twig-project.org/trunk@206 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 16:38:09 +00:00
fabien d5d902f17c added a not about autoescape and include tags
git-svn-id: http://svn.twig-project.org/trunk@205 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 15:02:02 +00:00
fabien dceb42a327 tweaked a bit the documentation
git-svn-id: http://svn.twig-project.org/trunk@204 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 14:48:42 +00:00
fabien 410a517348 added missing test
git-svn-id: http://svn.twig-project.org/trunk@203 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 14:13:46 +00:00
fabien 76a3098e89 refactored node transformers to node visitors
git-svn-id: http://svn.twig-project.org/trunk@202 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 14:13:28 +00:00
fabien 92d96e2eab refactored node transformers to node visitors
git-svn-id: http://svn.twig-project.org/trunk@201 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 14:13:11 +00:00
fabien e246460930 added __toString() to AutoEscape node class
git-svn-id: http://svn.twig-project.org/trunk@200 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 13:30:41 +00:00
fabien 0cc17d3ce2 added missing getter on GetAttr node class
git-svn-id: http://svn.twig-project.org/trunk@199 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 13:13:47 +00:00
fabien b17948b602 added missing getter on Module node class
git-svn-id: http://svn.twig-project.org/trunk@198 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 13:13:09 +00:00
fabien b14279f07e added missing getter on Block node class
git-svn-id: http://svn.twig-project.org/trunk@197 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 13:12:48 +00:00
fabien 7f6f7bb287 added support for a trailing , when defining arrays
git-svn-id: http://svn.twig-project.org/trunk@196 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 07:35:57 +00:00
fabien 8a9401ca74 removed unneeded call to ucfirst
git-svn-id: http://svn.twig-project.org/trunk@195 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 07:18:45 +00:00
fabien 5f049939ef fixed escaping when getattr nodes are used
git-svn-id: http://svn.twig-project.org/trunk@194 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 07:06:39 +00:00
fabien 490913c103 added a unit test to prove that blocks are escaped
git-svn-id: http://svn.twig-project.org/trunk@193 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 06:47:45 +00:00
fabien 8d1648e5bd fixed error reporting in integration tests
git-svn-id: http://svn.twig-project.org/trunk@192 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 06:44:59 +00:00
fabien 80871d95bc added some tests
git-svn-id: http://svn.twig-project.org/trunk@191 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 14:37:47 +00:00
fabien e2c7b2fadd added a way to specify variables to pass to an included template
git-svn-id: http://svn.twig-project.org/trunk@190 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 08:01:13 +00:00
fabien 7f2c743af2 fixed indentation in the docs
git-svn-id: http://svn.twig-project.org/trunk@189 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:35:23 +00:00
fabien 3259798db6 added some warnings when a section describes Twig 0.9.5
git-svn-id: http://svn.twig-project.org/trunk@188 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:34:06 +00:00
fabien 2deb490a40 made the escaper filter configurable in the Escaper node transformer
git-svn-id: http://svn.twig-project.org/trunk@187 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:21:46 +00:00
fabien 2f0d54d0c9 made auto-escaping more configurable with the new is_escaper option
git-svn-id: http://svn.twig-project.org/trunk@186 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:15:46 +00:00
fabien dfca5a153a fixed typo in a test fixture
git-svn-id: http://svn.twig-project.org/trunk@185 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 06:53:28 +00:00
fabien 5c35e8a0d7 added the floor filter
git-svn-id: http://svn.twig-project.org/trunk@184 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 19:29:23 +00:00
fabien 1357acf979 added operator precedence in the doc
git-svn-id: http://svn.twig-project.org/trunk@183 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 19:23:55 +00:00