uwetews
fb9f2c9267
fix
2015-09-15 00:21:28 +02:00
uwetews
6ff3505a37
- move code of {call} processing back into Smarty_Internal_Template class
2015-09-14 23:50:20 +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
0d46c17578
- rearrange internal cache
2015-08-29 14:37:59 +02:00
uwetews
6a26393099
- optimize rendering
2015-08-23 01:26:46 +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
Uwe Tews
dd4cbfac3a
- move registerObject / registerClass into extension
2015-06-21 13:43:17 +02:00
Uwe Tews
afe79aac2e
- improvement allow closures as callback at $smarty->registerFilter() https://github.com/smarty-php/smarty/issues/59
2015-06-19 03:21:52 +02:00
Uwe Tews
c5468b421e
- optimization of resource class loading
2015-05-07 22:57:59 +02:00
Uwe Tews
af08353e93
- bugfix/improvement in 3.1.22-dev cache locking did not work as expected
2015-05-06 23:10:39 +02:00
Uwe Tews
8082bc7471
get rid of smarty object self pointer
2015-02-15 01:45:37 +01:00
Uwe Tews
75ad0b4da5
move default template handling into an extesion class
2015-01-02 10:48:07 +01:00
Uwe Tews
0a3579f9ca
restructure template processing
...
Code was moved into classes it better belongs to.
This does reduce also Smarty's memory footprint
2015-01-02 09:12:01 +01:00
Uwe Tews
e8a77171d3
implement templateId generation as method
2015-01-01 22:27:45 +01:00
Uwe Tews
b013984dfd
move properties into classes where they better belong to
2014-12-31 15:44:08 +01:00
Uwe Tews
e351c0123f
move some code into Smarty_Internal_Debug class
...
where it better belongs to
2014-12-30 17:17:15 +01:00
Uwe Tews
6be6bf7b70
limit the template nesting level by security
2014-12-30 12:57:43 +01:00
Uwe Tews
ea9c681106
remove no longer needed code
2014-11-08 21:06:53 +01:00
Uwe Tews
158b7be58a
Debug Console Update
...
- bugfix Debug Console did not show included subtemplates since 3.1.17
(forum 25301)
- bugfix Modifier debug_print_var did not limit recursion or prevent
recursive object display at Debug Console
(ATTENTION: parameter order has changed to be able to specify maximum
recursion)
- bugfix Debug consol did not include subtemplate information with
$smarty->merge_compiled_includes = true
- improvement The template variables are no longer displayed as objects
on the Debug Console
- improvement $smarty->createData($parent = null, $name = null) new
optional name parameter for display at Debug Console
- addition of some hooks for future extension of Debug Console
2014-11-03 22:27:32 +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
Ilya Antipenko
95cc39deb6
Clean merge conflicts
2014-11-01 11:22:03 +02:00
Uwe Tews
21204c6613
Merge branch 'trunk'
2014-10-31 05:31:56 +01:00
Uwe Tews
117d28f647
Upload 3.21
2014-10-18 01:17:22 +02:00
Uwe Tews
024b336bea
Upload 3.1.20
2014-10-18 01:05:22 +02:00
Uwe Tews
eb48f3bcea
Upload 3.1.21
2014-10-18 00:31:50 +02:00
Uwe Tews
0409ab005e
Upload version 3.1.20
2014-10-18 00:18:11 +02:00
Uwe.Tews@googlemail.com
c77cc80a8c
- bugfix any tag placed within "<script language=php>" will throw a security exception to close all thinkable holes
2014-10-14 21:45:05 +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
8658b04c86
bugfix calling createTemplate(template, data) with empty data array caused notice of array to string conversion (Issue 189)
2014-04-19 11:42:11 +00:00
Uwe.Tews@googlemail.com
d82d54bffd
fix line endings
2014-03-17 21:57:15 +00:00
Uwe.Tews@googlemail.com
79dfde4977
- bugfix $smarty->debugging = true; did show the variable of the $smarty object not the variables used in display() call (forum topic 24764)
2014-01-27 16:08:55 +00:00
Uwe.Tews@googlemail.com
bf8275ee20
- bugfix recompiled templates did not show on first request with zend opcache cache (forum topic 24320)
2013-09-16 18:47:04 +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
35d2e254bb
- bugfix a newline was eaten when a <?xml ... ?> was passed by a Smarty variable and caching was enabled (forum topic 24482)
2013-08-10 09:55:27 +00:00
Uwe.Tews@googlemail.com
6851c57ef8
- enhancement allow access to properties of registered opjects for Smarty2 BC (forum topic 24344)
2013-07-27 10:06:43 +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
208ad6b540
2012-05-03 16:17:39 +00:00
uwe.tews@googlemail.com
53df807220
- improvement replaced some calls of preg_replace with str_replace (Issue 73)
2012-02-06 20:53:57 +00:00
uwe.tews@googlemail.com
d8b26c5ad0
- bugfix output filter must not run before writing cache when template does contain nocache code {Issue 71}
2012-01-20 18:21:32 +00:00
rodneyrehm
3495b683bd
(phpdoc indentation)
2011-12-18 16:52:26 +00:00
rodneyrehm
9be91eb04b
- added chaining to Smarty_Internal_Templatebase
...
- changed unloadFilter() to not return a boolean in favor of chaining and API conformity
- bugfix unregisterObject() raised notice when object to unregister did not exist
2011-12-18 16:51:32 +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
85658fcdd4
- fixed PHP4 constructor message
2011-10-19 19:49:27 +00:00
uwe.tews@googlemail.com
806c51fdcf
- bugfix disable of caching after isCached() call did not work (Forum Topic 20131)
2011-10-13 11:59:02 +00:00
uwe.tews@googlemail.com
0fabe627ad
- add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120)
2011-10-11 15:49:19 +00:00
uwe.tews@googlemail.com
d3258767a6
- bugfix <?xml> tag did create wrong output when caching enabled and the tag was in included subtemplate
2011-10-10 11:38:27 +00:00
uwe.tews@googlemail.com
4c070d0bda
- bugfix parent pointer was not set when fetch() for other template was called on template object
2011-10-07 15:30:04 +00:00
uwe.tews@googlemail.com
eb9714cf0e
- bugfix output filter should not run on individually cached subtemplates
...
- add unloadFilter() method
2011-10-04 17:50:39 +00:00
rodneyrehm
aff7c6a0ab
- improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
...
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00