First draft of set_synapse_weight
[mirrors/Kyberia-bloodline.git] / wwwroot / smarty / NEWS
CommitLineData
51ff3226 1Version 2.6.10 (Aug 5, 2005)
2----------------------------
3
4 - allow secure_dir to be a filename, not just
5 a directory name (monte)
6 - set debug.tpl as a secure_dir, not the entire
7 SMARTY_DIR (monte)
8 - fix proper escaping for literal strings in
9 Smarty_Compiler::_parse_var_props() (boots, messju)
10 - remove ambiguity for numeric values passed to smarty_make_timestamp()
11 (and thus the date_format modifier). numeric values are treated as
12 timestamps now. (andreas, messju)
13 - add passthru attribute feature to html_select_date (Sedgar,
14 monte)
15 - add "middle" parameter to truncate (monte)
16 - make form input label ids optional (monte)
17 - add error message for empty if/elseif statements (eykanal,
18 monte)
19 - cast selected value to string for comparison in html_radios
20 (Exeption, monte)
21 - updated html_select_date's year_as_text-feature to be xhtml compliant
22 (Mark West, messju)
23 - fix handling of selected month html_select_date (Yuri Weseman, messju)
24
25Version 2.6.9 (Mar 31, 2005)
26----------------------------
27
28 - disallow variable function calls in {if} statements (messju, monte)
29 - disallow variable function calls in {math} equations (messju, monte)
30
31Version 2.6.8 (Mar 21, 2005)
32----------------------------
33
34 - remove e-modifier from regex_replace modifier (messju)
35 - remove cast of object to array in foreach's from-attribute (messju)
36 - add "null" as a valid token for {if} when security is enabled (messju)
37 - add javascript_charcode encoding option to mailto function
38 (monte)
39 - add ids to html_radios labels (monte, menulis)
40 - fix handling of strip-tags with non-default delimiters (Mark West, messju)
41
42Version 2.6.7 (Feb 3, 2005)
43---------------------------
44
45 - fix handling of hashed opening php-tags inside strip-blocks (messju)
46 - removed border tag from html_image function (monte)
47 - change escape:url use rawurlencode() instead of urlencode() (messju)
48 - make $smarty.const.FOO compile to "FOO", and not to "constant('foo')".
49 this is less code and a little faster execution. note that undefined
50 constants are now displayed as the constant's name. (messju)
51 - make block functions and registered objects' block methods use a
52 local variable for block_content instead of a property of $smarty (messju)
53 - fix escaping in the generated code that calls smarty_core_load_plugins
54 (jes5199, messju)
55 - fix invalid HTML issue with popup (Stefanos Harhalakis,
56 Monte)
57 - fixed {popup} to properly handle inarray and function parameters and added
58 support for mouseoff and followmouse options (boots)
59
60Version 2.6.6 (Oct 13, 2004)
61----------------------------
62
63 - fixed nocache-handling with nested includes (Lars Jankowfsky, messju)
64 - moved /libs/core to /libs/internals (boots)
65 - fixed more parsing problems (messju)
66
67Version 2.6.5 (Sept 13, 2004)
68-----------------------------
69
70 - fixed some parsing problems with object calls introduced
71 in 2.6.4 (Monte)
72 - add $smarty->security_settings['ALLOW_CONSTANTS']. note: this
73 defaults to false which means you have to allow them explicitly
74 in your secured templates from now on! (messju)
75
76Version 2.6.4 (Sept 7, 2004)
77----------------------------
78
79 - add $smarty.ldelim and $smarty.rdelim to smarty special var (Monte)
80 - fall back to old uniqid()-behaviour when tempnam() fails in
81 core.write_file.php (messju)
82 - fix capitalize modifier, don't rely on buggy ucwords (Monte)
83 - make html_select_date work with negative timestamps, also
84 force year range to include given date unless explicitly
85 set (Garo, Monte)
86 - fix bug with {fetch}, passing user/pass in url did not work
87 (Monte)
88 - fix occasional wrong error messages on mismatched tags when
89 {else}, {elseif}, {foreachelse} or {sectionelse} is involved (messju)
90 - fix handling of methods arguments (messju, Manfred Wischin)
91 - remove touch() call that made the compiled-template's timestamp the
92 same as the source-template's one. (messju)
93 - add assign attribute to html_checkboxes and html_radios
94 (pcg, Monte)
95 - remove non-xhtml conformant tag from mailto function
96 (tacker, Monte)
97 - handle date_format codes %e, %T and %D for windows (tip,
98 Monte)
99 - fix unnecessary call to smarty_core_get_include_path() inside
100 Smarty::_get_auto_filename() (c960657, messju)
101 - add error-messages when anything else than an identifier is passed
102 to foreach's key- or item-attribute (messju)
103 - fix handling of digits inside tagnames (messju)
104 - fix escaping of backslashes in Smarty_Compiler::_quote_replace() (messju)
105
106Version 2.6.3 (June 16, 2004)
107-----------------------------
108
109 - added escapement of '</' to '<\/' in escape:javascript
110 modifier (c960657, Monte)
111 - added obfuscation of protocol-string in {mailto} when using hex-
112 encoding (bharat, messju)
113 - enhanced auto-generated filenames for templates_c and cache (messju)
114 - add 'nonstd' to escape modifier for escaping non-std chars,
115 such as ms doc quote (Monte)
116 - adjusted textformat to not output wrap chars after last para
117 (Monte)
118 - use tempnam() instead of unqid() to create better temporary files in
119 smarty_core_write_file() (xces, messju)
120 - add 'mail' to escape modifier for safe display of e-mail
121 addresses (Monte)
122 - add cycle function attribute "reset" to english docs (Monte)
123 - enhanced support of numeric constants as variable-expressions (messju)
124 - add case decentity to smarty_modifier_escape() (Konstantin A. Pelepelin,
125 messju)
126 - make smarty_core_write_compiled_include() php5-aware (messju)
127 - removed unused functionality to load a subset of lines from a file (messju)
128 - fix is_secure() should only check if a file is_readable, not if
129 the directory where it is in is readable (sagi, messju)
130 - fix problem displaying debug console when $default_resource_type
131 is not "file:" (c960657, Monte)
132 - fix permission handling with security and config_load (messju)
133 - removed '.' from the list of default template locations in
134 _parse_resource_name() (messju)
135 - fix avoid warning with template_exists() on an absolute paths (messju)
136 - fix parameters passed to resource's secure()-function (messju)
137 - fix handling of integer values like width and delay im
138 smarty_function_popup() (messju)
139
140Version 2.6.2 (Feb 17, 2004)
141----------------------------
142
143 - fix allow empty years, months and days in html_select_date's
144 time-attribute (messju)
145 - fix YES and NO should not be booleanized inside triple-quotes in a
146 config-file (messju)
147 - fix accidently slurped line following a triple-quoted value in a
148 config-file (messju)
149 - change default for use_sub_dirs to false (messju)
150 - fix quoting of values in smarty_function_popup() (messju)
151 - fix handling of hidden sections in Config_File (messju)
152 - add handling of resources for {config_load} (messju)
153 - fix bug when using arrays with tr_attr and td_attr in {html_table} (messju)
154 - add unit testing to cvs core (Monte)
155
156Version 2.6.1 (Jan 16, 2004)
157----------------------------
158
159 - rename $smarty->tpl_error_reporting to $smarty->error_reporting
160 (messju)
161 - fix interpretation of $smarty->security in {html_image} (messju)
162 - add caching of requested paths to _assemble_plugin_filepath() (messju)
163 - fix handling of comments inside {php}- and {literal}-blocks (messju)
164 - fix bug handling triple-quotes in config-files (BRDude, messju)
165 - change default of request_use_auto_globals to true - $_SERVER is
166 now preferred over $HTTP_SERVER_VARS (messju)
167 - re-add support for $SCRIPT_NAME (messju)
168 - reactivate $smarty->default_modifiers (messju)
169 - add cookie persistance to debug console (Monte)
170 - allow single-digit days and months without smarty_make_timestamp()
171 in html_select_date (messju)
172 - fix headers sent erroneously with cache_modified_check and fetch()
173 (wphilips, messju)
174 - fix config_file path bug (Marc Cabadas, Monte)
175 - fix 'is even by' and 'is odd by' logic (Monte)
176 - add day_empty, month_empty, year_empty and all_empty attributes to
177 html_select_date (messju)
178 - add table of explanation for {if} qualifiers in docs (boots)
179 - fix bug when comparing array-keys to "selected" in html_options
180 and html_checkboxes (messju)
181 - add better checks for correctly nested tags when compiling (messju)
182 - remove {$SCRIPT_NAME}. use {$smarty.server.SCRIPT_NAME} instead (messju)
183 - remove $global_assign. assign global variables explicitly instead (messju)
184 - fix example for count_characters in docs (boots)
185 - add section new basic syntax section "Escaping Smarty Parsing" in docs (boots)
186 - fix error handler call in config_load (boots)
187 - remove warning in debug_print_var on php-resources (messju)
188 - move function.assign.php to compiler.assign.php (messju)
189 - add property $tpl_error_reporting (messju)
190 - remove property $undefined. "null" is used literally instead (messju)
191
192Version 2.6.0 (Nov 19, 2003)
193----------------------------
194
195 - move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() (messju)
196 - remove import of of attributes of {include_php} to php's namespace.
197 use $params[name] instead (messju)
198
199Version 2.6.0-RC3 (Nov 13, 2003)
200--------------------------------
201
202 - fix handling of $var.key inside [] (messju)
203 - fix handling of assign inside {insert}-tags (messju)
204 - fix handling if [...] inside triple-quotes in config-files (messju)
205 - fix handling of simple-math-operators inside modifiers (Dominik, messju)
206 - fix handling of trailing-slashes in open_basedir in
207 smarty_core_create_dir_structure() (packman, messju)
208
209Version 2.6.0-RC2 (Oct 8, 2003)
210-------------------------------
211
212 - apply modifiers only once to section-loop and foreach-from attrs (messju)
213 - remove use of _smarty_cached_paths-files (messju)
214 - remove Smarty::_plugin_implementation_exists() - use is_callable() (messju)
215 - ignore {strip}/{/strip) inside {strip}-blocks (messju)
216 - fixed removal of leading/trailing newlines in {strip}-blocks (messju)
217 - fixed proper escaping of " and ' with escape:javascript (messju)
218 - fixed bug in traversal of $smarty->plugins_dir-array. now the
219 first matching plugin is taken (messju)
220 - moved {strip} back into the compiler (messju)
221 - fixed config_load: handling of section-attribute and use of
222 multiple config-files in one template (atu, messju)
223
224Version 2.6.0-RC1 (August 11, 2003)
225-----------------------------------
226
227 - fixed status-header for cache_modified_check under cgi-sapi (messju)
228 - added optional parameter $cache_attrs to register_function() and
229 register_block(). $cache_attrs is an array containing attribute-
230 names that should be cached on calls to functions that have
231 $cacheable set to false. (messju)
232 - enabled registration of class-methods as callbacks for the register_*-
233 functions (use: array('classname', 'method_name')) as callback) (messju)
234 - added filepath caching (Monte)
235 - added optional assign-attribute to {capture}-tag (messju)
236 - added $cacheable-parameter to register_compiler_function() (messju)
237 - added $cacheable-parameter with default=true to register_function()
238 and register_block() (messju)
239 - add math speedup to core (Dominik, Monte)
240 - fix newlines for tags without template output (Monte)
241 - added config-option "request_use_auto_globals" to make auto-globals be
242 used as request vars instead of HTTP_*_VARS (messju)
243 - speed up config_load, simplify compiling (Monte)
244 - added block-methods for registered objects (Bharat Mediratta, messju)
245 - ignore one char resource names like c:foo.tpl (Monte)
246 - added default_resource_type feature (Monte)
247 - fix bug where config file starts with hidden section (boots, Monte)
248 - add discrete error checking pertaining to $cache_dir
249 and $compile_dir, their existance and writability (Monte)
250 - fixed behaviour of start=... for {counter} (messju)
251 - fixed assign for {counter} (messju)
252 - added params vdir, hdir and inner to html_table to allow looping
253 over the data in various directions (messju)
254 - allow spaces in literal tags (Paul Lockaby, Monte)
255 - speed up compiled templates, hardcode plugin filepaths
256 instead of dynamically calculate at runtime. (Monte)
257 - abstract many core components from Smarty.class.php,
258 speeding up core class instantiation (Monte)
259 - fixed bug in _create_dir_structure() when used with open_basedir-
260 restriction and relative paths (messju)
261 - use DIRECTORY_SEPARATOR exclusively, keep DIR_SEP for BC (Monte)
262 - changed "link" to "href" in html_image. "link" is still working
263 but deprecated (messju)
264 - html_image always renders an alt-tag now (default alt="") (messju)
265 - fixed assign attribute for multiple counters (messju)
266 - added simple math operators to variables (Monte)
267 - enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted')
268 as callback for register_resource() (messju);
269 - enabled array(&$obj, 'method') as callback for
270 $default_template_handler_func (messju)
271 - remove unnecessary close/open tags from compiled templates
272 (Monte)
273 - fixed errornous creation of '//' in image_path in html_image (messju)
274 - fix escapement of special chars for key vals in debug
275 console (Monte)
276 - fixed debug timing logic for config_load (Tom Sommer, Monte)
277 - all in-code doc comments converted to phpDocumentor format (Greg)
278 - moved strip from smarty core to plugin (Monte)
279 - moved config_load from smarty core to plugin (Monte)
280 - added &$repeat-parameter to block-functions (messju)
281 - enabled hex-constants in function.math.php (messju)
282 - enabled hex-constants (0x...) as function-attributes, inside if-statements
283 and as modifier-parameters (messju)
284 - fixed bug with passing $smarty as reference in Smarty.compiler.class
285 (messju)
286 - corrected output with {strip} and PHP tag newlines (Monte)
287 - added possibility to register function-callbacks as "array(&$obj, 'method)"
288 this affects register_function(), -block, -compiler_function, -modifier,
289 -prefilter, -postfilter, -outputfilter-functions() and $cache_handler_func
290 (messju)
291 - added <labels> to html_checkboxes and html_radios (Philippe, messju)
292 - added "labels"-options to turn off labels in html_checkboxes and _radios
293 (messju)
294
295Version 2.5.0 (April 11, 2003)
296------------------------------
297
298 - fixed bug with default modifier when passing integer 0
299 (Monte)
300 - change backtic syntax from $`foo` to `$foo` (Monte)
301 - recognize $foo[][] syntax inside embedded quotes without
302 backtics (Monte)
303 - name=123 is passed as an integer (not a string) to plugins now (messju)
304 - $length is now propagated to sub-values in debug_print_var (messju)
305
306Version 2.5.0-RC2 (March 26, 2003)
307----------------------------------
308
309 - made clear_cache() ignore compile_id, when clearing cache-groups (this
310 is when no $tpl_file is supplied) (messju)
311 - made onmouseout XHTML-compliant in function.popup.php (messju)
312 - applied local-var-naming-scheme to fetch() (messju)
313 - renamed $localvars to $_localvars in cache-file-handling-functions,
314 added _get_auto_id()-function (messju)
315 - swapped compile_id and cache_id in read_cache_file and write_cache_file
316 (messju)
317 - reverted patch for cache-file-handling (messju)
318 - made html_radios and html_checkboxes accept "selected" instead
319 of "checked" optionally. (messju)
320 - made compile_id ignored in clear_cache, made order of
321 auto_file_name $cache_id.$compile_id again, applied the the new
322 variable-naming-scheme for cache_file_handing functions (messju)
323 - removed notice of undefined var in _rm_auto() (messju)
324 - added warning message when an array is passed as
325 the "checked" value of html_radios (Monte)
326 - fixed errormessage in _compile_smarty_ref() (messju)
327 - updated docs for html_image "name" -> "file" (messju)
328