Commit Graph

30 Commits

Author SHA1 Message Date
uwetews
c4746e9080 - optimization of lexer speed https://github.com/smarty-php/smarty/issues/311 2016-11-07 03:08:11 +01:00
uwetews
b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
Uwe Tews
768b7d1ec5 - bugfix the lexer could hang on very large quoted strings (forum topic 25570) 2015-06-11 23:33:30 +02:00
Uwe Tews
e3123c0427 - improvement higher compilation speed by modified lexer/parser generator at "smarty/smarty-lexer" 2015-05-16 16:33:50 +02:00
Uwe Tews
4b7fba4d88 get config properties via compiler object
- reverting part of earlier change of today
2014-12-30 18:16:51 +01:00
Uwe Tews
485f093e0b get config properties via template object 2014-12-30 16:03:21 +01:00
Uwe Tews
2fb5bc6bbe lexer and parser optimizations
up to 30% higher compiling speed depending on template complexity
2014-12-13 23:02:29 +01:00
Uwe.Tews@googlemail.com
ee69f963c6 - bugfix large template text of some charsets could cause parsing errors (topic 24630) 2014-06-17 20:24:20 +00:00
Uwe.Tews@googlemail.com
425091a19f - fixed spelling, PHPDoc , minor errors, code cleanup 2014-06-06 02:40:04 +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
584886cb1c - update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013 2013-07-15 18:18:28 +00:00
Uwe.Tews@googlemail.com
00ccae8857 - update for PHP 5.4 compatibility
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +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
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
a061bc47d1 - bugfix multiline strings in config files could fail on longer strings (reopened Issue #55) 2011-11-01 21:41:12 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
5c8541eae3 - removed assert() from config and template parser 2011-02-01 12:51:01 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
cf11940bf7 - update of template and config file parser because of minor parser generator bugs 2010-05-09 16:48:03 +00:00
Uwe.Tews
f11e4e40bc - internal change of config file lexer/parser on handling of section names
- bugfix on registered objects (format parameter of register_object was not handled correctly)
2010-01-16 12:03:53 +00:00
Uwe.Tews
da2f22438c - allow special characters in config file section names for Smarty2 BC 2010-01-14 22:05:32 +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
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
5f02276a2a - bugfix on comment lines in config files 2009-12-19 16:57:12 +00:00
Uwe.Tews
8f7a70de38 - bugfix on comment lines in config files 2009-12-19 12:36:15 +00:00
Uwe.Tews
74a20f4650 - removed unneeded lexer code 2009-12-05 15:10:47 +00:00
Uwe.Tews
2bab2f147d - bugfix for $smarty->config_overwrite = false 2009-11-24 20:33:40 +00:00
Uwe.Tews
963b13b0af - fixed configfile parser for text starting with a numeric char
- the default_template_handler_func may now return a filepath to a template source
2009-11-23 16:05:30 +00:00
Uwe.Tews
6154717b48 - fixed locaion where outputfilters are running
- fixed config file definitions at EOF
2009-11-14 13:02:48 +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