uwetews
e1e8d2feda
- update compiler by moving no longer needed properties, code optimizations and other
2015-09-16 16:23:38 +02:00
uwetews
5cbedc87f0
- optimize internal subtemplate handling
2015-09-14 23:16:13 +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
9eb87ef5a2
- relocate properties for size optimization
2015-08-23 13:24:24 +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
6087ac5de0
- convert debug console processing to object
2015-08-19 00:58:47 +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
7d2e27ae2f
use parent_compiler object for storing required plugins
2015-08-09 20:53:32 +02:00
uwetews
d16e2d3a15
replace property array by object properties
2015-08-09 20:43:04 +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
e1cc514a68
- avoid possible circular object referances caused by parser/lexer objects
2015-08-06 01:19:11 +02:00
Uwe Tews
c95ff14434
- rework {capture} compiler
2015-08-02 20:57:46 +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
c9f2a0d26e
- update for PHP 7 compatibility
2015-07-28 01:39:08 +02:00
Uwe Tews
208628080f
reformat
2015-07-12 07:02:25 +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
b198e6488c
- optimize {block} compilation
2015-07-06 03:12:25 +02:00
Uwe Tews
2762d81d93
add new methods and optimizations
2015-07-01 03:23:40 +02:00
Uwe Tews
83f6154eae
- compiler optimization
2015-06-29 20:45:21 +02:00
Uwe Tews
9d937ffe68
- bugfix allow function plugins with name ending with 'close' https://github.com/smarty-php/smarty/issues/52
2015-06-27 22:18:08 +02:00
Uwe Tews
1360be4eef
- minor compiler optimizations
2015-06-27 21:50:33 +02:00
Uwe Tews
38e47c7ee2
- minor compiler optimizations
2015-06-27 21:23:22 +02:00
Uwe Tews
aa1e554993
Remove redundant code
2015-05-23 22:36:46 +02:00
Uwe Tews
25391749a1
- improvement on php_handling to allow very large PHP sections, better error handling
...
- improvement allow extreme large comment sections (forum 25538)
2015-05-23 19:03:13 +02:00
Uwe Tews
0bdd805d6b
remove code not intended for this version
2015-05-16 13:40:45 +02:00
Uwe Tews
2db464a6e5
- bugfix template functions failed when calling the function recursively with function name as tag name https://github.com/smarty-php/smarty/issues/28
2015-05-14 15:11:38 +02:00
Uwe Tews
3240b5a596
- improvement remove not needed ?><?php transitions from compiled code
2015-05-13 02:09:00 +02:00
Uwe Tews
d92714cc7e
- optimization move <?php ?> handling from parser to new compiler module
2015-05-06 00:03:26 +02:00
Uwe Tews
914815d438
Fix broken code
2015-05-05 06:48:37 +02:00
Uwe Tews
3e4734acfb
- bugfix code could be messed up when {tags} are used in multiple attributes https://github.com/smarty-php/smarty/issues/23
2015-05-05 03:33:53 +02:00
Uwe Tews
6575e11f68
Add missing properties
2015-05-05 03:27:16 +02:00
Uwe Tews
a92302d059
move strip processing from parser to compiler
2015-04-02 01:42:53 +02:00
Uwe Tews
e9fd2354ef
move compileVariable() from parser to compiler
2015-04-02 01:35:16 +02:00
Uwe Tews
4ecc75344f
- bugfix make sure that function properties get saved only in compiled files containing the fuction definition {forum topic 25452}
2015-03-20 00:41:55 +01:00
Uwe Tews
03c7b786a0
Clean up template functions property structure
2015-03-17 04:53:57 +01:00
Uwe Tews
740a583c7c
Use require_once
2015-01-07 16:46:03 +01:00
Uwe Tews
80bf76cc6e
move internal createTemplateCodeFrame() method into an extension class
2015-01-01 22:59:07 +01:00
Uwe Tews
460be5a5da
bugfix for recent changes of {function} tag handling
2014-11-10 23:57:30 +01:00
Uwe Tews
b82756a705
- bugfix subtemplate called in nocache mode could be called with wrong compile_id when it did change on one of the calling templates
2014-11-08 21:27:53 +01:00
Uwe Tews
bc13ebbc9b
-bugfix and enhancement on subtemplate {include} and template {function} tags.
...
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
Uwe.Tews@googlemail.com
425091a19f
- fixed spelling, PHPDoc , minor errors, code cleanup
2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
d82d54bffd
fix line endings
2014-03-17 21:57:15 +00:00
Uwe.Tews@googlemail.com
f06013927c
- bugfix Smarty failed when executing PHP on HHVM (Hip Hop 2.4) because uniqid('',true) does return string with ',' (forum topic 20343)
2014-02-17 18:21:31 +00:00
Uwe.Tews@googlemail.com
5bbfbafc47
- improvement added patch for additional SmartyCompilerException properties for better access to scource information (forum topic 24559)
2013-09-17 20:44:41 +00:00
Uwe.Tews@googlemail.com
98c1dd29cd
- bugfix and enhancement
...
Because several recent problems with template inheritance the {block} tag compiler has been rewriten
- Error messages shown now the correct child template file and line number
- The compiler could fail on some larger UTF-8 text block (forum topic 24455}
- The {strip} tag can now be placed outside {block} tags in child templates (forum topic 24289}
- change SmartyException::$escape is now false by default
- change PHP traceback has been remove for SmartyException and SmartyCompilerException
2013-08-24 18:46:31 +00:00
Uwe.Tews@googlemail.com
584886cb1c
- update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
2013-07-15 18:18:28 +00:00
Uwe.Tews@googlemail.com
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00