Release Notes for Clearsilver 0.7.0 7/16/2002 ------------------------------------- - In CS, the not operator, '!' is now a true unary operator, which means expressions like should work as you expect - In CS, added the existence operator, '?'. This should make existence testing an explicit instruction, allowing for and/or existence tests. For now, still does an existence test, but you are better off doing since if foo = #0, it will evaluate to 0 in the first instance even if it exists. - In CS, added the ability to register string manipulation functions. In many cases, string substitution in macros has to be done in special ways depending on the context of the template. This has led in the past to HDF like CGI.SearchQuery and CGI.SearchQuery.escaped. Now, the CGI Kit has the following functions available: o url_escape o html_escape o js_escape o text_html o html_strip Feel free to suggest more useful functions that we can add. The point of this is not to provide generic callback functionality, as of course, you aren't supposed to be doing any work in CS. - In HDF, we've added the := copy operator. In the past, we had a copy operator based on : in HDF, but we moved that to be a symbolic link. Due to the hierarchical nature of HDF, a symbolic link forces all tree walks to follow the link. It has been proposed that we might need to provide separate "link tree" and "link node" operators... and maybe "copy tree" and "copy node" operators as well. For now, we just have "link tree" and "copy node" (Note that you can do "copy tree" via functions, just not from the file syntax.) - In HDF, fix a couple bugs including some possible nasty memory leak in hdf_read_file_fp(). - In CGI, the built-in gzip compression code wasn't enabling compression for IE6. It is now.