Commit Graph

478 Commits

Author SHA1 Message Date
Fabien Potencier 283fce6b02 bumped version for dev 2010-12-16 09:48:40 +01:00
Fabien Potencier 6182ade6b3 updated CHANGELOG and bumped version to 0.9.10 v0.9.10 2010-12-16 09:47:09 +01:00
Fabien Potencier 9a793744c6 tweaked merge filter 2010-12-16 09:44:10 +01:00
Fabien Potencier 78b104bfc3 added documentation for the merge filter 2010-12-16 09:07:55 +01:00
Fabien Potencier b792382126 added the merge filter 2010-12-16 08:10:41 +01:00
Fabien Potencier 211b61c919 removed the possibility to inject a lexer/parser/compiler in the environment constructor 2010-12-15 13:32:39 +01:00
Fabien Potencier 45cfd21d4c simplified code 2010-12-15 13:31:15 +01:00
Fabien Potencier a855b1898a converted documentation to rst 2010-12-15 12:25:16 +01:00
Fabien Potencier 2e55141431 moved the i18n extension to the Twig Extensions repository 2010-12-15 08:32:25 +01:00
nikic 40f25a420c improve filesystem loader cache and use '/' instead of DIRECTORY_SEPARATOR 2010-12-14 19:26:38 +01:00
Fabien Potencier 2883127af5 simplified code 2010-12-14 17:52:54 +01:00
Fabien Potencier 18b61008fd simplified code 2010-12-14 17:51:44 +01:00
Fabien Potencier f3f72bc455 added an optimizations options to Twig_Environment 2010-12-14 17:30:45 +01:00
Fabien Potencier 9e5b2becf4 made some tweak to the security check for the filesystem loader 2010-12-14 17:24:03 +01:00
nikic a349b24306 allow null filenames 2010-12-14 17:00:29 +01:00
Fabien Potencier 148f82115e removed 'is_escaper' option for filters (a left over from the previous version) 2010-12-14 16:38:11 +01:00
Fabien Potencier 20970419b4 removed support for foo.% which does not make sense 2010-12-14 16:23:56 +01:00
Fabien Potencier 3c01290c66 fixed usage of operators as method names (like is, in, and not) 2010-12-14 15:20:49 +01:00
Fabien Potencier 18a317146b added an optimizer to remove the raw filter 2010-12-14 15:10:53 +01:00
Fabien Potencier 2e08bd705c changed the order of execution for node visitors 2010-12-14 15:09:27 +01:00
Fabien Potencier efdcb8c6f4 fixed security check in filesystem loader 2010-12-14 14:36:45 +01:00
Fabien Potencier 090270a509 added some unit tests for the filesystem loader 2010-12-14 14:28:47 +01:00
Fabien Potencier e0ea4a962a fixed default() filter behavior when used with strict_variables set to on 2010-12-14 14:27:28 +01:00
Fabien Potencier a00f3f5da6 added an exception when trying to outdent too much 2010-12-14 12:54:32 +01:00
Fabien Potencier 28f4cb749e tweaked last commit 2010-12-14 11:50:47 +01:00
Mark Story 339eb082ed Adding Twig_Environment::clearCacheFiles() to clear cache files that twig makes.
Refactoring test cases in previous commit.  Adding more tests for clearing cache files.
Fixes #192
2010-12-14 11:48:33 +01:00
Mark Story d660ec6619 Adding a test case for caching template class to the filesystem. 2010-12-14 11:48:24 +01:00
Fabien Potencier 48ac60e082 fixed filesystem loader compatibility with PHAR files 2010-12-14 11:36:59 +01:00
Fabien Potencier c202b2891f enhanced error messages when an unexpected token is parsed in an expression 2010-12-14 09:47:56 +01:00
Fabien Potencier 9bcf7719d1 tweaked doc 2010-12-14 09:33:11 +01:00
Fabien Potencier 8f33ca7111 fixed filename not being added to syntax error messages 2010-12-14 09:33:11 +01:00
Fabien Potencier 4505200d9f changed array/hashes notation 2010-12-14 09:33:07 +01:00
Fabien Potencier 639163165a fixed typo 2010-12-14 08:18:33 +01:00
Fabien Potencier e9c329e577 fixed phpdoc, tweaked doc 2010-12-14 07:54:51 +01:00
Fabien Potencier 16e4c07865 added a note about how to turn off autoescaping 2010-12-13 18:40:51 +01:00
Fabien Potencier ac0b54c141 removed the 'without loop' attribute for the 'for' tag 2010-12-13 15:59:12 +01:00
Fabien Potencier 8cd9bcb775 enhanced the for-loop optimizer pass 2 (patch from nikic) 2010-12-13 15:46:09 +01:00
Fabien Potencier e0f20a0c4d enhanced the for-loop optimizer (patch from nikic) 2010-12-13 15:20:03 +01:00
Fabien Potencier 991021bf4e removed usage of array_replace 2010-12-13 13:50:59 +01:00
Fabien Potencier ace7aa8138 reverted inadvertently committed code 2010-12-12 14:35:15 +01:00
Fabien Potencier cda18ed947 added the autoescape option to enable/disable autoescaping 2010-12-12 14:34:07 +01:00
nikic 6e1f5f7b54 fix automatic escaping documentation 2010-12-12 07:33:25 +01:00
nikic 4bfa8df5f7 fix comment in Optimizer NodeVisitor 2010-12-12 07:33:22 +01:00
Fabien Potencier 77bec04874 removed the newline after a comment (closes #195) 2010-12-10 07:13:32 +01:00
Fabien Potencier 67452dbe73 made a speed optimization in Lexer 2010-12-03 18:35:29 +01:00
Fabien Potencier e5a8646481 made lexer/parser/compiler lazy-loaded 2010-12-03 18:01:12 +01:00
Fabien Potencier 49799bc3d4 updated documentation on operators 2010-12-03 07:11:43 +01:00
Fabien Potencier 3027568bbb added missing info in CHANGELOG for 0.9.9 2010-12-03 06:56:36 +01:00
Fabien Potencier dc3e1cb62c added a note in the CHANGELOG about how to remove the escaper extension 2010-12-02 16:40:55 +01:00
Fabien Potencier 08bd27f772 added a syntax error exception when parent block is used on a template that does not extend another one 2010-12-02 16:13:54 +01:00