Revision history for Petal. 2.20 Thu Aug 25 13:05:00 2011 - Remove usage of Safe in taint mode to fix compatability with Perl 5.12. This may break existing code and reduces security! But for now it seems better to have at least a working version. (Damyan Ivanov) - Fix code using deprecated UNIVERSAL->import (Stefan Seifert) 2.19 Fri Jun 16 15:22:00 2006 - alias false: modifier as not: to match TALES spec (Jonathan Vanasco) - fix repeat/odd documentation bug and add to cookbook (Jonathan Vanasco) - pod typos (sarabob) - CACHE_ONLY option (Jonathan Vanasco) - Add Digest::MD5 dependency (aaron) - Allow passing arguments to coderefs - Encoding support for gettext mo/po files (Andrew Rodland) 2.18 Tue Jan 17 13:01:00 2006 - $Petal::CodeGenerator::PI_RE should be applied newline insensitively - pod fixes - Cookbook tal:repeat example (DSL) - pod note that on-error isn't fully implemented - defang html metacharacters in on-error output - undo 2.16 $Petal::Hash::String::VARIABLE_RE_BRACKETS ${1} regression 2.17 Wed Sep 7 15:30:00 2005 - test 041 check that   becomes chr(160) not chr(194) (William McKee) - Petal::Canonicalizer::XML Fix bug where \-escaped semicolons were not recognised (William McKee) - test 090 for ${1} appearance when Petal::I18N->process - pod fixes (Kurt Stephens, Tom Metro, Bruno Postle) 2.16 Fri Mar 18 15:30:00 2005 - Added Cookbook.pod documentation and associated tests from William McKee - Removed references to HTML::TreeBuilder and XML::Parser (William McKee) - Skip test 071 when URI.pm not installed (William McKee) - Added tests 085 & 086 demonstrating breakage when using {disk,mem} cache and multi-language includes - $Petal::Hash::String::VARIABLE_RE_BRACKETS no longer treats ${1} as a variable - Fix that adds language to the mix when generating cache keys - tests 088 & 089 check for correct decode_charset behaviour - Fix to allow decode_charset to be other than utf-8 (William McKee) 2.15 Wed Jan 5 15:31:00 2005 - Fixed some 'used of uninitialized values' warnings - Added support for non-alphanumeric xml attribute names in tal:attributes - removed defunct email address 2.14 Thu Sep 2 15:07:39 2004 - Fixed broken I18N attributes parsing - Added I18N to string: 2.13 Mon Aug 9 11:32:12 2004 - Stopped Petal doing I18N stuff for includes - Fixed Petal::TranslationService::Gettext wrongly using noop 2.12 Fri Aug 6 13:58:55 2004 - Added namespace support to Petal::I18N - Added Petal::TranslationService::Noop - Added Petal::TranslationService::Gettext - Revamped Petal::I18N docs - Added some I18N tests 2.11 Fri Jul 23 13:10:30 2004 - Applied Warren Smith's dereferencing patch - Fixed broken tests for I18N 2.10 Thu Jul 22 15:12:51 2004 - Added experimental ZPT I18N support - Updated documentation - Added a bunch of tests - Added a patch to get Petal to resolve SCALAR entities 2.07 Thu Jun 24 13:13:57 2004 - Added metal:define-slot - Added metal:fill-slot 2.06 Fri Jun 4 14:41:58 2004 - Added HTML Errors mode - Fixed Petal not encoding overloaded objects - Made the canonicalizer strip declarations on included files 2.05 Mon Apr 5 14:14:46 2004 - Fixed broken test 2.04 Thu Mar 18 17:33:45 2004 - Added broken attributes parsing test - Updated MKDoc::XML dependency 2.03 Mon Mar 15 16:25:59 2004 - Don't ask me what happened with 2.02 - Added a test case for metal double include 2.01 Wed Dec 10 15:21:35 2003 - Deprecated $Petal::ENCODE - Petal now always returns in Perl's internal format 2.00 Thu Nov 6 12:05:13 2003 - This version *can* break backwards compatibility - Simple re-release of 1.10_09 which seems stable 1.10_09 - Fixed CodeGenerator not backslashing backslashes properly - Fixed repeat/end bug - Added warning in case of weird-looking 'attributes' statement 1.10_08 - Fixed metal:use-macro not being parsed in XHTML output mode - Fixed unnecessary warning 1.10_07 - Added incomplete METAL implementation 1.10_06 - Uncommented TAINT stuff (again!) - Refactored to work with MKDoc::XML 0.60 - Changed CodeGenerator.om decode_backslash_semicolon mechanism - Fixed Petal dying on <--! --> comments - Fixed generate_events_comment incorrectly encoding entities 1.10_05 - Changed the rules for when HTML entities are decoded 1.10_04 - Fixed infinite recursion on non-existent modifiers 1.10_03 - Fixed File::Spec use of uninitialized values - Fixed somehow broken Petal::_process_absolutize_pathes() - Fixed entities test running nothing when using perl 5.6.x 1.10_02 - Changed Petal to ignore Encode if Perl < 5.007 - Fixed a @BASE_DIR inconsistency in process() - Fixed potential caching bug on non Unix platforms 1.10_01 - Changed Petal's parsing backend to MKDoc::XML::TreeBuilder - Added prefixes in path expressions, i.e. /foo/var:bar - Refactored Petal's use of the Encode module 1.06 Wed Aug 20 17:41:21 2003 - fixed omit-tag="" bug - Include errors are now reported in HTML comments - Fixed 'lots of includes' performance issues - Fixed a bug pointed out by Fergal concerning entities 1.05 Tue Aug 19 15:39:16 2003 - Fixed silly warning bug - Added decoding HTML entities capability 1.04 Sun Aug 17 19:57:40 2003 - Fixed repeat object and safe issues - Added Test::Harness and Scalar::Util dependencies - Fixed a bug in the way patch for code padding - Fixed bug 0.64 Tue Sep 03 15:48:23 2002 - Fixed extra AUTOLOAD bug - Fixed _split_expression critical bug - Added test - Sorry for the broken 0.63 release :-( 0.63 Mon Sep 02 17:01:23 2002 - Fixed petal:repeat documentation bug - Changed Petal::Parser::HTMLWrapper to preserve ignorable whitespaces - Fixed Petal stripping comments with Petal::Parser::HTMLWrapper - Fixed Petal not invoking methods which are defined via AUTOLOAD - Changed Petal::Canonicalizer::_split_expression to work with Perl 5.8.0 - Changed Petal::Canonicalizer::_split_expression to remove warnings 0.62 Fri Aug 16 11:17:10 2002 - Fixed entity bug due to XML::Parser expanding entities - Fixed method parameters bug - Fixed another method parameters bug - Fixed a couple of small documentation bugs - Fixed an XML declaration bug - Fixed '"' being converted to '"' by Petal::Parser::HTMLWrapper 0.61 Mon Aug 12 11:50:50 2002 - Fixed 'dummy content' closing tag bug - Fixed bugfix bug! 0.6 Sat Aug 10 14:59:53 2002 - Fixed bug - Fixed declarations being striped out - Fixed being turned into bug - Fixed petal:attributes="style nothing" does not delete 'style' *K* - Fixed Petal::CodeGenerator bug - Fixed a bug that prevented __is_last__ from being accessed - Applied William's patch to reduce amount of issued warnings - Changed the cache modules w/ new $Petal::INPUT and $Petal::OUTPUT - Implemented $Petal::INPUT and $Petal::OUTPUT for XHTML 0.5 Sat Aug 03 19:56:13 2002 - Modifiers are now 'modifier:' rather than ':modifier' - Modifiers are now stackable (i.e. foo:bar:baz/buz) - Implemented TALES-like slash '/' as an alias for dot '.' - Rewrote Petal::Parser::HTMLWrapper using newest HTML::TreeBuilder - Fixed more include bugs - Amended documentation - Implemented string: modifier 0.4 Thu Jul 25 12:08:03 2002 - Added Petal::Hash::Encode_HTML contributed mod - Fixed documentation bugs - Fixed multiple includes bug - Fixed Petal::Parser::HTMLWrapper includes - Added warning for Petal statements with missing '?' 0.3 Fri Jul 19 11:20:30 2002 - Fixed critical include bug - Added version number to cached file names - Added more tests - Updated documentation - Fixed wrong MANIFEST file - Updated README file 0.2 Tue Jul 16 11:54:55 2002 - Fixed critical bug in Petal::Canonicalizer - Fixed documentation bug - Added first test in /t 0.1 Mon Jul 15 11:29:22 2002 - Initial release