76302980bd2d0b8735603079cc4c881a03d68fa2
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / NEWS
1 Version 2.6.0 (Nov 19, 2003)\r
2 ----------------------------\r
3 \r
4   - move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() (messju)\r
5   - remove import of of attributes of {include_php} to php's namespace.\r
6     use $params[name] instead (messju)\r
7 \r
8 Version 2.6.0-RC3 (Nov 13, 2003)\r
9 --------------------------------\r
10 \r
11   - fix handling of $var.key inside [] (messju)\r
12   - fix handling of assign inside {insert}-tags (messju)\r
13   - fix handling if [...] inside triple-quotes in config-files (messju)\r
14   - fix handling of simple-math-operators inside modifiers (Dominik, messju)\r
15   - fix handling of trailing-slashes in open_basedir in\r
16     smarty_core_create_dir_structure() (packman, messju)\r
17 \r
18 Version 2.6.0-RC2 (Oct 8, 2003)\r
19 -------------------------------\r
20 \r
21   - apply modifiers only once to section-loop and foreach-from attrs (messju)\r
22   - remove use of _smarty_cached_paths-files (messju)\r
23   - remove Smarty::_plugin_implementation_exists() - use is_callable() (messju)\r
24   - ignore {strip}/{/strip) inside {strip}-blocks (messju)\r
25   - fixed removal of leading/trailing newlines in {strip}-blocks (messju)\r
26   - fixed proper escaping of " and ' with escape:javascript (messju)\r
27   - fixed bug in traversal of $smarty->plugins_dir-array. now the\r
28     first matching plugin is taken (messju)\r
29   - moved {strip} back into the compiler (messju)\r
30   - fixed config_load: handling of section-attribute and use of\r
31     multiple config-files in one template (atu, messju)\r
32 \r
33 Version 2.6.0-RC1 (August 11, 2003)\r
34 -----------------------------------\r
35 \r
36   - fixed status-header for cache_modified_check under cgi-sapi (messju)\r
37   - added optional parameter $cache_attrs to register_function() and\r
38     register_block(). $cache_attrs is an array containing attribute-\r
39     names that should be cached on calls to functions that have\r
40     $cacheable set to false. (messju)\r
41   - enabled registration of class-methods as callbacks for the register_*-\r
42     functions (use: array('classname', 'method_name')) as callback) (messju)\r
43   - added filepath caching (Monte)\r
44   - added optional assign-attribute to {capture}-tag (messju)\r
45   - added $cacheable-parameter to register_compiler_function() (messju)\r
46   - added $cacheable-parameter with default=true to register_function()\r
47     and register_block() (messju)\r
48   - add math speedup to core (Dominik, Monte)\r
49   - fix newlines for tags without template output (Monte)\r
50   - added config-option "request_use_auto_globals" to make auto-globals be\r
51     used as request vars instead of HTTP_*_VARS (messju)\r
52   - speed up config_load, simplify compiling (Monte)\r
53   - added block-methods for registered objects (Bharat Mediratta, messju)\r
54   - ignore one char resource names like c:foo.tpl (Monte)\r
55   - added default_resource_type feature (Monte)\r
56   - fix bug where config file starts with hidden section (boots, Monte)\r
57   - add discrete error checking pertaining to $cache_dir\r
58     and $compile_dir, their existance and writability (Monte)\r
59   - fixed behaviour of start=... for {counter} (messju)\r
60   - fixed assign for {counter} (messju)\r
61   - added params vdir, hdir and inner to html_table to allow looping\r
62     over the data in various directions (messju)\r
63   - allow spaces in literal tags (Paul Lockaby, Monte)\r
64   - speed up compiled templates, hardcode plugin filepaths\r
65     instead of dynamically calculate at runtime. (Monte)\r
66   - abstract many core components from Smarty.class.php,\r
67     speeding up core class instantiation (Monte)\r
68   - fixed bug in _create_dir_structure() when used with open_basedir-\r
69     restriction and relative paths (messju)\r
70   - use DIRECTORY_SEPARATOR exclusively, keep DIR_SEP for BC (Monte)\r
71   - changed "link" to "href" in html_image. "link" is still working\r
72     but deprecated (messju)\r
73   - html_image always renders an alt-tag now (default alt="") (messju)\r
74   - fixed assign attribute for multiple counters (messju)\r
75   - added simple math operators to variables (Monte)\r
76   - enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted')\r
77     as callback for register_resource() (messju);\r
78   - enabled array(&$obj, 'method') as callback for\r
79     $default_template_handler_func (messju)\r
80   - remove unnecessary close/open tags from compiled templates\r
81     (Monte)\r
82   - fixed errornous creation of '//' in image_path in html_image (messju)\r
83   - fix escapement of special chars for key vals in debug\r
84     console (Monte)\r
85   - fixed debug timing logic for config_load (Tom Sommer, Monte)\r
86   - all in-code doc comments converted to phpDocumentor format (Greg)\r
87   - moved strip from smarty core to plugin (Monte)\r
88   - moved config_load from smarty core to plugin (Monte)\r
89   - added &$repeat-parameter to block-functions (messju)\r
90   - enabled hex-constants in function.math.php (messju)\r
91   - enabled hex-constants (0x...) as function-attributes, inside if-statements\r
92     and as modifier-parameters (messju)\r
93   - fixed bug with passing $smarty as reference in Smarty.compiler.class\r
94     (messju)\r
95   - corrected output with {strip} and PHP tag newlines (Monte)\r
96   - added possibility to register function-callbacks as "array(&$obj, 'method)"\r
97     this affects register_function(), -block, -compiler_function, -modifier, \r
98     -prefilter, -postfilter, -outputfilter-functions() and $cache_handler_func\r
99     (messju)\r
100   - added <labels> to html_checkboxes and html_radios (Philippe, messju)\r
101   - added "labels"-options to turn off labels in html_checkboxes and _radios\r
102     (messju)\r
103 \r
104 Version 2.5.0 (April 11, 2003)\r
105 ------------------------------\r
106 \r
107    - fixed bug with default modifier when passing integer 0\r
108      (Monte)\r
109    - change backtic syntax from $`foo` to `$foo` (Monte)\r
110    - recognize $foo[][] syntax inside embedded quotes without\r
111      backtics (Monte)\r
112    - name=123 is passed as an integer (not a string) to plugins now (messju)\r
113    - $length is now propagated to sub-values in debug_print_var (messju) \r
114 \r
115 Version 2.5.0-RC2 (March 26, 2003)\r
116 ----------------------------------\r
117 \r
118     - made clear_cache() ignore compile_id, when clearing cache-groups (this\r
119       is when no $tpl_file is supplied) (messju)\r
120     - made onmouseout XHTML-compliant in function.popup.php (messju)\r
121     - applied local-var-naming-scheme to fetch() (messju)\r
122     - renamed $localvars to $_localvars in cache-file-handling-functions,\r
123       added _get_auto_id()-function (messju)\r
124     - swapped compile_id and cache_id in read_cache_file and write_cache_file\r
125       (messju)\r
126     - reverted patch for cache-file-handling (messju)\r
127     - made html_radios and html_checkboxes accept "selected" instead\r
128       of "checked" optionally. (messju)\r
129     - made compile_id ignored in clear_cache, made order of\r
130       auto_file_name $cache_id.$compile_id again, applied the the new\r
131       variable-naming-scheme for cache_file_handing functions (messju)\r
132     - removed notice of undefined var in _rm_auto() (messju)\r
133     - added warning message when an array is passed as\r
134       the "checked" value of html_radios (Monte)\r
135     - fixed errormessage in _compile_smarty_ref() (messju)\r
136     - updated docs for html_image "name" -> "file" (messju)\r
137     - fixed bug with html_options-optgroups (Nichlas Löfdahl, messju)\r
138     - cleaned up calls to readdir() (messju)\r
139     - fixed bug with passing multiple modifiers to a parameter\r
140       (Monte)\r
141     - updated docs for html_checkboxes, html_options and html_radios (messju)\r
142     - fixed wrong default "name" attribute for html_options (messju)\r
143     - html_checkboxes now expect the options as attribute "options" instead\r
144       of "checkboxes. html_radios expect "options" instead of "radios".\r
145       cleaned up indentiation (messju)\r
146     - fixed too greedy str_replace in trimwhitespace outputfilter (messju)\r
147     - html_checkboxes and html_radios passthru all unknown paramters now\r
148       additionally their output is now XHTML compliant (messju)\r
149     - html_options passthru all unknown paramters now (messju)\r
150     - fix link functionality of html_image, also make\r
151       output XHTML compatible (Hinrich Donner, Monte)\r
152     - append "@" to default modifier vars/args\r
153       supress possible warnings (Monte)\r
154     - fix problem with escaped double quotes (Monte)\r
155     - fix html_radios to not return an array (Monte)\r
156     - fixed length in modifier.truncate.php (messju)\r
157     - fixed handling of '$'-signs in trimwhitespace outputfilter (messju)\r
158     - fix bug that makes config files recompile every time\r
159       (Nagger, Monte)\r
160     - add dpi functionality to html_image, change "name"\r
161       parameter to "file" (Thomas Shulz, Monte)\r
162     - fix height/width parameter index in html_image (Gerard,\r
163       Monte)\r
164     - get rid of unsetting name and script attributes\r
165       to insert tag (Thomas Schulz, Monte)\r
166     - changed argument order of string_format modifier back,\r
167       was right in the first place (Monte)\r
168 \r
169 Version 2.5.0-RC1 (March 5, 2003)\r
170 ---------------------------------\r
171 \r
172     - fixed notice in popup function (Nagger, Monte)\r
173     - fix "once" var compiling for include_php (Monte)\r
174     - added nl2br modifier to distribution (Monte)\r
175     - added html_image to distribution (Monte)\r
176     - added cat modifier to distribution (Monte)\r
177     - added html_table to distribution (Monte)\r
178     - added << >> <> support to if statments (SMK, Monte)\r
179     - fix _assign_smarty_interface to not overwrite keys\r
180       other than 'request' (Jerome Poudevigne, Monte)\r
181     - added html_checkboxes to distribution (Christopher Kvarme, Monte)\r
182     - added html_radios to distribution (Christopher Kvarme, Monte)\r
183     - fixed string_format modifier args (wrong order) (Paul\r
184       Lockaby, Monte)\r
185     - use tmp file for file writes, avoid file lock race (Monte)\r
186     - support syntax "$`smarty.config.foo`.tpl" for embedded\r
187       vars in quotes, and allow full dollar var syntax (Monte)\r
188     - add $smarty.config.varname variable for accessing config vars (Paul\r
189       Lockaby, Monte)\r
190     - silence PHP warnings in function.fetch.php (Eduardo,\r
191       Monte)\r
192     - added get_config_vars(), same basic functionality as\r
193       get_template_vars() (Monte)\r
194     - update get_template_vars() to be able to get\r
195       individual vars (Monte)\r
196     - fix minor logic in _fetch_template_info (Dennis Gearon,\r
197       Monte)\r
198     - fix cache groups with compile_id set (Monte)\r
199     - add support for merging appended vars (messju, Monte)\r
200     - allow null as function attribute value\r
201       (André Rabold, Monte)\r
202     - support $foo->bar[index] syntax (Monte)\r
203     - add get_registered_object function (messju, Monte)\r
204     - treat unrecognized param attribute syntax as string (Monte)\r
205     - support $smarty.const.$foo syntax (messju, Monte)\r
206     - remove E_NOTICE warnings from debug.tpl,\r
207       escape modifier (Kanstantin, Monte)\r
208     - don't count non-ascii chars in count_words modifier\r
209       (Kanstantin, Monte)\r
210     - clean up param calls to _parse_var and _parse_attrs (Monte)\r
211     - define $template_source var, elude possible warning\r
212       (Monte)\r
213     - fix syntax problem with evaluating PHP constants (Monte)\r
214     - add @ and === as valid if statement tokens (Monte)\r
215     - enable error messages for config_load errors,\r
216       use $this->config_class for loading class name (Monte)\r
217     - fix html_options to not escape already escaped entities (Monte)\r
218     - send Last-Modified header on cache creation (Monte)\r
219     - check strict syntax of function attributes (Monte) \r
220     - dropped support for modifers on object parameters,\r
221       added support for objects as modifier parameters (Monte)\r
222     - fixed bug with decimal numbers in if statements (Monte)\r
223 \r
224 Version 2.4.2 (Feb 11, 2003)\r
225 ----------------------------\r
226     - support embedded variables in objects (Monte)\r
227     - fix bug with objects with no properties (M Mohr, Monte)\r
228     - support full dollar var syntax in quoted text (Monte)\r
229     - fixed bug in $smarty.const.FOO introduced in 2.4.1 (M\r
230       Mohr, Monte)\r
231 \r
232 Version 2.4.1 (Feb 6, 2003)\r
233 ---------------------------\r
234 \r
235     - ignore case in IF statements (Rainer Collet, Monte)\r
236     - treat undefined constants as null (Ferdinand Beyer, Monte)\r
237     - fix problem with inserts and nested fetches\r
238       (Rainer Collet, Monte)\r
239     - added support for passing params to include_php\r
240       (Tim Riley, Monte)\r
241     - added support for math operators in if statements (Monte)\r
242     - added support for $foo->bar[$x].blah syntax (Monte)\r
243 \r
244 Version 2.4.0 (Feb 2, 2003)\r
245 ---------------------------\r
246 \r
247     - fix known problems with php tag handling in templates\r
248       (recursion, echoing xml tags) (Monte)\r
249     - add support for object registration (Monte)\r
250     - add debug template to secure_dir, add template_dir\r
251       to secure_dir by default (Ferdinand Beyer, Monte)\r
252     - added support for assigned object access (Monte)\r
253     - fixed bug with directories named '0' (Frank Bauer, Monte)\r
254     - add javascript parameter to escape modifier (Monte)\r
255     - added calling function line numbers to syntax error\r
256       messages in compiler (Monte)\r
257     - added support for modifiers to function calls (Monte)\r
258     - support return value for custom functions\r
259       instead of echoing (but echo still works) (Monte)\r
260     - added direct access to constants\r
261       via $smarty.const.FOO (Monte)\r
262     - added support for passing modifiers\r
263       to static values (Monte)\r
264     - fix up regex code in compiler, more accurate and\r
265       maintainable (Monte)\r
266     - added day_value_format to html_select_date (Marcus\r
267       Bointon, Monte)\r
268     - assigned variables are no longer in global\r
269       namespace, saving extract() calls and speeding\r
270       up fetch() and display() linearly with no. of\r
271       assigned variables (Monte)\r
272     - added trimwhitespace output filter to dist. (Monte)\r
273     - fix popup function to allow newlines in text (Monte)\r
274     - escape html entities in html_options (Monte)\r
275     - fixed bug with label for html_options (Monte)\r
276     - added config_load API function (Monte)\r
277     - added caching to config file loading (Monte)\r
278     - added "extra" parameter to mailto function (Monte,\r
279       Massimiliano Perantoni)\r
280     - added mailto plugin to dist.  (Monte)\r
281 \r
282 Version 2.3.1 (Nov 19, 2002)\r
283 ----------------------------\r
284 \r
285     - added optgroup support to html_options (Monte, Robert\r
286       Amos)\r
287     - set mtime on compile files so they match source\r
288       files (Monte, Peter Bowen)\r
289     - added proper support for open_basedir setting\r
290       (Monte, Alessandro Astarita)\r
291     - added strip variable modifier, updated docs (Monte)\r
292     - fixed access to $smarty.x variables as arrays. (Andrei)\r
293     - fixed errors with example setup docs (Monte, Matthew\r
294       Hagerty)\r
295     - added textformat block function (Monte)\r
296 \r
297 Version 2.3.0 (Aug 7, 2002)\r
298 ---------------------------\r
299 \r
300     - added assign_by_ref() and append_by_ref() functions\r
301       (Bob Silva, Monte)\r
302     - changed default warning type for plugin errors from\r
303       E_USER_WARNING to E_USER_ERROR (Monte)\r
304     - added $all_extra, $hour_extra, $minute_extra,\r
305       $second_extra and $meridian_extra parameters to\r
306       html_select_time function (Rainer Collet, Monte)\r
307     - update debug console to print objects (Simon Willison,\r
308       Monte)\r
309     - fix Config_File class to not error when there are no\r
310       sections (Peter Kmet, Monte)\r
311     - add default modifier logic (Monte)\r
312     - updated popup_init to be xhtml compliant (Tom Oram, Monte)\r
313     - fix filename bug with windows (Gary Loescher, Monte)\r
314     - add ability to supply expire time in seconds when clearing\r
315       cache or compile files (Monte)\r
316     - add {debug} plugin to distribution (Monte)\r
317     - fixed bug with insert tags, loading from "script" attribute\r
318       when caching is enabled (Monte)\r
319     - fix bug with debug_tpl file path with Windows (.SMK., Monte)\r
320     - fix append() function with string/array problem (Monte)\r
321 \r
322 Version 2.2.0 (July 11, 2002)\r
323 -----------------------------\r
324 \r
325     - make debug.tpl work with any delimiter (Monte)\r
326     - change logic in assign() and append() to test var names\r
327       against != '' instead of empty() (Monte)\r
328     - fix PHP notice in append() function (Monte)\r
329     - allow $plugins_dir to be an array of directories\r
330       (Andreas Kossmeier, Monte)\r
331     - move debug.tpl to SMARTY_DIR, add to constructor (Monte)\r
332     - fixed warning message in function.assign_debug_info (Monte)\r
333     - fixed $template_dir, $compile_dir, $cache_dir, $config_dir,\r
334       $plugin_dir to respect include_path (Monte)\r
335     - fixed warning message with output filter array (Monte)\r
336     - add optional 2nd parameter to date_format, used as\r
337       the default date if the passed date is empty (Monte)\r
338     - gave $reset a default value in cycle plugin (Monte)\r
339     - fixed warnings with html_select_date and timestamp\r
340       functions (Monte)\r
341     - added support for sub directory exlusion format (Monte)\r
342     - added support for grouping by cache_id, compile_id\r
343       and segments thereof (Monte)\r
344     - changed cache and compile files to human readable\r
345       format (Monte)\r
346     - remove overlib.js file from distribution (Monte)\r
347     - fixed bug with 304 Not Modified response sending\r
348       content (Monte)\r
349     - fixed cycle function to respect delimiter after\r
350       initial setting (Monte)\r
351     - update $GLOBALS references to work properly with\r
352       track_globals settings (Michal Prinke, Monte)\r
353     - fixed bug in math function with call to assign\r
354       (Grigory V. Kareev, Monte)\r
355     - optimized for loops with count() function calls (Monte)\r
356     - add month_value_format attribute to html_select_date\r
357       plugin (Gary Loescher, Monte) \r
358     - made it possible to use simple variables inside [] for\r
359       indexing. (Andrei)\r
360     - added "once" attribute to {include_php}. (Monte)\r
361 \r
362 Version 2.1.1\r
363 -------------\r
364     - added cycle function. (Monte)\r
365     - fixed bug with resource testing, and include_path. (Monte)\r
366     - fixed a bug with register_outputfilter function. (Monte)\r
367 \r
368 Version 2.1.0\r
369 -------------\r
370 \r
371     - introduced output filters. (Andrei)\r
372     - changed the way filters are loaded, added load_filter()\r
373       API function and $autoload_filters variable. (Andrei)\r
374     - added caching logic for expire times per cache file\r
375       (Norbert Rocher, Monte)\r
376     - fixed html_select_date when field separator is "/"\r
377       (Roberto Berto, Monte)\r
378     - added YYYY-MM-DD format support to html_select_date\r
379       (Jan Rosier, Monte)\r
380     - fixed cache_lifetime logic bug, also made -1 = never\r
381       expire (Monte)\r
382     - fixed directory separator issue for Windows. (Andrei)\r
383     - added ability to use simple variables as array indices or\r
384       object properties. (Andrei)\r
385     - added ability to unregister pre/postfilters plugins at\r
386       runtime. (Andrei)\r
387     - added 'htmlall' attribute to escape modifier. (Monte)\r
388     - added template_exists() API function. (Andrei)\r
389     - fixed a problem with using dynamic values for 'file'\r
390       attribute of {include_php} tag. (Andrei)\r
391     - added $smarty.template variable. (Andrei)\r
392     - fixed several plugins that would not work if the plugin\r
393       directory was not the default one. (Andrei)\r
394     - implemented support for block functions. (Andrei)\r
395     - made it possible to assign variables in pre/postfilter\r
396       plugins. (Andrei)\r
397 \r
398 Version 2.0.1\r
399 -------------\r
400     - rename plugin .make_timestamp.php to shared.make_timestamp.php.\r
401       (Monte)\r
402     - changed crc32() generated values, replace '-' with 'N'. (Monte)\r
403     - added support for +/- N syntax in html_select_date year values.\r
404       (Monte)\r
405     - fixed behavior of inserts with script attribute. (Andrei)\r
406     - fixed bug with $smarty.cookies and $smarty.server. (Andrei)\r
407     - wordwrap and indent are missing from 2.0 release, now fixed.\r
408       (Monte)\r
409     - removed show_info_header and show_info_include variables. (Monte)\r
410 \r
411 Version 2.0.0\r
412 -------------\r
413     - added "eval" function plugin for evaluating variables as\r
414       templates. (Monte)\r
415     - removed $tpl_file_ext class variable, no longer used. (Monte)\r
416     - added "hex" and "hexentity" escape types to escape modifier.\r
417       (Monte)\r
418     - removed dependency on PEAR. (Andrei)\r
419     - update popup_init to accept src attribute. (Monte, Duncan Forrest)\r
420     - implemented several optimizations, speeding up Smarty\r
421       significantly in most cases. (Andrei,Monte)\r
422     - implemented plugin architecture. (Andrei)\r
423     - added wordwrap and indent modifiers. (Monte)\r
424     - added support for 'If-Modified-Since' headers for cached content.\r
425       (Monte)\r
426     - removed insert_tag_check class variable, no longer needed. (Monte)\r
427     - optimized cache fetches by scanning for insert tags only if they\r
428       exist. (Monte)\r
429     - fixed bugs in overlib. (Monte, Duncan Forrest)\r
430     - fixed a problem with compile_id usage. (Andrei)\r
431     - fixed problem with using assigned vars with {include_php ...}\r
432       filepath. (Monte)\r
433 \r
434 Version 1.5.2\r
435 -------------\r
436     - added Smarty object as fifth argument for template resource functions.\r
437       (Monte)\r
438     - fixed a bug with incorrectly combined cache and compile id in\r
439       clear_cache(). (Andrei)\r
440     - fixed bug in smarty_make_timestamp introduced in PHP 4.1.0. (Monte)\r
441     - fixed bug with cached insert debug timing. (Monte)\r
442     - added 'script' attribute to {insert..} which specifies the script that\r
443       the insert function can be found in. (Andrei)\r
444     - added default template function handler. (Monte)\r
445 \r
446 Version 1.5.1\r
447 -------------\r
448     - removed error message from the generic _read_file() method, the caller\r
449       should take care of that. (Andrei)\r
450     - fixed a bug with incorrectly combined cache and compile id. (Andrei)\r
451 \r
452 Version 1.5.0\r
453 -------------\r
454     - added include_php built-in function, documented. (Monte)\r
455     - added trusted_dir functionality, documented. (Monte)\r
456     - consolidated secure_dir tests to one function. (Monte)\r
457     - prepended _smarty_ to variable names in fetch() class function to avoid\r
458       namespace conflicts. (Monte)\r
459     - introduced $compile_id class variable that can be used to set persistent\r
460       compile identifier across multiple display calls, documented. (Andrei)\r
461     - fixed bug with concatenated null cache and compile identifiers. (Andrei)\r
462     - added $smarty.section.* syntax for accessing section properties,\r
463       documented. (Andrei)\r
464     - added custom cache handling function ability, documented. (Monte)\r
465     - added assign attribute to include, include_php, insert, fetch, math, and\r
466       counter functions, documented. (Monte)\r
467     - fixed bug with fetch testing for local file when http address. (Monte)\r
468     - fixed bug with counter and skipval setting. (Monte)\r
469     - made {config_load ...} merge globals from each config file only once per\r
470       scope, thus avoiding several problems. (Andrei)\r
471     - added {foreach ...} tag that can be used to iterate through\r
472       non-sequential and associative arrays, documented. (Andrei)\r
473     - speeded up section property access a bit. (Andrei)\r
474     - removed $smarty variable from storage used by normal template variables,\r
475       to prevent any problems. (Andrei)\r
476     - fixed a bug that could cause parse error with quotes inside literal\r
477       blocks. (Andrei, Alexander Belonosov)\r
478     - added 'field_array' attribute to html_select_time function, documented.\r
479       (Andrei, Michael Caplan)\r
480     - documented {section} "max" attribute. (Monte)\r
481     - fixed notice message in Smarty_Compiler.class.php. (Monte)\r
482     - fixed bug with clear_cache introduced in 1.4.6, third parameter should\r
483       default to null. (Monte)\r
484     - updated Config_File class to support '\' path separator in OS/2. (Monte,\r
485       Francesco Cipriani)\r
486     - removed secure_ext setting (not used). (Monte)\r
487     - made cache reading process more efficient. (Monte)\r
488     - fixed bug, is_cached() now supports new 1.4.6 caching behavior. (Monte)\r
489     - update FAQ with mailing list Reply-To header FAQ. (Monte)\r
490     - supress error messages for fopen(), fix cache to regenerate if cache\r
491       file is not available (i.e. cluster race condition). (Monte)\r
492     - added index key example to QUICKSTART guide. (Monte)\r
493 \r
494 Version 1.4.6\r
495 -------------\r
496     - fixed bug with {assign ...} when passing an empty value. (Monte)\r
497     - add more warning message fixes. (Monte, Tara Johnson)\r
498     - documentation updates. (Monte)\r
499     - update fetch function to give proper warning when fetching a non-readable\r
500       or non-existant file. (Monte)\r
501     - fixed problem with newline at the end of included templates (Monte, Andrei)\r
502     - added feature to regenerate cache if compile_check is enabled and an\r
503       involved template or config file gets modified. (Monte)\r
504     - added DEBUG execution times to included files: REQUIRES updated debug.tpl\r
505       file! (Monte)\r
506     - added support for hidden config variables that cannot be read by\r
507       templates. (Andrei)\r
508     - added execution time to DEBUG console, total and inserts. (Monte)\r
509     - fixed bug where DEBUG console would not appear with cached content. (Monte)\r
510     - added support for postfilter functions that are applied to compiled\r
511       template right after compilation. (Andrei)\r
512     - fixed the name of clear_compile_tpl() API function to clear_compiled_tpl.\r
513       (Andrei)\r
514     - added fix for removing comments so that the line numbers are reported\r
515       correctly in case of errors. (patch from Anders Janson)\r
516     - made html_options output xhtml compatible code. (Monte, Arnaud Limbourg)\r
517 \r
518 Version 1.4.5\r
519 -------------\r
520     - update FAQ with index of questions at the top\r
521     - update overlib to 3.50, adjust addon code so that the overlib.js\r
522       file isn't modified, and not using the mini one. (Monte)\r
523     - added many more options to html_select_date. (Alexander Skwar, Andrei)\r
524     - added support for generating different compiled templates from the same\r
525       source template. (Hans-Peter Oeri, Andrei)\r
526     - modified Smarty to pass itself to insert functions as the second\r
527       parameter. (Andrei)\r
528     - modified Smarty to pass itself to prefilter functions as the second\r
529       parameter. (Andrei)\r
530     - fixed syntax error when including a non-existant template with security\r
531       enabled. (Monte)\r
532     - fixed comments handling to allow commenting out template blocks. (Andrei)\r
533     - implemented named capture buffers, with results accessible via\r
534       $smarty.capture.<name>. (Andrei)\r
535     - added ability to index arrays directly by numbers. (Andrei)\r
536     - fixed bug with SMARTY_DIR not prepended to Config_File include. (Monte)\r
537 \r
538 Version 1.4.4\r
539 -------------\r
540     - fixed problem with including insecure templates with security enabled.\r
541       (Monte)\r
542     - numerous documentation updates. (Monte) \r
543     - added ENT_QUOTES to escapement of html. (Monte, Sam Beckwith)\r
544     - implemented access to request variables via auto-assigned $smarty\r
545       template variable. (Andrei)\r
546     - fixed a bug with parsing function arguments inside {if} tags if a comma\r
547       was present. (Andrei)\r
548     - updated debug console with config file vars. (Monte)\r
549     - added SMARTY_DIR constant as an alternative to relying on include_path.\r
550       (Monte)\r
551     - added popup_init and popup functions (requires overlib.js). (Monte)\r
552     - updated debug console with config file vars. (Monte)\r
553     - added debugging url control. (Monte)\r
554     - added 'quotes' type to escape modifier. (Monte, Mike Krus)\r
555     - added 'total' and 'iteration' section properties. (Andrei)\r
556     - added 'start', 'max', and 'step' section attributes/properties. (Andrei)\r
557     - fixed a bug with security checking of functions inside {if} tags.\r
558       (Andrei)\r
559     - fixed a bug in Config_File that would incorrectly booleanize values that\r
560       weren't really booleans. (Andrei)\r
561 \r
562 Version 1.4.3\r
563 -------------\r
564     - added regex_replace modifier, documented. (Monte)\r
565     - added debugging console feature and custom function assign_debug_info,\r
566       documented. (Monte)\r
567     - added 'scope' attribute for {config_load}, 'global' is now deprecated but\r
568       is still supported. (Andrei)\r
569     - reduced template symbol table pollution by moving config array into the\r
570       class itself. (Andrei)\r
571     - fixed a bug with passing quoted arguments to modifiers inside {if}\r
572       statements. (Andrei, Sam Beckwith)\r
573     - added security features for third party template editing, documented\r
574       (Monte)\r
575     - added assign custom function, documented. (Monte)\r
576     - fixed bug with template header using version instead of _version. (Monte)\r
577     - fixed a problem with putting $ followed by numbers inside {strip} and\r
578       {/strip} tags. (Andrei)\r
579     - fixed Config_File class to allow empty config paths (defaults to current\r
580       directory). (Andrei)\r
581 \r
582 Version 1.4.2\r
583 -------------\r
584     - move $version to internal variable, remove from docs. (Monte)\r
585     - cleaned up compiled templates global scope by moving some variables into\r
586       the class itself. (Andrei)\r
587     - fixed a bug that would not allow referring to a section in the including\r
588       file from the included file. (Andrei)\r
589     - configs directory missing from 1.4.1 release, added back in. (Monte)\r
590     - added windows include_path setup instructions to FAQ & QUICKSTART.\r
591       (Monte)\r
592 \r
593 Version 1.4.1\r
594 -------------\r
595     - fix LOCK_EX logic for all windows platforms (Monte)\r
596     - fixed indexing by section properties with the new syntax. (Andrei)\r
597     - updated Smarty to use absolute paths when requiring/including Smarty\r
598       components. (Andrei, John Lim)\r
599 \r
600 Version 1.4.0\r
601 -------------\r
602     - added {capture}{/capture} function, documented (Monte)\r
603     - added {counter} function, documented (Monte) \r
604 \r
605 Version 1.4.0b2\r
606 ---------------\r
607     - fixed issue in Config_File.class with referencing blank sections (Andrei)\r
608     - fixed problem with passing variables to included files (Andrei)\r
609     - fixed resource path recognition for windows (Monte)\r
610 \r
611 Version 1.4.0b1\r
612 ---------------\r
613     - added "componentized templates" tip into documentation (Monte)\r
614     - added {php}{/php} tags for embedding php code into templates (Monte)\r
615     - changed default value of $show_info_header to false (Monte)\r
616     - implemented '->' syntax for accessing properties of objects passed to the\r
617       template. (Andrei)\r
618     - allowed custom functions to receive Smarty object as the second\r
619       parameter; this can be used to dynamically change template variables, for\r
620       example. (Andrei)\r
621     - added custom compiler functions support, register_compiler_function() and\r
622       unregister_compiler_function() API functions. (Andrei, Ivo Jansch).\r
623     - updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS\r
624       instead of global variable. You can also assign several variables\r
625       in one shot with an array. (Monte, Roman Neuhauser)\r
626     - added template prefilters, register_prefilter() and\r
627       unregister_prefilter() API functions. (Monte)\r
628     - added RELEASE_NOTES file to distribution. (Monte)\r
629     - moved CREDITS out of manual into its own file. (Monte)\r
630     - added register_resource() and unregister_resource() API functions. (Monte)\r
631     - changed the syntax of indexing template variables, thus supporting\r
632       structures of arbitrary complexity; supplied fix_vars.php script to fix\r
633       old syntax. (Andrei)\r
634     - added $insert_tag_check to speed up cached pages if {insert ...} is not\r
635       used. (Monte)\r
636     - added $compiler_class variable to allow specifying a different compiler\r
637       class. (Andrei)\r
638     - changed Smarty to compile templates at runtime, allowing for arbitrary\r
639       template resources. (Monte)\r
640     - added fix for LOCK_EX under Windows and changed a couple of file\r
641       permissions for security. (Monte, Fernando Nunes)\r
642     - allow arbitrary date strings to date_format, html_select_date and\r
643       html_select_time (Monte)\r
644 \r
645 Version 1.3.2\r
646 -------------\r
647     - fixed a bug that caused some nested includes to loop infinitely. (Andrei)\r
648     - added optional HTML header to output. (Monte)\r
649     - significantly improved config_load performance. (Andrei)\r
650     - added format attribute to math function. (Monte)\r
651     - added html_select_time custom function. (Andrei)\r
652     - fixed minor PHP warning when attempting to unset an unset variable\r
653       (Monte)\r
654     - added count_characters, count_words, count_sentences, count_paragraphs\r
655       modifiers (Monte)\r
656 \r
657 Version 1.3.1pl1\r
658 --------------\r
659     - bug fix, recovered missing _syntax_error function (Monte)\r
660 \r
661 Version 1.3.1\r
662 -------------\r
663     - document first, last, index_prev, index_next (Monte)\r
664     - added 'first' and 'last' section properties. (Andrei)\r
665     - split out compiling code to separate class for faster template execution\r
666       time (Monte)\r
667     - fixed a couple of minor PHP warnings (Monte)\r
668     - added and documented unregister_modifier() and unregister_function() API\r
669       calls. (Monte)\r
670     - added and documented 'fetch' and 'math' functions. (Monte)\r
671     - added ability to index looped variables by section properties, e.g.\r
672       $foo.index_prev/bar. (Andrei)\r
673     - added index_prev and index_next section properties. (Andrei)\r
674     - fixed issue with php executing in literal blocks. (Monte)\r
675 \r
676 Version 1.3.0\r
677 -------------\r
678     - moved license from GPL to LGPL (Monte)\r
679     - implemented workaround for PHP "feature" that eats carriage returns\r
680       if the PHP tag is at the end of the line. (Andrei)\r
681     - removed $allow_php, added $php_handling logic (Monte)\r
682     - added file locking to prevent reader/writer problem. (Andrei)\r
683     - made Smarty catch unimplemented modifiers and custom functions and output\r
684       error messages during compilation instead of failing during run time.\r
685       (Andrei)\r
686     - removed short-tags at the top of the smarty scripts (Monte)\r
687     - added register_function() and register_modifier() API calls to make\r
688       registering stuff easier. (Andrei)\r
689     - added template results caching capability. (Monte, Andrei)\r
690     - added optional 'options' attribute to html_options custom function\r
691       that allows passing associative arrays for values/output. (Andrei)\r
692     - modifier arguments can now contain '|' and ':' characters inside quoted\r
693       strings. (Andrei)\r
694 \r
695 Version 1.2.2\r
696 -------------\r
697     - fixed bug that would not respect nested template directories and would\r
698       put all compiled files into top-level one. (Andrei)\r
699     - fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.\r
700       (Monte)\r
701     - a couple small warning fixes. (Monte)\r
702 \r
703 Version 1.2.1\r
704 -------------\r
705     - added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)\r
706     - added tips & tricks chapter to documentation. (Monte)\r
707     - misc documentation updates. (Monte)\r
708 \r
709 Version 1.2.0\r
710 -------------\r
711     - updated documentation (Monte)\r
712     - added file and line number information to syntax error messages. (Andrei)\r
713     - added ability to index template vars by a key. (Andrei)\r
714 \r
715 Version 1.1.0\r
716 -------------\r
717     - misc documentation changes, official stable release\r
718 \r
719 Version 1.0b\r
720 ------------\r
721     - fixed the bug that prevented using non-array values for 'loop' attribute.\r
722       (Andrei)\r
723     - many misc documentation changes & additions (Monte)\r
724 \r
725 Version 1.0a\r
726 ------------\r
727     - fixed bug that caused templates to recompile every time (Monte)\r
728 \r
729 Version 1.0\r
730 ------------\r
731     - initial release\r
732 \r
733 /* vim: set et tw=64 ft=changelog: */\r