Commit Graph

680 Commits

Author SHA1 Message Date
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
a061bc47d1 - bugfix multiline strings in config files could fail on longer strings (reopened Issue #55) 2011-11-01 21:41:12 +00:00
uwe.tews@googlemail.com
d3e71dabb6 - bugfix {if} and {while} tags without condition did not throw a SmartyCompilerException (Issue #57) 2011-11-01 20:27:53 +00:00
uwe.tews@googlemail.com
4f4cb7847d fixed changelog 2011-10-22 17:07:06 +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
1edb2220c7 - bugfix smarty_mb_from_unicode() would not decode unicode-points properly 2011-10-22 15:30:26 +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
uwe.tews@googlemail.com
37719ce858 - bugfix apostrophe in plugins_dir path name failed (forum topic 20199) 2011-10-21 12:08:35 +00:00
rodneyrehm
6470e6a2c9 - improvement removed unnecessary sha1()
(and added previously forgotten templates for ClearCompileTests)
2011-10-20 20:28:21 +00:00
rodneyrehm
922017c7fa - bugfix {html_select_date} and {html_select_time} did not properly handle empty time arguments (Forum Topic 20190)
see http://www.smarty.net/forums/viewtopic.php?t=20190
2011-10-20 13:31:25 +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
38af2463df - @silenced unlink() in Smarty_Internal_Write_File since debuggers go haywire without it. 2011-10-20 10:55:11 +00:00
uwe.tews@googlemail.com
85658fcdd4 - fixed PHP4 constructor message 2011-10-19 19:49:27 +00:00
monte.ohrt
5547f8a485 revert PHP4 constructor 2011-10-19 19:20:58 +00:00
monte.ohrt
dd30176b9e fix text filenames, update changelog 2011-10-19 18:20:03 +00:00
monte.ohrt
724e1b969f update change log 2011-10-19 14:37:08 +00:00
monte.ohrt
0dd7ddb2d1 add exception for using php4 style constructor 2011-10-19 14:32:52 +00:00
rodneyrehm
eea360e87d - bugfix testInstall() did not propery check cache_dir and compile_dir 2011-10-16 09:53:14 +00:00
rodneyrehm
131553272a - bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264)
www.smarty.net/forums/viewtopic.php?p=75264#75264
2011-10-15 10:46:03 +00:00
rodneyrehm
318328cd75 fixing previous commit 2011-10-14 17:54:25 +00:00
rodneyrehm
59a95253b4 - add Smarty_Internal_Template::clearCache() to accompany isCached() fetch() etc. 2011-10-14 17:15:06 +00:00
rodneyrehm
ef32ed830c fixing previous commit 2011-10-14 16:22:00 +00:00
rodneyrehm
8a82d84861 - add locking to custom resources (Forum Post 75252)
this is a potentially dirty commit
2011-10-14 16:17:27 +00:00
rodneyrehm
ef3e29daa7 - bugfix unique_resource did not properly apply to compiled resources (Forum Topic 20128) 2011-10-14 09:31:09 +00:00
uwe.tews@googlemail.com
8471e25bd8 - bugfix multiline strings in config files could fail on longer strings (Issue #55) 2011-10-13 16:25:50 +00:00
rodneyrehm
81c068dc3a f***ing phpunit now doing what it's supposed to. 2011-10-13 15:36:35 +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
uwe.tews@googlemail.com
806c51fdcf - bugfix disable of caching after isCached() call did not work (Forum Topic 20131) 2011-10-13 11:59:02 +00:00
rodneyrehm
3b006ae5a1 - add caching for config files in Smarty_Resource
(not really sure why this wasn't implemented yet?!) If we removed this (for some reason) we should've made a note of it in the code...
2011-10-13 09:50:55 +00:00
uwe.tews@googlemail.com
0fabe627ad - add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120) 2011-10-11 15:49:19 +00:00
rodneyrehm
352cb05cf5 - bugfix Smarty_CacheResource_mysql example was missing strtotime() calls 2011-10-10 19:31:34 +00:00
uwe.tews@googlemail.com
d3258767a6 - bugfix <?xml> tag did create wrong output when caching enabled and the tag was in included subtemplate 2011-10-10 11:38:27 +00:00
rodneyrehm
1cfdafccdd - bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54) 2011-10-10 08:53:43 +00:00
uwe.tews@googlemail.com
4c070d0bda - bugfix parent pointer was not set when fetch() for other template was called on template object 2011-10-07 15:30:04 +00:00
rodneyrehm
b7ef6f0597 - improvement removed some unnecessary count()s 2011-10-07 14:05:26 +00:00
rodneyrehm
1f35133079 - improvement html_checkboxes and html_radios to accept null- and object values, and label_ids attribute 2011-10-07 13:39:45 +00:00
rodneyrehm
1bf1b05846 - bugfix html_options plugin did not handle object values properly (Issue #49, Forum Topic 20049) 2011-10-07 12:11:33 +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
rodneyrehm
a3a4bf8f80 - improvement removed html comments from {mailto} (Forum Topic 20092) 2011-10-07 08:55:12 +00:00
rodneyrehm
7169e594c4 - bugfix start_year and end_year of {html_select_date} did not use current year as offset base (Issue #53) 2011-10-06 15:12:35 +00:00
uwe.tews@googlemail.com
904731fd1f - bugfix switch lexer internals depending on mbstring.func_overload 2011-10-06 14:36:30 +00:00
rodneyrehm
3825ef336c - bugfix html_options plugin did not handle null- and object values properly (Issue #49, Forum Topic 20049) 2011-10-05 18:51:10 +00:00
uwe.tews@googlemail.com
1e48394ed3 - bugfix nofilter tag option did not disable default modifier 2011-10-05 18:17:40 +00:00
rodneyrehm
3e3f6ad43c - add environment configuration issue with mbstring.func_overload Smarty cannot compensate for (Issue #45) 2011-10-05 17:51:44 +00:00
rodneyrehm
aeec0783ec - bugfix of problem introduced with r4342 by replacing strlen() with isset() 2011-10-05 17:11:01 +00:00
uwe.tews@googlemail.com
8bab7fe522 - bugfix has_nocache_code flag was not reset before compilation 2011-10-04 18:58:17 +00:00
uwe.tews@googlemail.com
eb9714cf0e - bugfix output filter should not run on individually cached subtemplates
- add unloadFilter() method
2011-10-04 17:50:39 +00:00