Commit Graph

839 Commits

Author SHA1 Message Date
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
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
uwetews
f791eeba11 Merge pull request #32 from Stricted/patch-1
fix variable name
2015-05-12 18:40:53 +02:00
Stricted
a8f30dc7f6 fix variable name 2015-05-12 15:52:54 +02:00
Stricted
4af23bc104 fix last commit 2015-05-12 15:44:54 +02:00
Stricted
811e2e0e13 fix constant handling
on undefined constants you get 'TEST_CONST' on definied constants TEST_CONST
2015-05-12 15:43:57 +02:00
Uwe Tews
d234625d7c - bugfix of smaller performance issue introduce in 3.1.22 when caching is enabled 2015-05-12 03:34:38 +02:00
Uwe Tews
c12655ded2 - bugfix of smaller performance issue introduce in 3.1.22 when caching is enabled 2015-05-12 02:52:30 +02:00
Uwe Tews
d276829aa6 fix comment 2015-05-11 23:09:27 +02:00
Uwe Tews
8a34ad0cd2 parameter cleanup 2015-05-10 12:09:24 +02:00
Uwe Tews
b0ca67b213 - bugfix cache lock was not handled correctly after timeout when $cache_locking == true 2015-05-10 12:08:47 +02:00
Uwe Tews
5ce5d4df49 - bugfix custom cache resource did not observe compile_id and cache_id when $cache_locking == true 2015-05-10 12:00:19 +02:00
Uwe Tews
edf49ca3cf formatting 2015-05-10 11:53:09 +02:00
Uwe Tews
af4a923da5 - uodate and fixes at cache locking 2015-05-08 07:27:45 +02:00
Uwe Tews
d7b0b57420 - optimization of resource class loading 2015-05-08 06:02:59 +02:00
Uwe Tews
c5468b421e - optimization of resource class loading 2015-05-07 22:57:59 +02:00
Uwe Tews
37449b2fcb - improvement of the debugging console. Read NEW_FEATURES.txt 2015-05-07 04:36:49 +02:00
Uwe Tews
af08353e93 - bugfix/improvement in 3.1.22-dev cache locking did not work as expected 2015-05-06 23:10:39 +02:00
Uwe Tews
57df382ff2 - bugfix in 3.1.22-dev cache resource must not be loaded for subtemplates 2015-05-06 22:10:04 +02:00
Uwe Tews
d92714cc7e - optimization move <?php ?> handling from parser to new compiler module 2015-05-06 00:03:26 +02:00
Uwe Tews
d7ff1eec47 - optimization on cache update when main template is modified 2015-05-05 15:46:24 +02:00
Uwe Tews
914815d438 Fix broken code 2015-05-05 06:48:37 +02:00
Uwe Tews
3e4734acfb - bugfix code could be messed up when {tags} are used in multiple attributes https://github.com/smarty-php/smarty/issues/23 2015-05-05 03:33:53 +02:00
Uwe Tews
6575e11f68 Add missing properties 2015-05-05 03:27:16 +02:00
Uwe Tews
c5915a8c0c - improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems (https://github.com/smarty-php/smarty/issues/24) 2015-05-05 00:41:30 +02:00
Uwe Tews
f14f2dcc6f - bugfix Smarty_Resource::parseResourceName incompatible with Google AppEngine (https://github.com/smarty-php/smarty/issues/22) 2015-05-04 22:44:29 +02:00
Uwe Tews
ea17aad266 - bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508) 2nd fix 2015-04-28 23:12:12 +02:00
Uwe Tews
e312dd9b59 - bugfix plugins of merged subtemplates not loaded in 3.1.22-dev (forum topic 25508) 2015-04-28 01:38:45 +02:00
Uwe Tews
c7ba22dc98 - bugfix a nocache template variable used as parameter at {insert} was by mistake cached 2015-04-23 02:34:28 +02:00
Uwe Tews
de892651c2 - bugfix at a template function containing nocache code a parmeter could overwrite a template variable of same name 2015-04-20 22:59:45 +02:00
Uwe Tews
6fb27d5ae4 strip property must now be public 2015-04-07 02:11:20 +02:00
Uwe Tews
a92302d059 move strip processing from parser to compiler 2015-04-02 01:42:53 +02:00
Uwe Tews
e9fd2354ef move compileVariable() from parser to compiler 2015-04-02 01:35:16 +02:00
Uwe Tews
ea2a566b1f - bugfix Smarty_Security->allow_constants=false; did also disable true, false and null (change of 16.03.2015)
- improvement added a whitelist for trusted constants to security Smarty_Security::$trusted_constants (forum topic 25471)
2015-03-28 03:58:08 +01:00
Uwe Tews
443ae8c216 - bugfix problems when {function}{/function} defined a template function in a cached subtemplate and it was called {call} from a not cached subtemplate {forum topic 25468} 2015-03-23 00:39:22 +01:00
Uwe Tews
2a005ac6d6 - bugfix correct update of global variable values on exit of template functions. (reported under Smarty Developers) 2015-03-20 18:25:59 +01:00
Uwe Tews
4ecc75344f - bugfix make sure that function properties get saved only in compiled files containing the fuction definition {forum topic 25452} 2015-03-20 00:41:55 +01:00
Uwe Tews
03c7b786a0 Clean up template functions property structure 2015-03-17 04:53:57 +01:00
Uwe Tews
ab1272a2e4 fix whitespaces on tags included in double quoted strings 2015-03-17 04:31:51 +01:00
Uwe Tews
6df84b6fe3 - bugfix {block}{/block} tags did not work inside double quoted issues #18 2015-03-17 03:31:44 +01:00
Uwe Tews
e7ad5909e5 - bugfix Smarty_Security->allow_constants=false; did not disallow direct usage of defined constants like {SMARTY_DIR} {forum topic 25457} 2015-03-17 02:29:19 +01:00
Uwe Tews
eead9c81e9 - bugfix problems with {function}{/function} and {call} tags in different subtemplate cache files {forum topic 25452} 2015-03-17 01:10:51 +01:00
Uwe Tews
7b7118eea9 - bugfix $smarty->compile_check must be restored before rendering of a just updated cache file {forum 25452} 2015-03-15 02:01:07 +01:00
Uwe Tews
7fe81e6d79 - bugfix {nocache} {/nocache} tags corrupted code when used within a nocache section caused by a nocache template variable 2015-03-14 15:17:58 +01:00
Uwe Tews
8020144d46 - bugfix template functions defined with {function} in an included subtemplate could not be called in nocache
mode with {call... nocache} if the subtemplate had it's own cache file {forum 25452}
2015-03-14 12:02:57 +01:00
Uwe Tews
e9b1f296cb - bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode. 2015-03-10 18:06:05 +01:00
Uwe Tews
8892f358ad - bugfix __get() was called when loading config files 2015-03-07 01:44:30 +01:00
Uwe Tews
b1cd4cd7d2 Return to saved output buffer level on exceptions 2015-03-01 21:39:54 +01:00
Uwe Tews
464b37c053 optimize compiled code of {foreach} 2015-02-15 16:58:42 +01:00