.=document: ChangeLog .?lastupdate: $Date$ .?version: $Rev$ : Rev.131 (2009-07-12) .- [update] ReleaseNote.txt, ChangeLog.txt : Rev.130 (2009-02-18) .- [release] 2.6.4 : Rev.129 (2009-02-18) .- [update] CHANGES.txt, ReleaseNote.txt : Rev.128 (2009-02-18) .- [change] update gemspec file .- [release] preparation for 2.6.4 : Rev.127 (2009-02-18) .- [change] rails_helper.rb changed to use ActionController::Base.new.logger : Rev.126 (2009-02-18) .- [enhance] confirmed that erubis works fine on Rails 2.3 : Rev.125 (2009-02-08) .- [enhance] Rails 2.2 support : Rev.124 (2009-02-07) .- [release] 2.6.3 : Rev.123 (2009-02-07) .- [change] packages are now built under 'build' directory .- [change] year of copyright is changed to '2006-2009'. .- [update] CHANGES.txt, ReleaseNote.txt : Rev.122 (2009-02-07) .- [bugfix] report argument name when option argument is missing .- [bugfix] enhacner class name was not reported when not found (Ruby 1.9.1) .- [change] add _error_test() to 'test-main.rb' : Rev.121 (2009-02-07) .- [change] change '#!/usr/bin/ruby' to '#!/usr/bin/env ruby' in 'bin/erubis' .- [bugfix] change 'optchar.chr' to 'optchar' in 'main.rb'. : Rev.120 (2008-06-13) .- [update] ReleasNote, CHANGES : Rev.119 (2008-06-13) .- [release] 2.6.2 : Rev.118 (2008-06-13) .- [update] users-guide .- [release] preparation for 2.6.2 : Rev.117 (2008-06-12) .- [update] README.txt, users-guide, CHANGES.txt : Rev.116 (2008-06-12) .- [change] use "#{ENV['_']} -wc" instead of 'ruby -wc' to check syntax (-z) if ENV['_'] is not nil : Rev.115 (2008-06-12) .- [enhance] test/testutil.rb: add TestCase::post_definition .- [enhance] Ruby 1.9 support .- [change] Evaluator#evaluate() changed not to use Erubis::EMPTY_BINDING to support Ruby1.9 : Rev.114 (2008-06-06) .- [release] 2.6.1 : Rev.113 (2008-06-06) .- [release] preparation for 2.6.1 : Rev.112 (2008-06-06) .- [enhance] helpers/rails_helper.rb: Rails 2.1 support : Rev.111 (2008-05-05) .- [release] release 2.6.0 : Rev.110 (2008-05-05) .- [release] preparation for 2.6.0 : Rev.109 (2008-05-05) .- [bugfix] rails_form_helper.rb: change '::::' to '::' .- [bugfix] rails_form_helper.rb: support Rails 2.0.2 .- [update] users-guide .- [remove] contrib/action_view_base_rb.patch : Rev.108 (2008-05-05) .- [update] users-guide : Rev.107 (2008-05-05) .- [update] users-guide .- [refactor] rails_helper.rb: remove debug messages .- [change] rails_helper.rb: change 'logger.debug' to 'logger.info' : Rev.106 (2008-05-04) .- [enhance] rails_helper.rb: improved support of Rails 2.0.2. : Rev.105 (2008-05-03) .- [enhance] rails_helper.rb: improved Rails 2.0.2 support : Rev.104 (2008-04-29) .- [enhance] Conerter#convert_input(): convert '<%% %>' into '<% %>' .- [enhance] test-erubis.rb: add 'doublepercent1' test .- [enhance] Engine#load_file() can take :cachename property : Rev.103 (2008-04-29) .- [enhance] '<%= =%>' and '<%= -%>' removed tail spaces : Rev.102 (2008-04-29) .- [add] preprocessing.rb .- [change] rails_helper.rb: move Preprocessing class and helper methods into preprocessing.rb : Rev.101 (2008-04-29) .- [change] bench/bench.rb: Ruby 1.9 support : Rev.100 (2008-01-30) .- [release] 2.5.0 : Rev.99 (2008-01-29) .- [update] users-guide.txt: add tips about preprocessing in Rails 2.0 .- [debug] rails_helper.rb: _decode(): change /%3C%25%3D(.*?)%25%3E/ to /%3C%25(?:=|%3D)(.*?)%25%3E/ .- [release] release preparation for 2.5.0 : Rev.98 (2008-01-29) .- [enhance] add 'helpers/rails_form_helper.rb' .- [change] helpers/rails_helper.rb: rename _expr() to _p() .- [enhance] helpers/rails_helper.rb: add _P() .- [enhance] helpers/rails_helper.rb: support Rails 2.0 .- [update] users-guide.txt .- [change] rename 'CHANGES' to 'CHANGES.txt' : Rev.97 (2007-10-23) .- [change] remove 'website/' : Rev.96 (2007-09-25) .- [release] 2.4.1 : Rev.95 (2007-09-24) .- [enhance] add '--docwrite={true|false}' property to Ejavascript class. .- [update] user's guide : Rev.94 (2007-09-18) .- [change] add Erubis::EMPTY_BINDING .- [bugfix] use Erubis::EMPTY_BINDING instead of TOPLEVEL_BINDING in Evaluator#evaluate() .- [enhance] user's guide: new section 'evaluate(context) vs. result(binding)' added .- [update] CHANGES : Rev.93 (2007-09-10) .- [bugfix] PercentLineEnhancer#add_text() was very slow (now very fast) : Rev.92 (2007-07-19) .- [release] 2.4.0 : Rev.91 (2007-07-19) .- [enhance] RubyEvaluator#def_method() can take instance object as well was module object : Rev.90 (2007-07-19) .- [update] document updated : Rev.89 (2007-07-19) .- [enhance] add Erubis::XmlHelper::url_encode() (and u() which is alias of url_encode()) .- [enhance] Erubis::RubyEvaluator#evaluate() now convert @src into @_proc object and do instance_eval(&@_proc) .- [change] Erubis::Converter#convert() clears @_proc to nil : Rev.88 (2007-07-12) .- [bugfix] main.rb: Object#hash() was returned instead of context in load_datafile() : Rev.87 (2007-07-12) .- [bugfix] main.rb: help message was not displayed : Rev.86 (2007-05-26) .- [bugfix] preprocessor bug is found in rails_helper.rb : Rev.85 (2007-05-26) .- [enhance] preprocessor support in rails_helper.rb : Rev.84 (2007-05-26) .- [release] 2.3.1 : Rev.83 (2007-05-26) .- [release] release preparation : Rev.82 (2007-05-26) .- [bugfix] rails_helper.rb is edited incorrectly : Rev.81 (2007-05-23) .- [release] 2.3.0 : Rev.80 (2007-05-23) .- [bugfix] erubis.gemspec is updated : Rev.79 (2007-05-23) .- [update] CHANGES, ReleaseNote.txt, website/index.txt : Rev.78 (2007-05-22) .- [enhance] add '-T' (don't expand tab characters) .- [enhance] add 'contrib/erubis-run.rb' (thanks to Andrew R Jackson) .- [update] add description about erubis-run.rb and DeleteIndentEnhancer : Rev.77 (2007-05-18) .- [refactor] remove RailsHelperEruby from helpers/rails.rb .- [bugfix] change context key 'code' to 'symbol' in benchmark/bench_context.yaml : Rev.76 (2007-05-15) .- [enhance] new command-line option '-X', '-N', '-C', and '-U' support .- [change] command 'notext' has been removed .- [change] remove test/test-notext.{rb,yaml} .- [change] command-line option '-C' has been desupported : Rev.75 (2007-05-15) .- [change] remove 'benchmark/erubybench*' : Rev.74 (2007-05-15) .- [enhance] add 'benchmark/bench.rb' and 'benchmark/templates/*' : Rev.73 (2007-05-15) .- [change] rename ExpressionInterporationEnhancer to InterpolationEnhancer .- [enhance] add test/test-users-guide.rb : Rev.72 (2007-05-15) .- [bugfix] ExpressionInterporationEnhancer.desc() had error .- [bugfix] test/test-main.rb fixed around error messages : Rev.71 (2007-05-07) .- [bugfix] 'convert_file()' was fixed to 'load_file()' in users-guide : Rev.70 (2007-03-05) .- [enhance] add DeleteIndentEnhancer : Rev.69 (2007-03-05) .- [enhance] add ErboutEnhancer .- [enhance] add ExpressionInterpolationEnhancer : Rev.68 (2007-02-12) .- [release] 2.2.0 : Rev.67 (2007-02-12) .- [update] benchmark data on user's guide is updated : Rev.66 (2007-02-12) .- [update] website/image/erubis01.{bmp,png} updated : Rev.65 (2007-02-11) .- [change] option '-T' is removed .- [update] user's guide : Rev.64 (2007-02-11) .- [release] release preparation : Rev.63 (2007-02-11) .- [change] option '-X' is changed to '-z' .- [enhance] erubybench.rb supports '-e' (escape) option .- [enhance] erubybench.rb supports PI::Eruby .- [update] users-guide : Rev.62 (2007-02-06) .- [change] 'helpers/rails.rb' is renamed to 'helpers/rails_helper.rb' : Rev.61 (2007-02-06) .- [change] 'lib/erubis/helper' is renamed to 'lib/erubis/helpers' : Rev.60 (2007-02-06) .- [enhance] Ruby on Rails support improved .- [enhance] add 'contrib/action_view_base_rb.patch' .- [change] license changed to MIT License .- [change] '<%- -%>' support .- [update] users-guide, README.txt : Rev.59 (2007-02-04) .- [update] rdoc of erubis.rb .- [enhance] add Erubis::VERSION .- [enhance] command-line option '-X' (syntax checking) added .- [update] users-guide updated : Rev.58 (2007-02-03) .- [update] webiste/index.txt : Rev.57 (2007-02-03) .- [update] website/images updated : Rev.56 (2007-02-03) .- [update] users-guide updated .- [enhance] add Erubis::Eruby_cached test .- [enhance] Context#update() added .- [enhance] option '-f' can take '*.rb' file : Rev.55 (2007-02-03) .- [change] engine.rb: Erubis::Engine.load_file(filename) creates cache file automatically. : Rev.54 (2007-02-02) .- [change] engine/eruby.rb: class Erubis::Eruby changed to include StringBufferEnhancer instead of ArrayBufferEnhancer : Rev.53 (2007-02-02) .- [change] main.rb: option '-c class' is renamed to '-C' .- [enhance] main.rb: option '-c context' supported .- [refactor] tiny.rb: prefix '_' is aded to local vars in TinyEruby#evaluate() and PI::TinyEruby#evaluate() .- [refactor] tiny.rb: method 'escape_text() is inlined in TinyEruby and PI::TinyEruby classes .- [enhance] add test for PI::TinyEruby .- [change] erubybench.rb: default output file is changed to '/dev/null' .- [change] erubybench.rb: options '-F' is changed to '-t' .- [change] erubybench.rb: options '-T' is changed to '-m' .- [change] erubybench.rb: don't convert string keys of context data into symbol .- [change] erubybench.yaml: add price, change, and ratio .- [change] erubybench.rhtml: add price, change, and ratio : Rev.52 (2007-01-10) .- [change] erubybench.rb: option '-S' obsoleted .- [change] erubybench.rb: option '-o' (outfile) added .- [change] erubybench.rb: option '-O' is changed to '-p' : Rev.51 (2007-01-10) .- [change] erubybench.rb: option '-A' and '-O' added, '-t' obsoleted .- [change] erubybench.rhtml changed to include 'if-then-else' statement .- [enhance] add 'benchmark/pibench.rb' : Rev.50 (2007-01-10) .- [refactor] tiny.rb: PI::TinyEruby .- [change] Basic::Converter#detect_lspace() is renamed to Converter::detect_spaces_at_bol() .- [refactor] remove PI::Converter#parse_stmts(), parse_exprs() and parse_stmts2() : Rev.49 (2007-01-10) .- [refactor] add Basic::Converter#detect_lspace() .- [refacotr] SimplifyEnhancer#convert() : Rev.48 (2007-01-10) .- [enhance] Converter#convert_input() is more performance tuned : Rev.47 (2007-01-10) .- [enhance] Converter#convert_input() is performance tuned : Rev.46 (2007-01-09) .- [change] erubybench.rb: create 'src' directory for cache file : Rev.45 (2007-01-09) .- [change] erubybench.rb: add option '-D' : Rev.44 (2007-01-09) .- [change] add '-S' (use /dev/null) option to 'benchmark/erubybench.rb' .- [change] use STDOUT instead of /dev/null by default in erubybench.rb : Rev.43 (2007-01-09) .- [refactor] add '-X' (expand) option to 'benchmark/erubybench.rb' .: Rev.42 (2006-12-26) .- [enhance] add Context#each() method .- [change] rename ChangeLog to CHANGES .: Rev.41 (2006-09-24) .- [bugfix] main.rb: typo fixed .: Rev.40 (2006-09-24) .- [enhance] engine/eperl.rb: add 'use HTML::Entities;' to add_preamble() .- [update] website updated .: Rev.39 (2006-09-19) .- [update] doc/users-guide.txt: add documentation about 'notext' command .- [update] release preparation .- [enhance] add 'examples/pi' .: Rev.38 (2006-09-19) .- [update] ReleaseNote.txt, README.txt, doc/users-guide.txt .- [change] 'examples/pi' is renamed to 'examples/pi-xhtml' .: Rev.37 (2006-09-19) .- [change] embedded expr pattern of piengine is changed from '${...}' to '@{...}@' .- [update] users-guide.txt updated .: Rev.36 (2006-08-10) .- [change] 'rails/action_view_support.rb' is renamed to 'helper/rails.rb' .- [update] users-guide updated .: Rev.35 (2006-08-05) .- [enhance] add PI::Converter#parse_stmt2() .: Rev.34 (2006-08-04) .- [enhance] add 'examples/pi' .- [update] Rookbook.yaml .: Rev.33 (2006-08-03) .- [bugfix] action_view_support.rb had contained invalid class name. .- [update] users-guide update .: Rev.32 (2006-08-03) .- [refactor] split engine.rb into converter.rb, generator.rb, evaluator.rb, context.rb, and error.rb .: Rev.31 (2006-08-02) .- [refactor] divide Engine class into Converter, Generator, and Evaluator .- [refactor] merge 'pi/enhancer.rb' into 'engine.rb' .- [refacotr] remove 'pi/*.rb' .- [enhance] add PI::TinyEruby .- [change] property ':escape' is renamed to ':escapefunc' .- [enhance] new property '--escape={true|false}' .: Rev.30 (2006-08-01) .- [change] move 'piengine.rb' to 'pi/enhancer.rb' .- [enhance] add 'pi/{eruby,ejava,ec,ejavascript,ephp,eperl,escheme}.rb' .- [change] PIEnhancer supports '<%= ... %>' for Rails .: Rev.29 (2006-08-01) .- [enhance] add PIEngine .- [enhance] support rails .: Rev.28 (2006-07-27) .- [refactor] untabify() function is improved to use String#split() instead of String#scan() .- [refactor] Engine#compile() is improved by scanning regexp tuning .: Rev.27 (2006-05-27) .- [change] 'bin/noitem' uses pattern '' when lang is eperl .- [enhance] new enhancer NoCodeEnhander .- [change] Erubis::Eperl#escaped_expr() prints 'encode_entities()' which is avairlable with HTML::Entities module .- [bugfix] define_testmethods() (in 'test/testutil.rb') use 'module_eval' instead of 'eval' .- [update] doc/users-guide.txt updated .: Rev.26 (2006-06-22) .- [change] Ec#escaped_expr() changed to use 'escape(expr, out)' .- [change] 'examples/example.ec' changed to include escape() function .- [change] include 'bin/notext' into archive .- [bugfix] command name was not displayed in help message .- [bugfix] option '-S' currently support nested collection .: Rev.25 (2006-06-21) .- [release] 2.0.1 .: Rev.24 (2006-06-21) .- [change] Engine#escape_text() and Engine#escaped_expr() are now abstract method .- [bugfix] in Engine#compile(), rspace may be printed even if rspace is nil .: Rev.23 (2006-06-20) .- [release] 2.0.0 .: Rev.22 (2006-06-20) .- [update] website/* updated .: Rev.21 (2006-06-19) .- [change] '_out' is changed to '_buf' .- [change] option '-s' is obsolete .- [change] option '-E' is obsolete .- [change] option '-e' is renamed to '-E' .- [change] use command-line option object in Main class .- [refact] Helper#escape_xml() is changed to call String#gsub a time .- [change] test-bin.rb invoke Main.new.execute(), not 'ruby $script' .: Rev.20 (2006-06-18) .- [bugfix] test/test-erubis.rb fixed .: Rev.19 (2006-06-18) .- [change] engine/xxx.rb is renamed to engine/exxx.rb .- [enhance] add 'bin/notext' command .: Rev.18 (2006-06-07) .- [enhance] new module NoTextEnhancer added .- [change] Eruby#add_stmt() desn't add ';' when the last character is ?\n .- [bugfix] PrintEnableEnhancer#evaluate() added to evaluate with it's context .: Rev.17 (2006-06-06) .- [enhance] Context#initialize() can take a hash object .- [enhance] Engine#result() can take a hash object .- [enhance] TinyEruby#evaluate() added .- [change] Engine#evaluate() convert hash into Context object .- [change] command-line option '-X' removed and add '-B' (invoke result(binding)) .- [enhance] add 'website/' directory .: Rev.16 (2006-06-03) .- [change] 'simplest.rb' is renamed to 'tiny.rb' .- [enhance] add Context class .- [enahnce] Engine#enhacne() now support Context object .- [enhance] new command-line option '-X' (convert to context obj) added .: Rev.15 (2006-05-02) .- [refactor] Engine#compile() refactored .- [refactor] XxxxXmlEruby classes are removed .- [change] PrintStatementEnhancer is renamed to PrintOutEnhancer .- [change] add benchmark/erubybench-lib.rb .- [change] command-line option '-E' (enhancers) changed to '-e' .- [change] README is rewrited in RDoc format .- [change] removed FastEnhancer .- [change] removed XxxXmlEruby classes .- [enhance] new command-line option '-E' (show all enhancers) .- [enhance] add XxxEnhancer.desc .: Rev.14 (2006-04-30) .- [enhance] javascript support .- [enhance] new property :preamble and :postamble support .- [enhance] new command-line option '-b' (body only) .- [change] Engine#init_src()/finis_src() are named to add_preamble()/add_postamble() .- [change] Ejava changed to print preamble and postamble. .- [enhance] add simplest.rb .- [enhance] new method Engine#compile!(), which compile input and set @src .- [enhance] new command-line option '-E' (load enhancers) .- [enhance] new property :escape, which represents escape function name .- [update] update users-guide .: Rev.13 (2006-04-29) .- [change] Eruby adopt ArrayBufferEnhancer as default .- [enhance] new module BiPatternEnhancer [experimental] .- [enhance] new module SimplifiedEnhancer .- [enhance] new module StringBufferEnhancer .- [enhance] new module PrintStatementEnhancer .- [enhance] new module PercentLineEnhancer .- [enhance] new module HeaderFooterEnhancer [experimental] .- [enhance] new class OutputSimplifiedEruby .- [enhance] Engine.supported_properties() added .- [enhance] print show_properties() when '-h' is specified .- [enhance] add Eperl class (engine/perl.rb) .- [enhance] add examples .- [change] class Eruby includes ArrayBufferEnhancer .- [change] EscapeEnhancer now overrides add_expr() .- [change] module PrintEnhancer is renamed to PrintAvailableEnhancer .- [change] Ejava doesn't out 'StringBuffer _buf' nor 'return _buf.toString();' .- [change] subclasses of Eruby are moved to new file 'enhanced.rb' .: Rev.12 (2006-04-26) .- [enhance] PHP, C, Java, and Scheme support .- [enhance] new class Engine is splitted from Eruby .- [enhance] Eruby now escapes '<%== ... %>' .- [change] method names are changed in Engine class ('add_src_code'=>'add_stmt', etc) .- [enhance] new module ArrayEnhancer and ArrayBufferEnhander .- [enhance] add test/test-engines.rb .: Rev.11 (2006-04-25) .- [change] class EscapedEruby is removed and add EscapeEnhancer .- [change] XmlEruby includes EscapeEnhancer .: Rev.10 (2006-04-24) .- [enhance] new method Eruby#pattern_regexp() to customize regexp for scanning .- [change] 'lib/erubis.rb' is divided into eruby.rb, enhancer.rb, and optimized.rb .- [change] command 'bin/erubis' is moved to 'lib/erubis/main.rb' .- [change] benchmark/erubybench.rb updated .- [enhance] new command-line option '-k' (convert map key to Symbol) added .: Rev.9 (2006-04-24) .- [enhance] add misc/erubybench.rb .- [change] Eruby.load_file() calls untaint() .: Rev.8 (2006-04-24) .- [change] Eruby class adopt LightweightEruby method .- [change] FastEnhancer, FastEruby, FastXmlEruby are changed to obsoleted .- [change] LightweightEruby is renamed to OptimizedEruby .- [enhance] OptimizedEruby outs "_out = '...'" instead of "_out = ''; _out = '...'" .: Rev.7 (2006-04-23) .- [enhance] new classes LightweightEruby and LightweightXmlEruby added .- [enhance] new classes EscapedEruby and LightweightEscapedEruby added .- [change] XmlEruby.escape_xml() is moved to XmlHelper.escape_xml() .: Rev.6 (2006-03-06) .- [enhance] '<%# ... %>' support .- [update] users-guide updated .- [enhance] new command-line option '-x' : script source removing the last '_out' line .- [release] 1.1.0 and 1.1.1 .: Rev.5 (2006-03-04) .- [enhance] add PrintEnhancer, PrintEruby, and PrintXmlEruby .: Rev.4 (2006-02-01) .- [bugifx] bin/erubis run with RubyGems .- [release] 1.0.1 .: Rev.3 (2006-01-31) .- [bufix] XmlEruby outs <%=== expr %> to $stdout, it changed to $stderr .- [change] rename var name 'kind' to 'indicator' in Eruby#compile() .- [enhance] add doc/users-guide.txt .- [enhance] add command-line option '-I lib' .- [release] 1.0.0 .: Rev.2 (2006-01-29) .- [bugfix] FastEruby prints empty text .- [bugfix] error occurs when input has no embedded pattern .- [enhance] add bin/erubis .- [enhance] add test/test-bin.rb .- [change] rename XxxFixture to XxxEnhancer .: Rev.1 (2006-01-29) .- initial commit .-document: