summaryrefslogtreecommitdiff
path: root/ChangeLog.txt
blob: a2dc192beb4d1694c640251d2537f072970ec701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
.=document:	ChangeLog
.?lastupdate:	$Date$
.?version:	$Rev$

: 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 = '<html>...'" instead of "_out = ''; _out = '<html>...'"

.: 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: