rodneyrehm
81c068dc3a
f***ing phpunit now doing what it's supposed to.
2011-10-13 15:36:35 +00:00
rodneyrehm
94dff13c89
removing todos
2011-10-13 13:41:59 +00:00
rodneyrehm
6979b4efb0
- add concept unique_resource to combat potentially ambiguous template_resource values when custom resource handlers are used (Forum Topic 2012)
...
http://www.smarty.net/forums/viewtopic.php?t=2012
thereby DRYed and optimized the resource handler identification method.
2011-10-13 13:10:06 +00:00
uwe.tews@googlemail.com
806c51fdcf
- bugfix disable of caching after isCached() call did not work (Forum Topic 20131)
2011-10-13 11:59:02 +00:00
rodneyrehm
3b006ae5a1
- add caching for config files in Smarty_Resource
...
(not really sure why this wasn't implemented yet?!) If we removed this (for some reason) we should've made a note of it in the code...
2011-10-13 09:50:55 +00:00
uwe.tews@googlemail.com
0fabe627ad
- add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120)
2011-10-11 15:49:19 +00:00
uwe.tews@googlemail.com
d3258767a6
- bugfix <?xml> tag did create wrong output when caching enabled and the tag was in included subtemplate
2011-10-10 11:38:27 +00:00
rodneyrehm
1cfdafccdd
- bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54 )
2011-10-10 08:53:43 +00:00
uwe.tews@googlemail.com
4c070d0bda
- bugfix parent pointer was not set when fetch() for other template was called on template object
2011-10-07 15:30:04 +00:00
rodneyrehm
b7ef6f0597
- improvement removed some unnecessary count()s
2011-10-07 14:05:26 +00:00
rodneyrehm
1f35133079
- improvement html_checkboxes and html_radios to accept null- and object values, and label_ids attribute
2011-10-07 13:39:45 +00:00
rodneyrehm
1bf1b05846
- bugfix html_options plugin did not handle object values properly (Issue #49 , Forum Topic 20049)
2011-10-07 12:11:33 +00:00
rodneyrehm
2fdb8c9bb5
- improvement testInstall() now showing resolved paths and checking the include_path if necessary
2011-10-07 11:07:00 +00:00
rodneyrehm
13f1415c22
- bugfix testInstall() would not show path to internal plugins_dir (Forum Post 74627)
2011-10-07 10:38:46 +00:00
rodneyrehm
a3a4bf8f80
- improvement removed html comments from {mailto} (Forum Topic 20092)
2011-10-07 08:55:12 +00:00
rodneyrehm
7169e594c4
- bugfix start_year and end_year of {html_select_date} did not use current year as offset base (Issue #53 )
2011-10-06 15:12:35 +00:00
uwe.tews@googlemail.com
904731fd1f
- bugfix switch lexer internals depending on mbstring.func_overload
2011-10-06 14:36:30 +00:00
rodneyrehm
3825ef336c
- bugfix html_options plugin did not handle null- and object values properly (Issue #49 , Forum Topic 20049)
2011-10-05 18:51:10 +00:00
uwe.tews@googlemail.com
1e48394ed3
- bugfix nofilter tag option did not disable default modifier
2011-10-05 18:17:40 +00:00
rodneyrehm
3e3f6ad43c
- add environment configuration issue with mbstring.func_overload Smarty cannot compensate for (Issue #45 )
2011-10-05 17:51:44 +00:00
rodneyrehm
aeec0783ec
- bugfix of problem introduced with r4342 by replacing strlen() with isset()
2011-10-05 17:11:01 +00:00
uwe.tews@googlemail.com
8bab7fe522
- bugfix has_nocache_code flag was not reset before compilation
2011-10-04 18:58:17 +00:00
uwe.tews@googlemail.com
eb9714cf0e
- bugfix output filter should not run on individually cached subtemplates
...
- add unloadFilter() method
2011-10-04 17:50:39 +00:00
uwe.tews@googlemail.com
4cb1e143cc
- bugfix of problem introduced with r4342 on math plugin
2011-10-04 16:38:12 +00:00
uwe.tews@googlemail.com
dbda42bc6c
- bugfix assign() in plugins called in subtemplates did change value also in parent template
2011-10-04 16:18:24 +00:00
uwe.tews@googlemail.com
12e8593760
- improvement add internal $joined_template_dir property instead computing it on the fly several times
2011-10-03 19:02:44 +00:00
rodneyrehm
c24e213ed9
typo
2011-10-01 19:35:54 +00:00
rodneyrehm
9bd3520d97
- improvement Smarty_Internal_Utility::clearCompiledTemplate() removed redundant strlen()s
2011-10-01 19:11:28 +00:00
rodneyrehm
655cbc94bc
- improvement replaced some strlen($foo) > 3 calls by isset($foo[3])
2011-10-01 18:47:56 +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
rodneyrehm
41958a5790
- improvement of Smarty_Internal_Config::loadConfigVars() dropped the in_array for index look up
2011-09-29 12:59:06 +00:00
uwe.tews@googlemail.com
bc2d519c38
- bugfix on template functions called nocache calling other template functions
2011-09-28 15:56:01 +00:00
uwe.tews@googlemail.com
d9ba05407a
- bugfix wrong resource could be used on compile check of custom resource
2011-09-27 21:48:33 +00:00
rodneyrehm
ae85a298d8
- bugfix smarty_make_timestamp() failed to process DateTime objects properly
2011-09-27 18:16:03 +00:00
uwe.tews@googlemail.com
0348e71109
- bugfix variable property did not work on objects variable in template
2011-09-27 17:52:21 +00:00
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
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