70405aeab4de05feaafbe5fb517a066b1ba15d8f
[mirrors/Kyberia-bloodline.git] / NEWS
1 Version 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
25 Version 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
31 Version 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
42 Version 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
60 Version 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
67 Version 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
76 Version 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
106 Version 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
140 Version 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
156 Version 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
192 Version 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
199 Version 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
209 Version 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
224 Version 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
295 Version 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
306 Version 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 - fixed bug with html_options-optgroups (Nichlas Löfdahl, messju)
329 - cleaned up calls to readdir() (messju)
330 - fixed bug with passing multiple modifiers to a parameter
331 (Monte)
332 - updated docs for html_checkboxes, html_options and html_radios (messju)
333 - fixed wrong default "name" attribute for html_options (messju)
334 - html_checkboxes now expect the options as attribute "options" instead
335 of "checkboxes. html_radios expect "options" instead of "radios".
336 cleaned up indentiation (messju)
337 - fixed too greedy str_replace in trimwhitespace outputfilter (messju)
338 - html_checkboxes and html_radios passthru all unknown paramters now
339 additionally their output is now XHTML compliant (messju)
340 - html_options passthru all unknown paramters now (messju)
341 - fix link functionality of html_image, also make
342 output XHTML compatible (Hinrich Donner, Monte)
343 - append "@" to default modifier vars/args
344 supress possible warnings (Monte)
345 - fix problem with escaped double quotes (Monte)
346 - fix html_radios to not return an array (Monte)
347 - fixed length in modifier.truncate.php (messju)
348 - fixed handling of '$'-signs in trimwhitespace outputfilter (messju)
349 - fix bug that makes config files recompile every time
350 (Nagger, Monte)
351 - add dpi functionality to html_image, change "name"
352 parameter to "file" (Thomas Shulz, Monte)
353 - fix height/width parameter index in html_image (Gerard,
354 Monte)
355 - get rid of unsetting name and script attributes
356 to insert tag (Thomas Schulz, Monte)
357 - changed argument order of string_format modifier back,
358 was right in the first place (Monte)
359
360 Version 2.5.0-RC1 (March 5, 2003)
361 ---------------------------------
362
363 - fixed notice in popup function (Nagger, Monte)
364 - fix "once" var compiling for include_php (Monte)
365 - added nl2br modifier to distribution (Monte)
366 - added html_image to distribution (Monte)
367 - added cat modifier to distribution (Monte)
368 - added html_table to distribution (Monte)
369 - added << >> <> support to if statments (SMK, Monte)
370 - fix _assign_smarty_interface to not overwrite keys
371 other than 'request' (Jerome Poudevigne, Monte)
372 - added html_checkboxes to distribution (Christopher Kvarme, Monte)
373 - added html_radios to distribution (Christopher Kvarme, Monte)
374 - fixed string_format modifier args (wrong order) (Paul
375 Lockaby, Monte)
376 - use tmp file for file writes, avoid file lock race (Monte)
377 - support syntax "$`smarty.config.foo`.tpl" for embedded
378 vars in quotes, and allow full dollar var syntax (Monte)
379 - add $smarty.config.varname variable for accessing config vars (Paul
380 Lockaby, Monte)
381 - silence PHP warnings in function.fetch.php (Eduardo,
382 Monte)
383 - added get_config_vars(), same basic functionality as
384 get_template_vars() (Monte)
385 - update get_template_vars() to be able to get
386 individual vars (Monte)
387 - fix minor logic in _fetch_template_info (Dennis Gearon,
388 Monte)
389 - fix cache groups with compile_id set (Monte)
390 - add support for merging appended vars (messju, Monte)
391 - allow null as function attribute value
392 (André Rabold, Monte)
393 - support $foo->bar[index] syntax (Monte)
394 - add get_registered_object function (messju, Monte)
395 - treat unrecognized param attribute syntax as string (Monte)
396 - support $smarty.const.$foo syntax (messju, Monte)
397 - remove E_NOTICE warnings from debug.tpl,
398 escape modifier (Kanstantin, Monte)
399 - don't count non-ascii chars in count_words modifier
400 (Kanstantin, Monte)
401 - clean up param calls to _parse_var and _parse_attrs (Monte)
402 - define $template_source var, elude possible warning
403 (Monte)
404 - fix syntax problem with evaluating PHP constants (Monte)
405 - add @ and === as valid if statement tokens (Monte)
406 - enable error messages for config_load errors,
407 use $this->config_class for loading class name (Monte)
408 - fix html_options to not escape already escaped entities (Monte)
409 - send Last-Modified header on cache creation (Monte)
410 - check strict syntax of function attributes (Monte)
411 - dropped support for modifers on object parameters,
412 added support for objects as modifier parameters (Monte)
413 - fixed bug with decimal numbers in if statements (Monte)
414
415 Version 2.4.2 (Feb 11, 2003)
416 ----------------------------
417 - support embedded variables in objects (Monte)
418 - fix bug with objects with no properties (M Mohr, Monte)
419 - support full dollar var syntax in quoted text (Monte)
420 - fixed bug in $smarty.const.FOO introduced in 2.4.1 (M
421 Mohr, Monte)
422
423 Version 2.4.1 (Feb 6, 2003)
424 ---------------------------
425
426 - ignore case in IF statements (Rainer Collet, Monte)
427 - treat undefined constants as null (Ferdinand Beyer, Monte)
428 - fix problem with inserts and nested fetches
429 (Rainer Collet, Monte)
430 - added support for passing params to include_php
431 (Tim Riley, Monte)
432 - added support for math operators in if statements (Monte)
433 - added support for $foo->bar[$x].blah syntax (Monte)
434
435 Version 2.4.0 (Feb 2, 2003)
436 ---------------------------
437
438 - fix known problems with php tag handling in templates
439 (recursion, echoing xml tags) (Monte)
440 - add support for object registration (Monte)
441 - add debug template to secure_dir, add template_dir
442 to secure_dir by default (Ferdinand Beyer, Monte)
443 - added support for assigned object access (Monte)
444 - fixed bug with directories named '0' (Frank Bauer, Monte)
445 - add javascript parameter to escape modifier (Monte)
446 - added calling function line numbers to syntax error
447 messages in compiler (Monte)
448 - added support for modifiers to function calls (Monte)
449 - support return value for custom functions
450 instead of echoing (but echo still works) (Monte)
451 - added direct access to constants
452 via $smarty.const.FOO (Monte)
453 - added support for passing modifiers
454 to static values (Monte)
455 - fix up regex code in compiler, more accurate and
456 maintainable (Monte)
457 - added day_value_format to html_select_date (Marcus
458 Bointon, Monte)
459 - assigned variables are no longer in global
460 namespace, saving extract() calls and speeding
461 up fetch() and display() linearly with no. of
462 assigned variables (Monte)
463 - added trimwhitespace output filter to dist. (Monte)
464 - fix popup function to allow newlines in text (Monte)
465 - escape html entities in html_options (Monte)
466 - fixed bug with label for html_options (Monte)
467 - added config_load API function (Monte)
468 - added caching to config file loading (Monte)
469 - added "extra" parameter to mailto function (Monte,
470 Massimiliano Perantoni)
471 - added mailto plugin to dist. (Monte)
472
473 Version 2.3.1 (Nov 19, 2002)
474 ----------------------------
475
476 - added optgroup support to html_options (Monte, Robert
477 Amos)
478 - set mtime on compile files so they match source
479 files (Monte, Peter Bowen)
480 - added proper support for open_basedir setting
481 (Monte, Alessandro Astarita)
482 - added strip variable modifier, updated docs (Monte)
483 - fixed access to $smarty.x variables as arrays. (Andrei)
484 - fixed errors with example setup docs (Monte, Matthew
485 Hagerty)
486 - added textformat block function (Monte)
487
488 Version 2.3.0 (Aug 7, 2002)
489 ---------------------------
490
491 - added assign_by_ref() and append_by_ref() functions
492 (Bob Silva, Monte)
493 - changed default warning type for plugin errors from
494 E_USER_WARNING to E_USER_ERROR (Monte)
495 - added $all_extra, $hour_extra, $minute_extra,
496 $second_extra and $meridian_extra parameters to
497 html_select_time function (Rainer Collet, Monte)
498 - update debug console to print objects (Simon Willison,
499 Monte)
500 - fix Config_File class to not error when there are no
501 sections (Peter Kmet, Monte)
502 - add default modifier logic (Monte)
503 - updated popup_init to be xhtml compliant (Tom Oram, Monte)
504 - fix filename bug with windows (Gary Loescher, Monte)
505 - add ability to supply expire time in seconds when clearing
506 cache or compile files (Monte)
507 - add {debug} plugin to distribution (Monte)
508 - fixed bug with insert tags, loading from "script" attribute
509 when caching is enabled (Monte)
510 - fix bug with debug_tpl file path with Windows (.SMK., Monte)
511 - fix append() function with string/array problem (Monte)
512
513 Version 2.2.0 (July 11, 2002)
514 -----------------------------
515
516 - make debug.tpl work with any delimiter (Monte)
517 - change logic in assign() and append() to test var names
518 against != '' instead of empty() (Monte)
519 - fix PHP notice in append() function (Monte)
520 - allow $plugins_dir to be an array of directories
521 (Andreas Kossmeier, Monte)
522 - move debug.tpl to SMARTY_DIR, add to constructor (Monte)
523 - fixed warning message in function.assign_debug_info (Monte)
524 - fixed $template_dir, $compile_dir, $cache_dir, $config_dir,
525 $plugin_dir to respect include_path (Monte)
526 - fixed warning message with output filter array (Monte)
527 - add optional 2nd parameter to date_format, used as
528 the default date if the passed date is empty (Monte)
529 - gave $reset a default value in cycle plugin (Monte)
530 - fixed warnings with html_select_date and timestamp
531 functions (Monte)
532 - added support for sub directory exlusion format (Monte)
533 - added support for grouping by cache_id, compile_id
534 and segments thereof (Monte)
535 - changed cache and compile files to human readable
536 format (Monte)
537 - remove overlib.js file from distribution (Monte)
538 - fixed bug with 304 Not Modified response sending
539 content (Monte)
540 - fixed cycle function to respect delimiter after
541 initial setting (Monte)
542 - update $GLOBALS references to work properly with
543 track_globals settings (Michal Prinke, Monte)
544 - fixed bug in math function with call to assign
545 (Grigory V. Kareev, Monte)
546 - optimized for loops with count() function calls (Monte)
547 - add month_value_format attribute to html_select_date
548 plugin (Gary Loescher, Monte)
549 - made it possible to use simple variables inside [] for
550 indexing. (Andrei)
551 - added "once" attribute to {include_php}. (Monte)
552
553 Version 2.1.1
554 -------------
555 - added cycle function. (Monte)
556 - fixed bug with resource testing, and include_path. (Monte)
557 - fixed a bug with register_outputfilter function. (Monte)
558
559 Version 2.1.0
560 -------------
561
562 - introduced output filters. (Andrei)
563 - changed the way filters are loaded, added load_filter()
564 API function and $autoload_filters variable. (Andrei)
565 - added caching logic for expire times per cache file
566 (Norbert Rocher, Monte)
567 - fixed html_select_date when field separator is "/"
568 (Roberto Berto, Monte)
569 - added YYYY-MM-DD format support to html_select_date
570 (Jan Rosier, Monte)
571 - fixed cache_lifetime logic bug, also made -1 = never
572 expire (Monte)
573 - fixed directory separator issue for Windows. (Andrei)
574 - added ability to use simple variables as array indices or
575 object properties. (Andrei)
576 - added ability to unregister pre/postfilters plugins at
577 runtime. (Andrei)
578 - added 'htmlall' attribute to escape modifier. (Monte)
579 - added template_exists() API function. (Andrei)
580 - fixed a problem with using dynamic values for 'file'
581 attribute of {include_php} tag. (Andrei)
582 - added $smarty.template variable. (Andrei)
583 - fixed several plugins that would not work if the plugin
584 directory was not the default one. (Andrei)
585 - implemented support for block functions. (Andrei)
586 - made it possible to assign variables in pre/postfilter
587 plugins. (Andrei)
588
589 Version 2.0.1
590 -------------
591 - rename plugin .make_timestamp.php to shared.make_timestamp.php.
592 (Monte)
593 - changed crc32() generated values, replace '-' with 'N'. (Monte)
594 - added support for +/- N syntax in html_select_date year values.
595 (Monte)
596 - fixed behavior of inserts with script attribute. (Andrei)
597 - fixed bug with $smarty.cookies and $smarty.server. (Andrei)
598 - wordwrap and indent are missing from 2.0 release, now fixed.
599 (Monte)
600 - removed show_info_header and show_info_include variables. (Monte)
601
602 Version 2.0.0
603 -------------
604 - added "eval" function plugin for evaluating variables as
605 templates. (Monte)
606 - removed $tpl_file_ext class variable, no longer used. (Monte)
607 - added "hex" and "hexentity" escape types to escape modifier.
608 (Monte)
609 - removed dependency on PEAR. (Andrei)
610 - update popup_init to accept src attribute. (Monte, Duncan Forrest)
611 - implemented several optimizations, speeding up Smarty
612 significantly in most cases. (Andrei,Monte)
613 - implemented plugin architecture. (Andrei)
614 - added wordwrap and indent modifiers. (Monte)
615 - added support for 'If-Modified-Since' headers for cached content.
616 (Monte)
617 - removed insert_tag_check class variable, no longer needed. (Monte)
618 - optimized cache fetches by scanning for insert tags only if they
619 exist. (Monte)
620 - fixed bugs in overlib. (Monte, Duncan Forrest)
621 - fixed a problem with compile_id usage. (Andrei)
622 - fixed problem with using assigned vars with {include_php ...}
623 filepath. (Monte)
624
625 Version 1.5.2
626 -------------
627 - added Smarty object as fifth argument for template resource functions.
628 (Monte)
629 - fixed a bug with incorrectly combined cache and compile id in
630 clear_cache(). (Andrei)
631 - fixed bug in smarty_make_timestamp introduced in PHP 4.1.0. (Monte)
632 - fixed bug with cached insert debug timing. (Monte)
633 - added 'script' attribute to {insert..} which specifies the script that
634 the insert function can be found in. (Andrei)
635 - added default template function handler. (Monte)
636
637 Version 1.5.1
638 -------------
639 - removed error message from the generic _read_file() method, the caller
640 should take care of that. (Andrei)
641 - fixed a bug with incorrectly combined cache and compile id. (Andrei)
642
643 Version 1.5.0
644 -------------
645 - added include_php built-in function, documented. (Monte)
646 - added trusted_dir functionality, documented. (Monte)
647 - consolidated secure_dir tests to one function. (Monte)
648 - prepended _smarty_ to variable names in fetch() class function to avoid
649 namespace conflicts. (Monte)
650 - introduced $compile_id class variable that can be used to set persistent
651 compile identifier across multiple display calls, documented. (Andrei)
652 - fixed bug with concatenated null cache and compile identifiers. (Andrei)
653 - added $smarty.section.* syntax for accessing section properties,
654 documented. (Andrei)
655 - added custom cache handling function ability, documented. (Monte)
656 - added assign attribute to include, include_php, insert, fetch, math, and
657 counter functions, documented. (Monte)
658 - fixed bug with fetch testing for local file when http address. (Monte)
659 - fixed bug with counter and skipval setting. (Monte)
660 - made {config_load ...} merge globals from each config file only once per
661 scope, thus avoiding several problems. (Andrei)
662 - added {foreach ...} tag that can be used to iterate through
663 non-sequential and associative arrays, documented. (Andrei)
664 - speeded up section property access a bit. (Andrei)
665 - removed $smarty variable from storage used by normal template variables,
666 to prevent any problems. (Andrei)
667 - fixed a bug that could cause parse error with quotes inside literal
668 blocks. (Andrei, Alexander Belonosov)
669 - added 'field_array' attribute to html_select_time function, documented.
670 (Andrei, Michael Caplan)
671 - documented {section} "max" attribute. (Monte)
672 - fixed notice message in Smarty_Compiler.class.php. (Monte)
673 - fixed bug with clear_cache introduced in 1.4.6, third parameter should
674 default to null. (Monte)
675 - updated Config_File class to support '\' path separator in OS/2. (Monte,
676 Francesco Cipriani)
677 - removed secure_ext setting (not used). (Monte)
678 - made cache reading process more efficient. (Monte)
679 - fixed bug, is_cached() now supports new 1.4.6 caching behavior. (Monte)
680 - update FAQ with mailing list Reply-To header FAQ. (Monte)
681 - supress error messages for fopen(), fix cache to regenerate if cache
682 file is not available (i.e. cluster race condition). (Monte)
683 - added index key example to QUICKSTART guide. (Monte)
684
685 Version 1.4.6
686 -------------
687 - fixed bug with {assign ...} when passing an empty value. (Monte)
688 - add more warning message fixes. (Monte, Tara Johnson)
689 - documentation updates. (Monte)
690 - update fetch function to give proper warning when fetching a non-readable
691 or non-existant file. (Monte)
692 - fixed problem with newline at the end of included templates (Monte, Andrei)
693 - added feature to regenerate cache if compile_check is enabled and an
694 involved template or config file gets modified. (Monte)
695 - added DEBUG execution times to included files: REQUIRES updated debug.tpl
696 file! (Monte)
697 - added support for hidden config variables that cannot be read by
698 templates. (Andrei)
699 - added execution time to DEBUG console, total and inserts. (Monte)
700 - fixed bug where DEBUG console would not appear with cached content. (Monte)
701 - added support for postfilter functions that are applied to compiled
702 template right after compilation. (Andrei)
703 - fixed the name of clear_compile_tpl() API function to clear_compiled_tpl.
704 (Andrei)
705 - added fix for removing comments so that the line numbers are reported
706 correctly in case of errors. (patch from Anders Janson)
707 - made html_options output xhtml compatible code. (Monte, Arnaud Limbourg)
708
709 Version 1.4.5
710 -------------
711 - update FAQ with index of questions at the top
712 - update overlib to 3.50, adjust addon code so that the overlib.js
713 file isn't modified, and not using the mini one. (Monte)
714 - added many more options to html_select_date. (Alexander Skwar, Andrei)
715 - added support for generating different compiled templates from the same
716 source template. (Hans-Peter Oeri, Andrei)
717 - modified Smarty to pass itself to insert functions as the second
718 parameter. (Andrei)
719 - modified Smarty to pass itself to prefilter functions as the second
720 parameter. (Andrei)
721 - fixed syntax error when including a non-existant template with security
722 enabled. (Monte)
723 - fixed comments handling to allow commenting out template blocks. (Andrei)
724 - implemented named capture buffers, with results accessible via
725 $smarty.capture.<name>. (Andrei)
726 - added ability to index arrays directly by numbers. (Andrei)
727 - fixed bug with SMARTY_DIR not prepended to Config_File include. (Monte)
728
729 Version 1.4.4
730 -------------
731 - fixed problem with including insecure templates with security enabled.
732 (Monte)
733 - numerous documentation updates. (Monte)
734 - added ENT_QUOTES to escapement of html. (Monte, Sam Beckwith)
735 - implemented access to request variables via auto-assigned $smarty
736 template variable. (Andrei)
737 - fixed a bug with parsing function arguments inside {if} tags if a comma
738 was present. (Andrei)
739 - updated debug console with config file vars. (Monte)
740 - added SMARTY_DIR constant as an alternative to relying on include_path.
741 (Monte)
742 - added popup_init and popup functions (requires overlib.js). (Monte)
743 - updated debug console with config file vars. (Monte)
744 - added debugging url control. (Monte)
745 - added 'quotes' type to escape modifier. (Monte, Mike Krus)
746 - added 'total' and 'iteration' section properties. (Andrei)
747 - added 'start', 'max', and 'step' section attributes/properties. (Andrei)
748 - fixed a bug with security checking of functions inside {if} tags.
749 (Andrei)
750 - fixed a bug in Config_File that would incorrectly booleanize values that
751 weren't really booleans. (Andrei)
752
753 Version 1.4.3
754 -------------
755 - added regex_replace modifier, documented. (Monte)
756 - added debugging console feature and custom function assign_debug_info,
757 documented. (Monte)
758 - added 'scope' attribute for {config_load}, 'global' is now deprecated but
759 is still supported. (Andrei)
760 - reduced template symbol table pollution by moving config array into the
761 class itself. (Andrei)
762 - fixed a bug with passing quoted arguments to modifiers inside {if}
763 statements. (Andrei, Sam Beckwith)
764 - added security features for third party template editing, documented
765 (Monte)
766 - added assign custom function, documented. (Monte)
767 - fixed bug with template header using version instead of _version. (Monte)
768 - fixed a problem with putting $ followed by numbers inside {strip} and
769 {/strip} tags. (Andrei)
770 - fixed Config_File class to allow empty config paths (defaults to current
771 directory). (Andrei)
772
773 Version 1.4.2
774 -------------
775 - move $version to internal variable, remove from docs. (Monte)
776 - cleaned up compiled templates global scope by moving some variables into
777 the class itself. (Andrei)
778 - fixed a bug that would not allow referring to a section in the including
779 file from the included file. (Andrei)
780 - configs directory missing from 1.4.1 release, added back in. (Monte)
781 - added windows include_path setup instructions to FAQ & QUICKSTART.
782 (Monte)
783
784 Version 1.4.1
785 -------------
786 - fix LOCK_EX logic for all windows platforms (Monte)
787 - fixed indexing by section properties with the new syntax. (Andrei)
788 - updated Smarty to use absolute paths when requiring/including Smarty
789 components. (Andrei, John Lim)
790
791 Version 1.4.0
792 -------------
793 - added {capture}{/capture} function, documented (Monte)
794 - added {counter} function, documented (Monte)
795
796 Version 1.4.0b2
797 ---------------
798 - fixed issue in Config_File.class with referencing blank sections (Andrei)
799 - fixed problem with passing variables to included files (Andrei)
800 - fixed resource path recognition for windows (Monte)
801
802 Version 1.4.0b1
803 ---------------
804 - added "componentized templates" tip into documentation (Monte)
805 - added {php}{/php} tags for embedding php code into templates (Monte)
806 - changed default value of $show_info_header to false (Monte)
807 - implemented '->' syntax for accessing properties of objects passed to the
808 template. (Andrei)
809 - allowed custom functions to receive Smarty object as the second
810 parameter; this can be used to dynamically change template variables, for
811 example. (Andrei)
812 - added custom compiler functions support, register_compiler_function() and
813 unregister_compiler_function() API functions. (Andrei, Ivo Jansch).
814 - updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
815 instead of global variable. You can also assign several variables
816 in one shot with an array. (Monte, Roman Neuhauser)
817 - added template prefilters, register_prefilter() and
818 unregister_prefilter() API functions. (Monte)
819 - added RELEASE_NOTES file to distribution. (Monte)
820 - moved CREDITS out of manual into its own file. (Monte)
821 - added register_resource() and unregister_resource() API functions. (Monte)
822 - changed the syntax of indexing template variables, thus supporting
823 structures of arbitrary complexity; supplied fix_vars.php script to fix
824 old syntax. (Andrei)
825 - added $insert_tag_check to speed up cached pages if {insert ...} is not
826 used. (Monte)
827 - added $compiler_class variable to allow specifying a different compiler
828 class. (Andrei)
829 - changed Smarty to compile templates at runtime, allowing for arbitrary
830 template resources. (Monte)
831 - added fix for LOCK_EX under Windows and changed a couple of file
832 permissions for security. (Monte, Fernando Nunes)
833 - allow arbitrary date strings to date_format, html_select_date and
834 html_select_time (Monte)
835
836 Version 1.3.2
837 -------------
838 - fixed a bug that caused some nested includes to loop infinitely. (Andrei)
839 - added optional HTML header to output. (Monte)
840 - significantly improved config_load performance. (Andrei)
841 - added format attribute to math function. (Monte)
842 - added html_select_time custom function. (Andrei)
843 - fixed minor PHP warning when attempting to unset an unset variable
844 (Monte)
845 - added count_characters, count_words, count_sentences, count_paragraphs
846 modifiers (Monte)
847
848 Version 1.3.1pl1
849 --------------
850 - bug fix, recovered missing _syntax_error function (Monte)
851
852 Version 1.3.1
853 -------------
854 - document first, last, index_prev, index_next (Monte)
855 - added 'first' and 'last' section properties. (Andrei)
856 - split out compiling code to separate class for faster template execution
857 time (Monte)
858 - fixed a couple of minor PHP warnings (Monte)
859 - added and documented unregister_modifier() and unregister_function() API
860 calls. (Monte)
861 - added and documented 'fetch' and 'math' functions. (Monte)
862 - added ability to index looped variables by section properties, e.g.
863 $foo.index_prev/bar. (Andrei)
864 - added index_prev and index_next section properties. (Andrei)
865 - fixed issue with php executing in literal blocks. (Monte)
866
867 Version 1.3.0
868 -------------
869 - moved license from GPL to LGPL (Monte)
870 - implemented workaround for PHP "feature" that eats carriage returns
871 if the PHP tag is at the end of the line. (Andrei)
872 - removed $allow_php, added $php_handling logic (Monte)
873 - added file locking to prevent reader/writer problem. (Andrei)
874 - made Smarty catch unimplemented modifiers and custom functions and output
875 error messages during compilation instead of failing during run time.
876 (Andrei)
877 - removed short-tags at the top of the smarty scripts (Monte)
878 - added register_function() and register_modifier() API calls to make
879 registering stuff easier. (Andrei)
880 - added template results caching capability. (Monte, Andrei)
881 - added optional 'options' attribute to html_options custom function
882 that allows passing associative arrays for values/output. (Andrei)
883 - modifier arguments can now contain '|' and ':' characters inside quoted
884 strings. (Andrei)
885
886 Version 1.2.2
887 -------------
888 - fixed bug that would not respect nested template directories and would
889 put all compiled files into top-level one. (Andrei)
890 - fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.
891 (Monte)
892 - a couple small warning fixes. (Monte)
893
894 Version 1.2.1
895 -------------
896 - added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)
897 - added tips & tricks chapter to documentation. (Monte)
898 - misc documentation updates. (Monte)
899
900 Version 1.2.0
901 -------------
902 - updated documentation (Monte)
903 - added file and line number information to syntax error messages. (Andrei)
904 - added ability to index template vars by a key. (Andrei)
905
906 Version 1.1.0
907 -------------
908 - misc documentation changes, official stable release
909
910 Version 1.0b
911 ------------
912 - fixed the bug that prevented using non-array values for 'loop' attribute.
913 (Andrei)
914 - many misc documentation changes & additions (Monte)
915
916 Version 1.0a
917 ------------
918 - fixed bug that caused templates to recompile every time (Monte)
919
920 Version 1.0
921 ------------
922 - initial release
923
924 /* vim: set et tw=64 ft=changelog: */
This page took 1.54602 seconds and 3 git commands to generate.