Commit Graph

41 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
820e0e70d8 - bugfix increase entropy of internal function names in compiled and cached template files (Forum Topic 20996) 2012-02-07 18:54:06 +00:00
uwe.tews@googlemail.com
53df807220 - improvement replaced some calls of preg_replace with str_replace (Issue 73) 2012-02-06 20:53:57 +00:00
uwe.tews@googlemail.com
555a7fceb9 - bugfix different behaviour of uniqid() on cygwin. See https://bugs.php.net/bug.php?id=34908
(forum topic 20199)
2011-11-09 15:30:06 +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
5693de91f5 - bugfix subtemplate could use wrong varibale scope when it was recalled from different templates 2011-07-27 16:47:44 +00:00
uwe.tews@googlemail.com
c64813beb5 - bugfix individual cache_lifetime of {include} did not work correctly inside {block} tags 2011-07-15 00:42:43 +00:00
uwe.tews@googlemail.com
9d1b0abe5c - bugfix internal rendered_content must be cleared after subtemplate was included 2011-03-03 19:37:00 +00:00
uwe.tews@googlemail.com
fe26cf256e - bugfix replace modifier did not work in 3.0.7 on systems without multibyte support
- bugfix {$smarty.template} could return in 3.0.7 parent template name instead of 
         child name when it needed to compile
2011-03-01 19:47:44 +00:00
uwe.tews@googlemail.com
5b8a7e2ad9 - bugfix removed possible race condition when isCached() was called for an individually cached subtemplate 2011-02-18 17:33:38 +00:00
uwe.tews@googlemail.com
65e823610d - bugfix when using {$smarty.block.child} and name of {block} was in double quoted string
- bugfix updateParentVariables() was called twice when leaving {include} processing
2011-01-10 17:10:35 +00:00
uwe.tews@googlemail.com
f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
4556f7d370 - bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results) 2010-09-12 17:46:04 +00:00
Uwe.Tews
96e3d9937a - fixed E_STRICT errors for uninitialized variables 2010-08-23 14:40:10 +00:00
Uwe.Tews
ee15e53542 - added attribute cache_id to {include} tag 2010-08-22 12:15:51 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
09dfffd2a0 - bugfix in nocache sections {include} must not cache the subtemplate 2010-08-05 21:13:29 +00:00
Uwe.Tews
b52cbe9adb - bugfix passing scope attributes in doublequoted strings did not work at {include} {assign} and {append} 2010-07-30 13:09:52 +00:00
monte.ohrt
968deec9a4 remove newline on include tag 2010-06-10 18:58:26 +00:00
Uwe.Tews
063b8bf150 - rewrite of template function handling to improve speed
- bugfix on file dependency when merge_compiled_includes = true
2010-05-25 19:33:55 +00:00
Uwe.Tews
98753671e3 - bugfix when merging compiled templates and objects are passed as parameter of the {include} tag 2010-05-06 17:59:31 +00:00
Uwe.Tews
383e4bb4ae - revert handling of newline on no output tags like {if...} 2010-01-14 20:57:27 +00:00
Uwe.Tews
72219be200 - optimization of generated code for doublequoted strings containing variables
- rewrite of {function} tag handling
  - can now be declared in an external subtemplate
  - can contain nocache sections (nocache_hash handling)
  - can be called in noccache sections (nocache_hash handling)
  - new {call..} tag to call template functions with a variable name {call name=$foo}
- fixed nocache_hash handling in merged compiled templates
2009-12-31 16:38:12 +00:00
Uwe.Tews
d1969d6f56 - use sha1() for filepath encoding
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
Uwe.Tews
de4957a151 - update for security fixes
- make modifier plugins always trusted
2009-12-28 15:27:13 +00:00
Uwe.Tews
44dd7830dd --- this is a major update with a couple of internal changes ---
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews
aaa7b8f245 - bugfix of parent/global variable update at included/merged subtemplates
- encode final template filepath into filename of compiled and cached files
2009-12-17 16:58:44 +00:00
Uwe.Tews
13448b9b0b - added {include file='foo.tpl' inline} inline option to merge compiled code of aubtemplate into the calling template 2009-12-16 17:05:31 +00:00
Uwe.Tews
2c23dccf3b - use $template_class property for template class name when compiling {include},{eval} and {extends} tags 2009-12-01 22:24:31 +00:00
Uwe.Tews
25270df6bd - correct line number on unknown tag error message
- changed {include} compiled code
2009-11-26 22:49:56 +00:00
Uwe.Tews
cc4058c633 - compiled templates are no longer touched with the filemtime of template source 2009-11-19 14:45:04 +00:00
Uwe.Tews
4286ad068b - observe umask settings when setting file permissions
- avoide unneeded cache file creation for subtemplates which did occur in some situations
2009-11-18 17:25:18 +00:00
Uwe.Tews
5b6050bf54 - fix on merging compiled templates with nocache sections in nocache includes 2009-11-14 16:20:18 +00:00
Uwe.Tews
6154717b48 - fixed locaion where outputfilters are running
- fixed config file definitions at EOF
2009-11-14 13:02:48 +00:00
Uwe.Tews
2e70e88b0f - bugfix on merging compiled templates when source files got removed or renamed. 2009-11-14 10:08:27 +00:00
Uwe.Tews
d35746dd26 - fixed preg_qoute on delimiters 2009-11-10 16:04:32 +00:00
Uwe.Tews
60601acc25 2009-11-09 21:50:11 +00:00
Uwe.Tews
039d9044da 2009-11-09 21:22:28 +00:00
Uwe.Tews
6f7896c87b - bugfix for {function} block tags in included templates 2009-11-09 20:56:50 +00:00
monte.ohrt
3386b94e15 change linefeed style to native on all files 2009-11-06 14:35:00 +00:00
Uwe.Tews
cf379474fd - change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00