Uwe Tews
80bf76cc6e
move internal createTemplateCodeFrame() method into an extension class
2015-01-01 22:59:07 +01:00
Uwe Tews
e8a77171d3
implement templateId generation as method
2015-01-01 22:27:45 +01:00
Uwe Tews
2f8d4f1dbf
missing property
2014-12-31 16:08:36 +01:00
Uwe Tews
b013984dfd
move properties into classes where they better belong to
2014-12-31 15:44:08 +01:00
Uwe Tews
4b7fba4d88
get config properties via compiler object
...
- reverting part of earlier change of today
2014-12-30 18:16:51 +01:00
Uwe Tews
e351c0123f
move some code into Smarty_Internal_Debug class
...
where it better belongs to
2014-12-30 17:17:15 +01:00
Uwe Tews
d3e26fb679
template function call handling
2014-12-30 16:43:42 +01:00
Uwe Tews
1d248d6349
formatting
2014-12-30 16:28:18 +01:00
Uwe Tews
8fe6f14af7
Change class name case because of composer autoloader problems
2014-12-30 16:27:08 +01:00
Uwe Tews
b122878131
rename parse tree class names and minor fixes
2014-12-30 16:22:03 +01:00
Uwe Tews
825ccc9f47
rename parse tree class names to Smarty_Internal_ParseTree....
2014-12-30 16:16:54 +01:00
Uwe Tews
485f093e0b
get config properties via template object
2014-12-30 16:03:21 +01:00
Uwe Tews
6be6bf7b70
limit the template nesting level by security
2014-12-30 12:57:43 +01:00
Uwe Tews
1da50aa61d
security can now disable special $smarty variables
...
see also NEW_FEATURES.txt
2014-12-29 21:59:23 +01:00
Uwe Tews
2fb5bc6bbe
lexer and parser optimizations
...
up to 30% higher compiling speed depending on template complexity
2014-12-13 23:02:29 +01:00
Uwe Tews
2fe60e8996
resolve parser ambiguity
...
- bugfix resolve parser ambiguity between constant print tag {CONST} and
other smarty tags after change of 09.12.2014
2014-12-11 05:21:21 +01:00
Larry Lewis
7bb7b3ac03
Commit 7b2a2c4a88 changed the constant processing to allow a variable in teh $smarty.const but this broke the normal callout. Change allows both methods.
2014-12-11 08:06:27 +11:00
Uwe Tews
2a2a73cabc
- bugfix call of template function by a variable name
...
did not work after latest changes (forum 25342)
2014-12-10 00:51:09 +01:00
Uwe Tews
7bd40d2c0b
- bugfix variables $null, $true and $false did not work
...
after the change of 12.11.2014 (forum 25342)
2014-12-09 23:33:11 +01:00
Uwe Tews
ffbfe40043
- bugfix a plugin with attached modifier could fail
...
if the tag was immediately followed by another Smarty tag (since 3.1.21) (forum 25326)
2014-11-23 13:25:09 +01:00
Uwe Tews
de7310b702
Revert "delete unwanted file"
...
This reverts commit 77d8349ffb .
2014-11-13 19:52:41 +01:00
Uwe Tews
77d8349ffb
delete unwanted file
2014-11-13 19:48:34 +01:00
Uwe Tews
0b21213c55
new feature - added support of namespaces to template code
2014-11-12 19:07:00 +01:00
Uwe Tews
c7e8881c76
bugfix for recent changes of {function} tag handling
2014-11-11 01:01:01 +01:00
Uwe Tews
9ecbb93ebb
update of the $smarty->merge_compiled_includes option
2014-11-11 00:03:08 +01:00
Uwe Tews
460be5a5da
bugfix for recent changes of {function} tag handling
2014-11-10 23:57:30 +01:00
Uwe Tews
adc6091c4d
update of cache resources for template function calls in nocache mode
2014-11-09 10:20:06 +01:00
Uwe Tews
230c5787e6
move Smarty exceptions into syslibs folder
2014-11-09 06:42:20 +01:00
Uwe Tews
b82756a705
- bugfix subtemplate called in nocache mode could be called with wrong compile_id when it did change on one of the calling templates
2014-11-08 21:27:53 +01:00
Uwe Tews
ea9c681106
remove no longer needed code
2014-11-08 21:06:53 +01:00
Uwe Tews
f92af96419
fixed $smarty->debugging on merged compiled subtemplates
2014-11-08 21:02:14 +01:00
Uwe Tews
8f8d462b8a
add code of template functions called in nocache mode dynamically to cache file
2014-11-08 17:19:53 +01:00
Uwe Tews
963e5dae5e
new $smarty->debug options
...
- new feature $smarty->debug = true; => overwrite existing Debug Console
window (old behaviour)
$smarty->debug = 2; => individual Debug Console window by template name
2014-11-04 18:59:57 +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
Ilya Antipenko
95cc39deb6
Clean merge conflicts
2014-11-01 11:22:03 +02:00
Uwe Tews
199c16e827
resolved merge conflict
2014-11-01 00:34:32 +01:00
Uwe Tews
21204c6613
Merge branch 'trunk'
2014-10-31 05:31:56 +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
0c9ca2994e
- bugfix merge_compiled_includes option failed when caching enables and same subtemplate was included cached and not cached
2014-10-26 09:47:10 +01:00
Uwe Tews
f7955513b2
Revert "- bugfix template function call handler must never be called as nocache code"
...
This reverts commit db183d1aa4 .
2014-10-24 00:09:45 +02:00
Uwe Tews
db183d1aa4
- bugfix template function call handler must never be called as nocache code
2014-10-23 19:05:25 +02:00
Uwe Tews
a22ee9f264
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
2014-10-23 18:27:12 +02:00
Uwe Tews
117d28f647
Upload 3.21
2014-10-18 01:17:22 +02:00
Uwe Tews
024b336bea
Upload 3.1.20
2014-10-18 01:05:22 +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
279bdbd352
- bugfix on $php_handling security and optimization of smarty_internal_parsetree (Thue Kristensen)
2014-10-16 22:53:22 +00:00
Uwe.Tews@googlemail.com
b10b12165a
- bugfix calling a new created cache file with fetch() and Smarty::CACHING_LIFETIME_SAVED multiple times did fail (forum 22350)
2014-10-15 20:22:22 +00:00
Uwe.Tews@googlemail.com
c77cc80a8c
- bugfix any tag placed within "<script language=php>" will throw a security exception to close all thinkable holes
2014-10-14 21:45:05 +00:00