* Version 1.1.6 (stable) - API 1.1.5 (stable) - 2007-05-19

Migrate to package.xml version 2.0, use proper header comment blocks.
Minor fixes to phpdoc comments, no code changes since previous release.

* Version 1.1.5 (stable) - API 1.1.5 (stable) - 2006-05-31

Fixed bug #6346: typo in _buildFunctionList()
Fixed bug #6902: correctly handle drive letters and path separators on Windows
Fixed bug #6905: use 'b' modifier for fopen() to prevent problems with cached templates on Windows
Calling setCacheRoot() with an empty argument will now disable caching. It was impossible
to disable it with previous behaviour.

Added possibility to pass arrays as second arguments to setVariable() and setGlobalVariable(),
this will assign values to placeholders of the form {varName.arrayKey} in the template.
Thanks to Franz Pentenrieder <franz at quox.net> for idea and original implementation.

* Version 1.1.4 (stable) - API 1.1.2 (stable) - 2005-11-05

Fixed bug #5168: Prevent problems with template functions in included files

* Version 1.1.3 (stable) - API 1.1.2 (stable) - 2005-08-09

* Fixed bug #4896 (loading a zero-length template file caused a warning)
* Fixed bug #5012 (placeholder delimiters were hardcoded in several places,
  which prevented using custom delimiters)

* Version 1.1.2 (stable) - API 1.1.2 (stable) - 2004-10-20

Changed the code for parsing template function arguments. It will
now correctly unescape the escaped quotes within quoted arguments
(see bug #1840).
The new code throws errors on bogus arguments. If you previously
relied on undocumented behaviour of argument parsing method, your 
code may break: test before upgrading.

* Version 1.1.1 (stable) - API 1.1.1 (stable) - 2004-05-31

Callbacks are not called if the block containing them is empty. Thanks
to Sergey Vasiliev for the suggestion.

* Version 1.1.0 (stable) - API 1.1.0 (stable) - 2004-04-14

* Fixed #876 (get_class() and get_class_methods() usage with PHP5)
  Unit tests run on PHP5, all tests pass.
* Added clearVariables() method (see also #939)
* Added shorthand syntax for callbacks: {var:callback} instead of 
  func_callback({var})
* Added builtin callbacks
	'h' for htmlspecialchars()
	'u' for urlencode()
	'j' to escape the string for usage in Javascript

This release is dedicated to Lukas Smith

* Version 1.0.2 (stable) - API 1.0.1 (stable) - 2003-10-02

* Removed _callbackExists() method, is_callable() is used instead
* Check for SIGMA_OK instead of PEAR::isError() where possible
* Fixed unit tests packaging. Should work OK in PEAR installation

* Version 1.0.1 (stable) - API 1.0.1 (stable) - 2003-05-20

* Added getBlockList() and getPlaceholderList() methods (thanks to Markus Wolff for the idea).
* HTML_Template_IT compatibility: get() does not clear the parsed block contents by default.
* Removed obsolete docs, current ones are in the PEAR manual.

* Version 1.0 (stable) - API 1.0 (stable) - 2003-04-28

This release has Sigma's template functions/callbacks infrastructure significantly enhanced.
This unfortunately means some backwards compatibility breaks. If you were using callbacks before, please carefully examine the release notes and test you scripts before upgrading to 1.0.
If you weren't using callbacks due to their shortcomings it is a good time to give them a try, consult docs/example_4.php for some of their possible applications.

Template functions/callbacks changes and incompatibilities:

* Templates are parsed for function calls not only on setTemplate()/loadTemplatefile(), but on addBlock()/addBlockfile() and replaceBlock()/replaceBlockfile() as well.
* The arguments to template functions can now contain variable placeholders: func_uppercase('Hello, {username}!').
* Template functions are now compatible with template caching.
* Method setCallbackFunction() now accepts a callback that is compatible with call_user_func() as its second argument. Its third argument is used to control variable substitution in function arguments.
* Method performCallback() was removed. Callbacks are now called automatically when the block containing them is parse()'d.
* Callbacks are now called via call_user_func_array() instead of call_user_func(). This makes it possible to use built-in functions as callbacks, but also means that you have to rewrite your old functions!
* Usage example is available in docs/example_4.php

Other changes:

* Option 'use_preg' was removed.
* Stricter error checking when doing addBlockfile() with a prepared template.

* Version 0.9.2 (stable) - API 0.9.2 (stable) - 2003-04-21

* Added usage examples
* Added the cache FAQ
* This is the last 0.9.x release unless some bugs are found. The 1.0 release will 
  have callbacks significantly redone and will require changes to your scripts if
  you use callbacks.

* Version 0.9.1 (stable) - API 0.9.1 (stable) - 2003-04-18

* Fix: if source template does not exist, do not load the 'prepared' one, throw an error instead.
  Thanks to Maxim Panasiuk for the report.

* Version 0.9 (stable) - API 0.9 (stable) - 2003-04-04

Initial PEAR release

