Commits
-------
ca3b156 Added Highlighter for Notepad++ to the list
Discussion
----------
Added Highlighter for Notepad++ to the list
Ok I edited it :)
Commits
-------
8fa97bb php5.2 fix
d6fc86a [Tests] Test accessing a public property when \ArrayAccess is implemented
6704227 [ext] made ext consistent with 8ec73cf475228d2b0 [ext] use only read_property handler
Discussion
----------
Alternative fix for 792
This fixes#792 as described in https://github.com/fabpot/Twig/issues/792#issuecomment-7482480
- 228d2b0 removes the *object-to-array convertion* trick, since the bug comes from there, and it doesn't appear to be needed
- 6704227 is the equivalent of aa6b835816 + 8ec73cf475 (this were not needed before because the bug was hidden by the object to array trick: numeric strings and integers are treated equally in arrays keys)
---------------------------------------------------------------------------
by stof at 2012-08-23T10:19:17Z
@arnaud-lb you need to fix the PHP 5.2 support
Commits
-------
46ce339 [ext] fixed php 5.2 ZTS builds
Discussion
----------
[ext] Fixed php 5.2 ZTS builds
In 5.2 zend_hash_apply_with_arguments() and its callback argument do not have a TSRMLS.
Commits
-------
3ca6654 avoid crash when TWIG_GET_ARRAY_ELEMENT returns NULL
3694d4b allow --EXCEPTION-- tests to have a --DATA-- block
Discussion
----------
Fix for #807 (Segmentation fault when exception thrown inside any of ArrayAccess implementation methods)
This fixes#807
Commits
-------
fce92f8 Update doc/templates.rst
Discussion
----------
Update doc/templates.rst
Komodo and Komodo Edit have builtin Twig support since last version (7.1)
Commits
-------
b98fff1 Added missing abs and date_modify functions to the filters toctree
Discussion
----------
Added missing abs and date_modify functions to the filters toctree
Both abs.rst and date_modify.rst were createad, but were not linked on the filters toctree
This code was not only useful for macros but also when you call a method on
a template instance -- this is not recommended/supported but used by the Symfony profiler)
Commits
-------
ee87848 Little typo
c31dd7b The empty test now also checks for empty arrays
Discussion
----------
The empty test now also checks for empty arrays
Little change in the docs to reflect that, as i had to check the source code to see if it worked
Commits
-------
a6f03bd Reverse argument for number_format
Discussion
----------
Reverse argument for number_format
Just a little fix, the doc isn't following twig/php's argument order
Commits
-------
0869d15 fix example autoescape for javascript
Discussion
----------
fix example autoescape for javascript
{% autoescape js %} triggers an exception "An escaping strategy must be a string or a Boolean in .."