Commit Graph

183 Commits

Author SHA1 Message Date
Uwe Tews
b013984dfd move properties into classes where they better belong to 2014-12-31 15:44:08 +01:00
Uwe Tews
47faa63a0e use function_exists('mb_get_info') for setting Smarty::$_MBSTRING
Function mb_split could be overloaded depending on php.ini mbstring.func_overload
2014-12-31 06:07:17 +01:00
Uwe Tews
49a3427515 clear internal _is_file_cache when plugins_dir was modified 2014-12-27 23:06:04 +01:00
Uwe Tews
0b6af0add7 move autoload code into Autoloader.php.
Use Composer autoloader when possible
2014-11-13 19:42:01 +01:00
Uwe Tews
460be5a5da bugfix for recent changes of {function} tag handling 2014-11-10 23:57:30 +01:00
Uwe Tews
223cdc0787 moved code into constructor 2014-11-09 10:15:16 +01:00
Uwe Tews
230c5787e6 move Smarty exceptions into syslibs folder 2014-11-09 06:42:20 +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
bc13ebbc9b -bugfix and enhancement on subtemplate {include} and template {function} tags.
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
Uwe Tews
84e5ef7345 3.1.22-dev 2014-10-31 05:48:52 +01:00
Uwe Tews
21204c6613 Merge branch 'trunk' 2014-10-31 05:31:56 +01:00
Uwe Tews
1f878e6d74 v3.1.21 2014-10-31 05:22:20 +01:00
Uwe Tews
6254b5d4df Merge branch 'v3.1.21' 2014-10-31 05:16:16 +01:00
Uwe Tews
cef27602bb v3.1.20 2014-10-31 05:12:39 +01:00
Uwe Tews
52fb7b1e25 - bugfix access to class constant by object like {$object::CONST} or variable class name {$class::CONST} did not work (forum 25301) me 2014-10-30 00:55:01 +01:00
Uwe Tews
16afbfaca1 Prepare 3.1.22-dev 2014-10-18 01:21:53 +02:00
Uwe Tews
542892dded Upload 3.1.21 2014-10-18 01:09:18 +02:00
Uwe Tews
024b336bea Upload 3.1.20 2014-10-18 01:05:22 +02:00
Uwe Tews
7c6b3d21fa revert 2014-10-18 01:01:36 +02:00
Uwe Tews
bdac1cb2e1 Upload 3.1.20 2014-10-18 00:53:39 +02:00
Uwe Tews
d26db3f717 Revert "Prepare 3.2.22-dev"
This reverts commit 451c62001d.
2014-10-18 00:45:38 +02:00
Uwe Tews
451c62001d Prepare 3.2.22-dev 2014-10-18 00:38:59 +02:00
Uwe Tews
eb48f3bcea Upload 3.1.21 2014-10-18 00:31:50 +02:00
Uwe Tews
0409ab005e Upload version 3.1.20 2014-10-18 00:18:11 +02:00
Uwe.Tews@googlemail.com
dece63c5d7 - improvement cache is_file(file_exists) results of loadPlugin() to avoid unnecessary calls during compilation (Issue 201} 2014-10-14 22:29:58 +00:00
Uwe.Tews@googlemail.com
a1dac5a053 Switch trunk version to 3.1.21-dev 2014-10-10 17:12:39 +00:00
Uwe.Tews@googlemail.com
7ca939f47b - bugfix UNC WINDOWS PATH like "\\psf\path\to\dir" did not work as template directory (Issue 192) 2014-06-08 18:12:09 +00: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
8658b04c86 bugfix calling createTemplate(template, data) with empty data array caused notice of array to string conversion (Issue 189) 2014-04-19 11:42:11 +00:00
Uwe.Tews@googlemail.com
608dddc19a 2014-04-18 08:09:38 +00:00
Uwe.Tews@googlemail.com
a613394887 Update dev version number to 3.1.19-dev 2014-04-07 19:57:42 +00:00
Uwe.Tews@googlemail.com
79d67afb0f - bugfix default date format leads to extra spaces when displaying dates with single digit days (Issue 182) 2014-04-04 23:38:36 +00:00
Uwe.Tews@googlemail.com
bfa0ce8ba4 - bugfix a '//' or '\\' in template_dir path could produce wrong path on relative filepath in {include} (Issue 175) 2014-02-16 18:34:08 +00:00
Uwe.Tews@googlemail.com
7f88dcd31f - bugfix {include} with {block} tag handling (forum topic 24599, 24594, 24682) (Issue 161)
Read 3.1.16_RELEASE_NOTES for more details
2013-12-15 15:19:01 +00:00
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