Commit Graph

989 Commits

Author SHA1 Message Date
Uwe Tews
7dfe853076 remove unneed dummy $smarty template variable 2015-08-02 21:12:33 +02:00
Uwe Tews
c95ff14434 - rework {capture} compiler 2015-08-02 20:57:46 +02:00
Uwe Tews
e205cb7a89 - optimization and code cleanup of {foreach} and {section} compiler 2015-08-02 19:43:21 +02:00
Uwe Tews
05a8fa245e - improvement show resource type and start of template source instead of uid on eval: and string: resource (forum topic 25630) 2015-08-01 14:28:39 +02:00
Uwe Tews
c5cdd90352 - optimize {foreach} and {section} compiler 2015-07-31 01:03:29 +02:00
Uwe Tews
e9d172d8ac - optimize {section} compiler for speed and size of compiled code 2015-07-30 02:45:38 +02:00
Uwe Tews
20640577a1 Revert "- optimize {section} compiler for speed and size of compiled code"
This reverts commit 1074090473.
2015-07-30 02:03:29 +02:00
Uwe Tews
1074090473 - optimize {section} compiler for speed and size of compiled code 2015-07-30 01:15:22 +02:00
Uwe Tews
aa6e2219ec - optimize {section} compiler for speed and size of compiled code 2015-07-30 01:03:12 +02:00
Uwe Tews
8eabafed83 add some error suppression for undefined variables 2015-07-29 23:30:52 +02:00
Uwe Tews
99d802f30c - optimize {section} compiler for speed and size of compiled code 2015-07-29 22:23:23 +02:00
Uwe Tews
c9f2a0d26e - update for PHP 7 compatibility 2015-07-28 01:39:08 +02:00
Uwe Tews
f9d9ca0f67 - improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797 2015-07-26 18:04:40 +02:00
Uwe Tews
bb3dfc6fdf - bugfix parser did hang on text starting <?something https://github.com/smarty-php/smarty/issues/74 2015-07-25 22:32:10 +02:00
Uwe Tews
f61084f70f move Smarty::clear() into extension 2015-07-20 04:38:13 +02:00
Uwe Tews
8cbe51a603 - improvement invalidate PHP 5.5 opcache for recompiled and cached templates https://github.com/smarty-php/smarty/issues/72 2015-07-20 04:01:43 +02:00
Uwe Tews
3e54c268ab - bugfix config files got recompiled on each request 2015-07-20 03:15:45 +02:00
Uwe Tews
61253c1999 optimization 2015-07-12 07:03:55 +02:00
Uwe Tews
208628080f reformat 2015-07-12 07:02:25 +02:00
Uwe Tews
21e07daf6d optimization 2015-07-12 02:26:42 +02:00
Uwe Tews
878724c4ea - optimize {extends} compilation 2015-07-12 01:11:22 +02:00
Uwe Tews
7a56edc180 - bugfix convert each word of class names to ucfirst in in compiler. (forum topic 25588) 2015-07-08 04:59:37 +02:00
Uwe Tews
40f0dda0e6 - new feature multiple indices on file: resource 2015-07-07 18:18:19 +02:00
Uwe Tews
1e4f28da54 update Smarty::_realpath() 2015-07-07 17:56:50 +02:00
Uwe Tews
7fa6c4fd47 update include_path handling 2015-07-07 17:55:45 +02:00
Uwe Tews
733755f94a reformat 2015-07-07 17:51:40 +02:00
Uwe Tews
bc99747f93 - improvement allow fetch() or display() called on a template object to get output from other template
like $template->fetch('foo.tpl') https://github.com/smarty-php/smarty/issues/70
2015-07-07 02:01:45 +02:00
Uwe Tews
06096191c5 - optimize {block} compilation 2015-07-06 03:41:37 +02:00
Uwe Tews
b1fdc085e7 - optimization get rid of __get and __set in source object 2015-07-06 03:25:03 +02:00
Uwe Tews
b198e6488c - optimize {block} compilation 2015-07-06 03:12:25 +02:00
Uwe Tews
7e7112153a search {foreach} properties also in parent compiler 2015-07-01 13:01:16 +02:00
Uwe Tews
a756ce3d9e add error messages 2015-07-01 10:46:51 +02:00
Uwe Tews
be212a2a87 load template source early 2015-07-01 06:44:28 +02:00
Uwe Tews
9ac1dd44e2 - update {foreach} compiler 2015-07-01 03:30:08 +02:00
Uwe Tews
a9f0b8ad1f - optimize compile check handling 2015-07-01 03:27:06 +02:00
Uwe Tews
86783c857d use tag object cache of parent compiler 2015-07-01 03:25:55 +02:00
Uwe Tews
2762d81d93 add new methods and optimizations 2015-07-01 03:23:40 +02:00
Uwe Tews
8567f08248 fix flag in file status cache 2015-06-30 02:59:41 +02:00
Uwe Tews
c84e406db5 observe $smarty->compile_check 2015-06-29 20:48:49 +02:00
Uwe Tews
83f6154eae - compiler optimization 2015-06-29 20:45:21 +02:00
Uwe Tews
3052406cfc - fix $smarty->use_include_path option and optimize file path code 2015-06-29 02:41:42 +02:00
Uwe Tews
99fe8120c8 - remove redundant code 2015-06-28 15:45:50 +02:00
Uwe Tews
cd132140f2 - optimize file path normalization 2015-06-28 12:54:47 +02:00
Uwe Tews
ce0c1dcfae - move $smarty->append() and $smarty->appendByRef() into extension 2015-06-28 05:22:19 +02:00
Uwe Tews
3442acd407 update comment 2015-06-28 05:00:47 +02:00
Uwe Tews
f4d7838a8f - move getStreamVariable() into extension 2015-06-28 05:00:27 +02:00
Uwe Tews
afe9af11b7 - move $smarty->getTemplateVars() into extension 2015-06-28 04:44:16 +02:00
Uwe Tews
85eb95d960 - move auto load filter methods into extension 2015-06-28 04:05:07 +02:00
Uwe Tews
aee07f7bba - optimize security isTrustedResourceDir() 2015-06-28 02:37:41 +02:00
Uwe Tews
5377fd5926 - move $smarty->enableSecurity() into Smarty_Security class 2015-06-28 01:38:52 +02:00