Commit Graph

119 Commits

Author SHA1 Message Date
Uwe Tews
0dbace8321 - new feature {parent} = {$smarty.block.parent} {child} = {$smarty.block.child} 2018-03-26 22:35:31 +02:00
Uwe Tews
40ea5d89da - replacement of " by ' 2017-11-20 12:26:48 +01:00
Uwe Tews
96fd914cc1 bugfix rework of newline spacing between tag code and template text.
now again identical with Smarty2 (forum topic 26878)
2017-11-20 04:07:51 +01:00
Uwe Tews
3799714d53 lexer/parser optimization 2017-11-05 20:04:32 +01:00
Uwe Tews
dd9c076dfa - correction of PHPDoc blocks
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews
3d7dece088 - bugfix custom delimiters could fail since modification of version 3.1.32-dev-23
https://github.com/smarty-php/smarty/issues/394
2017-10-21 13:14:14 +02:00
Uwe Tews
e4f41adf5a -bugfix fix implementation of unclosed block tag in double quoted string of 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-18 09:40:38 +02:00
Uwe Tews
6b97d5cdd5 - unclosed block tag in double quted string must throw compiler exception.
https://github.com/smarty-php/smarty/issues/391 https://github.com/smarty-php/smarty/issues/392
2017-10-12 20:15:42 +02:00
Uwe Tews
b271173a2d bugfix $smarty.block.child and $smarty.block.parent could not be used like any
$smarty special variable https://github.com/smarty-php/smarty/issues/393
2017-10-12 08:21:12 +02:00
Uwe Tews
428efa634d - bugfix modification of 9.8.2017 did fail on some recursive
tag nesting. https://github.com/smarty-php/smarty/issues/389
2017-10-07 09:05:54 +02:00
Uwe Tews
6a257a7ad3 - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 12:20:33 +02:00
Uwe Tews
418a1fd443 - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 11:15:33 +02:00
Uwe Tews
5a8d015ef1 - bugfix solve preg_match() hhvm parameter problem https://github.com/smarty-php/smarty/pull/372 2017-07-21 08:12:33 +02:00
uwetews
b745a31a2d fixed spelling chilek commented on c4746e9 2016-11-11 21:17:32 +01:00
uwetews
c4746e9080 - optimization of lexer speed https://github.com/smarty-php/smarty/issues/311 2016-11-07 03:08:11 +01:00
uwetews
5b508b7bf3 - bugfix nocache hash was not removed for <?xml ?> tags in subtemplates https://github.com/smarty-php/smarty/issues/300 2016-09-28 23:39:05 +02:00
uwetews
04301645d6 - bugfix compiling of templates failed when the Smarty delimiter did contain '/' https://github.com/smarty-php/smarty/issues/264 2016-08-05 01:00:51 +02:00
uwetews
0f7f0d87b6 - new tag {make_nocache} read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/110 2016-02-14 02:54:38 +01:00
uwetews
47237eb84f - bugfix wrong precedence on special if conditions like '$foo is ... by $bar' could cause wrong code https://github.com/smarty-php/smarty/issues/178 2016-02-10 03:19:25 +01:00
uwetews
b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
uwetews
7eb56ac5e3 - bugfix plugin names starting with "php" did not compile https://github.com/smarty-php/smarty/issues/147 2015-12-30 22:11:15 +01:00
uwetews
e0fc310b6e -bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum topic 25798) 2015-11-25 21:19:23 +01:00
uwetews
64464e8fbe - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 2015-09-19 19:55:14 +02:00
uwetews
620e52405b - improvement convert template inheritance into runtime processing
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-09-01 01:54:28 +02:00
Uwe Tews
bb3dfc6fdf - bugfix parser did hang on text starting <?something https://github.com/smarty-php/smarty/issues/74 2015-07-25 22:32:10 +02:00
Uwe Tews
9986286af0 - bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64 2015-06-27 16:09:50 +02:00
Uwe Tews
3239a19435 - bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64 2015-06-27 15:35:27 +02:00
Uwe Tews
768b7d1ec5 - bugfix the lexer could hang on very large quoted strings (forum topic 25570) 2015-06-11 23:33:30 +02:00
Uwe Tews
f1e1f56ffe - bugfix using {$foo} as array index like $bar.{$foo} or in double quoted string like "some {$foo} thing" failed https://github.com/smarty-php/smarty/issues/49 2015-06-08 23:54:46 +02:00
Uwe Tews
fa269d418f - bugfix <?xml ... ?> including template variables broken since 3.1.22 https://github.com/smarty-php/smarty/issues/47 2015-06-01 22:26:45 +02:00
Uwe Tews
0434f34bdd - bugfix if condition string 'neq' broken due to a typo https://github.com/smarty-php/smarty/issues/42 2015-05-24 18:37:53 +02:00
Uwe Tews
c9cd39f36f minor bugfix when processing autoliteral { php} tag. Does not effect generated output. 2015-05-23 23:40:02 +02:00
Uwe Tews
ec449734c3 - improvement on php_handling to allow very large PHP sections, better error handling
- improvement allow extreme large comment sections (forum 25538)
2015-05-23 18:56:00 +02:00
Uwe Tews
85e05458c6 - bugfix compiler could run into the pcre.backtrack_limit on larger comment or {php} tag sections (forum 25538) 2015-05-20 05:48:45 +02:00
Uwe Tews
ac99173cea - improvement introduce shortcuts in lexer/parser rules for most frequent terms for higher
compilation speed
2015-05-18 04:12:40 +02:00
Uwe Tews
e3123c0427 - improvement higher compilation speed by modified lexer/parser generator at "smarty/smarty-lexer" 2015-05-16 16:33:50 +02:00
Uwe Tews
d21921de22 - improvement reduce number of lexer tokens on operators and if conditions 2015-05-16 14:47:12 +02:00
Uwe Tews
a74804b061 - bugfix {php}{/php} did work just for single lines https://github.com/smarty-php/smarty/issues/33 2015-05-16 13:33:04 +02:00
Uwe Tews
2b858212b7 - improvement remove not needed ?><?php transitions from compiled code 2015-05-13 02:06:33 +02:00
Uwe Tews
d92714cc7e - optimization move <?php ?> handling from parser to new compiler module 2015-05-06 00:03:26 +02:00
Uwe Tews
2fb5bc6bbe lexer and parser optimizations
up to 30% higher compiling speed depending on template complexity
2014-12-13 23:02:29 +01:00
Uwe Tews
7bd40d2c0b - bugfix variables $null, $true and $false did not work
after the change of 12.11.2014 (forum 25342)
2014-12-09 23:33:11 +01:00
Uwe Tews
0b21213c55 new feature - added support of namespaces to template code 2014-11-12 19:07:00 +01:00
Uwe.Tews@googlemail.com
279bdbd352 - bugfix on $php_handling security and optimization of smarty_internal_parsetree (Thue Kristensen) 2014-10-16 22:53:22 +00:00
Uwe.Tews@googlemail.com
c77cc80a8c - bugfix any tag placed within "<script language=php>" will throw a security exception to close all thinkable holes 2014-10-14 21:45:05 +00:00
Uwe.Tews@googlemail.com
f03fc13bc9 - bugfix change of 08.10.2014 could create E_NOTICE meassage when using "<?php" tags 2014-10-12 15:09:52 +00:00
Uwe.Tews@googlemail.com
6af75db3c3 2014-10-12 14:11:34 +00:00
Uwe.Tews@googlemail.com
6af4441f0e - bugfix security mode of "<script language=php>" must be controlled by $php_handling property (Thue Kristensen) 2014-10-07 22:07:15 +00:00
Uwe.Tews@googlemail.com
071f9af42f anchor BOM regex to front of file 2014-07-16 21:40:57 +00:00
Uwe.Tews@googlemail.com
77292d394a - enhancement remove BOM automatically from template source (topic 25161) 2014-07-16 18:21:25 +00:00