File: ChangeLog

package info (click to toggle)
liboptparse-ruby 0.8.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 428 kB
  • ctags: 644
  • sloc: ruby: 1,819; makefile: 47
file content (653 lines) | stat: -rw-r--r-- 18,810 bytes parent folder | download
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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
Tue Jan 23 23:02:13 2001  Nobuyoshi Nakada  <nobu.nakada@nifty.ne.jp>

	* MANIFEST (ChangeLog, install.rb): added.

Tue Jan 23 22:57:12 2001  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: 0.7.9 release, trivial features.

Tue Jan 23 22:51:22 2001  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb (OptionParser::LastModified): added.

Tue Jan 23 22:48:44 2001  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* install.rb: take non-option argument as destdir.

2001-01-23  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* install.rb: install from the directory the script is located.

	* install.rb: added `--quiet' option. defaulted to verbose.

	* optparse.rb: error handle in fake main code.

	* optparse.rb: avoid parse error on 1.7.2 2001-01-22 too.

	* README.en, README.ja: how to install non-default place.

	* install.rb: use `FalseClass' explicitly for `-n' option.

	* install.rb: make `more' argument to option.

	* install.rb: parse any non-option arguemnts.

	* install.rb: New file.

	* optparse.rb: strip directory portion for default program name.

	* optparse.rb: avoid parse error on 1.7.2 2001-01-22.

2001-01-22  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::ParseError): instances have each
	  reason to override default reason.

	* optparse.rb: surounded release code with parentheses.

	* optparse.rb(OptionParser#version, OptionParser#release):
	  new attributes.

	* optparse.rb(OptionParser#ver): returns version string.

2001-01-08  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* README.ja, README.en: added install-more

	* GNUmakefile: mode is octal.

	* optparse/uri.rb: honors preloaded URI class.

	* optparse/uri.rb: two URI libraries' factory methods are different.

	* optparse/uri.rb: should check if argument is omitted.

	* optparse/uri.rb: ayURI needs to be wrapped with an Array.

	* optparse.rb: 0.7.8 release

	* optparse.rb(<OptionParser.inc, OptionParser#inc): added.

2001-01-07  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: acceptable patterns.

	* optparse.rb(OptionParser#complete): has raised
	  `OptionParser::AmbiguousOption' wrongly, not but
	  `OptionParser::InvalidOption'(0.7.6.2 bug).

2001-01-06  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: patch from Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk>

	* optparse.ja.rd(OptionParser::Filling): modified.

	* GNUmakefile: includes Makerules from cwd, if present.

	* GNUmakefile(install-more): new target, install sub files.

	* MANIFEST(Makerules): added

	* MANIFEST(comment): added

	* README.ja, README.en: New file.

	* MANIFEST: patch from Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk>

	* optparse/uri.rb: New file.

2000-12-30  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: allows space for separator between switch and
	  argument.

	* optparse.rb: prefer return from block not but catch/throw.

2000-12-26  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* opttest.rb: keyword switch sample.

	* optparse.rb: fixed keyword completion and array

2000-12-20  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* opttest.rb: added fixed size array sample.

	* optparse.rb(OptionParser::load): doesn't raise even if `HOME'
	  environment variable is not set, and returns `true'/`false'.

	* optparse.rb: 0.7.6 release.

2000-12-18  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* opttest.rb, optparse.rb: distinguish between no argument and
	  empty list for `Array'.

	* optparse.rb: uses `block_given?' instead of `iterator?'.

	* optparse.rb: avoid warnings with `-w'.

2000-12-14  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::Version): now `Comparable'.

	* optparse.rb(OptionParser::Release): added.

2000-07-17  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(Class#module_function): no longer available.

	* optparse.rb: 0.7.5 release.

2000-06-19  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* MANIFEST(shellwords): added.

	* optparse.rb: allows `Module' for option class not only `Class'.

	* optparse.rb(OptionParser::load, OptionParser::environment):
	  added experimentally.

2000-06-14  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse/shellwords.rb: Initial revision.

2000-05-21  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.ja.rd, optparse.rb(OptionParser#program_name): added.

	* MANIFEST(rlog2rd.rb): removed.

2000-05-15  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* GNUmakefile: Initial revision.

	* optparse.rb(OptionParser::ParseError#recover): added document,
	  and pushes `@args' back at once.

2000-05-07  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.ja.rd, optparse.rb(OptionParser#switch): removed
	  `check_twice'.

	* MANIFEST: added 2 step parse sample.

	* optparse.rb(OptionParser::summarize): uses `visit'.

	* cmd-ls.rb, cmd.rb: New file.

	* optparse.ja.rd: Re-released 0.7.3.0.

	* optparse.rb(OptionParser.yieldproc): Renamed `safe_call'.

	* opttest.rb(parse!): used `opts' insted of `ARGV'.

	* MANIFEST, optparse.ja.rd:

	* optparse.rb: Fixed arity problem(I hope!!).

2000-05-06  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.ja.rd(Class definitions): indexed.

	* optparse.rb(OptionParser::Arguable#options): refined documents.

	* optparse.rb(OptionParser::Arguable#options): argument to char
	  range option was wrong.

	* optparse.ja.rd(<OptionParser::Arguable#options): rewrite.

	* optparse.rb: used ((:name:)) format for class/module description
	  in headlines.

	* optparse.rb: not convert `nil' to numerics.

2000-05-05  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* MANIFEST: released with revision 0.7.2.0

	* optparse.rb: added example section and documents.

	* optparse.rb(Proc#call): Fixed arity problem.

	* optparse.ja.rd: Initial revision.

	* optparse.rb: Passes an array to `proc' directly, without *
	  expansion.

2000-05-04  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Modified rest array argument passing.

	* optparse.rb(OptionParser::Filling): module which extends method
	  `fill' like as `Array'.

	* optparse.rb(OptionParser::OptionMap): Added.

	* optparse.rb(OptionParser::CompletingHash): Keyword completion
	  uses only `Hash' now.

	* optparse.rb: Missed argument string in option summary.

	* opttest.rb: released with revision 0.7.2.0

	* optparse.rb: Changed parameters format.

	* optparse.rb(OptionParser::Switch.guess): Moved to class methods
	  section.

	* optparse.rb(OptionParser::check_twice): Added.

	* optparse.rb: Guards `[nil]' while passing to proc.

	* optparse.rb(Array): Added argument check.

2000-05-03  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::List): Merged methods `match' and
	  `complete'.

	* optparse.rb(OptionParser#complete, OptionParser::List#complete):
	  take arguments that specifys which table used, and optional
	  arguments for completion.

	* optparse.rb: Character class options regexp was wrong.

	* getopts.test: adding documents

	* optparse.rb: Added character class short option.

	* optparse.rb: When no matched options found, `AmbiguousOption'
	  raised instead of `InvalidOption'.

	* optparse.rb: Indented `*'list under `:'list.

	* optparse.rb: Added a few documents.

	* optparse.rb: Categorized `initialize' methods to class methods
	  in documents.

	* optparse.rb: Generally uses `convert' method of `pattern' for
	  conversion.

	* optparse.rb(OptionParser::FillingHash): Added.

	* optparse.rb: Error recovery while invoking handlers.

	* optparse.rb(OptionParser#safe_call): Added.

	* optparse.rb: `to_f' and `oct' are unsafe without argument
	  check. `Float' and `OctalInteger' may deal raw argument while
	  conversion, and return 0(or 0.0) on `nil'.

	* optparse.rb: Made possible to completion to `Symbol'.

	* optparse.rb: Using method `OptionParser::Completion#convert' to
	  convert arguments.

	* optparse.rb(OptionParser::OptionalArgument): `nil' without
	  argument.

	* optparse.rb: Added documents.

2000-05-02  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Removed change log.

	* optparse.rb(Completion): Modularized.

	* optparse.rb: Keyword argument class

	* optparse.rb(OptionParser::AmbiguousArgument): new exception.

	* optparse.rb: Fixed numeric regular expressions.

2000-05-01  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Fixed default pattern.

2000-04-30  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Defaulted short style argument classes to `Object'
	  or `TrueClass' according to argument specification.

	* getopts.test.en: Translated from Japanese version.

2000-04-29  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* getopts.test: Forgotten argument check(^^;

2000-04-28  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::Arguable):
	    * renamed instance variable of @options to @optparse(might not
	      conflict).
	    * initializes instance variable.
	* optparse.rb(OptionParser::ParseError):
	    * `args' in message are joined with space instead of `='.
	    * `args' in inspection are joined with space.

	* optparse.rb: Long style options without argument may be boolean
	  flag.

	* getopts.test: Shows `f' and `g' themselves.

	* optparse.rb: long style option description designates default
	  argument class.

	* optparse.rb: couldn't recover error in the case of long style
	  completion for one-character option.

	* optparse.rb(Object): argument class passes argument string
	  itself.

	* optparse.rb: Avoiding `return from proc-closure' bug.

2000-04-24  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::List): visitor.

	* FIRSTSTEP.ja.rd: Initial revision.

	* optparse.rb: Forgotten default pattern and converter for short
	  style option.

	* optparse.rb: Parse error recovery.

	* optparse.rb: Undocumented feature B-)

	* getopts.test: New file.

	* optparse.rb: Fixed document indentation.  Thanks to Tosh.

	* optparse.rb: Defaulted banner message.

2000-04-23  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(Switch classes): Added document.

	* optparse.rb: argument style without preceding `=' should be
	  `REQUIRED_ARGUMENT'.

	* optparse.rb(OptionParser::Switch#parse_arg): expands matched
	  data to array.

2000-04-22  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Bug fix when no arguments given to switch using
	  converter.

2000-04-20  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#order!): Modifying `argv' in option
	  handers is safe even while parsing crunched short options.

	* optparse.rb: Fixed exception when short option cannot be
	  completed.

	* optparse.rb(OptionParser::Arguable#options): When called as
	  iterator, rescues `ParseError' and returns nil with printing the
	  error message to STDERR.

	* optparse.rb: If no short options match, try completion with long
	  options.

	* optparse.rb(OptionParser::Switch::OptionalArgument): When no
	  arguments is passed, misparsed and resulted true, where it must
	  be nil.

2000-04-19  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Forgotten changing guess_style to style.

	* optparse.rb(OptionParser::ParseError#inspect): Added returns
	  inspection string in format same as older versions.

	* optparse.rb(OptionParser::Switch.guess): moved from
	  `OptionParser::guess_style'.

2000-04-18  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Short style options ignored after - or +, but now
	  ignore themselves.

	* optparse.rb: And boolean switches can take argument - and + as
	  false and true respectively.

	* optparse.rb(OptionParser::ParseError) changed to:
	  * have sub classes instead of style flag,
	  * have an attribute `arg' represents the argument string caused
	    the exception,
	  * and default stringizing methods `message' and `to_s' return
	    error message same as `to_str'.

2000-04-12  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: multiple argument style values.

2000-03-25  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#new): takes block or return self.

	* optparse.rb(OptionParser::ArgumentStyle): now symbol.

	* optparse.rb: Option string with argument style is prior to ones
	  without style. Followings are equivalent now.
	    on("-f", "--flag=VALUE")
	    on("-f=VALUE", "--flag")

2000-03-24  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::Arguable.options=): can be undefed by
	  setting nil or false.

2000-03-23  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: comments feedback from japanese document.

2000-03-10  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::List.update): private.

	* optparse.rb(OptionParser::Arguable.options): takes block.

2000-02-21  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser::switch): Directly specified matchable
	  object is prior to accepted classes.

	* optparse.rb(OptionParser::Switch#parse_arg): relaxed matched
	  result.

	* optparse.rb: Now uses method index, and added some documents.

	* optparse.rb(OptionParser::Switch#parse_arg): Made safer.

	* optparse.rb(OptionParser::Switch#summarize, OptionParser::List#summarize): 
	  now same signature.

	* optparse.rb(OptionParser::Switch#pattern): Now anything can
	  match to String, not only Regexp.

2000-02-18  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: New release.

	* optparse.rb(OptionParser.with): added. behaves like as older
	  new.

	* optparse.rb: No use of dying.rb.

	* optparse.rb(OptionParser::Acceptables): added.

	* optparse.rb(OptionParser.switch): accepts also Method as
	  handler, not only Proc.

	* optparse.rb(OptionParser#new): Fixed doc as 0.6.

2000-02-14  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#new): no longer evaluates block in its
	  context, just yields itself.

2000-02-12  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#switch): Made public(was register),

	* optparse.rb(OptionParser::List#append, OptionParser::List#prepend):
	  added.

	* optparse.rb(OptionParser#on): accepts separated option argument
	  description, like as `=ARGUMENT'.

2000-02-05  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(exit): Removed to dying.rb.

	* optparse.rb(OptionParser::Arguable): added

	* optparse.rb(Array): Accepts comma separated list arguments.

2000-02-02  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Not use return value from String#sub!.

	* optparse.rb: Used empty string for optional argument when
	  absent.(Revision 0.4.5.1)

2000-01-31  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#on): can take just messages.

	* optparse.rb: Bug fix of boolean switch.

	* optparse.rb(OptionParser::List#atype): now holds pattern and
	  converter pairs. pattern and conv no longer exist.

2000-01-30  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Passes matched substrings instead of `$~', to
	  converters.

	* optparse.rb(OptionParser#banner): added, and now
	  `OptionParser#new' takes summary formatting parameters.

	* optparse.rb(OptionParser::ParseError): explicits empty argument
	  not but missing argument. When an empty string given as optional
	  argument to short style,

	* optparse.rb(FalseClass): added, opposite of `TrueClass'.

2000-01-18  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: modified for 1.5.2

2000-01-15  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: failed long style completion for deferred switches.

2000-01-09  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Changed default options list to singleton of
	  `OptionParser::List' instead class itself. There was no reasons
	  that it's must be.

	* optparse.rb(OptionParser#summary_width, OptionParser#summary_indent):
	  added.

	* optparse.rb(OptionParser::List::on): Removed back to
	  `OptionParser' again, and searches pattern and converter in the
	  stack.

	* optparse/time.rb: Initial revision.

	* optparse.rb(OptionParser::Switch#parse): no longer uses yielded
	  return value.

	* optparse.rb: Short style options support `=argument'.

	* optparse.rb(OptionParser#on): ignored argument class.

	* optparse.rb(OptionParser::ParseError): holds erred option, and
	  able to retry.

	* MANIFEST: optparse/time.rb added.

2000-01-08  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#new, OptionParser#remove): Now has
	  stack structure.

	* optparse.rb(OptionParser#summarize): accepts formatting
	  parameters.

	* optparse.rb(OptionParser::InvalidOption): when raises,
	  `$!.message' holds whole erred option, including argument if
	  present.  So it's possible to retry with unshifting it.

2000-01-04  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser#order, OptionParser#permute, OptionParser#parse):
	  simplified. Now they're just front-ends for !-ed versions.

	* optparse.rb: Added MANIFEST.

	* optparse.rb: Made Example a link rather than included.

2000-01-03  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(TrueClass): Rewrote description in Acceptable
	  argument classes.

	* optparse.rb(OptionParser#on_head): added

	* optparse.rb: Multiple long-style option in one summary line.

	* optparse.rb: Relaxed check for ambiguous, but actually one
	  option.

	* optparse.rb(OptionParser::Switch#format): wrong local variable

	* optparse.rb: Rewrote RD.

	* optparse.rb(OptionParser#order!, OptionParser#permute!, OptionParser#parse!):
	  destructive parse methods.

	* optparse.rb(OptionParser.exit): miscellaneous utility.

1999-12-27  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb(OptionParser.accept, OptionParser.reject,
	  OptionParser#accept, OptionParser#reject): added

1999-12-22  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Prefixed instance variables of OptionParser with '_' to prevent
	  interferences from attributes defined with `OptionParser#variable'.

	* optparse.rb(OptionParser#variable): Now returns attributes list.

1999-12-21  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Adding boolean flag switch.

	* optparse.rb(OptionParser::ParseError#to_str): Added default
	  stringize method.

	* optparse.rb: Missing argument for short option caused no failure
	  and ignored silently.

	* optparse.rb(OptionParser#permute): ignored arguments after `--'.

	* optparse.rb: Refined example code.

1999-12-19  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* optparse.rb: Adding boolean flag switch.

	* optparse.rb: Initial revision.

1998-01-16  Nobuyoshi Nakada  <nobu.nokada@softhome.net>

	* getopts.test: Original version for getopts.rb.