Uwe Tews
5220ca6776
- bugfix {$smarty.section.name.loop} used together with {$smarty.section.name.total} could produce
...
wrong results (forum topic 27041) 3.1.32-dev-35
2017-11-06 04:58:02 +01:00
Uwe Tews
3fc8abeb98
code cleanup and optimizations 3.1.32-dev-34
2017-11-06 01:02:56 +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
812758225c
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
...
version update because of recent commit problems
2017-10-26 06:34:51 +02:00
Uwe Tews
4575a31e62
- deprecate functions Smarty::muteExpectedErrors() and Smarty::unmuteExpectedErrors()
...
as Smarty does no longer use error suppression like @filemtime().
for backward compatibility code is moved from Smarty class to an external class and still can be
called.
2017-10-26 06:00:40 +02:00
Uwe Tews
926ed8714b
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 05:36:13 +02:00
Uwe Tews
f86d251e5b
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 05:27:25 +02:00
Uwe Tews
41621ca35e
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205)
2017-10-26 04:37:31 +02:00
Uwe Tews
a675aaf68e
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3)
2017-10-26 04:37:17 +02:00
Uwe Tews
f3950a45a7
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 )
2017-10-26 04:37:05 +02:00
Uwe Tews
8e9108544a
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 ) (reverted from commit 42a292d56a )
2017-10-26 04:36:41 +02:00
Uwe Tews
4cbc436599
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2)
2017-10-26 04:36:17 +02:00
Uwe Tews
eaac933770
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) (reverted from commit 36c6a72015)
2017-10-26 04:36:08 +02:00
Uwe Tews
36c6a72015
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2)
2017-10-26 04:35:56 +02:00
Uwe Tews
86f36196e2
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3)
2017-10-26 04:19:23 +02:00
Uwe Tews
42a292d56a
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 )
2017-10-26 04:18:28 +02:00
Uwe Tews
1e787d08f1
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 03:38:27 +02:00
Uwe Tews
beaa293eb3
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205)
2017-10-26 03:37:40 +02:00
Uwe Tews
f7a5316205
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-22 03:38:10 +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
b0ea1cb5df
Improve extension handler
2017-10-07 08:20:18 +02:00
Uwe Tews
deb9e12aaa
- bugfix {make_nocache} did display code if the template did not contain other nocache code
...
https://github.com/smarty-php/smarty/issues/369
2017-08-26 16:13:04 +02:00
Uwe Tews
94c2ab7e54
- bugfix templates filepath with multibyte characters did not work
...
https://github.com/smarty-php/smarty/issues/385
2017-08-26 14:56:02 +02:00
Uwe Tews
f90b449d21
- bugfix chained modifier failed when last modifier parameter is a signed value
...
https://github.com/smarty-php/smarty/issues/327
2017-08-26 11:47:41 +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
30526520b6
- cleanup of _getSmartyObj()
2017-08-05 23:08:59 +02:00
Uwe Tews
5cc9b27784
- bugfix wordwrap modifier could fail if used in nocache code.
...
converted plugin file shared.mb_wordwrap.php into modifier.mb_wordwrap.php
2017-08-05 19:59:23 +02:00
Uwe Tews
105651a469
- Call clearstatcache() after mkdir() failure https://github.com/smarty-php/smarty/pull/379
2017-07-31 18:58:41 +02:00
Uwe Tews
bcfea52cbf
- rewrite mkdir() bugfix to retry automatically see https://github.com/smarty-php/smarty/pull/377
...
https://github.com/smarty-php/smarty/pull/379
2017-07-30 05:16:31 +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
Uwe Tews
f3325c4923
Merge pull request #377 from a-shpota/fix-writefile-sysplugin
...
fix 'mkdir(): File exists' error on create directory from parallel processes
2017-07-21 06:46:13 +02:00
Uwe Tews
614ad1f8b9
- security possible PHP code injection on custom resources at display() or fetch()
...
calls if the resource does not sanitize the template name
2017-07-21 05:13:54 +02:00
uwetews
a6f3a518e1
- improvement replace phpversion() by PHP_VERSION constant.
...
https://github.com/smarty-php/smarty/pull/363
2017-05-27 14:37:35 +02:00
uwetews
ea93486135
- bugfix https://github.com/smarty-php/smarty/pull/368 did break the default plugin handler
2017-05-27 12:18:43 +02:00
uwetews
ef889c79e0
- bugfix change compiled code for registered function and modifiers to called as callable to allow closures
...
https://github.com/smarty-php/smarty/pull/368
2017-05-27 11:30:21 +02:00
uwetews
e51b0ac4af
- performance store flag for already required shared plugin functions in static variable or
...
Smarty's $_cache to improve performance when plugins are often called
51e0d5cd40 (commitcomment-22280086)
2017-05-27 11:04:00 +02:00
uwetews
f860f7ce88
- bugfix version 3.1.31 did fail under PHP 5.2
...
https://github.com/smarty-php/smarty/issues/365
2017-05-21 18:19:52 +02:00
uwetews
4fd1f7684e
- bugfix remove deleted files by clear_cache() and clear_compiled_template() from
...
ACP cache if present, add some is_file() checks to avoid possible warnings on filemtime()
caused by above functions.
https://github.com/smarty-php/smarty/issues/341
2017-05-21 16:58:58 +02:00
uwetews
61b59a9ec3
- bugfix remove special treatment of classes implementing ArrayAccess in {foreach}
...
https://github.com/smarty-php/smarty/issues/332
2017-05-21 02:24:48 +02:00
uwetews
f0e215b954
- change properties $accessMap and $obsoleteProperties from private to protected
...
https://github.com/smarty-php/smarty/issues/351
2017-05-19 04:54:49 +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
cfc3f8c424
Merge pull request #322 from simivar/patch-1
...
Fix annotation for addPluginsDir()
2017-04-14 14:52:18 +02:00
uwetews
fd95365bf3
Prepare 3.1.32-dev
2017-04-13 05:17:27 +02:00
simivar
1900ce24a3
Fix annotation for addPluginsDir()
...
Param of [addPluginsDir()](http://www.smarty.net/docs/en/api.add.plugins.dir.tpl ) can be null, array or a string. Fixed annotation so there will be no IDE warnings.
2016-12-29 14:52:35 +01:00