Commit Graph

304 Commits

Author SHA1 Message Date
Fabien Potencier 0f66b5a0ab bumped version for dev 2010-06-28 21:53:19 +02:00
Fabien Potencier 6886b2ca0b updated CHANGELOG and bumped version to 0.9.8 v0.9.8 2010-06-28 21:43:41 +02:00
Fabien Potencier 2c1eb31021 added a way to translate strings coming from a variable ({% trans var %}) (closes #69) 2010-06-28 15:20:10 +02:00
Fabien Potencier cccaf5583a fixed trans tag when used with the Escaper extension (refs #75) 2010-06-28 14:52:43 +02:00
Fabien Potencier e179192911 fixed default cache umask (closes #76) 2010-06-28 12:39:10 +02:00
Fabien Potencier ad052d8ed2 removed Twig_Template instances from the debug tag output (closes #73) 2010-06-28 12:37:12 +02:00
Fabien Potencier 1698c8834d fixed variable that defines __isset() (closes #71) 2010-06-28 12:24:00 +02:00
Fabien Potencier 178b38940b fixed typo 2010-06-28 12:12:31 +02:00
Fabien Potencier 8da3723a60 moved fixtures directory 2010-06-28 12:04:24 +02:00
fivestar 336c7b1183 [doc] fixed typo in doc 2010-06-25 11:29:37 +02:00
Fabien Potencier 032b503c23 simplified the code a bit 2010-06-24 23:01:49 +02:00
Fabien Potencier e596d2136e fixed set tag when used with a capture (closes #70) 2010-06-16 20:04:39 +02:00
Fabien Potencier 7d641d61f6 fixed type hinting for Twig_Environment::addFilter() method 2010-06-14 13:18:40 +02:00
Fabien Potencier fc0387606c bumped version for development 2010-06-12 18:31:37 +02:00
Fabien Potencier a7a5f1d975 updated CHANGELOG and bumped version to 0.9.7 v0.9.7 2010-06-12 18:26:15 +02:00
Fabien Potencier 300f2b1560 removed Twig_Macro and Twig_Resource as they are not needed anymore 2010-06-12 17:36:03 +02:00
Fabien Potencier 698b522eda made a small refactoring 2010-06-12 17:28:34 +02:00
Fabien Potencier 2ce6b27fe4 changed the default value of strict_variables to false 2010-06-12 16:47:14 +02:00
Fabien Potencier 57f2853320 removed getName() method in Twig_Template 2010-06-12 15:43:36 +02:00
Fabien Potencier cb34e7cb97 made a big performance optimization when strict_variables is not set 2010-06-12 15:22:07 +02:00
Fabien Potencier fcd97c61f0 updated phpdoc 2010-06-12 15:05:37 +02:00
Fabien Potencier c0bd29b82d added some phpdoc 2010-06-12 14:54:30 +02:00
Fabien Potencier dc6806f489 removed PHP 5.3 keyword 2010-06-12 14:09:15 +02:00
Fabien Potencier cc37d83b21 fixed getContext() and getAttribute() when a property value exist but is null (closes #67) 2010-06-12 13:01:26 +02:00
Fabien Potencier a8031fc96a added self variable, simplified macro management, added some more documentation for macros (closes #61) 2010-06-12 11:27:41 +02:00
Fabien Potencier c017a93e77 fixed a bug when a template with a layout is reused more than one time 2010-06-11 12:10:32 +02:00
Fabien Potencier f87df8a2fb fixed escaping for filtered object attributes (closes #59) 2010-06-11 07:20:38 +02:00
Fabien Potencier 40b16eccf8 fixed infinite loop in inheritance (closes #66) 2010-06-11 07:10:43 +02:00
Fabien Potencier fa57407290 fixed \ before classes 2010-06-10 15:37:24 +02:00
Fabien Potencier 1aa60bfdd5 added some helper method to build common nodes more easily (experimental) 2010-06-10 10:51:31 +02:00
Fabien Potencier 7e926fc235 added Twig_Template instance support to the include tag 2010-06-10 10:08:38 +02:00
Fabien Potencier 36c629cc86 updated CHANGELOG 2010-06-09 23:10:09 +02:00
Fabien Potencier 0f51a54fc9 added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? minimum : base %}) 2010-06-09 23:05:45 +02:00
Fabien Potencier 9519a084f1 fixed toXml() method when some nodes are null 2010-06-09 16:03:58 +02:00
Fabien Potencier 8809a1cab1 changed as to = for the set tag and removed the need for as in short-notation of the block tag (closes #54) 2010-06-09 08:20:51 +02:00
Fabien Potencier 89edc52ae4 [doc] updated documentation 2010-06-08 16:48:05 +02:00
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