Commit Graph

87 Commits

Author SHA1 Message Date
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
239462fde4 - bugfix $smarty.const... inside doublequoted strings and backticks was compiled into wrong PHP code 2010-02-14 20:26:57 +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
2c570f25b9 - bugfix on $smarty.const... in double quoted strings 2010-01-17 15:52:37 +00:00
Uwe.Tews
19c0e47495 - bugfix on {if} tags 2010-01-13 15:33:54 +00:00
Uwe.Tews
51ed5b7861 - closed possible security hole at <?php ... ?> tags
- bugfix of config file parser on large config files
2010-01-12 22:12:19 +00:00
Uwe.Tews
f83fd47acc - changed back modifer handling in parser. Some restrictions still apply:
if modifiers are used in side {if...} expression or in mathematical expressions 
    parentheses must be used.
2010-01-12 19:05:26 +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
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
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
be04e0904c - fixed {strip} handling in auto literals 2009-12-17 20:39:11 +00:00
Uwe.Tews
8d5fab37e8 - bugfix on object as array index 2009-12-15 00:02:10 +00:00
Uwe.Tews
7406a7386a - allow !$foo as value 2009-12-13 20:21:54 +00:00
Uwe.Tews
74a20f4650 - removed unneeded lexer code 2009-12-05 15:10:47 +00:00
Uwe.Tews
1723b98ce0 - fixed problem when a cached file was fetched several times 2009-12-05 13:38:09 +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
19413d8dab - bugfix for {$foo.$x.$y.$z} 2009-12-04 00:18:54 +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
255eec00ae - bugfix double quoted string 2009-11-27 00:43:38 +00:00
Uwe.Tews
be47f5773e - fix on checking dynamic varibales with error_unassigned = true 2009-11-26 23:36:30 +00:00
Uwe.Tews
6b506c4b40 - allow integer as attribute name in plugin calls 2009-11-18 21:51:20 +00:00
Uwe.Tews
724a31ce11 - added {foreach $array as $key=>$value} syntax 2009-11-17 18:09:29 +00:00
Uwe.Tews
9f505c1c23 - lexer/parser optimizations on quoted strings 2009-11-15 19:05:53 +00:00
Uwe.Tews
960fd1b3a9 - parser could run into a PHP error on wrong file attribute 2009-11-14 20:09:18 +00:00
Uwe.Tews
d482a8b137 - bugfix modifiers on registered object tags 2009-11-14 10:40:08 +00:00
Uwe.Tews
ff8c1050e4 - lexer/parser bugfix 2009-11-09 16:30:56 +00:00
Uwe.Tews
2e61999def - fixed alphanumeric array index 2009-11-08 21:01:22 +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
Uwe.Tews
bbbb5e098e - fixed parser error on objects with special smarty vars 2009-11-03 15:23:18 +00:00
Uwe.Tews
7409a9061d - remove last change for unquoted attribute values 2009-11-02 22:25:35 +00:00
Uwe.Tews
15ee358dd7 - change on unquoted attribute values 2009-11-02 20:21:28 +00:00
Uwe.Tews
8d6607d410 - added neq,lte,gte,mod as aliases to if conditions 2009-11-02 17:49:57 +00:00
Uwe.Tews
cf379474fd - change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00