Commit Graph

583 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
e2b14e7c19 - correction of yesterdays bugfix (Forum Topic 21175 and 21182) 2012-03-13 18:10:00 +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
a7f7267b04 - bugfix a double quoted string of "$foo" did not compile into PHP "$foo" (Forum Topic 21175) 2012-03-12 19:25:30 +00:00
uwe.tews@googlemail.com
065db28777 - optimization of compiling speed when same modifier was used several times 2012-03-03 14:10:39 +00:00
uwe.tews@googlemail.com
f6769036f1 - enhancement the default plugin handler can now also resolve undefined modifier (Smarty::PLUGIN_MODIFIER)
(Issue 85)
2012-03-02 20:26:38 +00:00
uwe.tews@googlemail.com
e134e54820 - enhancement added Smarty special variable $smarty.template_object to return the current template object (Forum Topic 20289) 2012-02-19 18:53: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
c000b3a480 - enhancement cacheable parameter added to default plugin handler, same functionality as in registerPlugin (request by calguy1000) 2012-02-07 21:55:37 +00:00
uwe.tews@googlemail.com
820e0e70d8 - bugfix increase entropy of internal function names in compiled and cached template files (Forum Topic 20996) 2012-02-07 18:54:06 +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
rodneyrehm
e91ee4c5ec improved include_path resolving 2012-02-06 20:45:10 +00:00
rodneyrehm
6d90cd3fd7 bugfix fetch('extends:foo.tpl') always yielded $source->exists == true (Forum Topic 20980) 2012-02-06 20:18:47 +00:00
rodneyrehm
b9bae74db6 improvement stream_resolve_include_path() added to Smarty_Internal_Get_Include_Path (Forum Topic 20980) 2012-02-06 20:17:32 +00:00
rodneyrehm
26eac9888d bugfix Smarty_Security internal $_resource_dir cache wasn't properly propagated 2012-01-30 11:31:34 +00:00
uwe.tews@googlemail.com
9419a999c9 2012-01-27 19:30:53 +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
uwe.tews@googlemail.com
1e2fb8fbbe - fixed typo in template parser 2012-01-20 14:52:50 +00:00
uwe.tews@googlemail.com
c352723ec9 - bugfix typo in Smarty_Internal_Get_IncludePath did cause runtime overhead (Issue 74)
- improvment remove unneeded assigments (Issue 75 and 76)
2012-01-20 14:47:01 +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
1b25005d42 - bugfix embedded quotes in single quoted strings did not compile correctly in {nocache} sections (Forum Topic 20730) 2011-12-29 18:44:09 +00:00
rodneyrehm
ec99ee7ee6 - bugfix enable more entropy in Smarty_Internal_Write_File for "more uniqueness" and Cygwin compatibility 2011-12-29 13:30:09 +00:00
uwe.tews@googlemail.com
05f17be99a - bugfix Smarty's internal header code must be excluded from postfilters (issue 71) 2011-12-28 18:51:20 +00:00
uwe.tews@googlemail.com
d6abd3155d - bugfix template inheritace did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680) 2011-12-22 19:37:44 +00:00
uwe.tews@googlemail.com
44f7651eb2 - bugfix the new lexer of 17.12.2011 did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680) 2011-12-22 16:33:12 +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
rodneyrehm
2c25a64dd3 - added Smarty_Security::isTrustedUri() and Smarty_Security::$trusted_uri to validate remote resource calls through {fetch} and {html_image} (Forum Topic 20627) 2011-12-18 22:21:49 +00:00
rodneyrehm
d645ad2ea1 - changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing 2011-12-18 18:20:09 +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
d0b6b69f7c - bufix strings ending with " in multiline strings of config files failed to compile {isse 67) 2011-12-18 15:39:51 +00:00
uwe.tews@googlemail.com
6c17076d19 - improvement of compiling speed by new handling of plain text blocks in the lexer/parser (issue 68) 2011-12-17 14:23:31 +00:00
uwe.tews@googlemail.com
e439c13a3e - bugfix the source exits flag and timestamp was not setup when temple is in php include path (issue 69) 2011-12-16 17:00:51 +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
678b28769d - bugfix is_cache() for individual cached subtemplates with $smarty->caching = CACHING_OFF did produce
an exception (Forum Topic 20531)
2011-11-30 16:31:25 +00:00
uwe.tews@googlemail.com
f14c4bfb9c - bugfix added exception if the default plugin handler did return a not static callback (Forum Topic 20512) 2011-11-29 17:47:37 +00:00
uwe.tews@googlemail.com
8b414e3b8a - bugfix cache file could include unneeded modifier plugins under certain condition 2011-11-21 00:37:33 +00:00
rodneyrehm
0fb537aed2 - bugfix Smarty_Resource::load() did not always return a proper resource handler (Forum Topic 20414) 2011-11-16 08:25:33 +00:00
uwe.tews@googlemail.com
4b7de63dc5 - bugfix allow space between function name and open bracket (forum topic 20375) 2011-11-14 17:14:28 +00:00
monte.ohrt
55fc3b1bc7 fix typos paramter to parameter 2011-11-14 14:53:16 +00:00
uwe.tews@googlemail.com
555a7fceb9 - bugfix different behaviour of uniqid() on cygwin. See https://bugs.php.net/bug.php?id=34908
(forum topic 20199)
2011-11-09 15:30:06 +00:00
uwe.tews@googlemail.com
a061bc47d1 - bugfix multiline strings in config files could fail on longer strings (reopened Issue #55) 2011-11-01 21:41:12 +00:00
uwe.tews@googlemail.com
d3e71dabb6 - bugfix {if} and {while} tags without condition did not throw a SmartyCompilerException (Issue #57) 2011-11-01 20:27:53 +00:00
uwe.tews@googlemail.com
20a14579ce - bugfix use catch Exception instead UnexpectedValueException in
clearCompiledTemplate to be PHP 5.2 compatible

- fixed PHPunit ClearCompiledTests to run also under Windows
2011-10-22 16:47:35 +00:00
rodneyrehm
7659c6c0ea - add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)
see http://www.smarty.net/forums/viewtopic.php?t=20128
2011-10-21 18:40:16 +00:00
rodneyrehm
6baca38bf1 - improvement sha1() for array keys longer than 150 characters 2011-10-21 12:10:41 +00:00
uwe.tews@googlemail.com
37719ce858 - bugfix apostrophe in plugins_dir path name failed (forum topic 20199) 2011-10-21 12:08:35 +00:00
rodneyrehm
6470e6a2c9 - improvement removed unnecessary sha1()
(and added previously forgotten templates for ClearCompileTests)
2011-10-20 20:28:21 +00:00
rodneyrehm
b71323ca24 - bugfix Smarty::clearCompiledTemplate() threw an Exception if $cache_id was not present in $compile_dir when $use_sub_dirs = true.
-rewrote ClearCompiledTests to cover all possible usage scenarios
2011-10-20 12:50:12 +00:00
rodneyrehm
38af2463df - @silenced unlink() in Smarty_Internal_Write_File since debuggers go haywire without it. 2011-10-20 10:55:11 +00:00