Commit Graph

504 Commits

Author SHA1 Message Date
Fabien Potencier 6de8f8bd43 tweaked error message 2010-12-20 15:05:29 +01:00
Fabien Potencier 8e96487ada changed error messages to be more friendly 2010-12-20 14:48:07 +01:00
Fabien Potencier b1b173f167 converted the cycle filter to a function 2010-12-20 08:46:29 +01:00
Fabien Potencier 47a73476e0 converted the constant filter to a function 2010-12-20 08:43:27 +01:00
Fabien Potencier 8fe302bb3e converted the range filter to a function 2010-12-20 08:36:03 +01:00
Fabien Potencier 508a241179 forced functions to have fn_ as a prefix to avoid name clashes between functions and variables 2010-12-19 22:24:10 +01:00
Fabien Potencier 739bfb2891 fixed doc index 2010-12-19 21:53:00 +01:00
Fabien Potencier 3a6d9e8526 fixed typo 2010-12-19 21:52:54 +01:00
Fabien Potencier dc884c3888 rewrote the advanced chapter and documented globals and functions 2010-12-19 20:11:00 +01:00
Fabien Potencier afa47bd9a4 added global variables 2010-12-19 19:50:03 +01:00
Fabien Potencier 7fc5927721 made macro return their value instead of echoing directly 2010-12-19 19:50:03 +01:00
Fabien Potencier 9d77cf2254 added from tag 2010-12-19 19:50:00 +01:00
Fabien Potencier 1621435b89 added support for functions 2010-12-19 19:48:02 +01:00
Fabien Potencier 5c5e33ee12 fixed typo 2010-12-19 11:43:24 +01:00
Fabien Potencier c66cfa1d6e made macros callable when sandbox mode is enabled 2010-12-18 14:31:15 +01:00
Fabien Potencier f9507d8883 fixed markup 2010-12-18 14:20:48 +01:00
Fabien Potencier fc4fe73f57 added a new recipe 2010-12-18 14:19:40 +01:00
Fabien Potencier e782d41963 fixed if tag documentation 2010-12-18 13:44:51 +01:00
Fabien Potencier eedce6617e added an exception when a macro uses a reserved name 2010-12-18 13:15:34 +01:00
Fabien Potencier 583718ee1a changed default filter to use the empty test 2010-12-18 12:56:44 +01:00
Fabien Potencier 4fbbad44f1 fixed markup in doc 2010-12-18 11:53:59 +01:00
Fabien Potencier 0d424bff0d added the empty test 2010-12-18 11:53:55 +01:00
Fabien Potencier 14341443dd removed the 'items' filter, which has been deprecated a long time ago 2010-12-18 11:21:46 +01:00
nikic dfa0cb91dd some improvements to for tag compiler 2010-12-18 09:04:23 +01:00
Fabien Potencier 3f8fb73083 made a small performance optimization 2010-12-18 08:04:21 +01:00
Fabien Potencier eb51937206 removed n/a strings leftover 2010-12-18 08:02:24 +01:00
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