Commit Graph

156 Commits

Author SHA1 Message Date
uwetews
9fd0b3086d - remove redundant code 2015-08-23 13:53:03 +02:00
uwetews
9eb87ef5a2 - relocate properties for size optimization 2015-08-23 13:24:24 +02:00
uwetews
c6ea69feb7 - bugfix uncompiled templates could not be cached after recent change 2015-08-23 05:35:13 +02:00
uwetews
6eed7732df - remove properties with redundant content 2015-08-23 01:46:30 +02:00
uwetews
87985d1243 - move caching to Smarty::_cache 2015-08-23 01:39:18 +02:00
uwetews
6a26393099 - optimize rendering 2015-08-23 01:26:46 +02:00
uwetews
df541858de - cache template object of {include} if same template is included several times 2015-08-19 01:22:27 +02:00
uwetews
7935b181fb - optimize nocache hash processing 2015-08-19 01:18:25 +02:00
uwetews
8292a3581c - use output buffers for better performance and less memory usage 2015-08-19 01:09:08 +02:00
uwetews
6087ac5de0 - convert debug console processing to object 2015-08-19 00:58:47 +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
e8252906ba - make sure that property value is set 2015-08-17 22:27:41 +02:00
uwetews
6cbcdf4d7b - load seldom used Smarty API methods dynamically to reduce memory footprint 2015-08-17 21:52:32 +02:00
uwetews
eb7aa8fe92 update template_id handling 2015-08-15 18:35:51 +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
6bcdd0edbe remove unused parameter 2015-08-09 20:56:18 +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
de49865d22 optimize template object caching 2015-08-06 19:25:00 +02:00
Uwe Tews
1ed4808bd9 check parent object type 2015-08-06 19:14:55 +02:00
Uwe Tews
5ca4f0484a load source resource at template object creation 2015-08-06 19:12:24 +02:00
Uwe Tews
8c5f20430d optimize duplicate code 2015-08-06 00:57:36 +02:00
Uwe Tews
7dfe853076 remove unneed dummy $smarty template variable 2015-08-02 21:12:33 +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
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
b1fdc085e7 - optimization get rid of __get and __set in source object 2015-07-06 03:25:03 +02:00
Uwe Tews
be212a2a87 load template source early 2015-07-01 06:44:28 +02:00
Uwe Tews
a9f0b8ad1f - optimize compile check handling 2015-07-01 03:27:06 +02:00
Uwe Tews
38e47c7ee2 - minor compiler optimizations 2015-06-27 21:23:22 +02:00
Uwe Tews
8a34ad0cd2 parameter cleanup 2015-05-10 12:09:24 +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
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
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
03c7b786a0 Clean up template functions property structure 2015-03-17 04:53:57 +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
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
b1cd4cd7d2 Return to saved output buffer level on exceptions 2015-03-01 21:39:54 +01:00
Uwe Tews
8082bc7471 get rid of smarty object self pointer 2015-02-15 01:45:37 +01:00
Uwe Tews
593f984f6a load source, compiled and cache resource manually in normal flow (avoid __get()) 2015-01-07 17:46:12 +01:00
Uwe Tews
43f043364f fix case in class name 2015-01-06 01:18:58 +01:00
Uwe Tews
0a3579f9ca restructure template processing
Code was moved into classes it better belongs to.
This does reduce also Smarty's memory footprint
2015-01-02 09:12:01 +01:00
Uwe Tews
80bf76cc6e move internal createTemplateCodeFrame() method into an extension class 2015-01-01 22:59:07 +01:00
Uwe Tews
b013984dfd move properties into classes where they better belong to 2014-12-31 15:44:08 +01:00
Uwe Tews
d3e26fb679 template function call handling 2014-12-30 16:43:42 +01:00