Commit Graph

16 Commits

Author SHA1 Message Date
Uwe Tews
b3f8ddefd2 remove redundant overloaded methods 2015-01-06 04:42:49 +01:00
Uwe Tews
296a88b557 Change class name case because of composer autoloader problems 2015-01-02 06:07:19 +01:00
Uwe Tews
c3aa9994c8 rework source resource handling
- move class Smarty_Template_Source into its own file
- impelement all source processing into the classes it better belongs to
2015-01-01 23:34:29 +01:00
Uwe Tews
8fe6f14af7 Change class name case because of composer autoloader problems 2014-12-30 16:27:08 +01: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
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
a98d83bbf3 - improvment better error message for undefined templates at {include} 2011-09-24 18:20:13 +00:00
rodneyrehm
d0228e96ea - removed internal muteExpectedErrors() calls in favor of having the implementor call this once from his application
- optimized muteExpectedErrors() to pass errors to the latest registered error handler, if appliccable

error muting is now a global thing. this was done because of the overhead set_error_handler imposes and the fact, that only a few people really "need" this. 

The decision was made by uwe.tews and rodneyrehm. (just in case anyone asks…)
2011-09-24 12:56:52 +00:00
rodneyrehm
7a6b9dba91 - added $error_muting to suppress error messages even for badly implemented error_handlers
- reverted r4301
2011-09-21 22:02:54 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
ad921936b0 - remove exception_handler property from Smarty class
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
d287c6b1d9 - bugfix sha1() calculations at extends resource and some general improvments on sha1() handling 2010-01-05 21:10:25 +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
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