Fabien Potencier [Thu, 20 May 2010 09:30:20 +0000]
added the filename when throwing an exception about a non-empty body in a child template
Fabien Potencier [Thu, 20 May 2010 08:56:56 +0000]
added line number in exception
Fabien Potencier [Thu, 20 May 2010 08:43:29 +0000]
added an exception when a child template has a non-empty body (as it is always ignored when rendering)
Fabien Potencier [Thu, 20 May 2010 08:42:48 +0000]
fixed some phpdoc
Fabien Potencier [Wed, 12 May 2010 10:06:28 +0000]
bumped version for development
Fabien Potencier [Wed, 12 May 2010 10:05:37 +0000]
updated CHANGELOG and bumped version to 0.9.6
Fabien Potencier [Tue, 11 May 2010 09:54:06 +0000]
fixed variables defined outside a loop and for which the value changes in a for loop (closes #43)
Fabien Potencier [Tue, 11 May 2010 09:52:25 +0000]
added the fixture file in error message to ease debugging tests
Fabien Potencier [Tue, 11 May 2010 08:38:48 +0000]
changed coding standards
Fabien Potencier [Mon, 10 May 2010 17:33:30 +0000]
updated CHANGELOG
Fabien Potencier [Mon, 10 May 2010 17:30:00 +0000]
made the test suite more compatible with old versions of PHPUnit
Fabien Potencier [Mon, 10 May 2010 17:26:49 +0000]
removed \ in the test suite to make it compatible with PHP 5.2
Fabien Potencier [Mon, 10 May 2010 17:25:50 +0000]
removed \ in the test suite to make it compatible with PHP 5.2
Fabien Potencier [Mon, 10 May 2010 15:21:55 +0000]
made a small optimization
Fabien Potencier [Mon, 10 May 2010 10:46:52 +0000]
added support for __call() in expression resolution (closes #2)
The new algorithm for object method resolution is now the following:
* get all methods declared for `$object` using ReflectionObject::getMethods()
* check if `$item` is in the list of method names
* check if `get$item` is in the list of method names
* check if `__call` is defined and pass `$item` as the method name
Fabien Potencier [Thu, 6 May 2010 06:34:23 +0000]
fixed node visiting for macros (macros are now visited by visitors as any other node)
Fabien Potencier [Thu, 6 May 2010 06:21:17 +0000]
fixed Twig_Node_Filter::__toString()
Fabien Potencier [Thu, 6 May 2010 06:14:28 +0000]
fixed Twig_Node_Module::__toString() to include information about blocks and macros
Fabien Potencier [Thu, 6 May 2010 05:52:50 +0000]
removed obsolete usage of setCurrentBlock() (closes #47)
Fabien Potencier [Thu, 29 Apr 2010 05:58:52 +0000]
fixed nested block definitions with a parent call (closes #45)
Fabien Potencier [Wed, 28 Apr 2010 17:51:05 +0000]
added an exception when trying to nest block definitions (closes #45)
Fabien Potencier [Wed, 14 Apr 2010 10:05:33 +0000]
optimized for loop generation
Fabien Potencier [Tue, 13 Apr 2010 09:45:01 +0000]
tweaked For node temporary variable names (closes #42)
Fabien Potencier [Wed, 7 Apr 2010 13:56:38 +0000]
[doc] added a recipe about i18n and xgettext
James Logsdon [Tue, 9 Feb 2010 01:00:17 +0000]
fixed test that referenced a class from another test
Fabien Potencier [Sun, 28 Mar 2010 13:25:15 +0000]
added the cycle filter (closes #26)
Fabien Potencier [Sun, 28 Mar 2010 13:10:36 +0000]
fixed the Lexer when mbstring.func_overload is used with an mbstring.internal_encoding different from ASCII (closes #32)
Fabien Potencier [Sun, 28 Mar 2010 12:28:10 +0000]
added a note about the without loop statement introduced in 0.9.5 (closes #34)
Fabien Potencier [Sun, 28 Mar 2010 12:24:00 +0000]
fixed documentation of the in operator
Fabien Potencier [Sun, 28 Mar 2010 08:12:04 +0000]
fixed doc for the multiply operator which is not able to deal with strings (closes #29)
Fabien Potencier [Sun, 28 Mar 2010 07:49:09 +0000]
added a note about variable resolution and PHP4-style constructors (refs #33)
Fabien Potencier [Thu, 25 Mar 2010 12:29:30 +0000]
updated documentation for the + operator (closes #30)
Fabien Potencier [Thu, 25 Mar 2010 11:09:01 +0000]
added a note about the twig extensions repository in the doc
Fabien Potencier [Thu, 25 Mar 2010 11:03:27 +0000]
fixed doc
Fabien Potencier [Thu, 25 Mar 2010 10:38:43 +0000]
added a long-syntax for the set tag ({% set foo %}...{% endset %}) (closes #25)
Fabien Potencier [Fri, 19 Mar 2010 14:32:39 +0000]
switched to PHPUnit for testing
Fabien Potencier [Fri, 19 Mar 2010 08:17:05 +0000]
added a note about i18n being only available in the latest version of Twig
Fabien Potencier [Fri, 19 Mar 2010 08:15:31 +0000]
changed a title to be more explicit in the documentation
Fabien Potencier [Fri, 19 Mar 2010 08:12:26 +0000]
fixed the plural with a better patch than the previous one (closes #27)
Fabien Potencier [Fri, 19 Mar 2010 08:01:41 +0000]
added count variable whenever the plural is used (closes #27)
Fabien Potencier [Wed, 17 Mar 2010 19:39:34 +0000]
added the i18n extension (closes #23)
Fabien Potencier [Wed, 17 Mar 2010 08:25:14 +0000]
added missing copyright information in some file
Fabien Potencier [Thu, 11 Mar 2010 15:21:04 +0000]
added a note in the documentation about using Twig with Xdebug
Fabien Potencier [Thu, 4 Mar 2010 10:15:13 +0000]
updated CHANGELOG
Fabien Potencier [Thu, 4 Mar 2010 10:08:16 +0000]
added support for escaping strategy in the autoescape tag (closes #19)
Ad van der Veer [Mon, 22 Feb 2010 15:38:17 +0000]
Twig_Extension_Core is registration is hardcoded in to the Environment Extensions array at key 0 while it should be registered at key core as can be seen in the addExtension method
Fabien Potencier [Fri, 19 Feb 2010 17:19:11 +0000]
added an exception when the parser want to move after the EOF, and added a better error when a if tag is not closed properly (closes #12)
Fabien Potencier [Thu, 18 Feb 2010 16:41:48 +0000]
fixed previous commit
Fabien Potencier [Thu, 18 Feb 2010 16:40:16 +0000]
fixed twig_length_filter (closes #14)
Fabien Potencier [Wed, 10 Feb 2010 08:37:09 +0000]
fixed twig_capitalize_string_filter() bug (closes #16)
Fabien Potencier [Tue, 26 Jan 2010 07:18:46 +0000]
updated CHANGELOG
Fabien Potencier [Sun, 24 Jan 2010 12:44:33 +0000]
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)
Fabien Potencier [Fri, 22 Jan 2010 17:50:37 +0000]
fixed typo
fabien [Wed, 20 Jan 2010 10:15:36 +0000]
bumped version for development
git-svn-id: http://svn.twig-project.org/trunk@232
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 20 Jan 2010 09:38:50 +0000]
updated CHANGELOG and bumped version
git-svn-id: http://svn.twig-project.org/trunk@228
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 14 Jan 2010 12:36:32 +0000]
partially reverted the previous commit
git-svn-id: http://svn.twig-project.org/trunk@227
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 14 Jan 2010 12:35:14 +0000]
fixed Twig_Token::getTypeAsString (closes #53)
git-svn-id: http://svn.twig-project.org/trunk@226
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 13 Jan 2010 14:43:33 +0000]
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
fabien [Fri, 8 Jan 2010 16:15:16 +0000]
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
fabien [Fri, 8 Jan 2010 16:14:59 +0000]
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
fabien [Fri, 8 Jan 2010 16:12:44 +0000]
added a missing accessor in Twig_Node_Set
git-svn-id: http://svn.twig-project.org/trunk@222
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 15:26:17 +0000]
fixed Twig_Node_Include
git-svn-id: http://svn.twig-project.org/trunk@221
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 15:20:34 +0000]
updated CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@220
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 15:01:33 +0000]
fixed Twig_Node_Set
git-svn-id: http://svn.twig-project.org/trunk@219
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 14:59:14 +0000]
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
fabien [Fri, 8 Jan 2010 14:58:41 +0000]
fixed Twig_Node_Expression_Array
git-svn-id: http://svn.twig-project.org/trunk@217
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 13:16:37 +0000]
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
fabien [Fri, 8 Jan 2010 13:14:39 +0000]
removed obsolete code in fixtures
git-svn-id: http://svn.twig-project.org/trunk@215
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 8 Jan 2010 12:48:59 +0000]
moved the nested loop doc into a recipe
git-svn-id: http://svn.twig-project.org/trunk@214
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 6 Jan 2010 15:20:16 +0000]
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
fabien [Wed, 6 Jan 2010 15:05:14 +0000]
-
git-svn-id: http://svn.twig-project.org/trunk@212
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 6 Jan 2010 09:11:53 +0000]
rewrote the tag section of the documentation
git-svn-id: http://svn.twig-project.org/trunk@211
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 6 Jan 2010 09:00:16 +0000]
rewrote the filter sections of the documentation
git-svn-id: http://svn.twig-project.org/trunk@210
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 6 Jan 2010 08:21:18 +0000]
updated doc
git-svn-id: http://svn.twig-project.org/trunk@209
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 6 Jan 2010 08:19:36 +0000]
added the // operator (like in Jinja2, closes #44)
git-svn-id: http://svn.twig-project.org/trunk@208
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 28 Dec 2009 20:55:27 +0000]
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
fabien [Tue, 22 Dec 2009 16:38:09 +0000]
made some cleanup
git-svn-id: http://svn.twig-project.org/trunk@206
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 15:02:02 +0000]
added a not about autoescape and include tags
git-svn-id: http://svn.twig-project.org/trunk@205
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 14:48:42 +0000]
tweaked a bit the documentation
git-svn-id: http://svn.twig-project.org/trunk@204
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 14:13:46 +0000]
added missing test
git-svn-id: http://svn.twig-project.org/trunk@203
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 14:13:28 +0000]
refactored node transformers to node visitors
git-svn-id: http://svn.twig-project.org/trunk@202
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 14:13:11 +0000]
refactored node transformers to node visitors
git-svn-id: http://svn.twig-project.org/trunk@201
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 13:30:41 +0000]
added __toString() to AutoEscape node class
git-svn-id: http://svn.twig-project.org/trunk@200
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 13:13:47 +0000]
added missing getter on GetAttr node class
git-svn-id: http://svn.twig-project.org/trunk@199
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 13:13:09 +0000]
added missing getter on Module node class
git-svn-id: http://svn.twig-project.org/trunk@198
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 13:12:48 +0000]
added missing getter on Block node class
git-svn-id: http://svn.twig-project.org/trunk@197
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 07:35:57 +0000]
added support for a trailing , when defining arrays
git-svn-id: http://svn.twig-project.org/trunk@196
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 07:18:45 +0000]
removed unneeded call to ucfirst
git-svn-id: http://svn.twig-project.org/trunk@195
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 07:06:39 +0000]
fixed escaping when getattr nodes are used
git-svn-id: http://svn.twig-project.org/trunk@194
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 22 Dec 2009 06:47:45 +0000]
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
fabien [Tue, 22 Dec 2009 06:44:59 +0000]
fixed error reporting in integration tests
git-svn-id: http://svn.twig-project.org/trunk@192
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 15 Dec 2009 14:37:47 +0000]
added some tests
git-svn-id: http://svn.twig-project.org/trunk@191
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 15 Dec 2009 08:01:13 +0000]
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
fabien [Tue, 15 Dec 2009 07:35:23 +0000]
fixed indentation in the docs
git-svn-id: http://svn.twig-project.org/trunk@189
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 15 Dec 2009 07:34:06 +0000]
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
fabien [Tue, 15 Dec 2009 07:21:46 +0000]
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
fabien [Tue, 15 Dec 2009 07:15:46 +0000]
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
fabien [Tue, 15 Dec 2009 06:53:28 +0000]
fixed typo in a test fixture
git-svn-id: http://svn.twig-project.org/trunk@185
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 19:29:23 +0000]
added the floor filter
git-svn-id: http://svn.twig-project.org/trunk@184
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 19:23:55 +0000]
added operator precedence in the doc
git-svn-id: http://svn.twig-project.org/trunk@183
93ef8e89-cb99-4229-a87c-
7fa0fa45744b