Fabien Potencier
64f63bef19
removed coupling between Twig_Node and Twig_Template
...
This coupling was bad as Twig_Node should only be useful
during compilation.
So, the Twig_Node_Expression_GetAttr constants have been moved
to Twig_TemplateInterface.
2011-01-16 07:49:01 +01:00
Fabien Potencier
11a8f31c5a
made Twig_Loader_Filesystem more flexible
2011-01-15 12:05:44 +01:00
Fabien Potencier
05f20f88d2
fixed Template::getAttribute() as properties in PHP are case sensitive
2011-01-13 10:35:31 +01:00
Martin Hason
fb4d1c2214
add methods and fix naming of methods in Twig_Error
2011-01-13 09:27:46 +01:00
Fabien Potencier
c20116ee8d
fixed documentation for the sandbox security policy
2011-01-12 10:39:35 +01:00
Fabien Potencier
f44f0cd109
fixed text token with only '0' as content
2011-01-10 19:13:18 +01:00
Fabien Potencier
539e001d0e
added a test for previous commit
2011-01-10 19:09:08 +01:00
Fabien Potencier
ac9e4eec15
fixed the ternary operator
2011-01-10 19:07:04 +01:00
Fabien Potencier
e96ed3f66c
bumped version for dev
2011-01-09 09:56:15 +01:00
Fabien Potencier
b5d97e2c18
updated CHANGELOG and bumped version to 1.0.0-RC1
v1.0.0-RC1
2011-01-09 09:47:02 +01:00
Fabien Potencier
80fec2dc88
removed obsolete note from the doc
2011-01-09 07:47:39 +01:00
Fabien Potencier
34666d408f
fixed typo in the doc
2011-01-08 17:04:16 +01:00
Fabien Potencier
c4b255f304
fixed doc markup
2011-01-08 15:18:32 +01:00
Fabien Potencier
1f7d142351
added callbacks for undefined functions and filters
2011-01-08 15:16:33 +01:00
Fabien Potencier
57d8bf97af
added a way to catch undefined filters (like functions)
2011-01-08 15:13:15 +01:00
Fabien Potencier
6e24ef18db
fixed typo
2011-01-08 14:40:26 +01:00
Fabien Potencier
8837206e4e
removed obsolete note in the doc
2011-01-08 14:38:14 +01:00
nikic
7048606421
fix loader doccomments
2011-01-08 14:34:57 +01:00
Fabien Potencier
8da408339b
fixed a notice in a unit test
2011-01-07 17:28:00 +01:00
Martin Hason
05a12f0820
fix line number in error exceptions
2011-01-07 17:27:17 +01:00
Martin Hason
7e53fbc99e
added support for line number in Twig_Template::getAttribute()
2011-01-07 10:22:59 +01:00
Fabien Potencier
4a08303062
fixed typo
2011-01-06 10:18:19 +01:00
Fabien Potencier
1a278ff1ab
next version will be 1.0.0-RC1
2011-01-06 09:21:52 +01:00
Fabien Potencier
03df6d4da7
fixed typo
2011-01-06 08:51:56 +01:00
Fabien Potencier
957a30af75
added context support for functions and filters
2011-01-06 08:40:49 +01:00
Fabien Potencier
57ff88255e
made temporary variable names predictable
2011-01-06 08:37:18 +01:00
Fabien Potencier
7cb9159e85
optimized filter tag implementation
2011-01-06 08:20:09 +01:00
Fabien Potencier
d2d63bd11b
fixed cache option initialization
2011-01-06 08:03:47 +01:00
Fabien Potencier
dbc5bdbd87
changed cache file names so that they are spread over a directory tree
2011-01-05 20:35:38 +01:00
Fabien Potencier
8054b117b7
added some missing phpdoc
2011-01-04 16:52:04 +01:00
Fabien Potencier
0a82da1d74
removed unneeded wrapping nodes added during parsing
2011-01-03 18:35:07 +01:00
Fabien Potencier
266334042e
removed the grammar and simple token parser code (moved to the Twig Extensions repository)
2011-01-03 12:28:11 +01:00
Fabien Potencier
d2df756df8
added a unit test for previous commit
2011-01-03 08:03:36 +01:00
nikic
1602d9bd52
track brackets nesting in lexer
2011-01-03 07:48:09 +01:00
nikic
27f3155330
add Twig_Compiler type hints
2011-01-02 15:10:22 +01:00
nikic
08a056cf31
fix wrong error message
2011-01-02 11:01:33 +01:00
Fabien Potencier
8fee70e3d1
added some missing phpdoc
2010-12-31 16:50:39 +01:00
Fabien Potencier
3cbcc1f47b
removed references to old Twig versions in the doc
2010-12-31 15:40:16 +01:00
Fabien Potencier
11de78daa3
removed old recipe from the doc as macros do not output their content directly anymore
2010-12-31 15:39:15 +01:00
Fabien Potencier
b012d2ed34
tweaked doc
2010-12-31 12:27:49 +01:00
Fabien Potencier
bd541f618f
fixed optimizer
2010-12-30 21:48:36 +01:00
Leon van der Ree
024b9367eb
improved error messages
2010-12-30 21:23:58 +01:00
Fabien Potencier
4c237b2253
fixed typo
2010-12-30 15:43:58 +01:00
Fabien Potencier
0dfc87a782
updated the CHANGELOG
2010-12-30 15:39:38 +01:00
Fabien Potencier
2e29145533
fixed ternary operator when used for the default filter
2010-12-30 11:58:28 +01:00
Fabien Potencier
1f452f0aba
added a caution about nested hashes in the docs
2010-12-30 11:40:02 +01:00
nikic
8bdf02ad7d
update include doc to use hashes and the current Environment API
2010-12-30 11:26:15 +01:00
Fabien Potencier
dee2656c9d
changed autoescape first argument from on/off to the standard true/false
2010-12-30 11:20:20 +01:00
Fabien Potencier
0177df4f7c
added the possibility to have tags in the global scope (outside blocks) in a child template
2010-12-30 11:20:20 +01:00
Fabien Potencier
98edcd0cb6
replaced {% display foo %} with {{ block('foo') }}
2010-12-30 11:20:20 +01:00