rodneyrehm
b977381e4e
bugfix PHP5.2 compatibility compromised by SplFileInfo::getBasename() (Issue 110)
2012-08-14 13:22:34 +00:00
uwe.tews@googlemail.com
9079b1d890
- bugfix compileAllTemplates() and compileAllConfig() did not return the number of compiled files (Forum Topic 21286)
2012-03-21 17:18:51 +00:00
rodneyrehm
e91ee4c5ec
improved include_path resolving
2012-02-06 20:45:10 +00:00
uwe.tews@googlemail.com
c352723ec9
- bugfix typo in Smarty_Internal_Get_IncludePath did cause runtime overhead (Issue 74)
...
- improvment remove unneeded assigments (Issue 75 and 76)
2012-01-20 14:47:01 +00:00
uwe.tews@googlemail.com
20a14579ce
- bugfix use catch Exception instead UnexpectedValueException in
...
clearCompiledTemplate to be PHP 5.2 compatible
- fixed PHPunit ClearCompiledTests to run also under Windows
2011-10-22 16:47:35 +00:00
rodneyrehm
7659c6c0ea
- add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)
...
see http://www.smarty.net/forums/viewtopic.php?t=20128
2011-10-21 18:40:16 +00:00
rodneyrehm
6baca38bf1
- improvement sha1() for array keys longer than 150 characters
2011-10-21 12:10:41 +00:00
rodneyrehm
6470e6a2c9
- improvement removed unnecessary sha1()
...
(and added previously forgotten templates for ClearCompileTests)
2011-10-20 20:28:21 +00:00
rodneyrehm
b71323ca24
- bugfix Smarty::clearCompiledTemplate() threw an Exception if $cache_id was not present in $compile_dir when $use_sub_dirs = true.
...
-rewrote ClearCompiledTests to cover all possible usage scenarios
2011-10-20 12:50:12 +00:00
rodneyrehm
eea360e87d
- bugfix testInstall() did not propery check cache_dir and compile_dir
2011-10-16 09:53:14 +00:00
rodneyrehm
94dff13c89
removing todos
2011-10-13 13:41:59 +00:00
rodneyrehm
6979b4efb0
- add concept unique_resource to combat potentially ambiguous template_resource values when custom resource handlers are used (Forum Topic 2012)
...
http://www.smarty.net/forums/viewtopic.php?t=2012
thereby DRYed and optimized the resource handler identification method.
2011-10-13 13:10:06 +00:00
rodneyrehm
2fdb8c9bb5
- improvement testInstall() now showing resolved paths and checking the include_path if necessary
2011-10-07 11:07:00 +00:00
rodneyrehm
13f1415c22
- bugfix testInstall() would not show path to internal plugins_dir (Forum Post 74627)
2011-10-07 10:38:46 +00:00
uwe.tews@googlemail.com
12e8593760
- improvement add internal $joined_template_dir property instead computing it on the fly several times
2011-10-03 19:02:44 +00:00
rodneyrehm
9bd3520d97
- improvement Smarty_Internal_Utility::clearCompiledTemplate() removed redundant strlen()s
2011-10-01 19:11:28 +00:00
rodneyrehm
655cbc94bc
- improvement replaced some strlen($foo) > 3 calls by isset($foo[3])
2011-10-01 18:47:56 +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
rodneyrehm
c9be9cd7f9
- bugfix lock_id for file resource would create invalid filepath
...
- bugfix resource caching did not care about file.tpl in different template_dir
- added svn:ignore where necessary
2011-09-17 16:29:10 +00:00
uwe.tews@googlemail.com
00d45f4d3f
- bugfix reverted resource caching as it could not detect template_dir changes
2011-09-16 22:31:34 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
c4c0cd254c
- bugfix experimental getTags() method did not work
2011-07-26 18:09:31 +00:00
uwe.tews@googlemail.com
0e863c651d
-improvement not to delete files starting with '.' from cache and template_c folders on clearCompiledTemplate() and clearCache()
2011-02-17 15:43:37 +00:00
uwe.tews@googlemail.com
cfd81bafba
fix memory leak
2011-01-14 21:51:08 +00:00
uwe.tews@googlemail.com
d8f8e417f4
- remove possible warning
2011-01-14 20:40:42 +00:00
uwe.tews@googlemail.com
9ef3c770ef
-bugfix removed memory leak while processing compileAllTemplates
2011-01-14 18:39:16 +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
b38e46db46
- bugfix untility compileAllConfig() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
...
- bugfix on templateExists() for extends resource
2010-09-18 14:57:02 +00:00
uwe.tews@googlemail.com
18bcfa2ba7
- bugfix {$smarty.template} and {$smarty.current_dir} did not compile correctly within {block} tags
...
- bugfix corrected error message on missing template files in extends resource
- bugfix untility compileAllTemplates() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
2010-09-17 18:10:10 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
f99e09f588
- replace internal get_time() calls with standard PHP5 microtime(true) calls in Smarty_Internal_Utility
2010-06-24 14:43:04 +00:00
Uwe.Tews
b534be00da
- replace internal get_time() calls with standard PHP5 microtime(true) calls
2010-06-20 14:37:47 +00:00
Uwe.Tews
24d5ad78f3
- bugfix allow array definitions as modifier parameter
...
- bugfix observe compile_check property when loading config files
- added the template object as third filter parameter
2010-03-29 15:41:01 +00:00
Uwe.Tews
76f1bd5428
- new method utility->compileAllConfig() to compile all config files
2010-03-25 21:18:58 +00:00
Uwe.Tews
c24dce9ed4
- change of utility->compileAllTemplates() log messages
...
- bugfix on nocache code in {function} tags
2010-03-25 20:43:56 +00:00
Uwe.Tews
7f64fdc593
- bugfix make directory separator operating system independend in compileAllTemplates()
2010-03-22 16:12:18 +00:00
monte.ohrt
56d054b743
fix testInstall() error messages
2010-03-22 14:48:46 +00:00
Uwe.Tews
97041ec7be
- removed unused code in compileAllTemplates()
2010-03-21 14:18:17 +00:00
monte.ohrt
0c2b18c727
move getTemplateVars() into data object
2010-02-08 17:31:15 +00:00
Uwe.Tews
ae49fe099b
- minor fixes on API update
2010-02-07 11:09:28 +00:00
monte.ohrt
8f8a11f733
add new files
2010-02-07 03:03:48 +00:00