Commit Graph

1356 Commits

Author SHA1 Message Date
uwetews
da22c961bb - improvement check if ini_get() and ini_set() not disabled
https://github.com/smarty-php/smarty/pull/362
2017-05-21 02:24:48 +02:00
uwetews
2782e83a92 - new feature The named capture buffers can now be accessed also as array
See NEWS_FEATURES.txt https://github.com/smarty-php/smarty/issues/366
2017-05-21 02:24:48 +02:00
uwetews
5448fecc9d - fix spelling e3eda8a5f5 (commitcomment-21803095) 2017-04-24 18:21:37 +02:00
uwetews
e3eda8a5f5 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347
2017-04-17 05:32:24 +02:00
uwetews
29388b8baa - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347 (reverted from commit cfd8bf32b0)
2017-04-17 05:04:44 +02:00
uwetews
cfd8bf32b0 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347
2017-04-17 03:49:39 +02:00
uwetews
ec9fd99684 Merge pull request #349 from ka7/feature/spelling
spelling fixes
2017-04-14 14:37:18 +02:00
uwetews
00974d74b8 Merge pull request #337 from SvenRtbg/patch-1
Fix typo in @method annotation
2017-04-14 14:33:19 +02:00
uwetews
6d85c715f1 - bugfix array_merge() parameter should be checked https://github.com/smarty-php/smarty/issues/350 2017-04-13 07:15:46 +02:00
klemens
51a0e764e8 spelling fixes 2017-04-08 12:10:39 +02:00
SvenRtbg
697df30d18 Fix typo in @method annotation
It's `setDefaultModifiers()`, not `setDefaultModifier()`
2017-02-14 22:48:26 +01:00
uwetews
27928ece9c - move template object cache into static variables 2016-11-23 17:12:38 +01:00
uwetews
04a2327c75 - change version checking 2016-11-19 18:13:00 +01:00
uwetews
91af9d090a - bugfix inheritance root child templates containing nested {block}{/block} could call sub-bock content from parent
template https://github.com/smarty-php/smarty/issues/317
2016-11-19 07:34:06 +01: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
2d2be8f57f - bugfix template function definitions array has not been cached between Smarty::fetch() and Smarty::display() calls
https://github.com/smarty-php/smarty/issues/301
2016-10-27 05:42:17 +02:00
uwetews
98efe22e02 - improvement/bugfix when Smarty::fetch() is called on a template object the inheritance and tplFunctions property
should be copied to the called template object
2016-10-23 18:48:17 +02:00
uwetews
d79edd2fe0 - improvement/bugfix when Smarty::fetch() is called on a template object the inheritance and tplFunctions property
should be copied to the called template object
2016-10-23 18:34:59 +02:00
uwetews
29cbe10857 - bugfix for compile locking touched timestamp of old compiled file was not restored on compilation error https://github.com/smarty-php/smarty/issues/308 2016-10-21 04:00:07 +02:00
uwetews
6699299767 - bugfix nocache code was not removed in cache file when subtemplate did contain PHP short tags in text but no other
nocache code https://github.com/smarty-php/smarty/issues/300
2016-10-20 00:53:04 +02:00
uwetews
34e5739fc1 - bugfix {make_nocache $var} remove spaces from variable value https://github.com/smarty-php/smarty/issues/304 2016-10-19 20:43:17 +02:00
uwetews
80a024f44e - bugfix {make_nocache $var} did fail when variable value did contain '\' https://github.com/smarty-php/smarty/issues/305 2016-10-19 19:35:58 +02:00
uwetews
f3e0e01266 - bugfix {include} with template names including variable or constants could fail after bugfix from
28.09.2016 https://github.com/smarty-php/smarty/issues/302
2016-10-12 01:02:54 +02:00
uwetews
3c07a28434 - optimization move runtime extension for template functions into Smarty objects 2016-10-08 06:07:14 +02:00
uwetews
caceefc300 use absolute path normalizaion 2016-09-30 04:10:25 +02:00
uwetews
80af6ea2b5 - improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource
https://github.com/smarty-php/smarty/issues/296
2016-09-30 02:30:39 +02:00
uwetews
4de72f1acd - improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource
https://github.com/smarty-php/smarty/issues/296
2016-09-29 04:22:20 +02: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
998c778948 - bugfix the generated code for calling a subtemplate must pass the template resource name in single quotes https://github.com/smarty-php/smarty/issues/299 2016-09-28 04:59:51 +02:00
uwetews
efa18457f2 - temporary fix for https://github.com/smarty-php/smarty/issues/293 main reason still under investigation 2016-09-20 16:06:01 +02:00
uwetews
ec3a00e5ab - improvement new tags {block_parent} {block_child} in template inheritance 2016-09-20 16:00:28 +02:00
uwetews
b8acd7ea17 - bugfix some $smarty special template variables are no longer accessed as real variable.
using them on calls like {if isset($smarty.foo)} or {if empty($smarty.foo)} will fail
    http://www.smarty.net/forums/viewtopic.php?t=26222
2016-09-20 14:21:39 +02:00
uwetews
d9a6938473 - cleanup convert cache resource file method clear into runtime extension 2016-09-19 16:39:19 +02:00
uwetews
a9e7e8881e - optimization clear compiled and cached folder completely on detected version change 2016-09-19 14:59:49 +02:00
uwetews
8835408e0d - improvement make Smarty::clearCompiledTemplate() on custom resource independent from changes of templateId computation 2016-09-15 09:14:56 +02:00
uwetews
cd28347130 - bugfix assigning a variable in if condition by function like {if $value = array_shift($array)} the function got called twice https://github.com/smarty-php/smarty/issues/291 2016-09-15 08:36:12 +02:00
uwetews
58b6472d4f - bugfix function plugins called with assign attribute like {foo assign='bar'} did not output returned content because
because assumption was made that it was assigned to a variable https://github.com/smarty-php/smarty/issues/292
2016-09-15 03:23:04 +02:00
uwetews
424dca6d24 - bugfix assigning a variable in if condition by function like {if $value = array_shift($array)} the function got called twice https://github.com/smarty-php/smarty/issues/291 2016-09-15 02:56:34 +02:00
uwetews
44189a7531 - performance Smarty::configLoad() did load unneeded template source object 2016-09-11 05:41:16 +02:00
uwetews
0a8e47ecb2 - improvement move often used code snippets into methods 2016-09-11 04:35:52 +02:00
uwetews
62099617ae - improvement {foreach} observe {break n} and {continue n} nesting levels when restoring saved $item and $key variables 2016-09-09 22:54:42 +02:00
uwetews
0e942e4821 - bugfix {foreach} must keep the @properties when restoring a saved $item variable as the properties might be used outside {foreach} https://github.com/smarty-php/smarty/issues/267 2016-09-09 19:45:08 +02:00
uwetews
21aa211ddb - bugfix/optimization {foreach} did not execute the {foreachelse} when iterating empty objects https://github.com/smarty-php/smarty/pull/287 2016-09-09 18:43:37 +02:00
uwetews
124b333da2 - bugfix implement wrapper for removed method getConfigVariable() https://github.com/smarty-php/smarty/issues/286 2016-09-08 22:28:06 +02:00
uwetews
bfc1ef8885 - bugfix {capture}{/capture} did add in 3.1.30 unintended additional blank lines https://github.com/smarty-php/smarty/issues/268 2016-09-07 17:43:10 +02:00
uwetews
0429272370 - bugfix when {foreach} was looping over an object the total property like {$item@total} did always return 1 https://github.com/smarty-php/smarty/issues/281 2016-09-07 00:41:31 +02:00
uwetews
e5bbc052b1 - bugfix uppercase TRUE, FALSE and NULL did not work when security was enabled https://github.com/smarty-php/smarty/issues/282 2016-09-07 00:15:44 +02:00
uwetews
e82f966682 - bugfix using nocache like attribute with value true like {plugin nocache=true} did not work https://github.com/smarty-php/smarty/issues/285 2016-09-07 00:06:17 +02:00
uwetews
5580857d9b - bugfix change of 23.08.2016 failed on linux when use_include_path = true 2016-08-26 05:54:11 +02:00