Uwe.Tews
1eb8a44b0f
- bugfix typo in smarty_internal_templatecompilerbase and smarty_internal_template
2010-04-07 15:19:02 +00:00
Uwe.Tews
b52e9f1ac8
- compile locking by touching old compiled files to avoid concurrent compilations
2010-03-31 16:23:01 +00:00
Uwe.Tews
63d671b935
- bugfix on caching mode SMARTY_CACHING_LIFETIME_SAVED and cache_lifetime = 0
2010-03-23 17:08:46 +00:00
monte.ohrt
cba54ad3d8
remove old API call
2010-03-10 16:21:16 +00:00
Uwe.Tews
5e2bf86e66
- bugfix on uninitialized properties in smarty_internal_template
...
- bugfix on $smarty->disableSecurity()
2010-03-09 21:11:21 +00:00
monte.ohrt
689ee2c73c
fix overload error
2010-03-09 15:14:11 +00:00
monte.ohrt
54a8dcd343
add __get() to templateCreate class
2010-03-08 16:20:19 +00:00
monte.ohrt
05a9c3beab
add setters/getters to created templates
2010-03-08 15:15:41 +00:00
Uwe.Tews
a2a7942cea
- bugfix allow uppercase chars in registered resource names
2010-03-04 15:49:48 +00:00
Uwe.Tews
3898f593f4
- allow block tags inside double quoted string
2010-02-27 20:10:32 +00:00
Uwe.Tews
b48ef33cd5
- bugfix of cache filename on extended templates when force_compile=true
2010-02-08 17:39:48 +00:00
Uwe.Tews
d19fbb19d9
- bugfix on changes of 05/02/2010
2010-02-07 20:45:44 +00:00
monte.ohrt
9af377d7d3
major API update
2010-02-06 22:11:10 +00:00
Uwe.Tews
3ad446bb21
- bugfix on modifier and block plugins with same name
2010-02-05 17:03:22 +00:00
Uwe.Tews
8defafbb14
- bugfix cache resource was not loaded when caching was globally off but enabled at a template object
2010-01-25 18:10:35 +00:00
Uwe.Tews
17a8c7f0a2
- bugfix on file dependendcy at template inheritance
...
- bugfix on nocache code at template inheritance
2010-01-07 19:33:18 +00:00
Uwe.Tews
d287c6b1d9
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling
2010-01-05 21:10:25 +00:00
Uwe.Tews
a6c2f5f8d4
- internal change on building cache files
2010-01-03 11:53:28 +00:00
Uwe.Tews
4519218f04
- update cached_timestamp at the template object after cache file is written to avoid possible side effects
...
- use internally always SMARTY_CACHING_LIFETIME_* constants
2010-01-02 12:15:04 +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
7a8e24cfc1
- internal change on merging some data
2009-12-29 22:27:04 +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
monte.ohrt
f908aa0a27
update cache logic to use secure dynamic cache id
2009-12-28 05:08:45 +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
b2db17992b
- bugfix on single quote inside {function} tag
2009-12-12 11:51:07 +00:00
Uwe.Tews
74a20f4650
- removed unneeded lexer code
2009-12-05 15:10:47 +00:00
Uwe.Tews
319f0c88fb
- map 'true' to SMARTY_CACHING_LIFETIME_CURRENT for the $smarty->caching parameter
2009-11-30 17:52:13 +00:00
Uwe.Tews
27d3a21fb4
- added cache resource MYSQL plugin
2009-11-27 20:46:56 +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
963b13b0af
- fixed configfile parser for text starting with a numeric char
...
- the default_template_handler_func may now return a filepath to a template source
2009-11-23 16:05:30 +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
a63bc0f83b
- sanitize compile_id and cache_id (replace illegal chars with _)
...
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +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
39b25f8db8
- fix on nocache code in child {block} tags
2009-11-12 22:50:48 +00:00
Uwe.Tews
7af23e23b6
- changed debugging handling
2009-11-11 22:09:06 +00:00
Uwe.Tews
05c64b7748
- fixed file dependency for {incude} inside {block} tag
...
- fixed not compiling on non existing compiled templates when compile_check = false
2009-11-03 18:02:13 +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