Commit Graph

59 Commits

Author SHA1 Message Date
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
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
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
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
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
uwe.tews@googlemail.com
8bab7fe522 - bugfix has_nocache_code flag was not reset before compilation 2011-10-04 18:58:17 +00:00
uwe.tews@googlemail.com
bc2d519c38 - bugfix on template functions called nocache calling other template functions 2011-09-28 15:56:01 +00:00
uwe.tews@googlemail.com
8e6626fbca - bugfix for Smarty2 style compiler plugins on unnamed attribute passing like {tag $foo $bar}
- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true
2011-09-18 18:36:26 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
c4c0cd254c - bugfix experimental getTags() method did not work 2011-07-26 18:09:31 +00:00
uwe.tews@googlemail.com
c859f6a9ae - bugfix PHP did eat line break on nocache sections 2011-07-12 17:20:45 +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
fe26cf256e - bugfix replace modifier did not work in 3.0.7 on systems without multibyte support
- bugfix {$smarty.template} could return in 3.0.7 parent template name instead of 
         child name when it needed to compile
2011-03-01 19:47:44 +00:00
uwe.tews@googlemail.com
e583777976 - bugfix for Smarty2 style compiler plugins on unnamed attribute passing like {tag $foo $bar} 2011-02-25 16:09:28 +00:00
uwe.tews@googlemail.com
dea3e1f83e - bugfix force default debug.tpl to be loaded by the file resource when default_resource_type was modified 2011-02-19 00:20:45 +00:00
uwe.tews@googlemail.com
9ef3c770ef -bugfix removed memory leak while processing compileAllTemplates 2011-01-14 18:39:16 +00:00
uwe.tews@googlemail.com
9630a99a82 - bugfix dynamic configuration of $debugging_crtl did not work
- bugfix default value of $config_read_hidden changed to false
- bugfix format of attribute array on compiler plugins
- bugfix getTemplateVars() could return value from wrong scope
2010-12-31 13:47:12 +00:00
uwe.tews@googlemail.com
b9477b0deb - bugfix added missing support of $cache_attrs for registered plugins 2010-12-17 21:05:29 +00:00
uwe.tews@googlemail.com
c08664e75e -bugfix allow integer as attribute name in plugin calls
-change  trimm whitespace from error message, removed long list of expected tokens
2010-11-23 23:36:16 +00:00
uwe.tews@googlemail.com
1153ea5a5a - bugfix on template inheritance when an {extends} tag was inserted by a prefilter 2010-11-22 19:43:11 +00:00
uwe.tews@googlemail.com
21ed644f82 - bugfix when using {$smarty.session} as object
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +00:00
uwe.tews@googlemail.com
fe63ad36b8 - reverted location of loadPlugin() to Smarty class
- fixed comments in plugins
2010-11-13 04:10:52 +00:00
uwe.tews@googlemail.com
f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
ad921936b0 - remove exception_handler property from Smarty class
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
cbe2f3356f - removed call_user_func_array calls for optimization of compiled code when using registered modifiers and plugins
- updated comments
2010-07-01 19:57:56 +00:00
Uwe.Tews
3197470ca5 - reverted the change 0f 30/04/2010. With the exception of forward references template functions can be again called by a standard tag. 2010-05-11 17:01:08 +00:00
Uwe.Tews
d1986c6cff - bugfix on {insert} 2010-05-07 13:08:46 +00:00
Uwe.Tews
ecf66837b5 - fix to make calling of template functions unambiguously by madatory usage of the {call} tag 2010-04-30 21:06:07 +00:00
Uwe.Tews
ea84147f45 - work around of a substr_compare bug in older PHP5 versions 2010-04-30 14:00:26 +00:00
Uwe.Tews
5d644eb203 - bugfix in smarty_internal_templatecompilerbase (overloaded property) 2010-04-12 15:06:24 +00:00
Uwe.Tews
1eb8a44b0f - bugfix typo in smarty_internal_templatecompilerbase and smarty_internal_template 2010-04-07 15:19:02 +00:00
Uwe.Tews
b14725e21a - bugfix typo in smarty_internal_templatecompilerbase 2010-04-07 15:10:34 +00:00
Uwe.Tews
b52e9f1ac8 - compile locking by touching old compiled files to avoid concurrent compilations 2010-03-31 16:23:01 +00:00
Uwe.Tews
24d5ad78f3 - bugfix allow array definitions as modifier parameter
- bugfix observe compile_check property when loading config files
- added the template object as third filter parameter
2010-03-29 15:41:01 +00:00
Uwe.Tews
ed2458e9ae - code optimization 2010-02-27 23:28:14 +00:00
Uwe.Tews
cb0ba1908a - allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode
- bugfix at new "for" syntax like {for $x=1 to 10 step 2}
2010-02-10 20:51:36 +00:00
Uwe.Tews
43ae585e5e - added $smarty->_tag_stack for tracing block tag hierarchy 2010-02-09 21:20:17 +00:00
Uwe.Tews
3ad446bb21 - bugfix on modifier and block plugins with same name 2010-02-05 17:03:22 +00:00
Uwe.Tews
cfea085629 - bugfix on plugins if same plugin was called from a nocache section first and later from a cached section 2010-01-19 17:01:10 +00:00
Uwe.Tews
383e4bb4ae - revert handling of newline on no output tags like {if...} 2010-01-14 20:57:27 +00:00
Uwe.Tews
a3459b2e3a - bugfix on nocache {block} tags in parent templates 2010-01-09 19:23:35 +00:00
Uwe.Tews
17a8c7f0a2 - bugfix on file dependendcy at template inheritance
- bugfix on nocache code at template inheritance
2010-01-07 19:33:18 +00:00
Uwe.Tews
8c93e0765a - bugfix for obtaining plugins which must be included (related to change of 12/30/2009) 2010-01-01 12:07:36 +00:00
Uwe.Tews
72219be200 - optimization of generated code for doublequoted strings containing variables
- rewrite of {function} tag handling
  - can now be declared in an external subtemplate
  - can contain nocache sections (nocache_hash handling)
  - can be called in noccache sections (nocache_hash handling)
  - new {call..} tag to call template functions with a variable name {call name=$foo}
- fixed nocache_hash handling in merged compiled templates
2009-12-31 16:38:12 +00:00
Uwe.Tews
a6c4c0b192 - bugfix for plugins defined in the script as smarty_function_foo 2009-12-30 14:26:42 +00:00
Uwe.Tews
8327f57f36 2009-12-29 20:12:51 +00:00
Uwe.Tews
d1969d6f56 - use sha1() for filepath encoding
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
monte.ohrt
5d6b87d9a1 replace md5 with str_replace 2009-12-28 17:41:27 +00:00