Commit Graph

611 Commits

Author SHA1 Message Date
Fabien Potencier e8fa22a43b added a recipe 2011-03-11 13:29:40 +01:00
Pascal Borreli bfb8f84a44 [Twig] renamed: phpunit.xml -> phpunit.xml.dist 2011-03-10 16:58:38 -08:00
Fabien Potencier a1c33ec0d3 updated CHANGELOG v1.0.0-RC2 2011-02-21 16:04:18 +01:00
Fabien Potencier 1ac5075879 updated documentation and added a unit test 2011-02-18 16:25:30 +01:00
nikic 01b8c7cfae capturing {% set %} should give Twig_Markup 2011-02-18 16:12:30 +01:00
nikic 49e542b507 remove old code for setting all optimizers 2011-02-18 09:32:29 +01:00
nikic 587063efbf add some more DocComments / type hints 2011-02-18 09:32:28 +01:00
Fabien Potencier c0945a255d added support for macro name in the endmacro tag 2011-02-17 13:36:40 +01:00
nikic c08ed75c18 fix some typos 2011-02-09 06:50:09 +01:00
nikic 8b0d71fb33 swap GetAttr constructor arguments for from .. import macros 2011-02-09 06:48:48 +01:00
Fabien Potencier d479a704c6 fixed typos 2011-02-08 15:39:03 +01:00
Fabien Potencier f9c570e5c3 added a way for template name to be anything 2011-02-06 21:09:23 +01:00
Fabien Potencier bb7e422909 Revert "added the possibility to pass a readable name for templates"
This reverts commit 7a7c23f197.
2011-02-06 21:03:13 +01:00
Fabien Potencier 4501984e5d fixed filter tag 2011-02-05 23:57:22 +01:00
Fabien Potencier 7a7c23f197 added the possibility to pass a readable name for templates 2011-02-04 12:53:35 +01:00
Fabien Potencier 529721d773 fixed wrong usage of loadTemplate() 2011-02-04 12:53:34 +01:00
Martin Hason 46eb49e7e5 fixed functions 2011-02-04 00:55:51 +01:00
Martin Hason a9127329fb fixed test covers 2011-02-04 00:55:51 +01:00
Fabien Potencier d43e346324 fixed __call() 2011-02-04 00:51:34 +01:00
Martin Hason 8adcbd971d make Twig_Error compatible with PHP 5.3.0 > 2011-02-04 00:48:00 +01:00
Fabien Potencier 4e6011d1ac fixes an infinite loop on some Windows configurations 2011-01-31 08:48:35 +01:00
Fabien Potencier 051e6ab829 fixed possible warning 2011-01-27 23:12:35 +01:00
Fabien Potencier 5b6d255a55 fixed the "length" filter for numbers 2011-01-22 09:12:57 +01:00
Fabien Potencier d7ca8375fd made a small tweak 2011-01-17 07:45:12 +01:00
Fabien Potencier f1be27301b added a note about the main advantage of creating an extension 2011-01-16 08:00:40 +01:00
Fabien Potencier 4e62a4d1b4 fixed typo in phpdoc 2011-01-16 07:55:52 +01:00
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