Commit Graph

3984 Commits

Author SHA1 Message Date
Uwe Tews
52ced72361 - bugfix calling a plugin with nocache option but no other attributes like {foo nocache} caused call to undefined function https://github.com/smarty-php/smarty/issues/55 2015-06-18 00:06:40 +02:00
Uwe Tews
58616d6ee5 Release 3.1.25 v3.1.25 2015-06-16 00:23:24 +02:00
Uwe Tews
ec383370cb - optimization of smarty_cachereource_keyvaluestore.php code 2015-06-15 23:39:42 +02:00
Uwe Tews
3bb22560c0 - bugfix an output tag with variable, modifier followed by an operator like {$foo|modifier+1} did fail https://github.com/smarty-php/smarty/issues/53 2015-06-14 04:26:37 +02:00
Uwe Tews
83f3f6d7f1 - bugfix an output tag with variable, modifier followed by an operator like {$foo|modifier+1} did fail https://github.com/smarty-php/smarty/issues/53 2015-06-14 04:23:50 +02:00
Uwe Tews
ecddc1f720 - bugfix a relative sub template path could fail if template_dir path did contain /../ https://github.com/smarty-php/smarty/issues/50
- optimization rework of path normalization
2015-06-14 03:30:31 +02:00
Uwe Tews
e96ee1b5d6 - bugfix a custom cache resource using smarty_cachereource_keyvaluestore.php did fail if php.ini mbstring.func_overload = 2 (forum topic 25568) 2015-06-13 19:39:02 +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
d804454f21 Fix spelling 2015-06-04 02:40:36 +02:00
Uwe Tews
2a1badfebb - bugfix possible error message on unset() while compiling {block} tags https://github.com/smarty-php/smarty/issues/46 2015-06-04 02:39:26 +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
3771ea8d35 Fix comments 2015-05-28 22:31:35 +02:00
Uwe Tews
63b1d343b8 - bugfix {include} with variable file name must not create by default individual cache file (since 3.1.22) https://github.com/smarty-php/smarty/issues/43 2015-05-27 22:24:24 +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
0356b70578 minor fix 2015-05-23 22:40:24 +02:00
Uwe Tews
aa1e554993 Remove redundant code 2015-05-23 22:36:46 +02:00
Uwe Tews
531b298886 Prepare 3.1.25-dev 2015-05-23 19:25:50 +02:00
Uwe Tews
b58771e31b Release 3.1.24 v3.1.24 2015-05-23 19:22:14 +02:00
Uwe Tews
c226fbd3d9 Travis setup does not work for PHP 5.2 for some reason 2015-05-23 19:04:19 +02:00
Uwe Tews
25391749a1 - improvement on php_handling to allow very large PHP sections, better error handling
- improvement allow extreme large comment sections (forum 25538)
2015-05-23 19:03:13 +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
c8ecad0b06 - bugfix named {foreach} comparison like $smarty.foreach.foobar.index > 1 did compile into wrong code https://github.com/smarty-php/smarty/issues/41 2015-05-21 00:59:26 +02:00
Uwe Tews
5d8718f761 - bugfix broken PHP 5.2 compatibility when compiling <?php tags https://github.com/smarty-php/smarty/issues/40 2015-05-21 00:05:16 +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
b8eb8784d4 - bugfix output filter trimwhitespace could run into the pcre.backtrack_limit on large output (code.google issue 220) 2015-05-20 04:26:29 +02:00
Uwe Tews
5468f140fa - bugfix compiler did overwrite existing variable value when setting the nocache attribute https://github.com/smarty-php/smarty/issues/39 2015-05-19 22:47:04 +02:00
Uwe Tews
dcf53ca957 Fix max nesting parameter 2015-05-18 05:39:57 +02:00
Uwe Tews
ed740b967a Removed redundant code 2015-05-18 04:26:46 +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
bef7c55544 {for} should be able to init array elements 2015-05-18 04:00:17 +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
22bccee350 - improvement remove not needed ?><?php transitions from compiled code 2015-05-16 14:17:59 +02:00
Uwe Tews
0bdd805d6b remove code not intended for this version 2015-05-16 13:40:45 +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
9f1061f5bc - bugfix template functions failed when calling the function recursively with function name as tag name https://github.com/smarty-php/smarty/issues/28 2015-05-14 15:13:09 +02:00
Uwe Tews
2db464a6e5 - bugfix template functions failed when calling the function recursively with function name as tag name https://github.com/smarty-php/smarty/issues/28 2015-05-14 15:11:38 +02:00
Uwe Tews
8ee805632d - bugfix in Smarty_Security 'nl2br' should be a trusted modifier, not PHP function (code.google issue 223) 2015-05-13 20:17:02 +02:00
Uwe Tews
dea56a2243 default for $debug_tpl will be set up in Smarty_Internal_Debug 2015-05-13 19:25:05 +02:00
Uwe Tews
e0dbc79204 Debugging - add display of Smarty version 2015-05-13 19:10:06 +02:00
Uwe Tews
a3c89bb4f4 Debugging - truncate output of Origin to 80 characters and increase string values from 40 to 80 characters 2015-05-13 19:03:54 +02:00
Uwe Tews
319e396937 use clean Smarty object to display the debugging console.
Avoid possible promblems when application did overload the Smarty object or properties go modified hardcoded in the class source.
2015-05-13 18:04:29 +02:00
Uwe Tews
3240b5a596 - improvement remove not needed ?><?php transitions from compiled code 2015-05-13 02:09:00 +02:00
Uwe Tews
2b858212b7 - improvement remove not needed ?><?php transitions from compiled code 2015-05-13 02:06:33 +02:00
Uwe Tews
cf5b5c4e1f Disable hhvm test because of a hhvm PHP compatibility problem 2015-05-13 01:50:23 +02:00
Uwe Tews
07c781d9cf - bugfix in nested {foreach} saved item attributes got overwritten https://github.com/smarty-php/smarty/issues/33 2015-05-13 00:33:23 +02:00
Uwe Tews
e4741e9dd7 version update after fixed issues 28 and 29 2015-05-12 20:41:41 +02:00
Uwe Tews
ece0e2241f Log fixes for issue 28 and 29 2015-05-12 20:39:10 +02:00