[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/bundled-libs/Smarty/ -> NEWS (source)

   1  Version 2.6.18 (Mar 7th, 2007)
   2  ------------------------------
   3  
   4  - fix html_select_date separator when parts are missing (hayk,
   5    monte)
   6  - fix broken detection of non-cached blocks introduced in 2.6.17
   7    (messju)
   8  
   9  Version 2.6.17 (Mar 5th, 2007)
  10  ------------------------------
  11  
  12  - fix php handling (monte, boots, danilo)
  13  - fix handling of plugin tags directly followed by an else tag (Fahr, danilo)
  14  - fix handling of $etc in the truncate modifier when $etc is longer
  15    than $length (Sylvinus, messju)
  16  - fix handling of %I with mysql timestamps in the date_format modifier
  17    (danilo, boots)
  18  - update smarty_core_write_file() and smarty_modifier_date_format() to better
  19    recognize Windows (boots, danilo)
  20  - emulate %h, %n, %r, %R, %t in the date_format modifier on Windows 
  21    (danilo, boots)
  22  
  23  Version 2.6.16 (Dec 1st, 2006)
  24  ------------------------------
  25  
  26  - fixed replacement bug in trimwhitespace output filter that was introduced
  27    in the last release (Spuerhund, boots)
  28  
  29  Version 2.6.15 (Nov 30th, 2006)
  30  -------------------------------
  31  
  32  - change file writing semantics in smarty_core_write_file() to unlink() only
  33    when rename() fails or a Windows system is detected (c960657, boots) 
  34  - update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug
  35    output and apply a Smarty based color scheme (cybot, boots)
  36  - enhance reporting precision of debug_print_var modifier (cybot, boots) 
  37  - make html_select_date work consistently with 0000-00-00 00:00:00 and
  38    0000-00-00 inputs (cybot, boots)
  39  - fix wrong handling of insert's name attribute. (messju)
  40  - fix false replacement of "$t" inside double quotes (checat, messju)
  41  - added support for column headings and caption element to html_table and
  42    updated the output to use thead/tbody elements (boots)
  43  - fixed ordering of replacements in trimwhitespace output filter (Getty, boots)
  44  - update mailto function plugin to work around a firefox/thunderbird
  45    escaping bug (elijahlofgren, boots)
  46  - emulate %l in the date_format modifier on windows (boots) 
  47  - fix handling of apostrophes in capitalize modifier (Alec Smecher, boots)
  48  
  49  Version 2.6.14 (May 28th, 2006)
  50  -------------------------------
  51  
  52  - fix compiler bug allowing php tags in secure templates
  53    (boots,monte)
  54  - un-hide hidden xml open tags (boots)
  55  - fix handling of block-methods of registered objects (El Hombre Gris,
  56    messju)
  57  
  58  Version 2.6.13 (March 9th, 2006)
  59  --------------------------------
  60  
  61   - update regex_replace, removing possible use of "e" modifier
  62  
  63  Version 2.6.12 (Jan 18th, 2006)
  64  -------------------------------
  65  
  66   - fix improper use of references in the compiler handling cached
  67     attributes and in compiled code handling block plugins (messju)
  68   - make Smarty::_read_file() work on latest php (messju)
  69   - fixed improper tokenization of certain inline math expressions (boots)
  70  
  71  Version 2.6.11 (Dec 14, 2005)
  72  -----------------------------
  73  
  74   - fixed code generation of non-cacheable blocks to play well with php's
  75     "Alternative syntax for control structures" (kihara, messju)
  76   - fix handling of multiple identical inserts in one display()-call (messju)
  77   - replace {} string access with equivalent substr() to avoid E_STRICT
  78     warnings in PHP 5.1 (boots)
  79   - return valid reference in get_config_vars() when given var is
  80     non-existant (Thomas Schulz, boots)
  81   - plugin html_image: fix incorrect secure_dir error when
  82     file doesn't exist (monte)
  83   - plugin html_image: add path_prefix param (monte)
  84   - add char_set parameter to escape modifier (Loading, monte)
  85   - fix notice in debug security check (Drakla, monte)
  86   - return valid reference in get_template_vars() when given var is
  87     non-existant (monte)
  88   - add escape type "urlpathinfo" to escape modifier (monte)
  89  
  90  Version 2.6.10 (Aug 5, 2005)
  91  ----------------------------
  92  
  93    - allow secure_dir to be a filename, not just
  94      a directory name (monte)
  95    - set debug.tpl as a secure_dir, not the entire
  96      SMARTY_DIR (monte)
  97    - fix proper escaping for literal strings in
  98      Smarty_Compiler::_parse_var_props() (boots, messju)
  99    - remove ambiguity for numeric values passed to smarty_make_timestamp()
 100      (and thus the date_format modifier). numeric values are treated as
 101      timestamps now. (andreas, messju)
 102    - add passthru attribute feature to html_select_date (Sedgar,
 103      monte)
 104    - add "middle" parameter to truncate (monte)
 105    - make form input label ids optional (monte)
 106    - add error message for empty if/elseif statements (eykanal,
 107      monte)
 108    - cast selected value to string for comparison in html_radios
 109      (Exeption, monte)
 110    - updated html_select_date's year_as_text-feature to be xhtml compliant
 111      (Mark West, messju)
 112    - fix handling of selected month html_select_date (Yuri Weseman, messju)
 113  
 114  Version 2.6.9 (Mar 31, 2005)
 115  ----------------------------
 116  
 117    - disallow variable function calls in {if} statements (messju, monte)
 118    - disallow variable function calls in {math} equations (messju, monte)
 119  
 120  Version 2.6.8 (Mar 21, 2005)
 121  ----------------------------
 122  
 123    - remove e-modifier from regex_replace modifier (messju)
 124    - remove cast of object to array in foreach's from-attribute (messju)
 125    - add "null" as a valid token for {if} when security is enabled (messju)
 126    - add javascript_charcode encoding option to mailto function
 127      (monte)
 128    - add ids to html_radios labels (monte, menulis)
 129    - fix handling of strip-tags with non-default delimiters (Mark West, messju)
 130  
 131  Version 2.6.7 (Feb 3, 2005)
 132  ---------------------------
 133  
 134    - fix handling of hashed opening php-tags inside strip-blocks (messju)
 135    - removed border tag from html_image function (monte)
 136    - change escape:url use rawurlencode() instead of urlencode() (messju)
 137    - make $smarty.const.FOO compile to "FOO", and not to "constant('foo')".
 138      this is less code and a little faster execution. note that undefined
 139      constants are now displayed as the constant's name. (messju)
 140    - make block functions and registered objects' block methods use a
 141      local variable for block_content instead of a property of $smarty (messju)
 142    - fix escaping in the generated code that calls smarty_core_load_plugins
 143      (jes5199, messju)
 144    - fix invalid HTML issue with popup (Stefanos Harhalakis,
 145      Monte)
 146    - fixed {popup} to properly handle inarray and function parameters and added
 147      support for mouseoff and followmouse options (boots)
 148  
 149  Version 2.6.6 (Oct 13, 2004)
 150  ----------------------------
 151  
 152    - fixed nocache-handling with nested includes (Lars Jankowfsky, messju)
 153    - moved /libs/core to /libs/internals (boots)
 154    - fixed more parsing problems (messju)
 155  
 156  Version 2.6.5 (Sept 13, 2004)
 157  -----------------------------
 158  
 159    - fixed some parsing problems with object calls introduced
 160      in 2.6.4 (Monte)
 161    - add $smarty->security_settings['ALLOW_CONSTANTS']. note: this
 162      defaults to false which means you have to allow them explicitly
 163      in your secured templates from now on! (messju)
 164  
 165  Version 2.6.4 (Sept 7, 2004)
 166  ----------------------------
 167  
 168    - add $smarty.ldelim and $smarty.rdelim to smarty special var (Monte)
 169    - fall back to old uniqid()-behaviour when tempnam() fails in
 170      core.write_file.php (messju)
 171    - fix capitalize modifier, don't rely on buggy ucwords (Monte)
 172    - make html_select_date work with negative timestamps, also
 173      force year range to include given date unless explicitly
 174      set (Garo, Monte)
 175    - fix bug with {fetch}, passing user/pass in url did not work
 176      (Monte)
 177    - fix occasional wrong error messages on mismatched tags when
 178      {else}, {elseif}, {foreachelse} or {sectionelse} is involved (messju)
 179    - fix handling of methods arguments (messju, Manfred Wischin)
 180    - remove touch() call that made the compiled-template's timestamp the
 181      same as the source-template's one. (messju)
 182    - add assign attribute to html_checkboxes and html_radios
 183      (pcg, Monte)
 184    - remove non-xhtml conformant tag from mailto function
 185      (tacker, Monte)
 186    - handle date_format codes %e, %T and %D for windows (tip,
 187      Monte)
 188    - fix unnecessary call to smarty_core_get_include_path() inside
 189      Smarty::_get_auto_filename() (c960657, messju)
 190    - add error-messages when anything else than an identifier is passed
 191      to foreach's key- or item-attribute (messju)
 192    - fix handling of digits inside tagnames (messju)
 193    - fix escaping of backslashes in Smarty_Compiler::_quote_replace() (messju)
 194  
 195  Version 2.6.3 (June 16, 2004)
 196  -----------------------------
 197  
 198    - added escapement of '</' to '<\/' in escape:javascript
 199      modifier (c960657, Monte)
 200    - added obfuscation of protocol-string in {mailto} when using hex-
 201      encoding (bharat, messju)
 202    - enhanced auto-generated filenames for templates_c and cache (messju)
 203    - add 'nonstd' to escape modifier for escaping non-std chars,
 204      such as ms doc quote (Monte)
 205    - adjusted textformat to not output wrap chars after last para
 206      (Monte)
 207    - use tempnam() instead of unqid() to create better temporary files in
 208      smarty_core_write_file() (xces, messju)
 209    - add 'mail' to escape modifier for safe display of e-mail
 210      addresses (Monte)
 211    - add cycle function attribute "reset" to english docs (Monte)
 212    - enhanced support of numeric constants as variable-expressions (messju)
 213    - add case decentity to smarty_modifier_escape() (Konstantin A. Pelepelin,
 214      messju)
 215    - make smarty_core_write_compiled_include() php5-aware (messju)
 216    - removed unused functionality to load a subset of lines from a file (messju)
 217    - fix is_secure() should only check if a file is_readable, not if
 218      the directory where it is in is readable (sagi, messju)
 219    - fix problem displaying debug console when $default_resource_type
 220      is not "file:" (c960657, Monte)
 221    - fix permission handling with security and config_load (messju)
 222    - removed '.' from the list of default template locations in
 223      _parse_resource_name() (messju)
 224    - fix avoid warning with template_exists() on an absolute paths (messju)
 225    - fix parameters passed to resource's secure()-function (messju)
 226    - fix handling of integer values like width and delay im
 227      smarty_function_popup() (messju)
 228  
 229  Version 2.6.2 (Feb 17, 2004)
 230  ----------------------------
 231  
 232    - fix allow empty years, months and days in html_select_date's
 233      time-attribute (messju)
 234    - fix YES and NO should not be booleanized inside triple-quotes in a
 235      config-file (messju)
 236    - fix accidently slurped line following a triple-quoted value in a
 237      config-file (messju)
 238    - change default for use_sub_dirs to false (messju)
 239    - fix quoting of values in smarty_function_popup() (messju)
 240    - fix handling of hidden sections in Config_File (messju)
 241    - add handling of resources for {config_load} (messju)
 242    - fix bug when using arrays with tr_attr and td_attr in {html_table} (messju)
 243    - add unit testing to cvs core (Monte)
 244  
 245  Version 2.6.1 (Jan 16, 2004)
 246  ----------------------------
 247  
 248    - rename $smarty->tpl_error_reporting to $smarty->error_reporting
 249      (messju)
 250    - fix interpretation of $smarty->security in {html_image} (messju)
 251    - add caching of requested paths to _assemble_plugin_filepath() (messju)
 252    - fix handling of comments inside {php}- and {literal}-blocks (messju)
 253    - fix bug handling triple-quotes in config-files (BRDude, messju)
 254    - change default of request_use_auto_globals to true - $_SERVER is
 255      now preferred over $HTTP_SERVER_VARS (messju)
 256    - re-add support for $SCRIPT_NAME (messju)
 257    - reactivate $smarty->default_modifiers (messju)
 258    - add cookie persistance to debug console (Monte)
 259    - allow single-digit days and months without smarty_make_timestamp()
 260      in html_select_date (messju)
 261    - fix headers sent erroneously with cache_modified_check and fetch()
 262      (wphilips, messju)
 263    - fix config_file path bug (Marc Cabadas, Monte)
 264    - fix 'is even by' and 'is odd by' logic (Monte)
 265    - add day_empty, month_empty, year_empty and all_empty attributes to
 266      html_select_date (messju)
 267    - add table of explanation for {if} qualifiers in docs (boots)
 268    - fix bug when comparing array-keys to "selected" in html_options
 269      and html_checkboxes (messju)
 270    - add better checks for correctly nested tags when compiling (messju)
 271    - remove {$SCRIPT_NAME}. use {$smarty.server.SCRIPT_NAME} instead (messju)
 272    - remove $global_assign. assign global variables explicitly instead (messju)
 273    - fix example for count_characters in docs (boots)
 274    - add section new basic syntax section "Escaping Smarty Parsing" in docs (boots)
 275    - fix error handler call in config_load (boots)
 276    - remove warning in debug_print_var on php-resources (messju)
 277    - move function.assign.php to compiler.assign.php (messju)
 278    - add property $tpl_error_reporting (messju)
 279    - remove property $undefined. "null" is used literally instead (messju)
 280  
 281  Version 2.6.0 (Nov 19, 2003)
 282  ----------------------------
 283  
 284    - move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() (messju)
 285    - remove import of of attributes of {include_php} to php's namespace.
 286      use $params[name] instead (messju)
 287  
 288  Version 2.6.0-RC3 (Nov 13, 2003)
 289  --------------------------------
 290  
 291    - fix handling of $var.key inside [] (messju)
 292    - fix handling of assign inside {insert}-tags (messju)
 293    - fix handling if [...] inside triple-quotes in config-files (messju)
 294    - fix handling of simple-math-operators inside modifiers (Dominik, messju)
 295    - fix handling of trailing-slashes in open_basedir in
 296      smarty_core_create_dir_structure() (packman, messju)
 297  
 298  Version 2.6.0-RC2 (Oct 8, 2003)
 299  -------------------------------
 300  
 301    - apply modifiers only once to section-loop and foreach-from attrs (messju)
 302    - remove use of _smarty_cached_paths-files (messju)
 303    - remove Smarty::_plugin_implementation_exists() - use is_callable() (messju)
 304    - ignore {strip}/{/strip) inside {strip}-blocks (messju)
 305    - fixed removal of leading/trailing newlines in {strip}-blocks (messju)
 306    - fixed proper escaping of " and ' with escape:javascript (messju)
 307    - fixed bug in traversal of $smarty->plugins_dir-array. now the
 308      first matching plugin is taken (messju)
 309    - moved {strip} back into the compiler (messju)
 310    - fixed config_load: handling of section-attribute and use of
 311      multiple config-files in one template (atu, messju)
 312  
 313  Version 2.6.0-RC1 (August 11, 2003)
 314  -----------------------------------
 315  
 316    - fixed status-header for cache_modified_check under cgi-sapi (messju)
 317    - added optional parameter $cache_attrs to register_function() and
 318      register_block(). $cache_attrs is an array containing attribute-
 319      names that should be cached on calls to functions that have
 320      $cacheable set to false. (messju)
 321    - enabled registration of class-methods as callbacks for the register_*-
 322      functions (use: array('classname', 'method_name')) as callback) (messju)
 323    - added filepath caching (Monte)
 324    - added optional assign-attribute to {capture}-tag (messju)
 325    - added $cacheable-parameter to register_compiler_function() (messju)
 326    - added $cacheable-parameter with default=true to register_function()
 327      and register_block() (messju)
 328    - add math speedup to core (Dominik, Monte)
 329    - fix newlines for tags without template output (Monte)
 330    - added config-option "request_use_auto_globals" to make auto-globals be
 331      used as request vars instead of HTTP_*_VARS (messju)
 332    - speed up config_load, simplify compiling (Monte)
 333    - added block-methods for registered objects (Bharat Mediratta, messju)
 334    - ignore one char resource names like c:foo.tpl (Monte)
 335    - added default_resource_type feature (Monte)
 336    - fix bug where config file starts with hidden section (boots, Monte)
 337    - add discrete error checking pertaining to $cache_dir
 338      and $compile_dir, their existance and writability (Monte)
 339    - fixed behaviour of start=... for {counter} (messju)
 340    - fixed assign for {counter} (messju)
 341    - added params vdir, hdir and inner to html_table to allow looping
 342      over the data in various directions (messju)
 343    - allow spaces in literal tags (Paul Lockaby, Monte)
 344    - speed up compiled templates, hardcode plugin filepaths
 345      instead of dynamically calculate at runtime. (Monte)
 346    - abstract many core components from Smarty.class.php,
 347      speeding up core class instantiation (Monte)
 348    - fixed bug in _create_dir_structure() when used with open_basedir-
 349      restriction and relative paths (messju)
 350    - use DIRECTORY_SEPARATOR exclusively, keep DIR_SEP for BC (Monte)
 351    - changed "link" to "href" in html_image. "link" is still working
 352      but deprecated (messju)
 353    - html_image always renders an alt-tag now (default alt="") (messju)
 354    - fixed assign attribute for multiple counters (messju)
 355    - added simple math operators to variables (Monte)
 356    - enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted')
 357      as callback for register_resource() (messju);
 358    - enabled array(&$obj, 'method') as callback for
 359      $default_template_handler_func (messju)
 360    - remove unnecessary close/open tags from compiled templates
 361      (Monte)
 362    - fixed errornous creation of '//' in image_path in html_image (messju)
 363    - fix escapement of special chars for key vals in debug
 364      console (Monte)
 365    - fixed debug timing logic for config_load (Tom Sommer, Monte)
 366    - all in-code doc comments converted to phpDocumentor format (Greg)
 367    - moved strip from smarty core to plugin (Monte)
 368    - moved config_load from smarty core to plugin (Monte)
 369    - added &$repeat-parameter to block-functions (messju)
 370    - enabled hex-constants in function.math.php (messju)
 371    - enabled hex-constants (0x...) as function-attributes, inside if-statements
 372      and as modifier-parameters (messju)
 373    - fixed bug with passing $smarty as reference in Smarty.compiler.class
 374      (messju)
 375    - corrected output with {strip} and PHP tag newlines (Monte)
 376    - added possibility to register function-callbacks as "array(&$obj, 'method)"
 377      this affects register_function(), -block, -compiler_function, -modifier,
 378      -prefilter, -postfilter, -outputfilter-functions() and $cache_handler_func
 379      (messju)
 380    - added <labels> to html_checkboxes and html_radios (Philippe, messju)
 381    - added "labels"-options to turn off labels in html_checkboxes and _radios
 382      (messju)
 383  
 384  Version 2.5.0 (April 11, 2003)
 385  ------------------------------
 386  
 387     - fixed bug with default modifier when passing integer 0
 388       (Monte)
 389     - change backtic syntax from $`foo` to `$foo` (Monte)
 390     - recognize $foo[][] syntax inside embedded quotes without
 391       backtics (Monte)
 392     - name=123 is passed as an integer (not a string) to plugins now (messju)
 393     - $length is now propagated to sub-values in debug_print_var (messju)
 394  
 395  Version 2.5.0-RC2 (March 26, 2003)
 396  ----------------------------------
 397  
 398      - made clear_cache() ignore compile_id, when clearing cache-groups (this
 399        is when no $tpl_file is supplied) (messju)
 400      - made onmouseout XHTML-compliant in function.popup.php (messju)
 401      - applied local-var-naming-scheme to fetch() (messju)
 402      - renamed $localvars to $_localvars in cache-file-handling-functions,
 403        added _get_auto_id()-function (messju)
 404      - swapped compile_id and cache_id in read_cache_file and write_cache_file
 405        (messju)
 406      - reverted patch for cache-file-handling (messju)
 407      - made html_radios and html_checkboxes accept "selected" instead
 408        of "checked" optionally. (messju)
 409      - made compile_id ignored in clear_cache, made order of
 410        auto_file_name $cache_id.$compile_id again, applied the the new
 411        variable-naming-scheme for cache_file_handing functions (messju)
 412      - removed notice of undefined var in _rm_auto() (messju)
 413      - added warning message when an array is passed as
 414        the "checked" value of html_radios (Monte)
 415      - fixed errormessage in _compile_smarty_ref() (messju)
 416      - updated docs for html_image "name" -> "file" (messju)
 417      - fixed bug with html_options-optgroups (Nichlas Löfdahl, messju)
 418      - cleaned up calls to readdir() (messju)
 419      - fixed bug with passing multiple modifiers to a parameter
 420        (Monte)
 421      - updated docs for html_checkboxes, html_options and html_radios (messju)
 422      - fixed wrong default "name" attribute for html_options (messju)
 423      - html_checkboxes now expect the options as attribute "options" instead
 424        of "checkboxes. html_radios expect "options" instead of "radios".
 425        cleaned up indentiation (messju)
 426      - fixed too greedy str_replace in trimwhitespace outputfilter (messju)
 427      - html_checkboxes and html_radios passthru all unknown paramters now
 428        additionally their output is now XHTML compliant (messju)
 429      - html_options passthru all unknown paramters now (messju)
 430      - fix link functionality of html_image, also make
 431        output XHTML compatible (Hinrich Donner, Monte)
 432      - append "@" to default modifier vars/args
 433        supress possible warnings (Monte)
 434      - fix problem with escaped double quotes (Monte)
 435      - fix html_radios to not return an array (Monte)
 436      - fixed length in modifier.truncate.php (messju)
 437      - fixed handling of '$'-signs in trimwhitespace outputfilter (messju)
 438      - fix bug that makes config files recompile every time
 439        (Nagger, Monte)
 440      - add dpi functionality to html_image, change "name"
 441        parameter to "file" (Thomas Shulz, Monte)
 442      - fix height/width parameter index in html_image (Gerard,
 443        Monte)
 444      - get rid of unsetting name and script attributes
 445        to insert tag (Thomas Schulz, Monte)
 446      - changed argument order of string_format modifier back,
 447        was right in the first place (Monte)
 448  
 449  Version 2.5.0-RC1 (March 5, 2003)
 450  ---------------------------------
 451  
 452      - fixed notice in popup function (Nagger, Monte)
 453      - fix "once" var compiling for include_php (Monte)
 454      - added nl2br modifier to distribution (Monte)
 455      - added html_image to distribution (Monte)
 456      - added cat modifier to distribution (Monte)
 457      - added html_table to distribution (Monte)
 458      - added << >> <> support to if statments (SMK, Monte)
 459      - fix _assign_smarty_interface to not overwrite keys
 460        other than 'request' (Jerome Poudevigne, Monte)
 461      - added html_checkboxes to distribution (Christopher Kvarme, Monte)
 462      - added html_radios to distribution (Christopher Kvarme, Monte)
 463      - fixed string_format modifier args (wrong order) (Paul
 464        Lockaby, Monte)
 465      - use tmp file for file writes, avoid file lock race (Monte)
 466      - support syntax "$`smarty.config.foo`.tpl" for embedded
 467        vars in quotes, and allow full dollar var syntax (Monte)
 468      - add $smarty.config.varname variable for accessing config vars (Paul
 469        Lockaby, Monte)
 470      - silence PHP warnings in function.fetch.php (Eduardo,
 471        Monte)
 472      - added get_config_vars(), same basic functionality as
 473        get_template_vars() (Monte)
 474      - update get_template_vars() to be able to get
 475        individual vars (Monte)
 476      - fix minor logic in _fetch_template_info (Dennis Gearon,
 477        Monte)
 478      - fix cache groups with compile_id set (Monte)
 479      - add support for merging appended vars (messju, Monte)
 480      - allow null as function attribute value
 481        (André Rabold, Monte)
 482      - support $foo->bar[index] syntax (Monte)
 483      - add get_registered_object function (messju, Monte)
 484      - treat unrecognized param attribute syntax as string (Monte)
 485      - support $smarty.const.$foo syntax (messju, Monte)
 486      - remove E_NOTICE warnings from debug.tpl,
 487        escape modifier (Kanstantin, Monte)
 488      - don't count non-ascii chars in count_words modifier
 489        (Kanstantin, Monte)
 490      - clean up param calls to _parse_var and _parse_attrs (Monte)
 491      - define $template_source var, elude possible warning
 492        (Monte)
 493      - fix syntax problem with evaluating PHP constants (Monte)
 494      - add @ and === as valid if statement tokens (Monte)
 495      - enable error messages for config_load errors,
 496        use $this->config_class for loading class name (Monte)
 497      - fix html_options to not escape already escaped entities (Monte)
 498      - send Last-Modified header on cache creation (Monte)
 499      - check strict syntax of function attributes (Monte)
 500      - dropped support for modifers on object parameters,
 501        added support for objects as modifier parameters (Monte)
 502      - fixed bug with decimal numbers in if statements (Monte)
 503  
 504  Version 2.4.2 (Feb 11, 2003)
 505  ----------------------------
 506      - support embedded variables in objects (Monte)
 507      - fix bug with objects with no properties (M Mohr, Monte)
 508      - support full dollar var syntax in quoted text (Monte)
 509      - fixed bug in $smarty.const.FOO introduced in 2.4.1 (M
 510        Mohr, Monte)
 511  
 512  Version 2.4.1 (Feb 6, 2003)
 513  ---------------------------
 514  
 515      - ignore case in IF statements (Rainer Collet, Monte)
 516      - treat undefined constants as null (Ferdinand Beyer, Monte)
 517      - fix problem with inserts and nested fetches
 518        (Rainer Collet, Monte)
 519      - added support for passing params to include_php
 520        (Tim Riley, Monte)
 521      - added support for math operators in if statements (Monte)
 522      - added support for $foo->bar[$x].blah syntax (Monte)
 523  
 524  Version 2.4.0 (Feb 2, 2003)
 525  ---------------------------
 526  
 527      - fix known problems with php tag handling in templates
 528        (recursion, echoing xml tags) (Monte)
 529      - add support for object registration (Monte)
 530      - add debug template to secure_dir, add template_dir
 531        to secure_dir by default (Ferdinand Beyer, Monte)
 532      - added support for assigned object access (Monte)
 533      - fixed bug with directories named '0' (Frank Bauer, Monte)
 534      - add javascript parameter to escape modifier (Monte)
 535      - added calling function line numbers to syntax error
 536        messages in compiler (Monte)
 537      - added support for modifiers to function calls (Monte)
 538      - support return value for custom functions
 539        instead of echoing (but echo still works) (Monte)
 540      - added direct access to constants
 541        via $smarty.const.FOO (Monte)
 542      - added support for passing modifiers
 543        to static values (Monte)
 544      - fix up regex code in compiler, more accurate and
 545        maintainable (Monte)
 546      - added day_value_format to html_select_date (Marcus
 547        Bointon, Monte)
 548      - assigned variables are no longer in global
 549        namespace, saving extract() calls and speeding
 550        up fetch() and display() linearly with no. of
 551        assigned variables (Monte)
 552      - added trimwhitespace output filter to dist. (Monte)
 553      - fix popup function to allow newlines in text (Monte)
 554      - escape html entities in html_options (Monte)
 555      - fixed bug with label for html_options (Monte)
 556      - added config_load API function (Monte)
 557      - added caching to config file loading (Monte)
 558      - added "extra" parameter to mailto function (Monte,
 559        Massimiliano Perantoni)
 560      - added mailto plugin to dist.  (Monte)
 561  
 562  Version 2.3.1 (Nov 19, 2002)
 563  ----------------------------
 564  
 565      - added optgroup support to html_options (Monte, Robert
 566        Amos)
 567      - set mtime on compile files so they match source
 568        files (Monte, Peter Bowen)
 569      - added proper support for open_basedir setting
 570        (Monte, Alessandro Astarita)
 571      - added strip variable modifier, updated docs (Monte)
 572      - fixed access to $smarty.x variables as arrays. (Andrei)
 573      - fixed errors with example setup docs (Monte, Matthew
 574        Hagerty)
 575      - added textformat block function (Monte)
 576  
 577  Version 2.3.0 (Aug 7, 2002)
 578  ---------------------------
 579  
 580      - added assign_by_ref() and append_by_ref() functions
 581        (Bob Silva, Monte)
 582      - changed default warning type for plugin errors from
 583        E_USER_WARNING to E_USER_ERROR (Monte)
 584      - added $all_extra, $hour_extra, $minute_extra,
 585        $second_extra and $meridian_extra parameters to
 586        html_select_time function (Rainer Collet, Monte)
 587      - update debug console to print objects (Simon Willison,
 588        Monte)
 589      - fix Config_File class to not error when there are no
 590        sections (Peter Kmet, Monte)
 591      - add default modifier logic (Monte)
 592      - updated popup_init to be xhtml compliant (Tom Oram, Monte)
 593      - fix filename bug with windows (Gary Loescher, Monte)
 594      - add ability to supply expire time in seconds when clearing
 595        cache or compile files (Monte)
 596      - add {debug} plugin to distribution (Monte)
 597      - fixed bug with insert tags, loading from "script" attribute
 598        when caching is enabled (Monte)
 599      - fix bug with debug_tpl file path with Windows (.SMK., Monte)
 600      - fix append() function with string/array problem (Monte)
 601  
 602  Version 2.2.0 (July 11, 2002)
 603  -----------------------------
 604  
 605      - make debug.tpl work with any delimiter (Monte)
 606      - change logic in assign() and append() to test var names
 607        against != '' instead of empty() (Monte)
 608      - fix PHP notice in append() function (Monte)
 609      - allow $plugins_dir to be an array of directories
 610        (Andreas Kossmeier, Monte)
 611      - move debug.tpl to SMARTY_DIR, add to constructor (Monte)
 612      - fixed warning message in function.assign_debug_info (Monte)
 613      - fixed $template_dir, $compile_dir, $cache_dir, $config_dir,
 614        $plugin_dir to respect include_path (Monte)
 615      - fixed warning message with output filter array (Monte)
 616      - add optional 2nd parameter to date_format, used as
 617        the default date if the passed date is empty (Monte)
 618      - gave $reset a default value in cycle plugin (Monte)
 619      - fixed warnings with html_select_date and timestamp
 620        functions (Monte)
 621      - added support for sub directory exlusion format (Monte)
 622      - added support for grouping by cache_id, compile_id
 623        and segments thereof (Monte)
 624      - changed cache and compile files to human readable
 625        format (Monte)
 626      - remove overlib.js file from distribution (Monte)
 627      - fixed bug with 304 Not Modified response sending
 628        content (Monte)
 629      - fixed cycle function to respect delimiter after
 630        initial setting (Monte)
 631      - update $GLOBALS references to work properly with
 632        track_globals settings (Michal Prinke, Monte)
 633      - fixed bug in math function with call to assign
 634        (Grigory V. Kareev, Monte)
 635      - optimized for loops with count() function calls (Monte)
 636      - add month_value_format attribute to html_select_date
 637        plugin (Gary Loescher, Monte)
 638      - made it possible to use simple variables inside [] for
 639        indexing. (Andrei)
 640      - added "once" attribute to {include_php}. (Monte)
 641  
 642  Version 2.1.1
 643  -------------
 644      - added cycle function. (Monte)
 645      - fixed bug with resource testing, and include_path. (Monte)
 646      - fixed a bug with register_outputfilter function. (Monte)
 647  
 648  Version 2.1.0
 649  -------------
 650  
 651      - introduced output filters. (Andrei)
 652      - changed the way filters are loaded, added load_filter()
 653        API function and $autoload_filters variable. (Andrei)
 654      - added caching logic for expire times per cache file
 655        (Norbert Rocher, Monte)
 656      - fixed html_select_date when field separator is "/"
 657        (Roberto Berto, Monte)
 658      - added YYYY-MM-DD format support to html_select_date
 659        (Jan Rosier, Monte)
 660      - fixed cache_lifetime logic bug, also made -1 = never
 661        expire (Monte)
 662      - fixed directory separator issue for Windows. (Andrei)
 663      - added ability to use simple variables as array indices or
 664        object properties. (Andrei)
 665      - added ability to unregister pre/postfilters plugins at
 666        runtime. (Andrei)
 667      - added 'htmlall' attribute to escape modifier. (Monte)
 668      - added template_exists() API function. (Andrei)
 669      - fixed a problem with using dynamic values for 'file'
 670        attribute of {include_php} tag. (Andrei)
 671      - added $smarty.template variable. (Andrei)
 672      - fixed several plugins that would not work if the plugin
 673        directory was not the default one. (Andrei)
 674      - implemented support for block functions. (Andrei)
 675      - made it possible to assign variables in pre/postfilter
 676        plugins. (Andrei)
 677  
 678  Version 2.0.1
 679  -------------
 680      - rename plugin .make_timestamp.php to shared.make_timestamp.php.
 681        (Monte)
 682      - changed crc32() generated values, replace '-' with 'N'. (Monte)
 683      - added support for +/- N syntax in html_select_date year values.
 684        (Monte)
 685      - fixed behavior of inserts with script attribute. (Andrei)
 686      - fixed bug with $smarty.cookies and $smarty.server. (Andrei)
 687      - wordwrap and indent are missing from 2.0 release, now fixed.
 688        (Monte)
 689      - removed show_info_header and show_info_include variables. (Monte)
 690  
 691  Version 2.0.0
 692  -------------
 693      - added "eval" function plugin for evaluating variables as
 694        templates. (Monte)
 695      - removed $tpl_file_ext class variable, no longer used. (Monte)
 696      - added "hex" and "hexentity" escape types to escape modifier.
 697        (Monte)
 698      - removed dependency on PEAR. (Andrei)
 699      - update popup_init to accept src attribute. (Monte, Duncan Forrest)
 700      - implemented several optimizations, speeding up Smarty
 701        significantly in most cases. (Andrei,Monte)
 702      - implemented plugin architecture. (Andrei)
 703      - added wordwrap and indent modifiers. (Monte)
 704      - added support for 'If-Modified-Since' headers for cached content.
 705        (Monte)
 706      - removed insert_tag_check class variable, no longer needed. (Monte)
 707      - optimized cache fetches by scanning for insert tags only if they
 708        exist. (Monte)
 709      - fixed bugs in overlib. (Monte, Duncan Forrest)
 710      - fixed a problem with compile_id usage. (Andrei)
 711      - fixed problem with using assigned vars with {include_php ...}
 712        filepath. (Monte)
 713  
 714  Version 1.5.2
 715  -------------
 716      - added Smarty object as fifth argument for template resource functions.
 717        (Monte)
 718      - fixed a bug with incorrectly combined cache and compile id in
 719        clear_cache(). (Andrei)
 720      - fixed bug in smarty_make_timestamp introduced in PHP 4.1.0. (Monte)
 721      - fixed bug with cached insert debug timing. (Monte)
 722      - added 'script' attribute to {insert..} which specifies the script that
 723        the insert function can be found in. (Andrei)
 724      - added default template function handler. (Monte)
 725  
 726  Version 1.5.1
 727  -------------
 728      - removed error message from the generic _read_file() method, the caller
 729        should take care of that. (Andrei)
 730      - fixed a bug with incorrectly combined cache and compile id. (Andrei)
 731  
 732  Version 1.5.0
 733  -------------
 734      - added include_php built-in function, documented. (Monte)
 735      - added trusted_dir functionality, documented. (Monte)
 736      - consolidated secure_dir tests to one function. (Monte)
 737      - prepended _smarty_ to variable names in fetch() class function to avoid
 738        namespace conflicts. (Monte)
 739      - introduced $compile_id class variable that can be used to set persistent
 740        compile identifier across multiple display calls, documented. (Andrei)
 741      - fixed bug with concatenated null cache and compile identifiers. (Andrei)
 742      - added $smarty.section.* syntax for accessing section properties,
 743        documented. (Andrei)
 744      - added custom cache handling function ability, documented. (Monte)
 745      - added assign attribute to include, include_php, insert, fetch, math, and
 746        counter functions, documented. (Monte)
 747      - fixed bug with fetch testing for local file when http address. (Monte)
 748      - fixed bug with counter and skipval setting. (Monte)
 749      - made {config_load ...} merge globals from each config file only once per
 750        scope, thus avoiding several problems. (Andrei)
 751      - added {foreach ...} tag that can be used to iterate through
 752        non-sequential and associative arrays, documented. (Andrei)
 753      - speeded up section property access a bit. (Andrei)
 754      - removed $smarty variable from storage used by normal template variables,
 755        to prevent any problems. (Andrei)
 756      - fixed a bug that could cause parse error with quotes inside literal
 757        blocks. (Andrei, Alexander Belonosov)
 758      - added 'field_array' attribute to html_select_time function, documented.
 759        (Andrei, Michael Caplan)
 760      - documented {section} "max" attribute. (Monte)
 761      - fixed notice message in Smarty_Compiler.class.php. (Monte)
 762      - fixed bug with clear_cache introduced in 1.4.6, third parameter should
 763        default to null. (Monte)
 764      - updated Config_File class to support '\' path separator in OS/2. (Monte,
 765        Francesco Cipriani)
 766      - removed secure_ext setting (not used). (Monte)
 767      - made cache reading process more efficient. (Monte)
 768      - fixed bug, is_cached() now supports new 1.4.6 caching behavior. (Monte)
 769      - update FAQ with mailing list Reply-To header FAQ. (Monte)
 770      - supress error messages for fopen(), fix cache to regenerate if cache
 771        file is not available (i.e. cluster race condition). (Monte)
 772      - added index key example to QUICKSTART guide. (Monte)
 773  
 774  Version 1.4.6
 775  -------------
 776      - fixed bug with {assign ...} when passing an empty value. (Monte)
 777      - add more warning message fixes. (Monte, Tara Johnson)
 778      - documentation updates. (Monte)
 779      - update fetch function to give proper warning when fetching a non-readable
 780        or non-existant file. (Monte)
 781      - fixed problem with newline at the end of included templates (Monte, Andrei)
 782      - added feature to regenerate cache if compile_check is enabled and an
 783        involved template or config file gets modified. (Monte)
 784      - added DEBUG execution times to included files: REQUIRES updated debug.tpl
 785        file! (Monte)
 786      - added support for hidden config variables that cannot be read by
 787        templates. (Andrei)
 788      - added execution time to DEBUG console, total and inserts. (Monte)
 789      - fixed bug where DEBUG console would not appear with cached content. (Monte)
 790      - added support for postfilter functions that are applied to compiled
 791        template right after compilation. (Andrei)
 792      - fixed the name of clear_compile_tpl() API function to clear_compiled_tpl.
 793        (Andrei)
 794      - added fix for removing comments so that the line numbers are reported
 795        correctly in case of errors. (patch from Anders Janson)
 796      - made html_options output xhtml compatible code. (Monte, Arnaud Limbourg)
 797  
 798  Version 1.4.5
 799  -------------
 800      - update FAQ with index of questions at the top
 801      - update overlib to 3.50, adjust addon code so that the overlib.js
 802        file isn't modified, and not using the mini one. (Monte)
 803      - added many more options to html_select_date. (Alexander Skwar, Andrei)
 804      - added support for generating different compiled templates from the same
 805        source template. (Hans-Peter Oeri, Andrei)
 806      - modified Smarty to pass itself to insert functions as the second
 807        parameter. (Andrei)
 808      - modified Smarty to pass itself to prefilter functions as the second
 809        parameter. (Andrei)
 810      - fixed syntax error when including a non-existant template with security
 811        enabled. (Monte)
 812      - fixed comments handling to allow commenting out template blocks. (Andrei)
 813      - implemented named capture buffers, with results accessible via
 814        $smarty.capture.<name>. (Andrei)
 815      - added ability to index arrays directly by numbers. (Andrei)
 816      - fixed bug with SMARTY_DIR not prepended to Config_File include. (Monte)
 817  
 818  Version 1.4.4
 819  -------------
 820      - fixed problem with including insecure templates with security enabled.
 821        (Monte)
 822      - numerous documentation updates. (Monte)
 823      - added ENT_QUOTES to escapement of html. (Monte, Sam Beckwith)
 824      - implemented access to request variables via auto-assigned $smarty
 825        template variable. (Andrei)
 826      - fixed a bug with parsing function arguments inside {if} tags if a comma
 827        was present. (Andrei)
 828      - updated debug console with config file vars. (Monte)
 829      - added SMARTY_DIR constant as an alternative to relying on include_path.
 830        (Monte)
 831      - added popup_init and popup functions (requires overlib.js). (Monte)
 832      - updated debug console with config file vars. (Monte)
 833      - added debugging url control. (Monte)
 834      - added 'quotes' type to escape modifier. (Monte, Mike Krus)
 835      - added 'total' and 'iteration' section properties. (Andrei)
 836      - added 'start', 'max', and 'step' section attributes/properties. (Andrei)
 837      - fixed a bug with security checking of functions inside {if} tags.
 838        (Andrei)
 839      - fixed a bug in Config_File that would incorrectly booleanize values that
 840        weren't really booleans. (Andrei)
 841  
 842  Version 1.4.3
 843  -------------
 844      - added regex_replace modifier, documented. (Monte)
 845      - added debugging console feature and custom function assign_debug_info,
 846        documented. (Monte)
 847      - added 'scope' attribute for {config_load}, 'global' is now deprecated but
 848        is still supported. (Andrei)
 849      - reduced template symbol table pollution by moving config array into the
 850        class itself. (Andrei)
 851      - fixed a bug with passing quoted arguments to modifiers inside {if}
 852        statements. (Andrei, Sam Beckwith)
 853      - added security features for third party template editing, documented
 854        (Monte)
 855      - added assign custom function, documented. (Monte)
 856      - fixed bug with template header using version instead of _version. (Monte)
 857      - fixed a problem with putting $ followed by numbers inside {strip} and
 858        {/strip} tags. (Andrei)
 859      - fixed Config_File class to allow empty config paths (defaults to current
 860        directory). (Andrei)
 861  
 862  Version 1.4.2
 863  -------------
 864      - move $version to internal variable, remove from docs. (Monte)
 865      - cleaned up compiled templates global scope by moving some variables into
 866        the class itself. (Andrei)
 867      - fixed a bug that would not allow referring to a section in the including
 868        file from the included file. (Andrei)
 869      - configs directory missing from 1.4.1 release, added back in. (Monte)
 870      - added windows include_path setup instructions to FAQ & QUICKSTART.
 871        (Monte)
 872  
 873  Version 1.4.1
 874  -------------
 875      - fix LOCK_EX logic for all windows platforms (Monte)
 876      - fixed indexing by section properties with the new syntax. (Andrei)
 877      - updated Smarty to use absolute paths when requiring/including Smarty
 878        components. (Andrei, John Lim)
 879  
 880  Version 1.4.0
 881  -------------
 882      - added {capture}{/capture} function, documented (Monte)
 883      - added {counter} function, documented (Monte)
 884  
 885  Version 1.4.0b2
 886  ---------------
 887      - fixed issue in Config_File.class with referencing blank sections (Andrei)
 888      - fixed problem with passing variables to included files (Andrei)
 889      - fixed resource path recognition for windows (Monte)
 890  
 891  Version 1.4.0b1
 892  ---------------
 893      - added "componentized templates" tip into documentation (Monte)
 894      - added {php}{/php} tags for embedding php code into templates (Monte)
 895      - changed default value of $show_info_header to false (Monte)
 896      - implemented '->' syntax for accessing properties of objects passed to the
 897        template. (Andrei)
 898      - allowed custom functions to receive Smarty object as the second
 899        parameter; this can be used to dynamically change template variables, for
 900        example. (Andrei)
 901      - added custom compiler functions support, register_compiler_function() and
 902        unregister_compiler_function() API functions. (Andrei, Ivo Jansch).
 903      - updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
 904        instead of global variable. You can also assign several variables
 905        in one shot with an array. (Monte, Roman Neuhauser)
 906      - added template prefilters, register_prefilter() and
 907        unregister_prefilter() API functions. (Monte)
 908      - added RELEASE_NOTES file to distribution. (Monte)
 909      - moved CREDITS out of manual into its own file. (Monte)
 910      - added register_resource() and unregister_resource() API functions. (Monte)
 911      - changed the syntax of indexing template variables, thus supporting
 912        structures of arbitrary complexity; supplied fix_vars.php script to fix
 913        old syntax. (Andrei)
 914      - added $insert_tag_check to speed up cached pages if {insert ...} is not
 915        used. (Monte)
 916      - added $compiler_class variable to allow specifying a different compiler
 917        class. (Andrei)
 918      - changed Smarty to compile templates at runtime, allowing for arbitrary
 919        template resources. (Monte)
 920      - added fix for LOCK_EX under Windows and changed a couple of file
 921        permissions for security. (Monte, Fernando Nunes)
 922      - allow arbitrary date strings to date_format, html_select_date and
 923        html_select_time (Monte)
 924  
 925  Version 1.3.2
 926  -------------
 927      - fixed a bug that caused some nested includes to loop infinitely. (Andrei)
 928      - added optional HTML header to output. (Monte)
 929      - significantly improved config_load performance. (Andrei)
 930      - added format attribute to math function. (Monte)
 931      - added html_select_time custom function. (Andrei)
 932      - fixed minor PHP warning when attempting to unset an unset variable
 933        (Monte)
 934      - added count_characters, count_words, count_sentences, count_paragraphs
 935        modifiers (Monte)
 936  
 937  Version 1.3.1pl1
 938  --------------
 939      - bug fix, recovered missing _syntax_error function (Monte)
 940  
 941  Version 1.3.1
 942  -------------
 943      - document first, last, index_prev, index_next (Monte)
 944      - added 'first' and 'last' section properties. (Andrei)
 945      - split out compiling code to separate class for faster template execution
 946        time (Monte)
 947      - fixed a couple of minor PHP warnings (Monte)
 948      - added and documented unregister_modifier() and unregister_function() API
 949        calls. (Monte)
 950      - added and documented 'fetch' and 'math' functions. (Monte)
 951      - added ability to index looped variables by section properties, e.g.
 952        $foo.index_prev/bar. (Andrei)
 953      - added index_prev and index_next section properties. (Andrei)
 954      - fixed issue with php executing in literal blocks. (Monte)
 955  
 956  Version 1.3.0
 957  -------------
 958      - moved license from GPL to LGPL (Monte)
 959      - implemented workaround for PHP "feature" that eats carriage returns
 960        if the PHP tag is at the end of the line. (Andrei)
 961      - removed $allow_php, added $php_handling logic (Monte)
 962      - added file locking to prevent reader/writer problem. (Andrei)
 963      - made Smarty catch unimplemented modifiers and custom functions and output
 964        error messages during compilation instead of failing during run time.
 965        (Andrei)
 966      - removed short-tags at the top of the smarty scripts (Monte)
 967      - added register_function() and register_modifier() API calls to make
 968        registering stuff easier. (Andrei)
 969      - added template results caching capability. (Monte, Andrei)
 970      - added optional 'options' attribute to html_options custom function
 971        that allows passing associative arrays for values/output. (Andrei)
 972      - modifier arguments can now contain '|' and ':' characters inside quoted
 973        strings. (Andrei)
 974  
 975  Version 1.2.2
 976  -------------
 977      - fixed bug that would not respect nested template directories and would
 978        put all compiled files into top-level one. (Andrei)
 979      - fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.
 980        (Monte)
 981      - a couple small warning fixes. (Monte)
 982  
 983  Version 1.2.1
 984  -------------
 985      - added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)
 986      - added tips & tricks chapter to documentation. (Monte)
 987      - misc documentation updates. (Monte)
 988  
 989  Version 1.2.0
 990  -------------
 991      - updated documentation (Monte)
 992      - added file and line number information to syntax error messages. (Andrei)
 993      - added ability to index template vars by a key. (Andrei)
 994  
 995  Version 1.1.0
 996  -------------
 997      - misc documentation changes, official stable release
 998  
 999  Version 1.0b
1000  ------------
1001      - fixed the bug that prevented using non-array values for 'loop' attribute.
1002        (Andrei)
1003      - many misc documentation changes & additions (Monte)
1004  
1005  Version 1.0a
1006  ------------
1007      - fixed bug that caused templates to recompile every time (Monte)
1008  
1009  Version 1.0
1010  ------------
1011      - initial release
1012  
1013  /* vim: set et tw=64 ft=changelog: */


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics