Fabien Potencier
fa08e76f09
added a recipe for stateful node visitors
2012-01-07 09:53:33 +01:00
Fabien Potencier
260505129e
added missing phpdoc
2012-01-06 20:35:29 +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
8fb4172a04
fixed unary operators precedence ( closes #583 )
2012-01-06 19:47:50 +01:00
Fabien Potencier
46bd737007
merged branch vicb/doc/use (PR #581 )
...
Commits
-------
28b9b7b [Twig] Add a note about multiple inheritance (use tag)
Discussion
----------
[Twig] Add a note about multiple inheritance (use tag)
To add some visibility to this feature
2012-01-06 12:47:43 +01:00
Victor Berchet
28b9b7ba44
[Twig] Add a note about multiple inheritance (use tag)
2012-01-06 09:22:05 +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
v1.5.1
2012-01-05 15:34:14 +01:00
Fabien Potencier
ee39215cc2
fixed regression in string parsing ( closes #580 )
2012-01-05 15:29:43 +01:00
Fabien Potencier
5fdf6599da
merged branch lenar/patch-1 (PR #578 )
...
Commits
-------
5214794 compiles -> compile
Discussion
----------
compiles -> compile
2012-01-04 15:40:11 +01:00
Lenar Lõhmus
5214794f97
compiles -> compile
2012-01-04 16:26:15 +02:00
Fabien Potencier
aa037c80c4
added a note about the Twig extension DLL for Windows
2012-01-04 15:15:01 +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
v1.5.0
2012-01-04 14:20:58 +01:00
Fabien Potencier
029ebe93c3
fixed doc ( closes #577 )
2012-01-03 21:52:27 +01:00
Fabien Potencier
b626798160
merged branch lyrixx/patch-1 (PR #576 )
...
Commits
-------
7e8df56 Fixed CS
Discussion
----------
Fixed CS
I just fixed the CS in the doc
2012-01-03 21:50:50 +01:00
Grégoire Pineau
7e8df56852
Fixed CS
2012-01-03 18:31:08 +01:00
Fabien Potencier
b44dba5c7c
fixed the join filter when several items have the same key
2012-01-02 15:13:27 +01:00
Fabien Potencier
64e3ce6a11
simplified code
2012-01-02 14:20:16 +01:00
Fabien Potencier
c03458483b
added a unit test
2012-01-02 13:14:06 +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
v1.5.0-RC2
2011-12-30 16:23:51 +01:00
Fabien Potencier
f64d976182
updated doc for the date filter
2011-12-30 09:21:01 +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
bd0807221b
merged branch alefranz/patch-2 (PR #575 )
...
Commits
-------
b295274 fix Date Format filter: DateInterval does not provide setTimezone()
Discussion
----------
fix Date Format filter: DateInterval does not provide setTimezone()
2011-12-30 08:50:36 +01:00
alefranz
b2952743d1
fix Date Format filter: DateInterval does not provide setTimezone()
2011-12-29 19:46:53 +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
a9c53bc3fb
merged branch markstory/number-format (PR #573 )
...
Commits
-------
e3b81ad Add documentation page for number_format.
0edcfdd Add number_format filter.
Discussion
----------
Implement number_format filter
Implement a `number_format` filter that wraps the native PHP `number_format`.
Fixes #417
2011-12-28 20:32:43 +01:00
Mark Story
e3b81ad8cd
Add documentation page for number_format.
2011-12-28 11:18:31 -05:00
Mark Story
0edcfdd28b
Add number_format filter.
...
Refs #417
2011-12-28 10:39:04 -05:00
Fabien Potencier
670d5d7100
fixed Twig_Node_Expression_Array::hasElement()
2011-12-26 22:06:43 +01:00
Fabien Potencier
fb6d5660ab
prepared the 1.5.0-RC1 release
v1.5.0-RC1
2011-12-26 11:40:36 +01:00
Fabien Potencier
5ee53cd550
fixed markup
2011-12-26 11:32:17 +01:00
Fabien Potencier
4b8a0e5e7a
added missing doc for the do tag
2011-12-26 11:21:22 +01:00
Fabien Potencier
a9aeea41d2
fixed typo
2011-12-26 11:17:02 +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
0d48b6d19d
merged branch jeserkin/jeserkin (PR #570 )
...
Commits
-------
fd78ec0 Fixed PhpDoc for Twig_TokenParserInterface and all other TokenParsers
Discussion
----------
Fixed PhpDoc for Twig_TokenParserInterface and all other TokenParsers
2011-12-26 09:08:00 +01:00
Eugene Serkin
fd78ec0bf1
Fixed PhpDoc for Twig_TokenParserInterface and all other TokenParsers
2011-12-26 01:55:03 +02:00
Fabien Potencier
b7de8e40c8
added convenience methods to manipulate an array node
2011-12-25 22:34:12 +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
941ce5b672
merged branch javiereguiluz/add-nl2br-notice (PR #568 )
...
Commits
-------
7194b1a Added a notice in the `nl2br` filter documentation about the proper Twig version to use it
Discussion
----------
Added a notice in the `nl2br` filter documentation ...
... about the proper Twig version to use it (1.5)
2011-12-23 11:29:22 +01:00
Javier Eguíluz
7194b1adaa
Added a notice in the nl2br filter documentation about the proper Twig version to use it
2011-12-23 10:26:49 +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
a555faec40
updated doc
2011-12-22 22:48:48 +01:00
Fabien Potencier
ad0b8f0900
updated CHANGELOG
2011-12-22 22:42:44 +01:00
Fabien Potencier
8665c64634
merged branch arnaud-lb/hash-key-expr (PR #514 )
...
Commits
-------
542e9e7 added getKeyValuePairs() on Twig_Node_Expression_Array
3f64f1d added test for hash keys
4bdb3a9 fixed tests
3b1f269 support any expression as hash key
Discussion
----------
Allow hash keys to be any expression
This allows hash keys to be any expression
---------------------------------------------------------------------------
by fabpot at 2011/12/07 02:08:19 -0800
I had not implemented this feature back then because I'm not sure it makes sense to support it in the context of a templating system. I'm still not convinced that this is useful.
2011-12-22 22:41:37 +01:00
Fabien Potencier
4aba337cda
added a do tag ( closes #446 )
2011-12-22 22:36:35 +01:00