summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* - [enhance] Context#initialize() can take a hash objectmakoto kuwata2006-05-062-12/+45
| | | | | | | | | - [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
* - [change] 'simplest.rb' is renamed to 'tiny.rb'makoto kuwata2006-05-032-6/+58
| | | | | | | - [enhance] add Context class - [enahnce] Engine#enhacne() now support Context object - [enhance] new command-line option '-X' (convert to context obj) added
* - [refactor] Engine#compile() refactoredmakoto kuwata2006-05-022-27/+4
| | | | | | | | | | | | | - [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
* - [enhance] javascript supportmakoto kuwata2006-04-303-58/+199
| | | | | | | | | | | | | - [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
* - [change] Eruby adopt ArrayBufferEnhancer as defaultmakoto kuwata2006-04-295-755/+1107
| | | | | | | | | | | | | | | | | | | | - [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'
* - [enhance] PHP, C, Java, and Scheme supportmakoto kuwata2006-04-273-12/+291
| | | | | | | | | - [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
* - [enhance] new method Eruby#pattern_regexp() to customize regexp for scanningmakoto kuwata2006-04-251-11/+50
| | | | | | | | | - [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
* - [change] Eruby class adopt LightweightEruby methodmakoto kuwata2006-04-241-314/+208
| | | | | | | - [change] FastEnhancer, FastEruby, FastXmlEruby are changed to obsoleted - [change] LightweightEruby is renamed to OptimizedEruby - [enhance] OptimizedEruby outs "_out = '<html>...'" instead of "_out = ''; _out = '<html>...'"
* - [enhance] new classes LightweightEruby and LightweightXmlEruby addedmakoto kuwata2006-04-241-4/+163
| | | | | | - [enhance] new classes EscapedEruby and LightweightEscapedEruby added - [change] XmlEruby.escape_xml() is moved to XmlHelper.escape_xml()
* - [enhance] '<%# ... %>' supportmakoto kuwata2006-03-064-50/+91
| | | | | | | | - [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
* - [enhance] add PrintEnhancer, PrintEruby, and PrintXmlErubymakoto kuwata2006-03-041-20/+64
|
* - [bufix] XmlEruby outs <%=== expr %> to $stdout, it changed to $stderrmakoto kuwata2006-01-312-1/+53
| | | | | | | | - [change] rename var name 'kind' to 'indicator' in Eruby#compile() - [enhance] add doc/users-guide.txt - [enhance] add command-line option '-I lib'
* - [bugfix] FastEruby prints empty textmakoto kuwata2006-01-292-2/+246
| | | | | | | | | - [bugfix] error occurs when input has no embedded pattern - [enhance] add bin/erubis - [enhance] add test/test-bin.rb - [change] rename XxxFixture to XxxEnhancer
* - initial commitmakoto kuwata2006-01-292-0/+438