Commit Graph

980 Commits

Author SHA1 Message Date
uwetews 6a26393099 - optimize rendering 2015-08-23 01:26:46 +02:00
uwetews 329cd6ec4d - remove not really needed properties 2015-08-19 02:19:25 +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 5f7b5a45ac improve performance 2015-08-18 03:20:01 +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 8a9b52e975 optimize $properties array 2015-08-15 18:32:27 +02:00
uwetews 9ad5e1eb1e define missing properties 2015-08-15 18:25:06 +02:00
uwetews af6f77a9e6 create raw compiled object to avoid checking for compiled file 2015-08-10 22:45:56 +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 5c9c57df7d replace property array by object properties 2015-08-09 21:14:16 +02:00
uwetews 6bcdd0edbe remove unused parameter 2015-08-09 20:56:18 +02:00
uwetews dde6bc506b remove unneeded method 2015-08-09 20:54:13 +02:00
uwetews 7d2e27ae2f use parent_compiler object for storing required plugins 2015-08-09 20:53:32 +02:00
uwetews 3619b672f4 replace property array by object properties 2015-08-09 20:48:33 +02:00
uwetews c08191d191 replace property array by object properties 2015-08-09 20:45:28 +02:00
uwetews d16e2d3a15 replace property array by object properties 2015-08-09 20:43:04 +02:00
Uwe Tews 643e6784e8 - bugfix Smarty failed when compile_id did contain "|" 2015-08-06 21:42:20 +02:00
Uwe Tews ea6f848e04 fix properties 2015-08-06 19:42:40 +02:00
Uwe Tews 5d1ba7ca9c restore template object state on exception, free lexer/parser resources 2015-08-06 19:40:37 +02:00
Uwe Tews e402e2f893 no need to clone handler 2015-08-06 19:32:33 +02:00
Uwe Tews de49865d22 optimize template object caching 2015-08-06 19:25:00 +02:00
Uwe Tews 16fc95ccf7 load source resource at template object creation 2015-08-06 19:16:41 +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 35c7e9767d remove unneeded properties 2015-08-06 19:05:11 +02:00
Uwe Tews 8cffee8426 invalidate compiled resource cache 2015-08-06 19:02:30 +02:00
Uwe Tews 63a1e74811 - rewrite compileAll... utility methods 2015-08-06 01:29:36 +02:00
Uwe Tews a7098432ba Make declaration compatible with compile assign 2015-08-06 01:24:41 +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 8c5f20430d optimize duplicate code 2015-08-06 00:57:36 +02:00
Uwe Tews 80ee385965 - improve getIncludePath() to return directory i 2015-08-03 22:32:09 +02:00
Uwe Tews 201ea13a33 - bugfix compileAllConfig() was broken since 3.1.22 because of the changes in config file processing 2015-08-03 21:39:30 +02:00
Uwe Tews f2585a035c - rework clear cache methods 2015-08-03 05:40:34 +02:00
Uwe Tews 147ba329b5 Fix generated code 2015-08-03 03:14:25 +02:00
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