Commit Graph

27 Commits

Author SHA1 Message Date
Uwe Tews
e351c0123f move some code into Smarty_Internal_Debug class
where it better belongs to
2014-12-30 17:17:15 +01:00
Uwe Tews
963e5dae5e new $smarty->debug options
- new feature $smarty->debug = true; => overwrite existing Debug Console
window (old behaviour)
$smarty->debug = 2; => individual Debug Console window by template name
2014-11-04 18:59:57 +01:00
Uwe Tews
158b7be58a Debug Console Update
- bugfix Debug Console did not show included subtemplates since 3.1.17
(forum 25301)
- bugfix Modifier debug_print_var did not limit recursion or prevent
recursive object display at Debug Console
(ATTENTION: parameter order has changed to be able to specify maximum
recursion)
- bugfix Debug consol did not include subtemplate information with
$smarty->merge_compiled_includes = true
- improvement The template variables are no longer displayed as objects
on the Debug Console
- improvement $smarty->createData($parent = null, $name = null) new
optional name parameter for display at Debug Console
- addition of some hooks for future extension of Debug Console
2014-11-03 22:27:32 +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
98c1dd29cd - bugfix and enhancement
Because several recent problems with template inheritance the {block} tag compiler has been rewriten
   - Error messages shown now the correct child template file and line number
   - The compiler could fail on some larger UTF-8 text block (forum topic 24455}
   - The {strip} tag can now be placed outside {block} tags in child templates (forum topic 24289}
- change SmartyException::$escape  is now false by default
- change PHP traceback has been remove for SmartyException and SmartyCompilerException
2013-08-24 18:46:31 +00:00
Uwe.Tews@googlemail.com
6d88d33c5b - bugfix headers already send warning thrown when using 'SMARTY_DEBUG=on' from URL (Issue 148) 2013-07-29 13:58:08 +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
rodneyrehm
aff7c6a0ab - improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +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
5139a6fcd1 - other update regarding {debug} 2010-12-01 23:34:06 +00:00
uwe.tews@googlemail.com
176c3d625c - improvement of {debug} tag output 2010-12-01 21:19:20 +00:00
uwe.tews@googlemail.com
e80dd75958 -change run output filter before cache file is written (as in Smarty2) 2010-11-27 15:05:38 +00:00
uwe.tews@googlemail.com
5d278ce5ad - code cleanup 2010-11-13 17:48:30 +00:00
uwe.tews@googlemail.com
3c04e4ff37 - bugfix on {debug} 2010-11-13 01:53:38 +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
6ae00435af - changed execution order. A variable filter does now run before modifiers on output of variables
- bugfix use always { and } as delimiter for debug.tpl
2010-07-23 12:53:04 +00:00
Uwe.Tews
b534be00da - replace internal get_time() calls with standard PHP5 microtime(true) calls 2010-06-20 14:37:47 +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
d1969d6f56 - use sha1() for filepath encoding
- updates on nocache_hash handling
2009-12-29 20:12:11 +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
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
4286ad068b - observe umask settings when setting file permissions
- avoide unneeded cache file creation for subtemplates which did occur in some situations
2009-11-18 17:25:18 +00:00
Uwe.Tews
7af23e23b6 - changed debugging handling 2009-11-11 22:09:06 +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