uwetews
8d734a9d52
- update template inheritance processing
2015-09-14 23:46:17 +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
6087ac5de0
- convert debug console processing to object
2015-08-19 00:58:47 +02:00
uwetews
af6f77a9e6
create raw compiled object to avoid checking for compiled file
2015-08-10 22:45:56 +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
e1cc514a68
- avoid possible circular object referances caused by parser/lexer objects
2015-08-06 01:19:11 +02:00
Uwe Tews
06096191c5
- optimize {block} compilation
2015-07-06 03:41:37 +02:00
Uwe Tews
b198e6488c
- optimize {block} compilation
2015-07-06 03:12:25 +02:00
Uwe Tews
86783c857d
use tag object cache of parent compiler
2015-07-01 03:25:55 +02:00
Uwe Tews
b64d5d26c9
- update realpath handling
2015-06-21 13:53:52 +02:00
Uwe Tews
2a1badfebb
- bugfix possible error message on unset() while compiling {block} tags https://github.com/smarty-php/smarty/issues/46
2015-06-04 02:39:26 +02:00
Uwe Tews
825ccc9f47
rename parse tree class names to Smarty_Internal_ParseTree....
2014-12-30 16:16:54 +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
2a311c5473
- bugfix existing child {block} tag must override parent {block} tag append / prepend setting (topic 25259)
2014-10-01 21:03:40 +00:00
Uwe.Tews@googlemail.com
68b83f591d
- bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'(Issue 202)
2014-09-30 23:20:56 +00: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
668bc16717
- bugfix template inheritance fail when using custom resource after patch of 8.3.2014 (Issue 187)
2014-04-06 18:50:39 +00:00
Uwe.Tews@googlemail.com
af13907219
08.03.2014
...
- bugfix relative file path {include} within {block} of child templates did throw exception on first call (Issue 177)
2014-03-08 23:03:08 +00:00
Uwe.Tews@googlemail.com
7f88dcd31f
- bugfix {include} with {block} tag handling (forum topic 24599, 24594, 24682) (Issue 161)
...
Read 3.1.16_RELEASE_NOTES for more details
2013-12-15 15:19:01 +00:00
Uwe.Tews@googlemail.com
c8996a4085
- bugfix multiple {block}s with same name in parent did not work (forum topic 24631)
2013-10-29 00:40:14 +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
697696fef9
Source code reformatted
2013-07-27 07:05:26 +00:00
Uwe.Tews@googlemail.com
f83eba920d
- bugfix template inheritance nesting problem (forum topic 24387)
2013-07-26 13:50:44 +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
Uwe.Tews@googlemail.com
f074a20ed5
- bugfix after the fix for Issue #130 compiler exceptions got double escaped (Forum Topic 24199)
2013-04-05 22:19:13 +00:00
Uwe.Tews@googlemail.com
58f2227cce
- bugfix post filter must not run when compiling inheritance child blocks (Forum Topic 24094)
2013-04-05 21:19:28 +00:00
uwe.tews@googlemail.com
6612fa6d8b
- bugfix Compile ID gets nulled when compiling child blocks (Issue #134 )
2013-02-28 19:23:04 +00:00
uwe.tews@googlemail.com
285a535346
- bugfix template inheritance could fail if nested {block} tags in childs did contain {$smarty.block.child} (Issue #127 )
...
- bugfix template inheritance could fail if {block} tags in childs did have similar name as used plugins (Issue #128 )
2013-01-09 23:05:09 +00:00
uwe.tews@googlemail.com
191a13b623
- bugfix template inheritance failed to compile with delimiters {/ and /} (Forum Topic 23008)
2012-09-14 14:42:15 +00:00
uwe.tews@googlemail.com
b70b06aa20
- bugfix $auto_literal = false did not work with { block} tags in child templates
...
(problem was reintroduced after fix in 3.1.7)(Forum Topic 20581)
2012-08-21 21:54:30 +00:00
uwe.tews@googlemail.com
ab1cdc8d84
- bugfix {block.. hide} did not work as nested child (Forum Topic 22216)
2012-06-30 15:53:22 +00:00
uwe.tews@googlemail.com
9e5eed4733
- bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95)
2012-05-02 17:19:33 +00:00
uwe.tews@googlemail.com
62f01f29e5
- bugfix template inheritance did set $merge_compiled_includes globally true
2012-03-12 19:29:10 +00:00
uwe.tews@googlemail.com
d0ad3df670
- bugfix {include} could result in a fatal error if used in appended or prepended nested {block} tags
...
(reported by mh and Issue 83)
2012-02-19 15:48:05 +00:00
uwe.tews@googlemail.com
b38be6edaa
- bugfix {block foo nocache} did not load plugins within child {block} in nocache mode (Forum Topic 20753)
2012-01-02 20:49:26 +00:00
uwe.tews@googlemail.com
04c1b32a81
adjust formatting
2011-12-20 17:50:15 +00:00
uwe.tews@googlemail.com
ea567850b0
- bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return
...
content after {$smarty.block.child} (Forum Topic 20564)
2011-12-20 15:52:59 +00:00
uwe.tews@googlemail.com
36ec5acb0d
- bugfix {capture} tags around recursive {include} calls did throw exception (Forum Topic 20549)
...
- bugfix $auto_literal = false did not work with { block} tags in child templates (Forum Topic 20581)
- bugfix template inheritance: do not include code of {include} in overloaded {block} into compiled
parent template (Issue 66}
- bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return expected
result (Forum Topic 20564)
2011-12-09 22:05:16 +00:00
uwe.tews@googlemail.com
50a8f805dd
- remove unused properties
...
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an
extended Smarty class created problems
2011-09-23 20:21:16 +00:00
uwe.tews@googlemail.com
bff28f38a4
- bugfix {include} did not work inside nested {block} tags
2011-09-20 17:27:45 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
1757b274d6
- bugfix on error message in smarty_internal_compile_block.php
...
- bugfix mb handling in strip modifier
- bugfix for Smarty2 style registered compiler function on unnamed attribute passing like {tag $foo $bar}
2011-03-28 22:18:39 +00:00
uwe.tews@googlemail.com
65e823610d
- bugfix when using {$smarty.block.child} and name of {block} was in double quoted string
...
- bugfix updateParentVariables() was called twice when leaving {include} processing
2011-01-10 17:10:35 +00:00
uwe.tews@googlemail.com
cf50ede71a
- bugfix nested block tags in template inheritance child templates did not work correctly
...
- bugfix {$smarty.current_dir} in child template did not point to dir of child template
2010-12-11 13:27:14 +00:00
uwe.tews@googlemail.com
6b9921baae
2010-11-18 00:18:57 +00:00
uwe.tews@googlemail.com
f49ac309b9
- bugfix on {block} if name did contain '-'
2010-11-17 19:07:59 +00:00
uwe.tews@googlemail.com
7135787127
- bugfix isset() did not allow multiple parameter
...
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
2010-11-14 15:08:44 +00:00