Commit Graph

65 Commits

Author SHA1 Message Date
Uwe.Tews@googlemail.com
478db521c9 - bugfix $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail (forum topic 24899) 2014-03-20 22:07:26 +00:00
Uwe.Tews@googlemail.com
7dec7d9963 - revert change of 17.03.2014 2014-03-18 18:22:33 +00:00
Uwe.Tews@googlemail.com
45fc4cd729 - bugfix $smarty->auto_literal and mbsting.func_overload 2, 6 or 7 did fail (forum topic 24899) 2014-03-17 19:04:48 +00:00
Uwe.Tews@googlemail.com
18ff092501 2014-01-11 12:15:37 +00:00
Uwe.Tews@googlemail.com
a0a24e1975 - enhancement additional debug output at $smarty->_parserdebug = true; 2013-12-15 15:25:50 +00:00
Uwe.Tews@googlemail.com
6abc9ea0d3 - bugfix compiler could fail if PHP mbstring.func_overload is enabled (Issue 164) 2013-11-07 20:00:56 +00:00
Uwe.Tews@googlemail.com
96c2a9c71a - bugfix delimiter followed by linebreak did not work as auto literak after update form 24.08.2013 (forum topic 24518} 2013-08-27 19:42:38 +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
518ffca6f5 - bugfix internal $tmpx variables must be unique over all inheritance templates (Issue 149) 2013-08-12 21:09:29 +00:00
Uwe.Tews@googlemail.com
f99e6a83ce - bugfix increase of internal maximum parser stacksize to allow more complex tag code {forum topic 24426} 2013-07-14 21:12:08 +00:00
uwe.tews@googlemail.com
81a6d0869b - bugfix tag option flags and shorttag attributes did not work when rdel started with '=' (Forum Topic 22979) 2012-09-10 22:04:03 +00:00
uwe.tews@googlemail.com
b70b06aa20 - bugfix $auto_literal = false did not work with { block} tags in child templates
(problem was reintroduced after fix in 3.1.7)(Forum Topic 20581)
2012-08-21 21:54:30 +00:00
uwe.tews@googlemail.com
35a68ed535 - bugfix attribute parameter names of plugins may now contain also "-" and ":" (Forum Topic 21856) 2012-05-24 16:01:19 +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
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
4b7de63dc5 - bugfix allow space between function name and open bracket (forum topic 20375) 2011-11-14 17:14:28 +00:00
uwe.tews@googlemail.com
904731fd1f - bugfix switch lexer internals depending on mbstring.func_overload 2011-10-06 14:36:30 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
184557ed46 - bugfix condition starting with "-" did fail at {if} and {while} tags 2011-05-13 14:08:55 +00:00
uwe.tews@googlemail.com
5a6c3e6928 -improvement allow leading spaces on } tag closing if auto_literal is enabled 2011-02-16 16:45:27 +00:00
uwe.tews@googlemail.com
0860e69018 - bugfix the lexer/parser did fail on special characters like VT 2011-01-31 14:15:12 +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
1c9f015135 - bugfix on block plugins with modifiers
- bugfix on template inheritance. prefilter did not run over child blocks
2010-11-20 00:00:24 +00:00
uwe.tews@googlemail.com
f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
44c6732970 15/09/2010
- bugfix resolving conflict between '<%'/'%>' as custom Smarty delimiter and ASP tags
- use ucfirst for resource name on internal resource class names
2010-09-15 15:17:28 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
254c9e6c53 - bugfix strip did not work correctly in conjunction with comment lines 2010-08-02 16:29:23 +00:00
Uwe.Tews
ff7fce9bca - fixed handling of { strip } tag with whitespaces 2010-07-20 16:19:54 +00:00
Uwe.Tews
c1e1c03892 - make the date_format modifier work also on objects of the DateTime class
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
Uwe.Tews
95869f258e - allow spaces between typecast and value in template syntax
- bugfix get correct count of traversables in {foreach} tag
2010-06-22 18:09:12 +00:00
Uwe.Tews
1380199f43 - closed security hole when php.ini asp_tags = on 2010-06-20 20:37:16 +00:00
Uwe.Tews
6ba7d10ccd - make handling of Smarty comments followed by newline BC to Smarty2 2010-06-14 18:40:31 +00:00
Uwe.Tews
7075a1186d - bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
2010-06-13 12:52:36 +00:00
Uwe.Tews
538708d344 11/06/2010
- bugfix the lexer did fail on larger {literal} ... {/literal} sections
2010-06-11 13:01:36 +00:00
Uwe.Tews
62490ae8c0 - removed /* vim: set expandtab: */ comments
- bugfix of auto literal problem introduce with fix of 31/05/2010
2010-06-01 19:11:48 +00:00
Uwe.Tews
6ac2489ea5 - bugfix the parser did not allow some smarty variables with special name like $for, $if, $else and others. 2010-05-31 17:58:23 +00:00
Uwe.Tews
c8be3ed029 - removed parser restrictions in using true,false and null as ID 2010-04-12 18:22:53 +00:00
Uwe.Tews
13089f2d64 - changed parsing of <?php and ?> back to Smarty2 behaviour 2010-03-11 22:26:46 +00:00
Uwe.Tews
3898f593f4 - allow block tags inside double quoted string 2010-02-27 20:10:32 +00:00
Uwe.Tews
0426dd0459 - bugfix on expressions in doublequoted string enclosed in backticks
- added security property $static_classes for static class security
2010-02-24 18:01:03 +00:00
Uwe.Tews
f393874262 - bugfix on parsing Smarty tags inside <?xml ... ?>
- bugfix on truncate modifier
2010-02-18 16:28:11 +00:00
Uwe.Tews
44feb88c19 - bugfix on <?xml ... ?> tags for all php_handling modes
- bugfix on parameter of variablefilter.htmlspecialchars.php plugin
2010-02-16 20:20:49 +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
063cb19f18 - preserve line endings type form template source 2010-02-07 12:49:57 +00:00
Uwe.Tews
ecfc492298 - bugfix on backslash within single quoted strings 2010-01-14 15:57:09 +00:00
Uwe.Tews
aabc4352c2 - added optional nocache attribute to {block} tags in parent template
- updated <?php...?> handling supporting now heredocs and newdocs. (thanks to Thue Jnaus Kristensen)
2010-01-11 20:44:01 +00:00
Uwe.Tews
44dd7830dd --- this is a major update with a couple of internal changes ---
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews
74a20f4650 - removed unneeded lexer code 2009-12-05 15:10:47 +00:00
Uwe.Tews
7e6da87134 - added max attribute to for loop
- added security mode allow_super_globals
2009-12-04 15:44:47 +00:00
Uwe.Tews
1573bf813c - added {for $foo = 1 to 5 step 2} syntax 2009-12-03 22:39:45 +00:00