konrad/twig.git
14 years agoupdated doc
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

14 years agoadded some notices of features only available in 0.9.5
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

14 years agoadded the .. operator as a syntactic sugar for the range filter when the step is 1
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

14 years agoadded another example for the range filter
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

14 years agoadded the range filter
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

14 years agoadded the in operator
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

14 years agoadded tests for the in filter
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

14 years agoadded test for DateTime support in the date filter
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

14 years agoadded the in filter
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

14 years agoadded some missing literals in the doc
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

14 years agoupdated doc to add arrays in the 'Literals' section
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

14 years agoupdated doc to add arrays in the 'Literals' section
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

14 years agoadded __toString() to Node_If
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

14 years agoadded support for arrays (closes #50)
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

14 years agofixed typo (closes #48)
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

14 years agoenhance error messages
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

14 years agoadded __toString() to Node_Set
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

14 years agomade unexpected token exception more verbose
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

14 years agoremoved uneeded file (the set tag is in the core extension by default)
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

14 years agoprepare the 0.9.4 release
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

14 years agoadded missing item in CHANGELOG
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

14 years agoadded support for DateTime instances for the date filter (closes #41)
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

14 years agoadded support for DateTime instances for the date filter (closes #41)
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

14 years agoadded a recipe about sharing objects between the templates and the main application
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

14 years agofixed loop.last when the array only has one item (closes #40)
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

14 years agoremoved the LINE_DELIMITER const and made it possible to insert newlines in tag and...
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

14 years agofixed a bug when a literal '\n' were present in a template text
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

14 years agofixed typo in the tests
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

14 years agofixed typo
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

14 years agorefactored loaders (closes #38)
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

14 years agofixed bug when the filename of a template contains */
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

14 years agoupdated CHANGELOG
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

14 years agoupdated CHANGELOG
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

14 years agomoved template cache configuration to the main Twig_Environment class.
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

14 years agochanged template loading of parent templates to use the memory cache provided by...
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

14 years agomoved getTemplateClass() to Twig_Environment
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

14 years agorenamed getTemplateName to getTemplateClass
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

14 years agosimplified cache management
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

14 years agooptimized template loading as the source code is now never fetched if the cache exist...
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

14 years agoadded setEnvironment to the Twig_LoaderInterface
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

14 years agomade Twig_Loader::getTemplateName() the only method that knows how to create a templa...
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

14 years agofixed output when an error occurs in a template and render() is used (closes #23)
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

14 years agoupdated CHANGELOG
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

14 years agomade a optimization when a loop iterator also implements Countable
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

14 years agomade more changes to use iterator_to_array()
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

14 years agomade a huge optimization for loops (again)
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

14 years agomade a huge optimization for loops (up to 50% faster now)
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

14 years agomade small optimizations to for loops
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

14 years agomade a small optimization when iterating over an Iterator
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

14 years agoadded a tip about dynamic properties
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

14 years agoadded public properties support
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

14 years agoadded support for expression for the set tag
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

14 years agofixed \ usage in a HTML string
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

14 years agoupdated CHANGELOG for 0.9.3-DEV version
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

14 years agoupdated CHANGELOG for 0.9.2
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

14 years agofixed typo
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

14 years agomade the set tag more powerful
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

14 years agoadded a note about the compilation cache
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

14 years agoadded some more information about creating a filter with some arguments
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

14 years agoadded a debug tag
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

14 years agomade Node constructors coherent
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

14 years agoallows macros to have the same kind of logic than the one in regular templates
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

14 years agofixed iterators with non-array values
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

14 years agofixed documentation about using a method call for filters
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

14 years agoadded an exception of a template path does not exist
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

14 years agomade a speed optimization for template inclusion and when including the same template...
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

14 years agochanged the cache extension to .php (closes #15)
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

14 years agofixed unreachable code in filesystem loader skips security exception (closes #17)
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

14 years agoadded a js escaping strategy
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

14 years agoupdated documentation for new features
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

14 years agoadded some tests
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

14 years agoadded support for short block tag
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

14 years agochanged the filter tag to allow chained filters
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

14 years agomade lexer more flexible as you can now change the default delimiters
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

14 years agoadded set tag
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

14 years agofix coding standard
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

14 years agochanged default directory permission when cache dir does not exist (closes #6)
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

14 years agomade a small optimization (closes #12, thanks to tedivm)
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

14 years agoadded parent constructor call in Twig_SyntaxError
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

14 years agoadded macro support
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

14 years agochanged filter first argument to be a Twig_Environment instead of Twig_Template
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

14 years agoremoved old files
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

14 years agoremoved old files
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

14 years agomade Twig_Autoloader::autoload() a static method
fabien [Thu, 15 Oct 2009 06:30:49 +0000]
made Twig_Autoloader::autoload() a static method

git-svn-id: http://svn.twig-project.org/trunk@57 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoavoid writing template file if an error occurs
fabien [Thu, 15 Oct 2009 06:06:17 +0000]
avoid writing template file if an error occurs

git-svn-id: http://svn.twig-project.org/trunk@56 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded $ escaping when outputting raw strings
fabien [Thu, 15 Oct 2009 05:17:37 +0000]
added $ escaping when outputting raw strings

git-svn-id: http://svn.twig-project.org/trunk@55 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoenhanced filesystem loader error when a template is not found
fabien [Thu, 15 Oct 2009 05:17:06 +0000]
enhanced filesystem loader error when a template is not found

git-svn-id: http://svn.twig-project.org/trunk@54 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agofixed empty cache files when the template contains an error (closes #8)
fabien [Wed, 14 Oct 2009 14:25:20 +0000]
fixed empty cache files when the template contains an error (closes #8)

git-svn-id: http://svn.twig-project.org/trunk@53 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agochanged dev version to 0.9.2
fabien [Wed, 14 Oct 2009 14:16:58 +0000]
changed dev version to 0.9.2

git-svn-id: http://svn.twig-project.org/trunk@51 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoupdated the CHANGELOG
fabien [Wed, 14 Oct 2009 08:38:45 +0000]
updated the CHANGELOG

git-svn-id: http://svn.twig-project.org/trunk@48 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agofixed typo
fabien [Wed, 14 Oct 2009 08:31:56 +0000]
fixed typo

git-svn-id: http://svn.twig-project.org/trunk@47 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agochanged PHP 5.2.6 fix (thanks luniki for the idea)
fabien [Wed, 14 Oct 2009 08:30:47 +0000]
changed PHP 5.2.6 fix (thanks luniki for the idea)

git-svn-id: http://svn.twig-project.org/trunk@46 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agochanged dev version
fabien [Wed, 14 Oct 2009 08:24:30 +0000]
changed dev version

git-svn-id: http://svn.twig-project.org/trunk@45 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded a rewind() method to the token stream
fabien [Wed, 14 Oct 2009 08:08:04 +0000]
added a rewind() method to the token stream

git-svn-id: http://svn.twig-project.org/trunk@42 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agofixed look() method, added tests
fabien [Wed, 14 Oct 2009 07:41:24 +0000]
fixed look() method, added tests

git-svn-id: http://svn.twig-project.org/trunk@41 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded the possibility look more than one token in the token stream
fabien [Wed, 14 Oct 2009 06:39:47 +0000]
added the possibility look more than one token in the token stream

git-svn-id: http://svn.twig-project.org/trunk@40 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded a setPaths() method to the filesystem loader
fabien [Wed, 14 Oct 2009 05:12:46 +0000]
added a setPaths() method to the filesystem loader

git-svn-id: http://svn.twig-project.org/trunk@39 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded a getPaths() method to the filesystem loader
fabien [Wed, 14 Oct 2009 05:06:16 +0000]
added a getPaths() method to the filesystem loader

git-svn-id: http://svn.twig-project.org/trunk@38 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agofixed context stack for PHP 5.2.6
fabien [Tue, 13 Oct 2009 17:13:49 +0000]
fixed context stack for PHP 5.2.6

git-svn-id: http://svn.twig-project.org/trunk@37 93ef8e89-cb99-4229-a87c-7fa0fa45744b

14 years agoadded a test for method chain calls
fabien [Mon, 12 Oct 2009 17:10:22 +0000]
added a test for method chain calls

git-svn-id: http://svn.twig-project.org/trunk@36 93ef8e89-cb99-4229-a87c-7fa0fa45744b