uwetews
0a8e47ecb2
- improvement move often used code snippets into methods
2016-09-11 04:35:52 +02:00
uwetews
6ef0d0eaa0
- optimization and cleanup of resource code
2016-05-15 11:13:31 +02:00
uwetews
1fbf16afed
- optimization of inheritance processing
2016-05-10 03:54:56 +02:00
uwetews
825aa26079
- bugfix template objects must be cached on $smarty->fetch('foo.tpl) calls incase the template is fetched
...
multiple times (forum topic 25909)
2016-03-01 00:54:33 +01:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
a687a127c4
- bugfix if fetch('foo.tpl') is called on a template object the $parent parameter should default to the calling template object https://github.com/smarty-php/smarty/issues/152
2016-01-28 05:34:41 +01:00
uwetews
34062d45b7
- bugfix Smarty::error_reporting was not observed when display() or fetch() was called on template objects https://github.com/smarty-php/smarty/issues/145
2015-12-29 16:54:15 +01:00
uwetews
b0691dd056
- update external methods
2015-12-27 07:18:35 +01:00
uwetews
55f38125a4
- improve template scope handling
2015-10-29 22:17:35 +01:00
uwetews
50760c794c
- more optimizations of template processing
2015-10-24 22:43:19 +02:00
uwetews
888014b908
- new extension handler to load functions when called
2015-10-24 05:02:24 +02:00
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