Commit Graph

52 Commits

Author SHA1 Message Date
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
Uwe.Tews
a8a17d09e9 - fixed parsing of names of special formated tags like if,elseif,while,for,foreach
- removed direct access to constants in templates because of some syntax problems
2009-12-01 17:08:54 +00:00
Uwe.Tews
732ab27055 - ignore compile_id at debug template
- added direct access to constants in templates
- some lexer/parser optimizations
2009-11-28 18:48:02 +00:00
Uwe.Tews
f3f01b928a 2009-11-26 21:08:45 +00:00
Uwe.Tews
4afab27bd8 - {strip} tag functionality rewritten 2009-11-25 20:56:51 +00:00
Uwe.Tews
f94acef2cc - allow null, NULL, Null 2009-11-25 16:44:02 +00:00
Uwe.Tews
e80531444b - allow the following writing for boolean: true, TRUE, True, false, FALSE, False 2009-11-25 16:27:06 +00:00
Uwe.Tews
4925a98949 - suppress warnings on unlink caused by race conditions
- correct line number on unknown tag error message
2009-11-23 22:31:22 +00:00
Uwe.Tews
9f505c1c23 - lexer/parser optimizations on quoted strings 2009-11-15 19:05:53 +00:00
Uwe.Tews
d35746dd26 - fixed preg_qoute on delimiters 2009-11-10 16:04:32 +00:00
Uwe.Tews
ff8c1050e4 - lexer/parser bugfix 2009-11-09 16:30:56 +00:00
Uwe.Tews
ce18a4cc15 - bugfix on complex double quoted strings 2009-11-08 16:17:51 +00:00
Uwe.Tews
6a9924162b - lexer/parser fix for null,true,false as array index 2009-11-06 17:40:20 +00:00
Uwe.Tews
caac4bb841 - added typecasting support for template variables 2009-11-04 16:03:25 +00:00