Commit Graph

288 Commits

Author SHA1 Message Date
Fabien Potencier 4578c176e5 added string support for the reverse filter 2012-01-14 08:49:13 +01:00
Fabien Potencier 68fa9c9bb8 fixed the empty test and the length filter for Twig_Markup instances (closes #589) 2012-01-09 20:32:51 +01:00
Fabien Potencier 764829f55a added a date function to ease date comparison (closes #571) 2012-01-06 20:32:26 +01:00
Fabien Potencier c07014a387 updated CHANGELOG 2012-01-06 19:48:27 +01:00
Fabien Potencier e74205e21e bumped version to 1.6.0-DEV 2012-01-05 15:35:20 +01:00
Fabien Potencier 5bba149706 prepared the 1.5.1 release 2012-01-05 15:34:14 +01:00
Fabien Potencier d76d670b54 bumped version to 1.6.0-DEV 2012-01-04 14:31:46 +01:00
Fabien Potencier f6e49636d1 prepared the 1.5.0 release 2012-01-04 14:20:58 +01:00
Fabien Potencier 19ba9c2141 added Traversable objects support for the join filter 2012-01-02 13:10:08 +01:00
Fabien Potencier 956830c7ee prepared the 1.5.0-RC2 release 2011-12-30 16:23:51 +01:00
Fabien Potencier 736dfa84d0 added a way to set the default global date interval format 2011-12-30 09:15:53 +01:00
Fabien Potencier 519b6805b0 refactored date filter code 2011-12-30 08:58:12 +01:00
Fabien Potencier fc85a16886 refactored Twig_Template::display() to ease its extension 2011-12-28 23:05:59 +01:00
Fabien Potencier 88de457774 tweaked previous merge 2011-12-28 20:34:32 +01:00
Fabien Potencier fb6d5660ab prepared the 1.5.0-RC1 release 2011-12-26 11:40:36 +01:00
Fabien Potencier f3de043d0e changed hash key expression support (expression must now be enclosed with parentheses and hash keys can now be names) 2011-12-26 09:35:38 +01:00
Fabien Potencier 591f982b47 Revert "Revert "merged branch arnaud-lb/hash-key-expr (PR #514)""
This reverts commit 99b2c5bf99.
2011-12-24 09:22:35 +01:00
Fabien Potencier 99b2c5bf99 Revert "merged branch arnaud-lb/hash-key-expr (PR #514)"
This reverts commit 8665c64634, reversing
changes made to 4aba337cda.
2011-12-23 08:59:54 +01:00
Fabien Potencier ad0b8f0900 updated CHANGELOG 2011-12-22 22:42:44 +01:00
Fabien Potencier 4aba337cda added a do tag (closes #446) 2011-12-22 22:36:35 +01:00
Fabien Potencier 26453bffcf fixed typo 2011-12-21 20:17:43 +01:00
Fabien Potencier 1d6dfad4f5 added a flush tag 2011-12-21 19:34:14 +01:00
Fabien Potencier 4f19c7a04b added support for dynamically named filters and functions 2011-12-18 20:20:35 +01:00
Fabien Potencier 865a7039f8 added a dump function to help debugging templates 2011-12-18 18:30:06 +01:00
Fabien Potencier 932a4d8d94 added a nl2br filter 2011-12-18 12:36:07 +01:00
Fabien Potencier 89a1519e09 added a random function 2011-12-18 11:27:47 +01:00
Fabien Potencier f8b7441e42 added a way to change the default format for the date filter 2011-12-18 11:12:59 +01:00
Fabien Potencier ae250f6b6f fixed the lexer when an operator ending with a letter ends a line 2011-12-08 09:29:20 +01:00
Fabien Potencier 6e2d7ba1b9 added documentation for the new string interpolation feature 2011-12-07 11:03:00 +01:00
Fabien Potencier 08bda72355 enhanced exceptions for unknown filters, functions, tests, and tags 2011-12-07 09:54:44 +01:00
Fabien Potencier 460ba4d6c7 bumped version to 1.5.0-DEV 2011-12-07 08:11:23 +01:00
Fabien Potencier 0b7d6dfa0c prepared the 1.4.0 release 2011-12-07 08:09:57 +01:00
Fabien Potencier a6f9f9b5e3 added a unit test test for previous merge 2011-12-06 16:54:43 +01:00
Fabien Potencier 6e3a1c4016 added missing preserveKeys argument to the reverse filter 2011-12-03 08:37:53 +01:00
Fabien Potencier c6917a28ef fixed macros containing filter tag calls 2011-12-03 08:16:26 +01:00
Fabien Potencier 7d56687f8e prepared the 1.4.0-RC2 release 2011-11-27 20:32:27 +01:00
Fabien Potencier fa71922a19 tweaked CHANGELOG 2011-11-23 12:21:50 +01:00
Fabien Potencier 7bc07dc132 removed usage of Reflection in Twig_Template::getAttribute() (thanks Pierre Joye for the property tip) 2011-11-21 10:46:19 +01:00
Fabien Potencier fc6819cec2 added support for twig C extension 2011-11-21 09:36:32 +01:00
Fabien Potencier 9d2272efbf fixed previous merge and added some unit tests 2011-11-21 09:04:06 +01:00
Fabien Potencier 2e268ccd9b prepared the 1.4.0-RC1 release 2011-11-20 10:41:28 +01:00
Fabien Potencier 1b32617b97 optimized variable access when using PHP 5.4 2011-11-18 22:31:28 +01:00
Fabien Potencier 10c799fd90 changed the precedence of the .. operator 2011-11-05 08:30:08 +01:00
Fabien Potencier a3fcbd62cb updated CHANGELOG 2011-11-05 08:03:53 +01:00
Fabien Potencier 9117fc1ce0 added Twig_Function_Node to allow more complex functions to have their own Node class 2011-11-01 11:49:04 +01:00
Fabien Potencier 3427adc7ec added Twig_Filter_Node to allow more complex tests to have their own Node class (the default filter has been converted to use this new feature) 2011-11-01 11:48:05 +01:00
Fabien Potencier b1d06ccbc9 added Twig_Test_Node to allow more complex tests to have their own Node class (sameas has been converted as an example) 2011-11-01 08:50:36 +01:00
Fabien Potencier 083d839000 added a better error message when a template is empty but contain a BOM 2011-10-31 18:49:47 +01:00
Fabien Potencier dfdd555b9a fixed in operator for empty strings 2011-10-29 14:50:10 +02:00
Fabien Potencier 29534aada8 fixed the "defined" test and the "default" filter 2011-10-27 18:26:17 +02:00