This PR was squashed before being merged into the master branch (closes#1158).
Discussion
----------
Don't use array_fill for full array
When last array returned from array_chunk is full, array_fill is called with 0 as num argument, which causes fatal error. Additionally I've changed doc fill parameter, as other types are accepted as well, and added unit test.
Commits
-------
270c794 Don't use array_fill for full array
This PR was merged into the master branch.
Discussion
----------
fixed template_from_string when the template includes or extends other ones
This should fix#1134
Commits
-------
1b5bf91 fixed template_from_string when the template includes or extends other ones
This PR was merged into the master branch.
Discussion
----------
optimized the filesystem loader
* added a cache for templates that do not exist
* sped up Filesystem::exists() by avoiding the creation of exceptions
closes#1096
Commits
-------
d2b97b4 optimized the filesystem loader
This PR was merged into the master branch.
Discussion
----------
Fix issue #1143
Commits
-------
5042159 [ext] access static properties, fixed#1143dfc335f Added test case for issue #1143
This PR was merged into the master branch.
Discussion
----------
Improved macros
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #861, #867, #929, #1052
| License | MIT
| Doc | yes
* Fixed fatal error for unknown macro
* Added support for named arguments for macros
* Added support for directly call macros defined in the same template
Commits
-------
3004ba1 Added support for directly call macros defined in the same template
63615a6 Added support for named arguments for macros
09fedb8 Fixed fatal error for unknown macro
9e96837 Refactored parsing of macros
This PR was squashed before being merged into the master branch (closes#1140).
Discussion
----------
Fix for {% embed %} error line number bug
This deals with issue #958. I've gone into a lot of detail about the fix itself in the commit message for 12cc0a0, so I won't repeat any of that here. Take a look and let me know what you think!
Commits
-------
270b791 Fix for {% embed %} error line number bug
This PR was merged into the master branch.
Discussion
----------
Fix issue #1126
@fabpot Is this way of adding the test case is ok for you?
Commits
-------
2430431Fixed#11264ce9cbf Added test case for issue #1126