Uwe Tews
464b37c053
optimize compiled code of {foreach}
2015-02-15 16:58:42 +01:00
Uwe Tews
8082bc7471
get rid of smarty object self pointer
2015-02-15 01:45:37 +01:00
Uwe Tews
0e87a99507
- bugfix recursive {includes} did create E_NOTICE message when $smarty->$merge_compiled_includes = true;
2015-02-11 07:15:40 +01:00
Uwe Tews
aec380839c
- bugfix recursive {includes} did create E_NOTICE message when $smarty->$merge_compiled_includes = true;
2015-02-11 06:57:17 +01:00
Uwe Tews
4428d72e6d
Update testInstall() and move it into its own class
2015-01-12 22:12:20 +01:00
Uwe Tews
466c3ee9f8
Use require_once ; remove unnedded paramter
2015-01-07 16:46:57 +01:00
Uwe Tews
43f043364f
fix case in class name
2015-01-06 01:18:58 +01:00
Uwe Tews
67162324bb
check ..._dir property overloading
...
if $template_dir, $compile_dir, $cache_dir, $config_dir or $plugins_dir properties
are overloaded the setters must be called for required processing
2015-01-05 02:03:24 +01:00
Uwe Tews
2aaa29ad20
reset _is_file_cache
2015-01-04 23:54:11 +01:00
Uwe Tews
7cc981e6a6
revert some unneeded normalization of compiled_dir, cache_dir and plugins_dir
2015-01-04 23:42:22 +01:00
Uwe Tews
068da64c99
best defaults for internal resource caching
...
$resource_caching = false and $template_resource_caching = true
fixed typos
2015-01-04 05:49:38 +01:00
Uwe Tews
57620443e9
Optimize constructor
2015-01-03 07:56:03 +01:00
Uwe Tews
15728f6ea3
normalize directory path
2015-01-02 10:22:36 +01:00
Uwe Tews
0a3579f9ca
restructure template processing
...
Code was moved into classes it better belongs to.
This does reduce also Smarty's memory footprint
2015-01-02 09:12:01 +01:00
Uwe Tews
e8a77171d3
implement templateId generation as method
2015-01-01 22:27:45 +01:00
Uwe Tews
0cb8b24055
implement most common stetters as method for better performance
2014-12-31 15:56:59 +01:00
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