Revision history for Perl extension HTML::Template::Compiled. 0.92_001 Sun Aug 10 18:53:48 CEST 2008 - Bugfix: ESCAPE didn't work always correctly since 0.92 0.92 Sat Jul 26 13:02:28 CEST 2008 - Change: code in TMPL_WITH is now only executed if the var is defined - New Feature: Option no_includes like in HTML::Template - For changes since 0.91 see 0.91_001, 0.91_002, 0.91_003 0.91_003 Mon Jun 16 23:03:46 CEST 2008 - New feature: Debug compiled code (see method debug_code) - Bufix: __last__ and __inner__ in included templates (thanks to Henrik Tougaard for the patch) - Bugfix: Ternary operator didn't produce correct syntax always (also thanks to Henrik Tougaard) - New feature: Expressions like in HTML::Template::Expr 0.91_002 - Bugfix: option objects - Bugfix: object plugins 0.91_001 - Bugfix: TMPL_IF_DEFINED without TMPL_ELSE http://rt.cpan.org/Public/Bug/Display.html?id=33383 - New feature: filename debugging (option debug_file) - New feature: option objects (strict, nostrict, 0) 0.91 Thu Jan 24 21:50:20 CET 2008 - Fixed tests: utf8 problems with perl 5.8.[0-7] - Change: open_mode without leading '<' 0.90 Thu Nov 15 00:39:35 CET 2007 - New Feature: use objects as plugins - New Feature: option open_mode (e.g. '<:utf8') (thanks to Moritz Lenz and Chris Hagglund) - Fixed tests: permission problems on Win32 0.89 Mon Oct 29 21:50:40 CET 2007 - New Feature: BREAK attribute for loops (see docs) - Bugfix: utf8 in scalarrefs (thanks to Chris Hagglund) - Experimental feature: chomp newlines before/after tags. See docs. 0.88 Mon Sep 10 22:05:44 CEST 2007 - Bugfix: file-caching and Storable need B::Deparse >= 0.61. Checking for proper version now. - Fix: broken test - Bugfix: avoid warnings when using html escape - Bugfix: using more than one plugin http://rt.cpan.org/Ticket/Display.html?id=28764 - Bugfix Plugin::XMLEscape: use numeric entities 0.87 Mon Jul 30 22:46:31 CEST 2007 - Change: file-caching now stores as Storable. If you get problems with file-caching please report and set $HTML::Template::Compiled::Storable to 0 as a workaround. - Change: escape=HTML now only escapes '"&<> http://rt.cpan.org/Public/Bug/Display.html?id=27446 - Change: allow every character for TMPL_* NAMEs http://rt.cpan.org/Ticket/Display.html?id=28094 - Bugfix: ALIAS did only work for simple varnames http://rt.cpan.org/Ticket/Display.html?id=28430 - Change: in future versions you should use file_cache and file_cache_dir like in HTML::Template 0.86 Mon Jun 11 22:38:04 CEST 2007 - Experimental Feature: use Storable for filecaching (set $HTML::Template::Compiled::Storable to 1 if you want to test it. It should be 1.5-2 times as fast as normal filecaching) - Fix: a test didn't skip if necessary - utf8 in templates (you probably need Encode (and thus 5.8) for that) - Fix: recursive includes didn't really work because of compile-time instead of runtime check 0.85 Sun Apr 15 16:15:22 CEST 2007 - New Feature: JOIN attribute for loop-tag - Fix: uri_escape_utf8 for parameters in utf8 - Fix for DBIx::Class objects ('can' method doesn't work here like expected) - Fix: Allow <%= array_of_arrays[0][0] %> - New Feature: get count of array elements <%= array# %> 0.84 Sun Feb 11 15:43:38 CET 2007 - Bugfix: includes in var includes didn't expire cache - Bugfix: tagstyle and use_perl weren't correctly passed to includes when using filecache - Bugfix: plugins weren't safed in file cache 0.83 Tue Nov 28 22:59:06 CET 2006 - Added Feature: TMPL_EACH - Added missing plugin feature 0.82 Mon Nov 6 21:25:23 CET 2006 - Added: shorter plugins (omit the HTML::Template::Compiled::Plugin) - Added Feature: TMPL_INCLUDE_STRING - Added Feature: TMPL_PERL for including perl-code 0.81 Fri Nov 3 22:48:05 CET 2006 - Minor change in plugin code 0.80 Sun Oct 15 16:39:02 CEST 2006 - Bugfix: characters like '-' in lead to compilation errors - Bugfix: accessing array elements like didn't work 0.79 Sat Oct 7 20:36:55 CEST 2006 - Change: instead of you must now use query(name => ['FOO', 'BAR']) - Bugfix: query() now also reports included vars like H::T does 0.78 Wed Oct 4 21:22:09 CEST 2006 - Bugfix: endless loop when using file cache - Bugfix: correctly use cache attribute with filecache 0.77 Mon Oct 2 18:35:52 CEST 2006 - fixed META.yaml (was broken by E::MakeMaker) 0.76 Mon Oct 2 18:15:29 CEST 2006 - Change: HTC::Classic: TMPL_IF arrayref will be true if arrayref contains elements - Change: __odd__, __first__, __count__ and __index__ work in TMPL_WHILE - Bugfix: path attribute - Change: deprecate option dumper (use plugin instead) 0.75 Thu Sep 14 22:42:19 CEST 2006 - Bugfix of bug in 0.74: search_path_on_include didn't work 0.74 Wed Sep 13 20:51:04 CEST 2006 - Internal Changes - Security fix: Escape dangerous characters in template - Change: default for search_path_on_include is now 0 like in H::T - added examples/objects.pl 0.73 Sat Aug 26 16:07:57 CEST 2006 - Bugfix: in 0.72 only __first__ worked, but not __FIRST__ - Change: query() now also reports INCLUDE_VARs - New feature: __index__ loop variable - New feature: Plugins for escape-attribute 0.72 Fri Aug 18 22:16:35 CEST 2006 - Documentation: Debugging and Escaping functions are now documented in HTML::Template::Compiled::Utils (Mark Stosberg) - Change: Remove deprecated TMPL_IF DEFINED - Change: HTC will die if you use wrong syntax in tags (like H::T) - Bugfix: HTML::Template::Compiled::Lazy and query() - Bugfix: loop variables should survive different template files 0.71 Thu Jul 13 20:54:44 CEST 2006 - Change: dropped TMPL_LOOP_CONTEXT (not really useful) - Bug Fix: Filters didn't work correctly when used with file caching - Change: deprecate options method_call, deref and formatter_path. You must use inheritance now instead 0.70 Wed Jul 5 21:12:05 CEST 2006 - Bug Fix: php-tag style wasn't parsed - New Feature: lazy loading with HTML::Template::Compiled::Lazy - various documentation fixes - use ALIAS with TMPL_WHILE 0.69 Sun Jul 2 19:45:35 CEST 2006 - Bug Fix: Includes didn't work always correctly in scalarref - Bug Fix: Allow 'absolute' filenames that are relative to attribute path - Bug Fix: Empty path didn't work properly - Bug Fix: make inheritance possible - Change: new class HTML::Template::Compiled::Classic for features that can't be used with HTML::Template::Compiled features at the same time 0.68 Wed Jun 21 20:38:05 CEST 2006 - New Feature: ESCAPE=JS was still missing - Bug Fix: parameters stayed in memory cache - Documentation fix 0.67 Wed Jun 7 22:19:05 CEST 2006 - Bug Fix: stack for global_vars wrong when using if-tag http://rt.cpan.org/Ticket/Display.html?id=19662 - Bug Fix: preloading did not recompile outdated templates - Change: undefined files via TMPL_INCLUDE_VAR don't let script die - Change: Deprecated setting global variables directly, they must be changed by class-methods: $ENABLE_SUB => EnableSub(bool) $CASE_SENSITIVE_DEFAULT => CaseSensitive(bool) $SEARCHPATH => SearchPathOnInclude(bool) $DEFAULT_QUERY => UseQuery(bool) $NEW_CHECK => ExpireTime(seconds) - Documentation: explain case_sensitive and use_query better http://rt.cpan.org/Public/Bug/Display.html?id=19686 0.66 Sun Jun 4 03:49:58 CEST 2006 - Bug Fix: global_vars didn't work correctly with file-caching - Bug Fix: there was no output when last characters in template are a tag. - Bug Fix: calling param(%emptyhash) caused error-message 0.65 Fri Jun 2 10:10:06 CEST 2006 - Bug Fix: Documentation error broke pod 0.64 Thu Jun 1 23:54:32 CEST 2006 - Bug Fix: undefined filename and INCLUDE_VAR - New Feature: alias - Change: TMPL_IF DEFINED deprecated - Change: TMPL_INCLUDE VAR from deprecated to forbidden - New Feature: Define your own tagstyles 0.63 Sat Apr 29 02:39:30 CEST 2006 - Bug Fix: info for query() got lost with file caching - New Feature: TMPL_WHILE - Bug Fix: __vars__ when not using loop_context_vars - Bug Fix: TMPL_CASE wasn't rendered correctly since 0.61 0.62 Wed Apr 26 23:36:13 CEST 2006 - New Feature: added method precompile - New Feature: implemented query() (from HTML::Template) 0.61 Sat Apr 22 19:34:32 CEST 2006 - Bug Fix: global_vars and variables that are never set http://rt.cpan.org/Public/Bug/Display.html?id=17851 - Change: allow CASE default in a list of other strings - Bug Fix: weird endless loop when using wrong tags 0.60 Sun Feb 26 18:46:07 CET 2006 - Clarified docs for TMPL_WITH to explain interaction with global_vars - New Feature: TMPL_VERBATIM - Bug Fix: error when double TMPL_ELSE - New feature: global_vars => 2 0.59 Tue Jan 3 19:40:46 CET 2006 - $UNTAINT - All the "new_" constructor shortcuts were added from HTML::Template, with tests for each. Also, the type/source option syntax to new() is now supported. Tests were added for all these, which were generally missing from the HTML::Template test suite. - Bug Fix: Code and Tests were were added to make sure that calls to param() accumulate data, like HTML::Template works. - Bug Fix: embedded newlines - New Feature: new 'default_escape' option for compatibility with HTML::Template 2.8 - Added query() tests from HTML::Template suite. (Currently TODO) - Change: use dot notation for mehtod calls and dereference - Change: literal dots in var names work now; you can't use -> for method calling any more, just use the dot 0.58 Sun Dec 11 23:20:35 CET 2005 - fixed test with html entities - use H::T::C speed => 1 - tmpl_include_var - TMPL_LOOP_CONTEXT 0.57 Wed Dec 7 15:54:05 CET 2005 - tmpl_comment doesn't output - tmpl_noparse does, though - various pod- and test-fixes 0.56 Wed Dec 7 01:46:21 CET 2005 - some include and scalarref issues fixed - - , 0.55 Wed Nov 23 22:36:58 CET 2005 - search_path_on_include 0.54 Wed Nov 23 21:21:49 CET 2005 - fixed path issues - better handling of unbalanced tags 0.53 Thu Oct 6 22:12:53 CEST 2005 - fixed another issue with filter - bugfix preload 0.52 Mon Oct 3 18:34:19 CEST 2005 - bugfix with nonexistant templates and deep recursion - bugfix path and filecache - bugfix with filter (subrefs) - added tmpl_if defined 0.51 Mon Oct 3 00:43:31 CEST 2005 - clear_filecache - fixed tmpl_elsif, line_numbers - preload 0.50 Sat Oct 1 01:16:09 CEST 2005 - added formatter - added global_vars 0.49 Sun Sep 25 23:04:38 CEST 2005 - fixed 05_out_fh.t - dynamic includes 0.48 Tue Sep 20 23:54:56 CEST 2005 - compatible via use statement 0.47 Tue Sep 20 00:43:37 CEST 2005 - output($fh) - filter 0.46 Sat Sep 17 17:01:01 CEST 2005 - minor internal issues - enable subref vars - fixed __odd__ - recursive include limit, thanks sam 0.45 Fri Sep 16 00:20:07 CEST 2005 - param("var") 0.44 Thu Sep 8 20:56:53 CEST 2005 - arrayref 0.43 Wed Sep 7 21:11:28 CEST 2005 - scalarref - filehandle 0.42 Fri Sep 2 01:51:14 CEST 2005 - add: HTML::Template::Compiled::Plugin::DHTML 0.41 Sat Aug 27 12:07:08 CEST 2005 - test failed because of missing cache dir 0.40 Sat Aug 27 03:05:00 CEST 2005 - more internal changes 0.39 Mon Aug 22 22:27:52 CEST 2005 - bug with caching fixed 0.38 Mon Aug 22 21:02:30 CEST 2005 - __counter__ now correct - more internal changes 0.37 Mon Aug 22 00:31:58 CEST 2005 - case_insensitive removed, use only case_sensitive - internal changes 0.36 Sun Aug 21 03:41:45 CEST 2005 - newlines in tags - ESCAPE=DUMP, chaining ESCAPE - DEFAULT=... - option dumper 0.34 Fri Aug 19 19:58:56 CEST 2005 - minor bugs, removed debugging statement 0.32 Thu Aug 18 23:52:33 CEST 2005 - fixed caching bug 0.31 Thu Aug 18 22:48:22 CEST 2005 - better object syntax 0.30 Mon Aug 15 01:55:29 CEST 2005 - some internal optimizations - case_insensitive for those who want it 0.29 Sun Aug 14 22:51:30 CEST 2005 - examples directory with bechmark of 4 template modules 0.28 Fri Aug 12 23:32:44 CEST 2005 - case insensitive TMPL_* 0.27 Thu Aug 4 00:06:34 CEST 2005 - added <%tag%> feature 0.26 Thu Jul 28 22:11:48 CEST 2005 - some docs - fixed regex and objects 0.25 Wed Jul 27 23:18:06 CEST 2005 - undefstring userdefined - fixed TMPL_IF method 0.24 Wed Jul 20 20:57:00 CEST 2005 - fixed 0.23 Mon Jul 18 00:03:08 CEST 2005 - first step for rendering objects, documentation will follow. (yes, promised =) 0.22 Sun Jul 17 19:15:22 CEST 2005 - bugfix TMPL_INCLUDE 0.21 Fri Jul 1 21:48:51 CEST 2005 - fixed ESCAPE=HTML|URI - implemented 0.20 Sun Jun 26 18:04:11 CEST 2005 - Errors for wrong balanced tags 0.19 Sun Jun 26 15:02:37 CEST 2005 - bugfix NAME=ONE.TWO - TMPL_WITH - Dumper 0.18 Sun Jun 26 12:36:15 CEST 2005 - small bugfixes for older perl versions - typos - TMPL_ELSIF 0.17 Mon Jun 20 23:30:43 CEST 2005 - small bugfixes, warnings - doc 0.16 Mon May 16 15:42:07 CEST 2005 - TMPL_WITH - bugfix with .root 0.15 Mon May 16 15:18:42 CEST 2005 - bugfix 0.14 Mon May 16 14:27:31 CEST 2005 - bug in caching removed - TMPL_VAR .root - TMPL_VAR key.path.with.numbers.23 0.13 Mon May 2 23:49:08 CEST 2005 - clear_cache() 0.12 Mon May 2 22:18:35 CEST 2005 - remove warnings 0.10 Mon Apr 18 22:06:10 CEST 2005 - HTML_TEMPLATE_ROOT - caching - loop_context_vars 0.09 Fri Apr 15 00:31:23 CEST 2005 - - caching improved (expire) 0.06 Sat Feb 26 00:45:31 CET 2005 - ESCAPE=HTML 0.05 Sat Feb 26 00:31:21 CET 2005 - TMPL_INCLUDE 0.04 Fri Feb 25 00:29:44 CET 2005 - caching improved 0.03 Thu Feb 24 23:17:10 CET 2005 - Quote Handling (NAME="var") 0.02 Tue Feb 22 01:18:23 CET 2005 - fixed bugs, caching half implemented 0.01 Sun Feb 20 17:44:07 2005 - original version; created by h2xs 1.23 with options -AX -n HTML::Template::Compiled