Raimondas Rimkevičius
1b556c7077
Use __DIR__ instead of dirname(__FILE__) ( #817 )
2022-09-27 12:03:34 +02:00
Simon Wisselink
39b69f0142
Feature/php8 support ( #629 )
...
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.
2021-10-13 12:15:17 +02:00
uwetews
4f7cd8f1b3
- reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483
2018-08-31 16:45:09 +02:00
uwetews
799b5cb342
- fix PSR-2 coding standards and PHPDoc blocks 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-08-19 02:35:46 +02:00
Sławomir Kaleta
2404095783
Update PSR-2
2018-06-12 09:58:15 +02:00
Uwe Tews
0dbace8321
- new feature {parent} = {$smarty.block.parent} {child} = {$smarty.block.child}
2018-03-26 22:35:31 +02:00
Uwe Tews
3fc8abeb98
code cleanup and optimizations 3.1.32-dev-34
2017-11-06 01:02:56 +01: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
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
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
uwetews
ec3a00e5ab
- improvement new tags {block_parent} {block_child} in template inheritance
2016-09-20 16:00:28 +02:00
uwetews
d9a6938473
- cleanup convert cache resource file method clear into runtime extension
2016-09-19 16:39:19 +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
31f6afd16e
- update testInstall() https://github.com/smarty-php/smarty/issues/248https://github.com/smarty-php/smarty/issues/248
2016-07-13 00:26:17 +02:00
uwetews
af71fda639
- optimization of capture and security handling
2016-03-11 02:55:55 +01: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
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
c60cdb3e64
- optimization of {assign}, {if} and {while} compiled code
2015-12-31 02:20:47 +01:00
uwetews
c8c82a292a
- PHPdoc updates
2015-12-27 08:12:46 +01:00
uwetews
b0691dd056
- update external methods
2015-12-27 07:18:35 +01:00
uwetews
613e66c257
- optimization replace hhvm extension by inline code
2015-12-25 10:02:10 +01:00
uwetews
fdd20dd4f1
- compile {block} tag code and its processing into classes
2015-12-25 09:10:39 +01:00
uwetews
db2cace210
- optimization move subtemplate processing back into template object
2015-12-23 03:08:23 +01:00
uwetews
ad635471cb
- optimization move internal method decodeProperties back into template object
2015-12-23 00:44:51 +01:00
uwetews
be8340bef2
- remove no longer needed file and updated testinstall
2015-12-08 23:41:01 +01:00
uwetews
cc3f69a2a3
- update config file processing
2015-11-01 02:58:27 +01:00
uwetews
55f38125a4
- improve template scope handling
2015-10-29 22:17:35 +01:00
uwetews
862b23fe52
- update testinstall()
2015-10-26 01:27:06 +01:00
uwetews
891495f849
- improve recovery from ivalid compiled template code
2015-10-24 05:14:47 +02:00
uwetews
6cbcdf4d7b
- load seldom used Smarty API methods dynamically to reduce memory footprint
2015-08-17 21:52:32 +02:00
Uwe Tews
4428d72e6d
Update testInstall() and move it into its own class
2015-01-12 22:12:20 +01:00