konrad/twig.git
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

14 years agoadded support for method calls with arguments
fabien [Mon, 12 Oct 2009 17:05:12 +0000]
added support for method calls with arguments

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

14 years agoenhanced __toString() method for filters
fabien [Mon, 12 Oct 2009 16:16:14 +0000]
enhanced __toString() method for filters

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

14 years agofixed numbers when one than one decimal
fabien [Mon, 12 Oct 2009 13:18:27 +0000]
fixed numbers when one than one decimal

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

14 years agomade a small optimization to for loop when no else clause exists
fabien [Mon, 12 Oct 2009 12:12:29 +0000]
made a small optimization to for loop when no else clause exists

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

14 years agoadded PEAR information
fabien [Mon, 12 Oct 2009 10:24:04 +0000]
added PEAR information

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

14 years agoadded a PEAR package file
fabien [Mon, 12 Oct 2009 07:05:31 +0000]
added a PEAR package file

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

14 years agoaded CHANGELOG file
fabien [Mon, 12 Oct 2009 07:05:20 +0000]
aded CHANGELOG file

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

14 years agomoved escape filter to core runtime (closes #4)
fabien [Mon, 12 Oct 2009 05:38:32 +0000]
moved escape filter to core runtime (closes #4)

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

14 years agoadded support for multiple directories in the filesystem loader
fabien [Sun, 11 Oct 2009 07:37:41 +0000]
added support for multiple directories in the filesystem loader

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

14 years agofixed class_exists() in Loader which should not triger autoloading (closes #3)
fabien [Sun, 11 Oct 2009 07:31:18 +0000]
fixed class_exists() in Loader which should not triger autoloading (closes #3)

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

14 years agoadded a prefix to the temp directory
fabien [Sat, 10 Oct 2009 13:57:11 +0000]
added a prefix to the temp directory

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

14 years agoadded the path to cache in the doc examples
fabien [Sat, 10 Oct 2009 08:50:14 +0000]
added the path to cache in the doc examples

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

14 years agofixed typo
fabien [Sat, 10 Oct 2009 08:45:01 +0000]
fixed typo

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

14 years agoadded type hinting to render() and display() method
fabien [Sat, 10 Oct 2009 08:21:45 +0000]
added type hinting to render() and display() method

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

14 years agofixed typo
fabien [Sat, 10 Oct 2009 08:01:27 +0000]
fixed typo

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

14 years agofixed typo
fabien [Sat, 10 Oct 2009 07:59:12 +0000]
fixed typo

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

14 years agoadded more documentation about loaders and changed the default value for the cache
fabien [Sat, 10 Oct 2009 07:57:41 +0000]
added more documentation about loaders and changed the default value for the cache

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

14 years agofixed typos
fabien [Fri, 9 Oct 2009 13:43:29 +0000]
fixed typos

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

14 years agofixed lime externals
fabien [Wed, 7 Oct 2009 21:22:00 +0000]
fixed lime externals

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

14 years agoinitial commit
fabien [Wed, 7 Oct 2009 21:21:11 +0000]
initial commit

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

14 years agocreated initial repository structure
root [Wed, 7 Oct 2009 21:08:51 +0000]
created initial repository structure

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