Fabien Potencier
|
0ca17abc71
|
added a grammar to easily describe a tag syntax with a string
|
2010-06-08 16:31:06 +02:00 |
|
Fabien Potencier
|
3fb36c0fcb
|
moved the unit test bootstrap file to a more obvious place
|
2010-06-08 16:13:00 +02:00 |
|
Fabien Potencier
|
68b966516c
|
made parseArguments autonomous
|
2010-06-08 11:38:55 +02:00 |
|
Fabien Potencier
|
3c22324909
|
made parseArrayExpression autonomous
|
2010-06-08 11:23:30 +02:00 |
|
Fabien Potencier
|
67746ffa6f
|
[doc] added hashes in the Literals paragraph
|
2010-06-08 08:27:18 +02:00 |
|
Fabien Potencier
|
c9257f3ed2
|
[doc] updated tags and filters provided by the Core extension
|
2010-06-07 20:45:51 +02:00 |
|
Fabien Potencier
|
af23c3db0c
|
fixed autoloader
|
2010-06-07 20:16:02 +02:00 |
|
Fabien Potencier
|
3606ad0dcd
|
added some phpdoc for TokenParser classes
|
2010-06-07 19:28:41 +02:00 |
|
Fabien Potencier
|
dc37698ce0
|
changed order of Twig_Node_Expression_GetAttr constructor arguments
|
2010-06-07 14:28:22 +02:00 |
|
Fabien Potencier
|
d47902c7b9
|
fixed the for tag for large arrays (closes #64 - based on an idea from gwilym - aeb56f9f966bd23b77d35c87999be0606dbb3f47)
|
2010-06-07 11:04:23 +02:00 |
|
Fabien Potencier
|
f2bb0aa911
|
made Resource::getAttribute() more generic (WIP)
|
2010-06-07 10:41:15 +02:00 |
|
Fabien Potencier
|
d46517fd32
|
fixed typo in doc (closes #63)
|
2010-06-07 10:12:55 +02:00 |
|
Fabien Potencier
|
b578a1cefa
|
removed PHP 5.3 specific code
|
2010-06-03 12:51:59 +02:00 |
|
Fabien Potencier
|
e84eaba2b5
|
added a toXml() method to Node
|
2010-06-03 09:27:49 +02:00 |
|
Fabien Potencier
|
8b1105b132
|
fixed phpdoc
|
2010-06-03 08:46:00 +02:00 |
|
Fabien Potencier
|
56318ee4a8
|
made a big refactoring of Twig internals (and added a bunch of unit tests and phpdoc, fixes #53)
|
2010-06-03 08:12:58 +02:00 |
|
Fabien Potencier
|
bf31f2f7e0
|
made error messages in tests more explicit about where the error occurred
|
2010-06-01 14:24:56 +02:00 |
|
Fabien Potencier
|
21e5397f3b
|
made error messages in tests more explicit about where the error occurred
|
2010-06-01 13:22:58 +02:00 |
|
Fabien Potencier
|
7f6a11d457
|
fixed typo
|
2010-05-28 13:39:47 +02:00 |
|
Fabien Potencier
|
438bc40c87
|
tweaked an error message
|
2010-05-28 13:39:47 +02:00 |
|
Fabien Potencier
|
78e5c04490
|
tweaked some ::__toString() methods for Node classes
|
2010-05-28 13:39:44 +02:00 |
|
Fabien Potencier
|
a412dfbb9c
|
added bootstrap option to phpunit.xml
|
2010-05-28 08:27:32 +02:00 |
|
Fabien Potencier
|
28bbe6f2de
|
renamed ignore_invalid_vars to strict_variables
|
2010-05-28 07:59:29 +02:00 |
|
Fabien Potencier
|
0ff74caca2
|
[doc] added documentation for the ignore_invalid_variables option
|
2010-05-28 07:32:29 +02:00 |
|
Fabien Potencier
|
92ae9ac854
|
fixed iterator_to_array() usage (closes #57)
|
2010-05-27 18:42:51 +02:00 |
|
Fabien Potencier
|
1847634d0c
|
changed the date filter to support any date format supported by DateTime (closes #56)
|
2010-05-27 18:32:02 +02:00 |
|
Fabien Potencier
|
eee3bc2869
|
[doc] added a paragraph about IDEs support
|
2010-05-27 11:09:08 +02:00 |
|
Fabien Potencier
|
1a539913c0
|
[doc] added git instructions
|
2010-05-27 09:51:04 +02:00 |
|
Fabien Potencier
|
63a52ae7de
|
added ignore_invalid_variables setting to throw an exception when an invalid variable is used in a template
|
2010-05-26 13:56:43 +02:00 |
|
Fabien Potencier
|
c7fbd4307a
|
added the lexer, parser, and compiler as arguments to the Twig_Environment constructor
|
2010-05-26 13:52:49 +02:00 |
|
Fabien Potencier
|
dc80fe13c8
|
changed the cache option to only accepts an explicit path to a cache directory or false
|
2010-05-26 13:34:30 +02:00 |
|
Fabien Potencier
|
2273a33d19
|
fixed typo in phpdoc
|
2010-05-26 13:19:48 +02:00 |
|
Fabien Potencier
|
255f0fb80d
|
added a way to add token parsers, filters, and visitors without creating an extension
|
2010-05-26 11:28:06 +02:00 |
|
Fabien Potencier
|
c4e80ee525
|
added Twig_FilterInterface
|
2010-05-26 11:26:38 +02:00 |
|
Fabien Potencier
|
46ed296f56
|
made some small optimizations
|
2010-05-26 08:02:03 +02:00 |
|
Fabien Potencier
|
6d39e22499
|
added two interfaces: Twig_NodeInterface and Twig_TokenParserInterface
|
2010-05-26 07:49:34 +02:00 |
|
Fabien Potencier
|
d4534e8419
|
changed the generated code to match the new coding standards
|
2010-05-25 18:11:01 +02:00 |
|
Fabien Potencier
|
b63205a6c4
|
fixed sandbox mode (__toString() method check was not enforced if called implicitly from a simple statement like {{ article }})
|
2010-05-25 18:01:55 +02:00 |
|
Fabien Potencier
|
7ab6dbc16b
|
disabled the cache when testing the sandbox
|
2010-05-25 17:58:14 +02:00 |
|
Fabien Potencier
|
7603ef193b
|
changed the grammar for the short-notation of the block tag to be more consistent with other tags
|
2010-05-25 16:43:30 +02:00 |
|
Fabien Potencier
|
32af68d904
|
added the filename when throwing an exception about a non-empty body in a child template
|
2010-05-20 11:30:20 +02:00 |
|
Fabien Potencier
|
a70939d4b8
|
added line number in exception
|
2010-05-20 10:56:56 +02:00 |
|
Fabien Potencier
|
9c253d699b
|
added an exception when a child template has a non-empty body (as it is always ignored when rendering)
|
2010-05-20 10:43:29 +02:00 |
|
Fabien Potencier
|
ac49dcb455
|
fixed some phpdoc
|
2010-05-20 10:42:48 +02:00 |
|
Fabien Potencier
|
bfb861badd
|
bumped version for development
|
2010-05-12 12:06:28 +02:00 |
|
Fabien Potencier
|
2ea01af065
|
updated CHANGELOG and bumped version to 0.9.6
v0.9.6
|
2010-05-12 12:05:37 +02:00 |
|
Fabien Potencier
|
2e1b12bcce
|
fixed variables defined outside a loop and for which the value changes in a for loop (closes #43)
|
2010-05-11 11:54:06 +02:00 |
|
Fabien Potencier
|
29edbed252
|
added the fixture file in error message to ease debugging tests
|
2010-05-11 11:52:25 +02:00 |
|
Fabien Potencier
|
4d8fc51112
|
changed coding standards
|
2010-05-11 10:38:48 +02:00 |
|
Fabien Potencier
|
276a3804c5
|
updated CHANGELOG
|
2010-05-10 19:33:30 +02:00 |
|