Commit Graph

41 Commits

Author SHA1 Message Date
uwetews
4f7cd8f1b3 - reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483 2018-08-31 16:45:09 +02:00
uwetews
7a8607fe17 - PSR-2 code style fixes for config and template file Lexer/Parser generated with
the Smarty Lexer/Parser generator from https://github.com/smarty-php/smarty-lexer
    https://github.com/smarty-php/smarty/pull/483
2018-08-31 02:37:47 +02:00
uwetews
799b5cb342 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
    https://github.com/smarty-php/smarty/pull/473
  - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472
2018-08-19 02:35:46 +02:00
Sławomir Kaleta
2404095783 Update PSR-2 2018-06-12 09:58:15 +02:00
Uwe Tews
3799714d53 lexer/parser optimization 2017-11-05 20:04:32 +01:00
Uwe Tews
dd9c076dfa - correction of PHPDoc blocks
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews
418a1fd443 - improvement repeated delimiter like {{ and }} will be treated as literal
https://groups.google.com/forum/#!topic/smarty-developers/h9r82Bx4KZw
2017-08-09 11:15:33 +02:00
Uwe Tews
5a8d015ef1 - bugfix solve preg_match() hhvm parameter problem https://github.com/smarty-php/smarty/pull/372 2017-07-21 08:12:33 +02:00
uwetews
b745a31a2d fixed spelling chilek commented on c4746e9 2016-11-11 21:17:32 +01:00
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
071f9af42f anchor BOM regex to front of file 2014-07-16 21:40:57 +00:00
Uwe.Tews@googlemail.com
77292d394a - enhancement remove BOM automatically from template source (topic 25161) 2014-07-16 18:21:25 +00: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
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
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
uwe.tews@googlemail.com
8471e25bd8 - bugfix multiline strings in config files could fail on longer strings (Issue #55) 2011-10-13 16:25:50 +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
d999a7bc5c - bugfix do not run filters and default modifier when displaying the debug template
- bugfix of embedded double quotes within multi line strings (""")
2011-04-01 08:41:57 +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
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
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
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
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