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
uwe.tews@googlemail.com
9f3758ace1
do not clone Smarty object on internal createTemplate() calls
2010-12-22 16:35:39 +00:00
uwe.tews@googlemail.com
5522850591
- bugfix missing declaration of $smarty in Smarty class
2010-12-05 17:21:02 +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
ef85c9f2ad
- bugfix captured content could not be accessed globally
...
- bugfix Smarty2 wrapper functions could not be call from within plugins
2010-11-15 22:54:59 +00:00
uwe.tews@googlemail.com
21ed644f82
- bugfix when using {$smarty.session} as object
...
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +00:00
uwe.tews@googlemail.com
d2cafef753
- small performace patch in Smarty class
2010-11-14 18:46:18 +00:00
uwe.tews@googlemail.com
6ff5c28343
- bugfix overloading problem when $smarty->fetch()/display() have been used in plugins
2010-11-13 18:32:50 +00:00
uwe.tews@googlemail.com
5d278ce5ad
- code cleanup
2010-11-13 17:48:30 +00:00
uwe.tews@googlemail.com
fe63ad36b8
- reverted location of loadPlugin() to Smarty class
...
- fixed comments in plugins
2010-11-13 04:10:52 +00:00
uwe.tews@googlemail.com
6401833933
- reactivated $error_reporting property handling
2010-11-12 14:53:49 +00:00