/
ChangeLog
1693 lines (933 loc) · 50.1 KB
/
ChangeLog
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
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Mon Apr 20 14:47:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_12.
* time.c (time_arg): args may be string (support for reduced
implicit type conversion).
* lib/base64.rb: changed to use pack/unpack with `m' template.
Mon Apr 20 06:23:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (mod_remove_const): new method.
Sat Apr 18 03:53:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_each_with_index): removed. use Enumerable's
each_with_index instead.
* class.c (rb_include_module): check for super modules, since
module's included modules may be changed.
Fri Apr 17 21:50:47 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* marshal.c (r_long): r_byte() may return signed byte.
Fri Apr 17 11:58:30 1998 NAGAI Hidetoshi <nagai@dumbo.ai.kyutech.ac.jp>
* ext/tcltklib/tcltklib.c (lib_mainloop): thread and interrupt check.
Fri Apr 17 11:06:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (find_file): try to fopen() to check whether file exists.
* ruby.c (load_file): ditto.
* struct.c (struct_aset): struct member can be set by member name.
Fri Apr 17 00:47:19 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in: added m68k-human support
* file.c (LOCK_SH): defines moved.
* array.c (ary_flatten_bang): simplified loop.
Thu Apr 16 16:52:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_11.
* lib/tk.rb: thread support (experimental - maybe slow).
* eval.c (rb_longjmp): trace event on exception in raising
context, just before raising exception.
* struct.c (struct_s_members): forgot to check singletons.
* struct.c (struct_aref): members can be accessed by names too.
* array.c (ary_flatten): new method.
* eval.c (rb_longjmp): prints exception information with `-d'.
* object.c (any_to_s): remove class name restriction.
Thu Apr 16 01:38:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (thread_flock): do not block other threads.
* eval.c (thread_trap_eval): signals are now delivered to the
current thread again. In case that the current thread is dead,
signals are forwarded to the main thread.
* string.c (str_new4): need not to duplicate frozen strings.
Wed Apr 15 08:33:47 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_inspect): remove restriction for struct names.
Wed Apr 15 02:55:02 1998 Kazuya 'Sharl' Masuda <sharl@www.ufo.co.jp>
* x68 patches to config.sub, ext/extmk.rb.in
Wed Apr 15 01:22:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_dup_frozen): do not duplicate frozen strings.
* parse.y (yylex): allow nested parenthesises.
* io.c (obj_displayln): prints newline after `display'ing the
receiver.
* io.c (io_puts): avoid generating "\n" each time. use RS_default
instead.
* io.c (f_p): ditto.
Tue Apr 14 22:18:17 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_aref): should not subtract negative index.
Tue Apr 14 11:34:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_10.
* parse.y: token names prefixed by `t'.
* struct.c (struct_s_def): supports subclassing of Struct.
* io.c (io_s_new): supports subclassing of IO.
Mon Apr 13 11:07:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_binding): need to restore method name.
* eval.c (rb_call0): raises SystemStackError, not Fatal.
* io.c (obj_display): same as `print self'.
* io.c (f_p): can now be called in the method form.
* re.c (reg_regsub): needed to be mbchar aware.
Mon Apr 13 13:18:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_trap_eval): all signals delivered to main_thread.
Mon Apr 13 12:47:03 1998 TAKAHASHI Masayoshi <maki@inac.co.jp>
* re.c (kcode_set_option): did not set SJIS on SJIS condition.
Sun Apr 12 22:14:07 1998 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
* array.c (ary_uniq_bang): should be `==', not `='. embarrassing.
Sat Apr 11 02:13:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_subseq): SEGVed for `[][1,1]'.
Fri Apr 10 21:29:06 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* array.c (ary_subseq): add check for beg larger than array length.
Wed Apr 8 17:24:11 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* dir.c (dir_s_open): can be called with block (like IO#open).
* dir.c (dir_s_chdir): print directory path on error.
* dir.c (dir_s_chroot): ditto
* dir.c (Init_Dir): needed to override `new'.
Thu Apr 9 18:24:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_09.
* string.c (str_cmp): do not depend on sentinel at the end of the
strings.
* string.c (str_chomp_bang): forgot to set the sentinel.
Wed Apr 8 00:59:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (big2int): converted int may be too big to fit in
signed int.
* parse.y (arg): `foo += 1' should not cause an error.
* variable.c (rb_const_defined): returned false even if the
constant is defined at the top level.
* eval.c (f_local_variables): dyna_var->id may be null. should
have checked before calling str_new2().
Tue Apr 7 01:15:15 1998 Kaneko Naoshi <wbs01621@mail.wbs.or.jp>
* re.c (reg_regsub): need to check string boundary.
Tue Apr 7 19:19:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_cmp): returns either 1, 0, -1.
* array.c (ary_cmp): should check array length, too
Tue Apr 7 18:50:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_08.
Tue Apr 7 18:31:27 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* instruby.rb (mandir): dll installation for cygwin32
Tue Apr 7 01:16:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* config.sub (maybe_os): TOWNS support?
* config.guess: too strict check for libc versions on linuxes.
* experimental release 1.1b9_07.
* array.c (ary_cmp): compare each element using `<=>'.
* hash.c (hash_each_with_index): yields [value, key] pair.
* class.c (class_protected_instance_methods): list protected
method names.
* class.c (ins_methods_i): exclude protected methods.
* eval.c (PUSH_BLOCK): dynamic variables can be accessed from
eval() with bindings.
Mon Apr 6 14:49:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_yield): must return evaluated value.
Fri Apr 3 13:07:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_schedule): context switch bypassed on wrong
conditions.
* variable.c (rb_name_class): set classname by id before String
class is initialized (1.0 behavior restored).
Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (num2int): no implicit conversion from string.
* numeric.c (num2int): check whether `to_i' returns an Integer.
* numeric.c (num_zero_p): new method.
* numeric.c (num_nonzero_p): new method. returns the receiver if
it's not zero.
* eval.c (obj_instance_eval): the_class should be the object's
singleton class.
* error.c (exc_s_new): message is converted into a string.
Thu Apr 2 18:31:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_call_init): every object call `initialize'.
Wed Apr 1 08:51:53 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* parse.y (stmt): UNTIL_MOD should be for stmt, not only for expr.
Wed Apr 1 01:20:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (true_and): boolean operators &, | and ^.
Tue Mar 31 13:23:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_compact_bang): returns nil, if it does not modify
the array like String's bang methods.
* array.c (ary_uniq_bang): new method to remove duplicate items.
* eval.c (bind_s_new): new method.
* numeric.c (num2int): raise exception if Fixnums too big to
convert into `int' in case that sizeof(int) < sizeof(INT).
* string.c (str_center): SEGV on negative width.
* eval.c (eval): forgot to set sourcefile.
Mon Mar 30 11:12:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (f_test): raises exception for unkown command.
* eval.c (Init_eval): `class_eval': alias to the module_eval.
Mon Mar 30 18:50:42 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* string.c (str_capitalize_bang): did not check string modification.
* string.c (str_delete_bang): wrong conversion.
* string.c (str_intern): typo in error message.
Mon Mar 30 01:44:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_instance_eval): accepts block as evaluation body.
No compilation needed each time.
* eval.c (mod_module_eval): ditto
* file.c (file_s_umask): umask did not return old values, if no
argument given.
Sun Mar 29 00:54:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_throw): nil returned always.
Sat Mar 28 20:40:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_06.
Sat Mar 28 16:07:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_closed): should not cause exception fot closed IO.
* string.c (str_tr): returned nil for success.
Sat Mar 28 00:47:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_local_variables): new method to return an array of
local variable names.
* variable.c (obj_instance_variables): now returns an array of
variable names, as described in the reference.
* eval.c (rb_attr): honors default method visibility of the
current scope.
Fri Mar 27 13:49:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_05.
* ruby.c (ruby_prog_init): `site_ruby' added to load_path.
* ruby.c (ruby_prog_init): load-path order changed. Paths in
the RUBYLIB environment variable comes first in non-tainted
mode.
Thu Mar 26 11:51:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call): new feature: `protected' methods.
* string.c (str_dump): new method.
* eval.c (block_pass): block argument can be nil, which means no
block is supplied for the method.
Wed Mar 25 21:20:13 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* string.c (str_reverse_bang): string copied to wrong place.
Wed Mar 25 08:12:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (flo_modulo): caused SEGV if left operand is not a
float value.
* eval.c (f_eval): optional third and fourth argument to specify
file-name and line-number.
* eval.c (eval): file-name and line-number set properly.
* parse.y (assign_in_cond): literal assignment is now warning, not
compile error.
* error.c (Warn): Warn() always print message, OTOH Waring()
prints when verbose flag is set.
Tue Mar 24 12:50:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_prog_init): `.' should come last in the load-path.
* eval.c (Init_eval): `__send__', alias for `send'.
Mon Mar 23 12:44:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_chomp_bang): now takes `rs' as an argument.
* eval.c (thread_free): main_thread should not be freed.
Fri Mar 20 16:40:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_chomp_bang): chomp! (and other ! methods) returns
nil if it does not modify the string.
* string.c (str_sub_iter_s): should check last pattern since it
may be matched to null.
Thu Mar 19 13:48:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_04.
* parse.y (yylex): `10e0.9' should cause syntax error.
Wed Mar 18 17:46:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): new file object constant DATA. Only
available for the script from the file.
* regex.c (re_match): forwading failure point popped too much.
Tue Mar 17 18:23:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* math.c (math_frexp): newly added.
* math.c (math_ldexp): ditto.
* bignum.c (bigdivmod): calculates modulo.
* numeric.c (fix_remainder): returns reminder, formerly introduced
as modulo.
* numeric.c (fix_modulo): calculates proper `modulo'.
* bignum.c (bigdivmod): wrong sign for reminder.
Mon Mar 16 17:07:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_03.
Mon Mar 16 16:33:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (pipe_finalize): needed to add pipe_finalize to pipes on
cygwin32.
Mon Mar 16 14:11:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (ins_methods_i): needed to consider NOEX_UNDEF.
Mon Mar 16 13:23:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_check_closed): check for `fptr->f2 == NULL'.
* io.c (io_fptr_close): ditto.
Mon Mar 16 11:49:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (pipe_atexit): free()ing referencing pipe_list.
* range.c (range_length): returns zero, if the first is greater
than the last.
* signal.c (trap_restore_mask): restore signal mask before raising
exceptions and throws.
Fri Mar 13 13:49:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_02.
* object.c (mod_clone): need to dups constants and instance
variables.
* eval.c (rb_eval): forgot to initialize body for NODE_DEFS.
* eval.c (rb_eval): retrieve self from calling frame, since self
changes sometimes.
* env.h (FRAME): need to save self in the calling frame.
* io.c (f_gets_method): rs should be initialized by RS.
Thu Mar 12 15:33:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_01.
* range.c (range_s_new): check values by `first <= last'.
* parse.y (lastline_set): fixed offset for $_ and $~ in the local
variable space.
Wed Mar 11 02:14:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_gets): handle normal case specially for speed.
* eval.c (rb_disable_super): function to disable superclass's
method explicitly.
* eval.c (rb_eval): inherits previous method definition's
NOEX_UNDEF-ness, if exists.
* class.c (rb_define_method): disables superclass's overriding
method by default.
Wed Mar 11 01:40:48 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* numeric.c (flo_gt,etc.): do not depend on `<=>', to handle NaN.
Tue Mar 10 00:03:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): understands multiple options in #! line.
* regex.c (re_compile_pattern): support for [:alpha:] etc.
Mon Mar 9 16:53:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.h (GetOpenFile): embed io_check_closed in GetOpenFile.
* sprintf.c (f_sprintf): zero padding failed for negative
integers.
* sprintf.c (remove_sign_bits): failed to remove some bits.
Sat Mar 7 21:51:46 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* class.c (ins_methods_i): body may be NULL for some case.
Fri Mar 6 17:23:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (mbcinit): table driven mbchar detection.
* object.c (obj_alloc): check for allocating instance for the
primitive classes (mostly perfect).
* ext/curses/curses.c (curses_finalize): restore original state at
interpreter temination.
* ext/curses/curses.c (curses_addstr): forgot to check argument
type (caused SEGV). now uses STR2CSTR() macro.
Thu Mar 5 13:47:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): accepts method object as block args.
* eval.c (f_missing): use any_to_s() for stringify.
Wed Mar 4 01:39:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (block_arg): new syntax - block argument in the
calling arglist.
* eval.c (rb_call): no module search. simplified a lot.
* eval.c (rb_eval): block arg support.
* parse.y (f_block_arg): new syntax - block argument in the
formal arglist.
Tue Mar 3 14:20:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_method): returns bound method object.
* eval.c (rb_call): argument check for empty methods.
* ruby.h (NUM2CHR): new macro, originally from curses module.
Tue Mar 3 13:03:35 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* io.c (io_putc): new method.
Tue Mar 3 11:21:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_inspect): more strict charcode detection.
* eval.c (thread_stop): stopping only thread raises ThreadError
exception.
Tue Mar 3 08:04:56 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_alloc): imcomplete struct initialization made
GC to access unallocated addresses.
Mon Mar 2 16:28:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_stop_method): remove Thread#stop.
Fri Feb 27 18:16:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b9 released.
Fri Feb 27 09:36:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_delete_nil): needed to compare value to nil, since
nil is the valid key for hashes.
* hash.c (hash_foreach_iter): rehashing causes IndexError.
* hash.c (hash_foreach_iter): rehash check by pointer comparison.
Thu Feb 26 17:22:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (fname): convert reswords into symbols.
* parse.y (reswords): reserved words are now embedded in the
syntax (sigh).
* parse.y: now reserved words can be method names safely.
Wed Feb 25 15:50:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (mod_module_eval): clear the_scope's PRIVATE flag before
calling eval().
* gc.c (gc_call_finalizer_at_exit): run finalizers before any data
object being freed.
* eval.c (rb_eval): needed to keep prot_tag->retval before
evaluating the ensure clause.
Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): reserved words can be appear as method names at
right after 'def' and `.'(dot), like foo.next.
* eval.c (return_check): checks for return out of thread (formerly
done in return_value).
* eval.c (POP_TAG): copy retval to outer level.
* eval.c (return_value): just set retval, no check, no unwinding.
* parse.y (nextc): line continuation by backslash at end of line.
* regex.c (re_compile_pattern): forgot to clear pending_exact on
closing parentheses.
* parse.y (assignable): should not assign dyna_var to true, if it
is already defined.
Mon Feb 23 14:35:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (obj_is_kind_of): no longer accepts true/false/nil.
* object.c ({true,false,nil}_to_i): can be converted into integers.
Mon Feb 23 12:11:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_s_quote): needed to be mbchar aware.
* eval.c (proc_s_new): wrong iter mark.
Sat Feb 21 22:59:30 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* io.c (f_syscall): no argument check.
Fri Feb 20 10:17:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b8 released.
* ext/kconv/kconv.c (kconv_kconv): default output code now be
determined according to the value of $KCODE.
* re.c (rb_get_kcode): can retrieve $KCODE from C code.
* parse.y (stmt): if/unless modifiers returns nil, if condition is
not established.
Thu Feb 19 11:06:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/kconv/kconv.c (kconv_kconv): charcode can be specified by
code name (JIS, SJIS, EUC like value of $KCODE).
* regex.c (re_compile_pattern): forgot to fixup_jump for (?:..).
* regex.c (re_compile_pattern): needed to clear pending_exact on
non-registering grouping (?:...).
Wed Feb 18 19:54:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): needed to set lex_state to EXPR_END.
Wed Feb 18 18:45:10 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* patches for cygwin32 applied.
Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_sub_s): needed to be mbchar aware to increment one
character.
* regex.c (re_match): \Z matches newline just before the end of
the string.
Tue Feb 17 00:04:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): Time.gm and Time.local now understands
Time#to_a format.
* string.c (str_sub_s): replace happened twice for null pattern.
* regex.c (re_search): null pattern should not match after newline
at the end of string.
* time.c (time_isdst): now returns boolean value.
* error.c (rb_check_type): treat special constants in messages.
* parse.y (yylex): new form `::Const' to see toplevel constants.
* parse.y (cond): SEGV on `if ()'.
* gc.c (obj_free): some data needed explicit free().
Mon Feb 16 23:55:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (blk_free): release duplicated block informations.
* eval.c (blk_copy_prev): duplicate outer block information into
the heap, when proc/binding created.
Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_mon): now 1 for January and so on.
* time.c (time_year): year in 19xx (no + 1900 needed anymore).
Mon Feb 16 13:28:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): need to fetch mbchar's second byte
without translation.
Mon Feb 16 12:29:27 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* eval.c (f_pass_block): pass iterator block to other method.
Fri Feb 13 08:16:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): handle \s before read_escape().
* parse.y (read_escape): `\s' in strings as space.
Tue Feb 10 17:29:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b7 released.
* string.c (str_aset): string insertion by `str[n] = str2'.
* string.c (str_oct): does recognize `0x'.
* sprintf.c (f_sprintf): use baes 10 for conversion from string to
integer.
Mon Feb 9 14:51:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (do_coerce): proper error message.
* string.c (str_sum): bug - masked by wrong value. (sigh..)
Sat Feb 7 15:11:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_empty): new method
Fri Feb 6 01:42:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_asctime): use asctime(3), not strftime(3).
Thu Feb 5 18:58:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_fptr_close): do not free path on close().
* array.c (ary_filter): new method.
* enum.c (enum_each_with_index): new method.
Thu Feb 5 14:10:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (primary): singleton class def can be appeared inside
method bodies.
* hash.c (hash_replace): replace content.
* string.c (str_replace_method): replace content.
* array.c (ary_replace_method): replace elements.
* string.c (str_succ_bang): String#succ!
Thu Feb 5 18:20:30 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_upcase_bang): multi byte character support.
Wed Feb 4 13:55:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_reverse): SEGV on empty array reverse.
Tue Feb 3 12:24:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_to_a): non matching element should be nil.
* ruby.c (ruby_load_script): load script after all initialization.
* bignum.c (str2inum): need to interpret prefix `0' of `0x'.
Tue Feb 3 10:00:18 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* numeric.c (fix_rshift): use `sizeof(INT)*8' instead of 32.
Mon Feb 2 14:09:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (set_arg0): grab environment region too.
Thu Jan 29 18:36:25 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* process.c (rb_proc_exec): check `sh' to be exist.
Thu Jan 29 18:18:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_stdio_set): assignment to $stdin or $stdout does
reopen() as well as $stderr.
Thu Jan 29 14:18:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (mod_ancestors): should not include singleton classes.
* object.c (obj_type): should not return internal class.
* io.c (io_reopen): unwillingly closes stdio streams.
Thu Jan 29 11:50:35 1998 Toshihiko SHIMOKAWA <toshi@csce.kyushu-u.ac.jp>
* ext/socket/socket.c (udp_addrsetup): forgot to use htons().
Tue Jan 27 23:15:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* keywords: __FILE__, __LINE__ are available again.
Fri Jan 23 14:19:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b6 released.
* object.c (mod_to_s): need to duplicate classpath.
* error.c (exc_inspect): need to duplicate classpath.
Thu Jan 22 00:37:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (STR2CSTR): new macro to retrieve char*.
* class.c (rb_define_method): `initialize' should always be
private, even if it defined by C extensions.
* eval.c (rb_eval): `initialize' should always be private.
Thu Jan 22 16:21:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): some singleton class def cause SEGV.
* eval.c (TMP_ALLOC): replace ALLOCA_N, where thread context
switch may happen.
Wed Jan 21 01:43:42 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (PUSH_FRAME): do not use ALLOCA_N(). crash on some
platforms that use missing/alloca.c.
* regex.c (re_compile_pattern): too many pops for non register
subexpr.
* parse.y (yylex): open parentheses after identifiers are argument
list, even if whitespaces have seen.
Tue Jan 20 15:19:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (terms): quoted word list by %w(a b c).
* ext/tcltklib/extconf.rb: more accurate check for tcl/tk libs.
* file.c (rb_stat): most of the FileTest methods (and function
`test') accept File objects as the argument.
Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in (install): there should be no newline after install:
* re.c (MIN): renamed from min(). there's a local variable named
min in the file, so that some cpp will raise an error.
Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b5 released.
* process.c (rb_syswait): no exception raised.
Fri Jan 16 00:43:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (CLONESETUP): copies its singleton classes too.
* class.c (singleton_class_attached): saves binded object in the
singleton classes.
* eval.c (rb_eval): calls singleton_method_added even in the
singleton class clauses.
Fri Jan 15 23:22:43 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (proc_options): -S does not recognize PATH.
Thu Jan 15 02:03:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_clear_cache_by_id): clear only affected cache
entries.
Wed Jan 14 02:14:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c: new UDP/IP socket classes.
Tue Jan 13 10:00:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_cmp): ignorecase($=) works wrong.
Fri Jan 9 13:19:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b4 released.
* eval.c (f_missing): class name omitted from the error message.
* error.c (exc_inspect): description changed.
* string.c (Init_String): GlobalExit's superclass did not filled,
since GlobalExit created earlier than String.
Thu Jan 8 12:10:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (aryset): expr in the brackets can be null.
Wed Jan 7 21:13:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_reopen): keep stderr unclosed.
* io.c (io_errset): keep stderr unclosed.
Tue Jan 6 00:27:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y: syntax modified for `while expr do .. end' etc.
* process.c (f_exec,f_system): can supply arbitrary name for the
new process.
Mon Jan 5 16:59:13 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* file.c (file_s_basename): removes any extention by ".*".
Sun Jan 4 19:36:22 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* parse.y (yylex): needed to update lex_p (reading point).
Sat Jan 3 19:14:14 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* class.c,object.c: duplicate defines mKernel and cFinxnum.
Fri Jan 2 20:38:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/curses/curses.c (NUM2CHAR): uses the first character for
string arguments.
* array.c (ary_fill): did not extend array for ranges.
* array.c (beg_len): did not return end pos bigger than size.
Fri Jan 2 02:09:16 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dir.c (dir_s_chdir): bug in nil check.
* array.c (ary_fill): bug in nil check.
Tue Dec 30 11:46:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (env_path_tainted): checks directories in PATH
environment variable are not world writable.
* ruby.c (load_file): invoke specified interpreter if the #! line
does not contain the word `ruby'.
Fri Dec 26 03:26:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (uscore_get): type information included in the error
message.
* variable.c (f_untrace_var): does not free trace-data within
trace procedure.
Thu Dec 25 02:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b3 released.
* ruby.h: inlining some functions on gcc 2.x
Tue Dec 23 02:47:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): public/private information kept in the current
scope, to remove undesired state from the class/module.
* time.c (time_strftime): remove hidden limit of 100 bytes of
result string, using malloc'ed buffer.
* hash.c (hash_update): merges the contents of another hash,
overriding existing keys.
* regex.c (must_instr): totally re-written.
* io.c (read_all): try to allocate proper sized buffer using
fstat(2) for speedup.
Sat Dec 20 00:27:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (must_instr): need to skip 2 bytes for mbchars.
Fri Dec 19 01:18:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b2 released.
* eval.c (check_errat): check and convert (if necessary) traceback
information before assigning to the variable $@.
* eval.c (f_raise): optional third argument to specify traceback
information.
* io.c (f_open): prevent infinite recursive call.
Thu Dec 18 19:33:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_rindex): now accepts regexp as index.