1
0

Smarty update to 3.1.9 - see changeLog

This commit is contained in:
Ian
2012-06-09 10:43:58 +02:00
parent 7294e9679c
commit 612a7260fc
17 changed files with 1528 additions and 1358 deletions

View File

@@ -1,4 +1,57 @@
===== trunk =====
===== Smarty-3.1.9 =====
07.06.2012
- bugfix fetch() and display() with relative paths (Issue 104)
- bugfix treat "0000-00-00" as 0 in modifier.date_format (Issue 103)
24.05.2012
- bugfix Smarty_Internal_Write_File::writeFile() could cause race-conditions on linux systems (Issue 101)
- bugfix attribute parameter names of plugins may now contain also "-" and ":" (Forum Topic 21856)
- bugfix add compile_id to cache key of of source (Issue 97)
22.05.2012
- bugfix recursive {include} within {section} did fail (Smarty developer group)
12.05.2012
- bugfix {html_options} did not properly escape values (Issue 98)
03.05.2012
- bugfix make HTTP protocall version variable (issue 96)
02.05.2012
- bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95)
12.04.2012
- bugfix Smarty did eat the linebreak after the <?xml...?> closing tag (Issue 93)
- bugfix concurrent cache updates could create a warning (Forum Topic 21403)
08.04.2012
- bugfix "\\" was not escaped correctly when generating nocache code (Forum Topic 21364)
30.03.2012
- bugfix template inheritance did not throw exception when a parent template was deleted (issue 90)
27.03.2012
- bugfix prefilter did run multiple times on inline subtemplates compiled into several main templates (Forum Topic 21325)
- bugfix implement Smarty2's behaviour of variables assigned by reference in SmartyBC. {assign} will affect all references.
(issue 88)
21.03.2012
- bugfix compileAllTemplates() and compileAllConfig() did not return the number of compiled files (Forum Topic 21286)
13.03.2012
- correction of yesterdays bugfix (Forum Topic 21175 and 21182)
12.03.2012
- bugfix a double quoted string of "$foo" did not compile into PHP "$foo" (Forum Topic 21175)
- bugfix template inheritance did set $merge_compiled_includes globally true
03.03.2012
- optimization of compiling speed when same modifier was used several times
02.03.2012
- enhancement the default plugin handler can now also resolve undefined modifier (Smarty::PLUGIN_MODIFIER)
(Issue 85)
===== Smarty-3.1.8 =====
19.02.2012
- bugfix {include} could result in a fatal error if used in appended or prepended nested {block} tags
@@ -262,7 +315,7 @@
- optimization of {foreach}; call internal _count() method only when "total" or "last" {foreach} properties are used
11/09/2011
- added unregisterObject() methode
- added unregisterObject() method
06/09/2011
- bugfix isset() did not work in templates on config variables
@@ -890,7 +943,7 @@ request_use_auto_globals
22/07/2010
- bugfix in templateExists() methode
- bugfix in templateExists() method
20/07/2010
- fixed handling of { strip } tag with whitespaces
@@ -1458,7 +1511,7 @@ request_use_auto_globals
- autoload Smarty internal classes
- fixed file dependency for config files
- some code optimizations
- fixed function definitions on some autoloaded methodes
- fixed function definitions on some autoloaded methods
- fixed nocache variable inside if condition of {if} tag
10/20/2009
@@ -1494,7 +1547,7 @@ request_use_auto_globals
10/11/2009
- fixed bug when template with same name is used with different data objects
- fixed bug with double quoted name attribute at {insert} tag
- reenabled assign_by_ref and append_by_ref methodes
- reenabled assign_by_ref and append_by_ref methods
10/07/2009
- removed block nesting checks for {capture}
@@ -1512,9 +1565,9 @@ request_use_auto_globals
- {PHP} tag can be enabled by allow_php_tag = true
09/30/2009
- fixed handling template_exits methode for all resource types
- fixed handling template_exits method for all resource types
- bugfix for other cache resources than file
- the methodes assign_by_ref is now wrapped to assign, append_by_ref to append
- the methods assign_by_ref is now wrapped to assign, append_by_ref to append
- allow arrays of variables pass in display, fetch and createTemplate calls
$data = array('foo'=>'bar','foo2'=>'blar');
$smarty->display('my.tpl',$data);
@@ -1548,7 +1601,7 @@ NOTICE: existing compiled template and cache files must be deleted
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
{include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- fixed trigger_error method (moved into Smarty class)
- version is now Beta!!!
@@ -1674,7 +1727,7 @@ NOTICE: existing compiled template and cache files must be deleted
- functions defined with the {function} tag now always have global scope
04/29/2009
- fixed problem with directory setter methodes
- fixed problem with directory setter methods
- allow that cache_dir can end without directory separator
04/28/2009
@@ -1746,7 +1799,7 @@ NOTICE: existing compiled template and cache files must be deleted
04/06/2009
- variable scopes LOCAL_SCOPE, PARENT_SCOPE, ROOT_SCOPE
- more getter/setter methodes
- more getter/setter methods
04/05/2009
- replaced new array looping syntax {for $foo in $array} with {foreach $foo in $array} to avoid confusion
@@ -1757,22 +1810,22 @@ NOTICE: existing compiled template and cache files must be deleted
- some fixes on yesterdays update
04/03/2006
- added registerDefaultTemplateHandler methode and functionallity
- added registerDefaultPluginHandler methode and functionallity
- added registerDefaultTemplateHandler method and functionallity
- added registerDefaultPluginHandler method and functionallity
- added {append} tag to extend Smarty array variabled
04/02/2009
- added setter/getter methodes
- added setter/getter methods
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
03/31/2009
- bugfix smarty.class and internal.security_handler
- added compile_check configuration
- added setter/getter methodes
- added setter/getter methods
03/30/2009
- added all major setter/getter methodes
- added all major setter/getter methods
03/28/2009
- {block} tags can be nested now
@@ -1951,17 +2004,17 @@ NOTICE: existing compiled template and cache files must be deleted
01/25/2009
- bugfix allow arrays at object properties in Smarty syntax
- the template object is now passed as additional parameter at plugin calls
- clear_compiled_tpl methode completed
- clear_compiled_tpl method completed
01/20/2009
- access to class constants implemented ( class::CONSTANT )
- access to static class variables implemented ( class::$variable )
- call of static class methodes implemented ( class::methode() )
- call of static class methods implemented ( class::method() )
01/16/2009
- reallow leading _ in variable names {$_var}
- allow array of objects {$array.index->methode()} syntax
- finished work on clear_cache and clear_cache_all methodes
- allow array of objects {$array.index->method()} syntax
- finished work on clear_cache and clear_cache_all methods
01/11/2009
- added support of {literal} tag
@@ -1970,10 +2023,10 @@ NOTICE: existing compiled template and cache files must be deleted
01/08/2009
- moved clear_assign and clear_all_assign to internal.templatebase.php
- added assign_by_ref, append and append_by_ref methodes
- added assign_by_ref, append and append_by_ref methods
01/02/2009
- added load_filter methode
- added load_filter method
- fished work on filter handling
- optimization of plugin loading
@@ -1985,15 +2038,15 @@ NOTICE: existing compiled template and cache files must be deleted
12/23/2008
- fixed problem of not working "not" operator in if-expressions
- added handling of compiler function plugins
- finished work on (un)register_compiler_function methode
- finished work on (un)register_modifier methode
- finished work on (un)register_compiler_function method
- finished work on (un)register_modifier method
- plugin handling from plugins folder changed for modifier plugins
deleted - internal.modifier.php
- added modifier chaining to parser
12/17/2008
- finished (un)register_function methode
- finished (un)register_block methode
- finished (un)register_function method
- finished (un)register_block method
- added security checking for PHP functions in PHP templates
- plugin handling from plugins folder rewritten
new - internal.plugin_handler.php