Uwe.Tews@googlemail.com
5bbfbafc47
- improvement added patch for additional SmartyCompilerException properties for better access to scource information (forum topic 24559)
2013-09-17 20:44:41 +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
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
338e7c5d56
- enhancement added constant SMARTY::CLEAR_EXPIRED for the change of 26.05.2013 (forum topic 24310)
2013-06-17 13:30:49 +00:00
Uwe.Tews@googlemail.com
b0b2c0e86d
17.06.2013
...
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
2013-06-17 12:34:10 +00:00
Uwe.Tews@googlemail.com
6b5b06564f
- bugfix modifier strip_tags:true was compiled into wrong code (Forum Topic 24287)
...
- bugfix /n after ?> in Smarty.class.php did start output buffering (Issue 138)
2013-05-21 21:01:23 +00:00
uwe.tews@googlemail.com
73c7b32c83
13.01.2013
...
- enhancement allow to disable exception message escaping by SmartyException::$escape = false; (Issue #130 )
2013-01-13 21:13:14 +00:00
rodneyrehm
642e021f45
Fixing Issue #118 - muteExpectedErrors would fail non-readable directories
2012-11-01 10:10:10 +00:00
uwe.tews@googlemail.com
4305a8931c
- bugfix escape Smarty exception messages to avoid possible script execution
2012-09-11 16:23:30 +00:00
rodneyrehm
98c9862de4
- bugfix test MBString availability through mb_split(), as it could've been compiled without regex support (--enable-mbregex). Either we get MBstring's full package, or we pretend it's not there at all.
2012-08-22 20:45:22 +00:00
rodneyrehm
8f831024ce
bugfix Smarty_Internal_Write_File::writeFile() could cause race-conditions on linux systems (Issue 101)
2012-05-24 15:13:19 +00:00
rodneyrehm
e91ee4c5ec
improved include_path resolving
2012-02-06 20:45:10 +00:00
rodneyrehm
52754a1a47
- added Smarty::$_UTF8_MODIFIER for proper PCRE charset handling (Forum Topic 20452)
2011-12-18 18:48:07 +00:00
rodneyrehm
d645ad2ea1
- changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing
2011-12-18 18:20:09 +00:00
rodneyrehm
75c271079d
stashing PCRE modifications
2011-12-18 17:21:44 +00:00
rodneyrehm
23a924cebe
(phpdoc indentation)
2011-12-18 16:55:28 +00:00
monte.ohrt
0455f90c8d
update changelog, fix dev version number
2011-12-01 15:34:04 +00:00
uwe.tews@googlemail.com
e8a933e8e0
- bugfix a subtemplate later used as main template did use old variable values
2011-11-24 21:08:26 +00:00
uwe.tews@googlemail.com
8f732cc4b6
- bugfix declare all directory properties private to map direct access to getter/setter also on extended Smarty class
2011-11-18 15:32:17 +00:00
rodneyrehm
7659c6c0ea
- add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)
...
see http://www.smarty.net/forums/viewtopic.php?t=20128
2011-10-21 18:40:16 +00:00
rodneyrehm
6baca38bf1
- improvement sha1() for array keys longer than 150 characters
2011-10-21 12:10:41 +00:00
rodneyrehm
6470e6a2c9
- improvement removed unnecessary sha1()
...
(and added previously forgotten templates for ClearCompileTests)
2011-10-20 20:28:21 +00:00
monte.ohrt
5547f8a485
revert PHP4 constructor
2011-10-19 19:20:58 +00:00
monte.ohrt
0dd7ddb2d1
add exception for using php4 style constructor
2011-10-19 14:32:52 +00:00
rodneyrehm
131553272a
- bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264)
...
www.smarty.net/forums/viewtopic.php?p=75264#75264
2011-10-15 10:46:03 +00:00
rodneyrehm
ef32ed830c
fixing previous commit
2011-10-14 16:22:00 +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
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
904731fd1f
- bugfix switch lexer internals depending on mbstring.func_overload
2011-10-06 14:36:30 +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
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
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
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
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
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
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
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +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
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
uwe.tews@googlemail.com
6443a923cf
- workaround for PHP 5.2.13 bug in method_exists()
2011-04-22 02:19:14 +00:00
uwe.tews@googlemail.com
dea3e1f83e
- bugfix force default debug.tpl to be loaded by the file resource when default_resource_type was modified
2011-02-19 00:20:45 +00:00
monte.ohrt
f9ce2d8c7e
fix typos, rewording
2011-02-11 22:21:17 +00:00
uwe.tews@googlemail.com
9630a99a82
- bugfix dynamic configuration of $debugging_crtl did not work
...
- bugfix default value of $config_read_hidden changed to false
- bugfix format of attribute array on compiler plugins
- bugfix getTemplateVars() could return value from wrong scope
2010-12-31 13:47:12 +00:00