Commit Graph

4185 Commits

Author SHA1 Message Date
uwetews
abdb335b26 - fix comment 2015-10-24 05:17:17 +02:00
uwetews
b7fb490cb1 - improve compiled code 2015-10-24 05:16:54 +02:00
uwetews
891495f849 - improve recovery from ivalid compiled template code 2015-10-24 05:14:47 +02:00
uwetews
0ea1360d65 - new extension handler to load functions when called 2015-10-24 05:12:10 +02:00
uwetews
888014b908 - new extension handler to load functions when called 2015-10-24 05:02:24 +02:00
uwetews
eec7639c9c - fix template scope processing 2015-10-24 04:45:09 +02:00
uwetews
b26ba9ce52 update travis 2015-10-21 04:32:27 +02:00
uwetews
e25a8ab661 - move some code into runtime extensions 2015-10-21 03:53:25 +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
bd7d10e09d Update travis 2015-10-18 05:14:27 +02:00
uwetews
bf6910ee21 - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 05:08:03 +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
c99fe144f6 - speed and size optimizations 2015-10-18 04:54:09 +02:00
uwetews
8dc2a0af7c - rework of template inheritance 2015-10-18 04:46:05 +02:00
uwetews
ca9ccfc919 - optimize filepath normalization 2015-10-18 04:40:45 +02:00
uwetews
757d66a731 parser: add support for template prefix and postfix code 2015-10-18 02:02:43 +02:00
uwetews
5cde3a8799 compiler: add support for post compile callbacks 2015-10-18 02:02:42 +02:00
uwetews
8dc777effd Merge pull request #96 from glensc/patch-1
do not load "Autoloader" from include path
2015-10-18 02:00:49 +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
788566cf70 - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 (reverted from commit 428e667453) 2015-10-08 19:53:25 +02:00
uwetews
428e667453 - bugfix {if $foo instanceof $bar} failed to compile if 2nd value is a variable https://github.com/smarty-php/smarty/issues/92 2015-10-08 19:47:43 +02:00
uwetews
7f0a2f788f Merge pull request #95 from dshepherd/patch-1
Update README with correct plugin method signature
2015-10-08 19:42:03 +02:00
Dan Shepherd
d45652afe2 Update README with correct plugin method signature
The existing README states that 3 params are passed for plugins (params, smarty, template) but the smarty object was actually removed long ago. This update correct this.
2015-10-08 13:50:46 +01: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
5a9500c2d9 - remove not needed compiled code whan caching is disabled 2015-09-15 01:25:40 +02:00
uwetews
83a68c99c8 - update template inheritance processing 2015-09-15 00:44:34 +02:00
uwetews
fb9f2c9267 fix 2015-09-15 00:21:28 +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
71c1b32c51 - optimize internal subtemplate handling 2015-09-14 23:39:04 +02:00
uwetews
5cbedc87f0 - optimize internal subtemplate handling 2015-09-14 23:16:13 +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
bfcffb009a - remove unneeded code and properties, minor fixes 2015-09-01 02:52:09 +02:00
uwetews
ca0b3f02b9 add some cope needed for PHPunit tests 2015-09-01 02:35:51 +02:00
uwetews
2e0b834b59 remove unneeded realpath call 2015-09-01 02:34:59 +02:00
uwetews
d2fa4083f7 - move template function code into runtime extension 2015-09-01 02:30:56 +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
37e6529c7b - improvement convert template inheritance into runtime processing
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-09-01 02:10:15 +02:00
uwetews
620e52405b - improvement convert template inheritance into runtime processing
- bugfix {$smarty.block.parent} did always reference the root parent block https://github.com/smarty-php/smarty/issues/68
2015-09-01 01:54:28 +02:00
uwetews
54d54e5000 hook for runtime extension loading 2015-09-01 00:33:10 +02:00
uwetews
0d46c17578 - rearrange internal cache 2015-08-29 14:37:59 +02:00
uwetews
31a7162fba - remove double break 2015-08-27 19:26:49 +02:00
uwetews
3ba86e8d91 remove permission properties 2015-08-23 19:58:27 +02:00