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
fabien [Mon, 14 Dec 2009 16:57:54 +0000]
changed the automatic-escaping rules to be more sensible (the documentation lists all the rules)
git-svn-id: http://svn.twig-project.org/trunk@182
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 15:31:17 +0000]
fixed doc
git-svn-id: http://svn.twig-project.org/trunk@181
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 15:29:19 +0000]
improved the filter system to allow object methods to be used as filters
git-svn-id: http://svn.twig-project.org/trunk@180
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 11:04:44 +0000]
rearranged the doc
git-svn-id: http://svn.twig-project.org/trunk@179
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 07:05:06 +0000]
changed the Array and String loaders to actually make use of the cache mechanism
git-svn-id: http://svn.twig-project.org/trunk@178
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 06:56:48 +0000]
added a recipe in the doc about overriding the default filters
git-svn-id: http://svn.twig-project.org/trunk@177
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 14 Dec 2009 06:46:16 +0000]
included the default filter function definitions in the extension class files directly (Core, Escaper)
git-svn-id: http://svn.twig-project.org/trunk@176
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 15:25:48 +0000]
updated doc
git-svn-id: http://svn.twig-project.org/trunk@175
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 15:20:39 +0000]
added some notices of features only available in 0.9.5
git-svn-id: http://svn.twig-project.org/trunk@174
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 15:13:38 +0000]
added the .. operator as a syntactic sugar for the range filter when the step is 1
git-svn-id: http://svn.twig-project.org/trunk@173
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 14:46:07 +0000]
added another example for the range filter
git-svn-id: http://svn.twig-project.org/trunk@172
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 13:26:07 +0000]
added the range filter
git-svn-id: http://svn.twig-project.org/trunk@171
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 13:03:07 +0000]
added the in operator
git-svn-id: http://svn.twig-project.org/trunk@170
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:55:04 +0000]
added tests for the in filter
git-svn-id: http://svn.twig-project.org/trunk@169
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:45:06 +0000]
added test for DateTime support in the date filter
git-svn-id: http://svn.twig-project.org/trunk@168
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:40:43 +0000]
added the in filter
git-svn-id: http://svn.twig-project.org/trunk@167
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:34:04 +0000]
added some missing literals in the doc
git-svn-id: http://svn.twig-project.org/trunk@166
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:30:02 +0000]
updated doc to add arrays in the 'Literals' section
git-svn-id: http://svn.twig-project.org/trunk@165
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:29:34 +0000]
updated doc to add arrays in the 'Literals' section
git-svn-id: http://svn.twig-project.org/trunk@164
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 12:22:53 +0000]
added __toString() to Node_If
git-svn-id: http://svn.twig-project.org/trunk@163
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 10:54:01 +0000]
added support for arrays (closes #50)
git-svn-id: http://svn.twig-project.org/trunk@162
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 10:48:41 +0000]
fixed typo (closes #48)
git-svn-id: http://svn.twig-project.org/trunk@161
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 09:22:04 +0000]
enhance error messages
git-svn-id: http://svn.twig-project.org/trunk@160
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 08:47:28 +0000]
added __toString() to Node_Set
git-svn-id: http://svn.twig-project.org/trunk@159
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 13 Dec 2009 08:12:07 +0000]
made unexpected token exception more verbose
git-svn-id: http://svn.twig-project.org/trunk@158
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 5 Dec 2009 08:49:06 +0000]
removed uneeded file (the set tag is in the core extension by default)
git-svn-id: http://svn.twig-project.org/trunk@157
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 2 Dec 2009 22:06:08 +0000]
prepare the 0.9.4 release
git-svn-id: http://svn.twig-project.org/trunk@153
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 2 Dec 2009 22:04:31 +0000]
added missing item in CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@152
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 2 Dec 2009 21:42:10 +0000]
added support for DateTime instances for the date filter (closes #41)
git-svn-id: http://svn.twig-project.org/trunk@151
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 2 Dec 2009 21:41:57 +0000]
added support for DateTime instances for the date filter (closes #41)
git-svn-id: http://svn.twig-project.org/trunk@150
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 2 Dec 2009 06:22:15 +0000]
added a recipe about sharing objects between the templates and the main application
git-svn-id: http://svn.twig-project.org/trunk@149
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 1 Dec 2009 15:15:03 +0000]
fixed loop.last when the array only has one item (closes #40)
git-svn-id: http://svn.twig-project.org/trunk@148
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 28 Nov 2009 12:51:56 +0000]
removed the LINE_DELIMITER const and made it possible to insert newlines in tag and variable blocks
git-svn-id: http://svn.twig-project.org/trunk@147
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 28 Nov 2009 11:25:56 +0000]
fixed a bug when a literal '\n' were present in a template text
git-svn-id: http://svn.twig-project.org/trunk@146
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 28 Nov 2009 11:03:10 +0000]
fixed typo in the tests
git-svn-id: http://svn.twig-project.org/trunk@145
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 18 Nov 2009 11:25:24 +0000]
fixed typo
git-svn-id: http://svn.twig-project.org/trunk@143
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 16 Nov 2009 15:01:52 +0000]
refactored loaders (closes #38)
git-svn-id: http://svn.twig-project.org/trunk@142
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Mon, 16 Nov 2009 12:36:34 +0000]
fixed bug when the filename of a template contains */
git-svn-id: http://svn.twig-project.org/trunk@141
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 20:37:42 +0000]
updated CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@137
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 17:40:21 +0000]
updated CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@135
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 17:32:47 +0000]
moved template cache configuration to the main Twig_Environment class.
WARNING: This is an API change which is NOT backward compatible.
The loaders do not take the cache and autoReload options anymore.
Instead, the Twig_Environment class has two new options: cache and auto_reload.
Read the updated documentation for more information.
git-svn-id: http://svn.twig-project.org/trunk@134
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 17:26:02 +0000]
changed template loading of parent templates to use the memory cache provided by the environment
git-svn-id: http://svn.twig-project.org/trunk@133
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:57:23 +0000]
moved getTemplateClass() to Twig_Environment
git-svn-id: http://svn.twig-project.org/trunk@132
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:55:35 +0000]
renamed getTemplateName to getTemplateClass
git-svn-id: http://svn.twig-project.org/trunk@131
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:51:39 +0000]
simplified cache management
git-svn-id: http://svn.twig-project.org/trunk@130
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:46:52 +0000]
optimized template loading as the source code is now never fetched if the cache exists and autoreload is false (which should be the case for websites in production)
git-svn-id: http://svn.twig-project.org/trunk@129
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:33:33 +0000]
added setEnvironment to the Twig_LoaderInterface
git-svn-id: http://svn.twig-project.org/trunk@128
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Wed, 11 Nov 2009 16:31:21 +0000]
made Twig_Loader::getTemplateName() the only method that knows how to create a template class name
git-svn-id: http://svn.twig-project.org/trunk@127
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 10 Nov 2009 21:39:18 +0000]
fixed output when an error occurs in a template and render() is used (closes #23)
git-svn-id: http://svn.twig-project.org/trunk@126
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 8 Nov 2009 08:22:44 +0000]
updated CHANGELOG
git-svn-id: http://svn.twig-project.org/trunk@121
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 8 Nov 2009 08:22:36 +0000]
made a optimization when a loop iterator also implements Countable
git-svn-id: http://svn.twig-project.org/trunk@120
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 8 Nov 2009 08:05:13 +0000]
made more changes to use iterator_to_array()
git-svn-id: http://svn.twig-project.org/trunk@119
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 7 Nov 2009 22:18:56 +0000]
made a huge optimization for loops (again)
git-svn-id: http://svn.twig-project.org/trunk@118
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 7 Nov 2009 19:48:10 +0000]
made a huge optimization for loops (up to 50% faster now)
git-svn-id: http://svn.twig-project.org/trunk@117
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 7 Nov 2009 19:11:44 +0000]
made small optimizations to for loops
git-svn-id: http://svn.twig-project.org/trunk@116
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 7 Nov 2009 18:54:37 +0000]
made a small optimization when iterating over an Iterator
git-svn-id: http://svn.twig-project.org/trunk@115
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 5 Nov 2009 17:42:55 +0000]
added a tip about dynamic properties
git-svn-id: http://svn.twig-project.org/trunk@114
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 5 Nov 2009 17:31:02 +0000]
added public properties support
git-svn-id: http://svn.twig-project.org/trunk@113
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 5 Nov 2009 17:18:08 +0000]
added support for expression for the set tag
git-svn-id: http://svn.twig-project.org/trunk@112
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 5 Nov 2009 17:06:00 +0000]
fixed \ usage in a HTML string
git-svn-id: http://svn.twig-project.org/trunk@111
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 29 Oct 2009 20:00:52 +0000]
updated CHANGELOG for 0.9.3-DEV version
git-svn-id: http://svn.twig-project.org/trunk@108
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 29 Oct 2009 19:55:02 +0000]
updated CHANGELOG for 0.9.2
git-svn-id: http://svn.twig-project.org/trunk@105
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 27 Oct 2009 16:33:19 +0000]
fixed typo
git-svn-id: http://svn.twig-project.org/trunk@104
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 27 Oct 2009 16:31:56 +0000]
made the set tag more powerful
git-svn-id: http://svn.twig-project.org/trunk@103
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 27 Oct 2009 13:10:36 +0000]
added a note about the compilation cache
git-svn-id: http://svn.twig-project.org/trunk@102
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 27 Oct 2009 13:05:14 +0000]
added some more information about creating a filter with some arguments
git-svn-id: http://svn.twig-project.org/trunk@101
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 01:56:15 +0000]
added a debug tag
git-svn-id: http://svn.twig-project.org/trunk@90
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 01:47:20 +0000]
made Node constructors coherent
git-svn-id: http://svn.twig-project.org/trunk@89
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 01:30:27 +0000]
allows macros to have the same kind of logic than the one in regular templates
git-svn-id: http://svn.twig-project.org/trunk@88
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 01:29:43 +0000]
fixed iterators with non-array values
git-svn-id: http://svn.twig-project.org/trunk@87
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 00:54:10 +0000]
fixed documentation about using a method call for filters
git-svn-id: http://svn.twig-project.org/trunk@86
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Thu, 22 Oct 2009 00:44:44 +0000]
added an exception of a template path does not exist
git-svn-id: http://svn.twig-project.org/trunk@85
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 20 Oct 2009 12:00:02 +0000]
made a speed optimization for template inclusion and when including the same template over and over again
git-svn-id: http://svn.twig-project.org/trunk@84
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 20 Oct 2009 04:46:30 +0000]
changed the cache extension to .php (closes #15)
git-svn-id: http://svn.twig-project.org/trunk@83
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 20 Oct 2009 04:45:04 +0000]
fixed unreachable code in filesystem loader skips security exception (closes #17)
git-svn-id: http://svn.twig-project.org/trunk@82
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Tue, 20 Oct 2009 04:25:01 +0000]
added a js escaping strategy
git-svn-id: http://svn.twig-project.org/trunk@81
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:53:49 +0000]
updated documentation for new features
git-svn-id: http://svn.twig-project.org/trunk@78
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:53:33 +0000]
added some tests
git-svn-id: http://svn.twig-project.org/trunk@77
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:53:21 +0000]
added support for short block tag
git-svn-id: http://svn.twig-project.org/trunk@76
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:52:37 +0000]
changed the filter tag to allow chained filters
git-svn-id: http://svn.twig-project.org/trunk@75
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:51:34 +0000]
made lexer more flexible as you can now change the default delimiters
git-svn-id: http://svn.twig-project.org/trunk@74
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:50:16 +0000]
added set tag
git-svn-id: http://svn.twig-project.org/trunk@73
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sun, 18 Oct 2009 22:49:31 +0000]
fix coding standard
git-svn-id: http://svn.twig-project.org/trunk@72
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 17 Oct 2009 11:58:25 +0000]
changed default directory permission when cache dir does not exist (closes #6)
git-svn-id: http://svn.twig-project.org/trunk@68
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Sat, 17 Oct 2009 11:56:28 +0000]
made a small optimization (closes #12, thanks to tedivm)
git-svn-id: http://svn.twig-project.org/trunk@67
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 16 Oct 2009 07:53:36 +0000]
added parent constructor call in Twig_SyntaxError
git-svn-id: http://svn.twig-project.org/trunk@66
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 16 Oct 2009 07:51:42 +0000]
added macro support
git-svn-id: http://svn.twig-project.org/trunk@65
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 16 Oct 2009 06:55:35 +0000]
changed filter first argument to be a Twig_Environment instead of Twig_Template
git-svn-id: http://svn.twig-project.org/trunk@64
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 16 Oct 2009 06:24:06 +0000]
removed old files
git-svn-id: http://svn.twig-project.org/trunk@63
93ef8e89-cb99-4229-a87c-
7fa0fa45744b
fabien [Fri, 16 Oct 2009 06:22:43 +0000]
removed old files
git-svn-id: http://svn.twig-project.org/trunk@62
93ef8e89-cb99-4229-a87c-
7fa0fa45744b