Commit Graph

62 Commits

Author SHA1 Message Date
Simon Wisselink
05f1a7deda Replace '*/' in user supplied input in C-style comments with '* /'. 2022-05-16 12:34:49 +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
Sławomir Kaleta
2404095783 Update PSR-2 2018-06-12 09:58:15 +02:00
Uwe Tews
8bea607b78 fix comment lines of inline subtemplates 2018-04-19 15:57:37 +02: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
3fc8abeb98 code cleanup and optimizations 3.1.32-dev-34 2017-11-06 01:02:56 +01:00
Uwe Tews
dd9c076dfa - correction of PHPDoc blocks
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews
570bc41b12 - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 06:14:22 +02:00
Uwe Tews
f86d251e5b - optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR 2017-10-26 05:27:25 +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
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
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
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
1fbf16afed - optimization of inheritance processing 2016-05-10 03:54:56 +02:00
uwetews
ecdd33d334 - bugfix same relative filepath at {include} called from template in different folders could display wrong sub-template 2016-05-02 04:28:09 +02:00
uwetews
f1b3662b28 - bugfix same relative filepath at {include} called from template in different folders could display wrong sub-template 2016-05-01 23:53:38 +02:00
uwetews
abf5be58ad - improvement rework of 'scope' attribute handling see see NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/194
https://github.com/smarty-php/smarty/issues/186 https://github.com/smarty-php/smarty/issues/179
2016-03-09 01:01:32 +01:00
uwetews
30328d318c - optimization of tag attribute compiling 2016-02-14 19:58:55 +01:00
uwetews
4b1ba73eea - optimization of sub-template processing 2016-02-14 09:17:55 +01:00
uwetews
2f62b99173 - update/bugfix scope attribute handling reworked. Read the newfeatures.txt file 2016-02-09 23:27:07 +01:00
uwetews
b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
uwetews
71f71e6262 - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 2016-01-26 22:22:20 +01:00
uwetews
867a2f3165 - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 (reverted from commit 2850cce19f) 2016-01-26 21:49:56 +01:00
uwetews
2850cce19f - bugfix string resource could inject code at {block} or inline subtemplates through PHP comments https://github.com/smarty-php/smarty/issues/157 2016-01-26 21:34:11 +01:00
uwetews
59343127f7 - update scope handling 2016-01-02 02:47:32 +01:00
uwetews
c2f05e8c3c - code fixes 2015-12-27 08:11:31 +01:00
uwetews
db2cace210 - optimization move subtemplate processing back into template object 2015-12-23 03:08:23 +01:00
uwetews
5ca1cd485f - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 23:04:52 +01:00
uwetews
aa730800bd - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 18:06:42 +01:00
uwetews
72258bc28d add test for valid scope name 2015-11-01 02:02:27 +01:00
uwetews
55f38125a4 - improve template scope handling 2015-10-29 22:17:35 +01:00
uwetews
eec7639c9c - fix template scope processing 2015-10-24 04:45:09 +02:00
uwetews
ad65c850f7 - move some code into runtime extensions 2015-10-21 02:02:42 +02:00
uwetews
8dc2a0af7c - rework of template inheritance 2015-10-18 04:46:05 +02:00
uwetews
e1e8d2feda - update compiler by moving no longer needed properties, code optimizations and other 2015-09-16 16:23:38 +02:00
uwetews
8d734a9d52 - update template inheritance processing 2015-09-14 23:46:17 +02:00
uwetews
df0824675a - optimize internal subtemplate handling 2015-09-14 23:12:03 +02:00
uwetews
2ba7109043 - move subtemplate code into runtime extension and optimize for size and speed 2015-09-01 02:27:22 +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
uwetews
6eed7732df - remove properties with redundant content 2015-08-23 01:46:30 +02:00
uwetews
8292a3581c - use output buffers for better performance and less memory usage 2015-08-19 01:09:08 +02:00
uwetews
457a0486f5 - cache template object of {include} if same template is included several times 2015-08-18 02:55:53 +02:00
uwetews
e63926088c optimize compilation of merged subtemplates 2015-08-10 22:35:33 +02:00
uwetews
0260b525b8 introduce Smarty::$resource_cache_mode and cache template object of {include} inside loop 2015-08-10 21:57:06 +02:00
uwetews
7d2e27ae2f use parent_compiler object for storing required plugins 2015-08-09 20:53:32 +02:00
uwetews
d16e2d3a15 replace property array by object properties 2015-08-09 20:43:04 +02:00
Uwe Tews
e1cc514a68 - avoid possible circular object referances caused by parser/lexer objects 2015-08-06 01:19:11 +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