summaryrefslogtreecommitdiff
path: root/lexer/smarty_internal_templatelexer.plex
AgeCommit message (Collapse)AuthorFilesLines
2022-09-27Dropped remaining references to removed PHP-support in Smarty 4 from docs, ↵Simon Wisselink1-1/+0
lexer and security class.
2021-10-13Feature/php8 support (#629)Simon Wisselink1-9/+1
Adds support for PHP8.0, dropping support for PHP7.0 and below. Backwards incompatible changes: - Dropped support for php asp tags in templates (removed from php since php7.0) - Dropped deprecated API calls that where only accessible through SmartyBC - Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is. - Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required - Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants - Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods - Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead. - $smarty->registerResource() no longer accepts an array of callback functions See the changelog for more details. Switched CI from Travis to Github CI.
2018-10-0909.10.2018uwetews1-0/+4
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327 modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491 - bugfix indexed arrays could not be defined "array(...)""
2018-09-18- bugfix large plain text template sections without a Smarty tag > 700kB coulduwetews1-8/+46
could fail in version 3.1.32 and 3.1.33 because PHP preg_match() restrictions https://github.com/smarty-php/smarty/issues/488
2018-08-19- fix PSR-2 coding standards and PHPDoc blocks ↵uwetews1-1/+1
https://github.com/smarty-php/smarty/pull/452 https://github.com/smarty-php/smarty/pull/475 https://github.com/smarty-php/smarty/pull/473 - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
2018-03-28- new feature {parent} = {$smarty.block.parent} {child} = ↵Uwe Tews1-3/+7
{$smarty.block.child}
2017-11-20- replacement of " by 'Uwe Tews1-1/+1
2017-11-20bugfix rework of newline spacing between tag code and template text.Uwe Tews1-1/+1
now again identical with Smarty2 (forum topic 26878)
2017-11-05lexer/parser optimizationUwe Tews1-2/+2
2017-10-21- bugfix custom delimiters could fail since modification of version ↵Uwe Tews1-93/+27
3.1.32-dev-23 https://github.com/smarty-php/smarty/issues/394
2017-10-18-bugfix fix implementation of unclosed block tag in double quoted string of ↵Uwe Tews1-1/+0
12.10.2017 https://github.com/smarty-php/smarty/issues/396 https://github.com/smarty-php/smarty/issues/397 https://github.com/smarty-php/smarty/issues/391 https://github.com/smarty-php/smarty/issues/392
2017-10-12- unclosed block tag in double quted string must throw compiler exception.Uwe Tews1-0/+2
https://github.com/smarty-php/smarty/issues/391 https://github.com/smarty-php/smarty/issues/392
2017-10-12bugfix $smarty.block.child and $smarty.block.parent could not be used like anyUwe Tews1-5/+0
$smarty special variable https://github.com/smarty-php/smarty/issues/393
2017-10-07Improve extension handlerUwe Tews1-231/+275
2017-08-09- improvement repeated delimiter like {{ and }} will be treated as literalUwe Tews1-2/+1
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09- improvement repeated delimiter like {{ and }} will be treated as literalUwe Tews1-0/+8
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09- improvement repeated delimiter like {{ and }} will be treated as literalUwe Tews1-39/+20
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2016-11-11fixed spelling chilek commented on c4746e9uwetews1-5/+5
2016-11-07- optimization of lexer speed https://github.com/smarty-php/smarty/issues/311uwetews1-3/+11
2016-09-28- bugfix nocache hash was not removed for <?xml ?> tags in subtemplates ↵uwetews1-4/+2
https://github.com/smarty-php/smarty/issues/300
2016-08-05- bugfix compiling of templates failed when the Smarty delimiter did contain ↵uwetews1-7/+7
'/' https://github.com/smarty-php/smarty/issues/264
2016-02-14- new tag {make_nocache} read NEW_FEATURES.txt ↵uwetews1-0/+6
https://github.com/smarty-php/smarty/issues/110
2016-02-10- bugfix wrong precedence on special if conditions like '$foo is ... by ↵uwetews1-1/+5
$bar' could cause wrong code https://github.com/smarty-php/smarty/issues/178
2015-12-30- bugfix plugin names starting with "php" did not compile ↵uwetews1-1/+1
https://github.com/smarty-php/smarty/issues/147
2015-11-25-bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum ↵uwetews1-9/+9
topic 25798)
2015-09-01- improvement convert template inheritance into runtime processinguwetews1-129/+26
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-08-06- avoid possible circular object referances caused by parser/lexer objectsUwe Tews1-1/+1
2015-06-27- bugfix resolve naming conflict between custom Smarty delimiter '<%' and ↵Uwe Tews1-1/+6
PHP ASP tags https://github.com/smarty-php/smarty/issues/64
2015-06-27- bugfix resolve naming conflict between custom Smarty delimiter '<%' and ↵Uwe Tews1-4/+4
PHP ASP tags https://github.com/smarty-php/smarty/issues/64
2015-06-08- bugfix using {$foo} as array index like $bar.{$foo} or in double quoted ↵Uwe Tews1-3/+10
string like "some {$foo} thing" failed https://github.com/smarty-php/smarty/issues/49
2015-06-01- bugfix <?xml ... ?> including template variables broken since 3.1.22 ↵Uwe Tews1-1/+7
https://github.com/smarty-php/smarty/issues/47
2015-05-24- bugfix if condition string 'neq' broken due to a typo ↵Uwe Tews1-1/+1
https://github.com/smarty-php/smarty/issues/42
2015-05-23minor bugfix when processing autoliteral { php} tag. Does not effect ↵Uwe Tews1-1/+0
generated output.
2015-05-23- improvement on php_handling to allow very large PHP sections, better error ↵Uwe Tews1-117/+113
handling - improvement allow extreme large comment sections (forum 25538)
2015-05-20- bugfix compiler could run into the pcre.backtrack_limit on larger comment ↵Uwe Tews1-9/+9
or {php} tag sections (forum 25538)
2015-05-18- improvement introduce shortcuts in lexer/parser rules for most frequent ↵Uwe Tews1-164/+88
terms for higher compilation speed
2015-05-16- improvement higher compilation speed by modified lexer/parser generator at ↵Uwe Tews1-23/+25
"smarty/smarty-lexer"
2015-05-16- improvement reduce number of lexer tokens on operators and if conditionsUwe Tews1-88/+10
2015-05-16- bugfix {php}{/php} did work just for single lines ↵Uwe Tews1-4/+4
https://github.com/smarty-php/smarty/issues/33
2015-05-06- optimization move <?php ?> handling from parser to new compiler moduleUwe Tews1-30/+44
2014-12-14add .plex and .y filesUwe Tews1-0/+900
add lexer .plex and parser .y files to distribution for easier version control