Commit Graph

960 Commits

Author SHA1 Message Date
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
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