Commit Graph

617 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
5c33be7fc0 - bugfix remove race condition when a custom resource did change timestamp during compilation 2011-09-27 17:15:31 +00:00
rodneyrehm
0cd9821dcc - added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now 2011-09-27 12:36:50 +00:00
rodneyrehm
b6e6b67548 - bugfix possible warning "attempt to modify property of non-object" in {section} (issue #34) 2011-09-27 10:09:25 +00:00
uwe.tews@googlemail.com
709e5e1e84 - bugfix repeated calls to same subtemplate did not make use of cached template object 2011-09-26 15:21:50 +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
5c0d7ad8b4 - added compile_dir and cache_dir to list of muted directories 2011-09-24 15:45:30 +00:00
rodneyrehm
25e31b38f5 fixed error_handler 2011-09-24 14:12:36 +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
uwe.tews@googlemail.com
537285032c - bugfix error muting was not implemented for cache locking 2011-09-23 22:27:44 +00:00
uwe.tews@googlemail.com
50a8f805dd - remove unused properties
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an 
  extended Smarty class created problems
2011-09-23 20:21:16 +00:00
monte.ohrt
1d9f527c1e update header 2011-09-23 14:22:30 +00:00
uwe.tews@googlemail.com
00a4769aa5 - bugfix debug.tpl did not display correctly when it was compiled with escape_html = true 2011-09-22 19:13:15 +00:00
uwe.tews@googlemail.com
6e22abb6dd - bugfix {foreachelse} does fail if {section} was nested inside {foreach} 2011-09-22 14:51:34 +00:00
rodneyrehm
48295d9573 - reverted ./ and ../ handling in fetch() and display() - they're allowed again 2011-09-21 23:06:27 +00:00
uwe.tews@googlemail.com
95ab01f99f remove unneeded error suppression 2011-09-21 22:54:08 +00:00
rodneyrehm
985b575e97 oops 2011-09-21 22:45:21 +00:00
rodneyrehm
f1511d813e monte wanted some docs on the topic of error_muting 2011-09-21 22:44:53 +00:00
rodneyrehm
38a3554fa0 optimized autoloader 2011-09-21 22:10:52 +00:00
rodneyrehm
e499fb11f0 oops… 2011-09-21 22:05:54 +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
uwe.tews@googlemail.com
b77446463f - bugfix use 3.0 version of smarty_internal_write_file.php because of problems with custom error handlers 2011-09-21 19:39:30 +00:00
uwe.tews@googlemail.com
cade307db0 - bugfix look for mixed case plugin file names as in 3.0 if not found try all lowercase 2011-09-21 19:06:16 +00:00
uwe.tews@googlemail.com
eb60692dbe - bugfix {assign} with scope root and global did not work in all cases 2011-09-20 19:12:51 +00:00
rodneyrehm
a3dc61542d apc.enable_cli must be activated for the APC test to execute in unit tests (which are run from CLI) duh! 2011-09-20 17:33:15 +00:00
uwe.tews@googlemail.com
bff28f38a4 - bugfix {include} did not work inside nested {block} tags 2011-09-20 17:27:45 +00:00
rodneyrehm
2df84e24a6 - bugfix relative paths in $template_dir broke relative path resolving in {include "../foo.tpl"} 2011-09-20 14:12:34 +00:00
uwe.tews@googlemail.com
29a7600b74 - bugfix removed debug echo output while compiling template inheritance 2011-09-19 23:58:52 +00:00
uwe.tews@googlemail.com
c8eb5d078a - bugfix output filter shall not run on included subtemplates 2011-09-19 21:13:44 +00:00
rodneyrehm
c877da74de - bugfix regression in Smarty_CacheReource_KeyValueStore introduced by r4261
- added APC test
- added read/write test to APC demo ('cause it ain't working on my machine!?)
2011-09-19 20:17:22 +00:00
uwe.tews@googlemail.com
8e6626fbca - bugfix for Smarty2 style compiler plugins on unnamed attribute passing like {tag $foo $bar}
- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true
2011-09-18 18:36:26 +00:00
rodneyrehm
c86131979e comma -> dot 2011-09-18 09:48:51 +00:00
uwe.tews@googlemail.com
a44d9a6ac9 - bugfix template caching did not care about file.tpl in different template_dir
- bugfix {include $file} was broken when merge_compiled_incluges = true
- bugfix {include} was broken when merge_compiled_incluges = true and same indluded template
  was used in different main templates in one compilation run
2011-09-18 02:31:58 +00:00
rodneyrehm
c9be9cd7f9 - bugfix lock_id for file resource would create invalid filepath
- bugfix resource caching did not care about file.tpl in different template_dir
- added svn:ignore where necessary
2011-09-17 16:29:10 +00:00
uwe.tews@googlemail.com
00d45f4d3f - bugfix reverted resource caching as it could not detect template_dir changes 2011-09-16 22:31:34 +00:00
monte.ohrt
b6274e6ae9 fix non utf-8 chars 2011-09-16 16:26:28 +00:00
monte.ohrt
12a8953246 commit 3.1 files to trunk 2011-09-16 15:16:22 +00:00
uwe.tews@googlemail.com
c0e62f38ba Update SMARTY_3.1_NOTES.txt 2011-09-16 14:46:38 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
5693de91f5 - bugfix subtemplate could use wrong varibale scope when it was recalled from different templates 2011-07-27 16:47:44 +00:00
uwe.tews@googlemail.com
c4c0cd254c - bugfix experimental getTags() method did not work 2011-07-26 18:09:31 +00:00
uwe.tews@googlemail.com
c64813beb5 - bugfix individual cache_lifetime of {include} did not work correctly inside {block} tags 2011-07-15 00:42:43 +00:00
uwe.tews@googlemail.com
c859f6a9ae - bugfix PHP did eat line break on nocache sections 2011-07-12 17:20:45 +00:00
uwe.tews@googlemail.com
a55e05506e - bugfix clear_config Smarty2 BC wrapper function was missing 2011-06-19 20:34:28 +00:00
uwe.tews@googlemail.com
4d07e3b03e - bugfix do not overwrite 'smarty' template variable when {include ... scope=parent} exits 2011-06-16 17:27:32 +00:00
rodneyrehm
bc96213c44 fix smarty security_policy issue in plugins {html_image} and {fetch} 2011-06-09 07:52:58 +00:00
uwe.tews@googlemail.com
0c552377cd - bugfix registerFilter() or registerPlugin() on template objects did register to the main Smarty object if the register methods had been used on the main Smarty object before. 2011-06-07 14:31:22 +00:00
monte.ohrt
b59c9b06f9 update version 2011-06-03 19:39:21 +00:00
uwe.tews@googlemail.com
7c90b107b2 - bugfix <?xml..?> in templates did break "cache modified check" 2011-05-29 10:37:57 +00:00
uwe.tews@googlemail.com
7c0e3c89c1 - bugfix error handling at stream resources 2011-05-14 11:11:52 +00:00
uwe.tews@googlemail.com
86586e5af4 - bugfix fopen() error handling at stream resources 2011-05-14 10:18:10 +00:00