Commit Graph

332 Commits

Author SHA1 Message Date
uwetews 55f38125a4 - improve template scope handling 2015-10-29 22:17:35 +01:00
uwetews 1a51c1c17b - more optimizations of template processing 2015-10-25 04:53:19 +01:00
uwetews 50760c794c - more optimizations of template processing 2015-10-24 22:43:19 +02:00
uwetews 4ea4d1ff41 - improve autoloader speed 2015-10-24 05:20:09 +02:00
uwetews 888014b908 - new extension handler to load functions when called 2015-10-24 05:02:24 +02:00
uwetews ad65c850f7 - move some code into runtime extensions 2015-10-21 02:02:42 +02:00
uwetews 4e1d6707fe - update code generated by template function call handler 2015-10-18 22:12:16 +02:00
uwetews 0e28150b4a - fix compiled code for new {block} assign attribute 2015-10-18 11:35:08 +02:00
uwetews 4776491a7f - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 04:58:53 +02:00
uwetews ca9ccfc919 - optimize filepath normalization 2015-10-18 04:40:45 +02:00
Elan Ruusamäe 87a04b2ef6 do not load "Autoloader" from include path
loading it from include path (without abs path) can be dangerous, can load some other project's Autoloader.php instead the right one.
2015-10-13 10:32:04 +03:00
uwetews 64464e8fbe - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 2015-09-19 19:55:14 +02:00
uwetews d5ca4518be - bugfix {foreach} first attribute was not correctly reset since commit 05a8fa2 of 02.08.2015 https://github.com/smarty-php/smarty/issues/90 2015-09-17 21:01:48 +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 ceb9afbb5d - bugfix unintended multiple debug windows (forum topic 25699) 2015-09-15 00:18:17 +02:00
uwetews 0eb7f4b8d1 - improvement invalidate OPCACHE for cleared compiled and cached template files (forum topic 25557) 2015-09-15 00:15:12 +02:00
uwetews 6ff3505a37 - move code of {call} processing back into Smarty_Internal_Template class 2015-09-14 23:50:20 +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 56a884a428 - optimize autoloader 2015-09-14 23:02:59 +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 0d46c17578 - rearrange internal cache 2015-08-29 14:37:59 +02:00
uwetews 3ba86e8d91 remove permission properties 2015-08-23 19:58:27 +02:00
uwetews d67acf7e9a revert removal of permission properties 2015-08-23 18:46:32 +02:00
uwetews 470cd186c4 major push of internal changes for size and speed optimizations 2015-08-23 17:23:09 +02:00
uwetews 9eb87ef5a2 - relocate properties for size optimization 2015-08-23 13:24:24 +02:00
uwetews 1ae11c26c0 - optimize Smarty::templateExists() 2015-08-23 05:15:05 +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 329cd6ec4d - remove not really needed properties 2015-08-19 02:19: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 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 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
Uwe Tews 643e6784e8 - bugfix Smarty failed when compile_id did contain "|" 2015-08-06 21:42:20 +02:00
Uwe Tews c5cf7884d5 - commit several internal improvements 2015-08-06 19:46:44 +02:00
Uwe Tews de49865d22 optimize template object caching 2015-08-06 19:25:00 +02:00
Uwe Tews 63a1e74811 - rewrite compileAll... utility methods 2015-08-06 01:29:36 +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 f2585a035c - rework clear cache methods 2015-08-03 05:40:34 +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 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