Commit Graph

4177 Commits

Author SHA1 Message Date
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
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
0e4039f5c0 - bugfix compiling super globals like {$smarty.get.foo} did fail in the master branch https://github.com/smarty-php/smarty/issues/77 2015-08-23 16:59:34 +02:00
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
606b8e8669 - optimize use_include_path processing 2015-08-23 11:13:20 +02:00
uwetews
2c197a2ea6 - check if $includes entry does exist 2015-08-23 06:47:39 +02:00
uwetews
3382aab429 - fix output buffer handling 2015-08-23 06:46:03 +02:00