/
ChangeLog
5664 lines (3108 loc) · 170 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 Mar 13 18:14:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.4 released.
Mon Mar 13 16:12:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): distinguish real orphan block and still
on-stack block passed by block argument.
Mon Mar 13 00:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (f_norm_arg): proper error message when constant comes
in formal argument list. this message is suggested by Muvaw
Pnazte <bugathlon@yahoo.com>.
* eval.c (rb_f_raise): proper error message when the first
argument is not an exception class/object.
Sat Mar 11 22:03:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_missing): check if argv[0] is ID.
Sat Mar 11 05:07:11 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (proc_setpriority): should return 0, not nil.
* process.c (proc_setpgid): ditto.
Thu Mar 9 11:13:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): fixed embarrassing brace bug.
Thu Mar 9 01:36:32 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* missing/flock.c: emulate missing flock() with fcntl().
Wed Mar 8 02:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y: escape expansion too early.
* regex.c (re_compile_pattern): support \cX et al.
Mon Mar 6 12:28:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ip_addrsetup): should check length of hostname.
* ext/socket/socket.c (ip_addrsetup): check newline at the end of
hostname. These fixes suggested by Muvaw Pnazte <bugathlon@yahoo.com>.
Sun Mar 5 20:35:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): should call
LoadLibrary() everytime and should assign the hdll to Win32API
object(protect the hdll from GC).
Sat Feb 26 22:39:31 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* Fix String#* with huge string.
Fri Feb 25 06:42:26 2000 GOTOU YUUZOU <gotoyuzo@notwork.org>
* ext/socket/socket.c (ip_addrsetup): hostp should remain NULL if
host is nil.
Thu Feb 24 16:53:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): priority was too high for sleep
expired threads.
Sat Feb 19 23:58:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): pop_loop should not pop at forward jump.
Thu Feb 17 19:09:05 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (mypopen): don't close handle if it is not assigned.
* win32/win32.c (my_open_osfhandle): support O_NOINHERIT flag.
* win32/win32.c (win32_getcwd): rename getcwd to win32_getcwd
in order to avoid using the C/C++ runtime DLL's getcwd.
Use CharNext() to process directory name.
* win32/win32.h: map getcwd to win32_getcwd.
Wed Feb 16 00:32:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (method_arity): nd_rest is -1 for no rest argument.
* process.c (rb_f_waitpid): returns nil when waitpid(2) returns 0.
Tue Feb 15 01:47:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (rb_f_waitpid): pid_t should be signed.
Mon Feb 14 13:59:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): exit if reading file is empty.
Mon Feb 14 03:34:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `foo.bar=' should be <foo><.><bar><=>.
* eval.c (rb_thread_restore_context): process according to
RESTORE_* is moved after longjmp().
* eval.c (thread_switch): new function to process RESTORE_*.
Thu Feb 10 02:12:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_index_m): did not support negative offset.
Wed Feb 9 21:54:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c: gcc --traditional support.
Rearrange headers to work AC_C_CONST.
* ext/socket/getnameinfo.c: ditto.
* ext/socket/socket.c: mswin32: use double instead of long long.
Wed Feb 9 16:30:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (num_coerce): should return [y, x].
Fri Feb 4 10:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_close): should not check closed IO.
Fri Feb 4 05:44:01 2000 Kentaro Inagaki <inagaki@tg.rim.or.jp>
* ext/socket/socket.c (s_recv): TRAP_BEG after retry entry.
Thu Jan 27 01:27:10 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* dir.c (glob): glob pattern "/*" did not match.
Wed Jan 26 22:30:47 2000 Shigeo Kobayashi <shigeo@tinyforest.gr.jp>
* numeric.c (flo_modulo): wrong result for negative modulo.
Wed Jan 26 11:43:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (test_c): should use S_ISCHR.
Sun Jan 16 20:12:13 2000 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (dvar_asgn): may need to push dvar.
Sat Jan 15 22:21:08 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (search_method): argument klass may be 0.
Fri Jan 14 12:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_replace): use memmove instead of memcpy for
overwrapping strings (e.g. a[1] = a).
Fri Jan 7 00:59:29 2000 Masahiro Tomita <tommy@tmtm.org>
* io.c (io_fread): TRAP_BEG/TRAP_END added around getc().
Wed Jan 5 02:14:46 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y: Fix SEGV on empty parens with UMINUS or UPLUS.
Tue Jan 4 22:25:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (stmt): `() while cond' dumped core.
Mon Dec 27 12:35:47 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_finalize): mswin32: fix socket handle leak.
* win32/win32.c (myfdclose): ditto.
Sun Dec 26 23:15:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (mypopen): raise catchable error instead of rb_fatal.
* win32/win32.c (mypclose): fix process handle laek.
Sun Dec 26 16:17:11 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): use UINT2NUM
instead of INT2NUM to set __dll__ and __proc__.
Sat Dec 25 00:08:59 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* ext/Win32API/Win32API.c (Win32API_Call): remove 'dword ptr'
from _asm.
Fri Dec 24 10:26:47 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
* win32/win32.h: use "C++" linkage.
Fri Dec 24 02:00:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (THREAD_ALLOC): should initialize th->trace.
Fri Dec 24 00:43:39 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* io.c (pipe_open): check for `fptr->f == NULL'.
* win32/win32.c (mypopen): STDERR does not work during ` function.
Tue Dec 21 17:21:28 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
* ext/socket/socket.c (sock_finalize): mswin32: fix FILE* leak.
Mon Dec 20 19:08:12 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (rb_file_s_expand_path): handle dir separetor correctly.
Sun Dec 19 22:56:31 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* lib/find.rb: support dosish root directory.
* win32/Makefile: ditto.
* win32/config.status: ditto.
* win32/win32.c (opendir): ditto.
* win32/win32.c (opendir): use CharPrev() to get last character
of the directory name.
Fri Dec 17 19:27:43 1999 IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>
* eval.c (rb_load): should initialize ruby_frame->last_class.
Wed Dec 15 01:35:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (proc_options): argv boundary check for `-X'.
Sat Dec 11 03:34:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (mark_hashentry): key should be VALUE, not ID.
* io.c (argf_eof): should check next_p too.
Thu Dec 9 18:09:13 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* error.c (exc_set_backtrace): forgot to declare a VALUE argument.
Tue Dec 7 18:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.3 released.
Mon Dec 6 15:55:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (fix_rshift): Fix -1 >> 32 returned 0 (should be -1).
* numeric.c (fix_rshift): Fix 1 >> -1 returned 0 (should be 2).
Mon Dec 6 11:47:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): formatted string must be tainted if
any of parameters is tainted.
* file.c (rb_file_s_expand_path): expanded file path need not to
be tainted always.
Sat Dec 4 01:40:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_rand): should not use rand/random where drand48
may be available. RANDOM_NUMBER should be provided from outside.
Fri Dec 3 09:54:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_require): should check require 'feature.o' too.
Thu Dec 2 11:58:15 1999 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (rb_thread_loading): should maintain loading_tbl.
Thu Dec 2 10:21:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_loading_done): wrong parameter to st_delete().
Wed Dec 1 09:47:33 1999 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
* string.c (rb_str_split_method): should increment end too.
Tue Nov 30 01:46:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_source): generated source string must be tainted if
regex is tainted.
* file.c (rb_file_s_basename): basename should not be tainted
unless the original path is tainted.
* file.c (rb_file_s_dirname): ditto.
Mon Nov 29 15:28:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_path2class): evaluated value from path should be
module or class.
Fri Nov 26 18:12:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_exec_end_proc): should remove only end_procs defined
within load wrapper.
* eval.c (rb_load): save and restore ruby_wrapper around loading.
* eval.c (rb_mark_end_proc): mark end procs registered by END{} or
at_exit{}.
* eval.c (rb_set_end_proc): should not call rb_global_variable()
on heap address; it crashed mod_ruby.
Fri Nov 26 18:12:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* enum.c (enum_grep): does not return nil.
* eval.c (rb_mark_end_proc): mark end procs registered by END{} or
at_exit{}.
* eval.c (rb_set_end_proc): should not call rb_global_variable()
on heap address; it crashed mod_ruby.
Thu Nov 18 16:18:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/pstore.rb: mutual lock by flock(2).
Thu Nov 18 11:44:13 1999 Masahiro Tomita <tommy@tmtm.org>
* io.c (read_all): should check bytes too.
Mon Nov 15 16:50:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* enum.c (enum_grep): grep with block returns collection of
evaluated values of block over matched elements.
Mon Nov 15 04:50:33 1999 Koji Arai <JCA02266@nifty.ne.jp>
* re.c (rb_reg_source): should not call rb_reg_expr_str()
everytime.
Fri Nov 12 23:52:19 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* process.c (rb_f_system): argument check for NT, __EMX__, DJGPP.
Wed Nov 10 21:54:11 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* hash.c (rb_any_cmp): Fixed return without value.
Tue Nov 9 13:21:04 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: AC_MINIX move to before AC_EXEEXT and AC_OBJEXT.
Mon Nov 8 19:52:29 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: Renamed AC_CHAR_UNSIGNED to AC_C_CHAR_UNSIGNED.
* configure.in: Added default to AC_CHECK_SIZEOF().
Mon Nov 8 14:28:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_eval): fake outer scope when eval() called without
bindings.
* eval.c (rb_f_binding): should copy last_class in the outer frame too.
Sun Nov 7 18:31:04 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (is_defined): last_class may be 0.
Sat Nov 6 19:26:55 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* Makefile.in: Added depend entry make parse.@OBJEXT@ from parse.c
for UCB make
Wed Nov 3 08:52:57 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* io.c (Init_IO): forgot to use INT2FIX() around SEEK_SET, etc.
Wed Nov 3 00:25:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_split_method): use mbclen2() to handle kcode
option of regexp objects.
Sun Oct 31 13:12:42 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* regex.c (re_compile_pattern): wrong [\W] match.
Thu Oct 28 13:35:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_split_method): should be mbchar aware with
single char separators.
Wed Oct 27 12:57:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (rb_f_srand): random seed should be unsigned.
Tue Oct 26 19:20:54 1999 Koji Arai <JCA02266@nifty.ne.jp>
* marshal.c (r_object): should register class/module objects.
Sat Oct 23 15:59:39 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
* process.c (rb_f_system): should require at least one argument.
Thu Oct 21 16:14:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (fnmatch): use eban's fnmatch; do not depend on systems's
fnmatch (which may have portability problem) anymore.
Wed Oct 20 15:14:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (marshal_load): should protect the generated object
table (arg->data) from GC.
Mon Oct 18 16:15:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/nkf/nkf.c (rb_nkf_kconv): output should be NUL terminated.
Fri Oct 15 22:50:41 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* error.c (sys_nerr): on CYGWIN, it is _sys_nerr.
Fri Oct 15 01:32:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/Win32API/Win32API.c (Win32API_Call): need to use NUM2ULONG,
not NUM2INT.
Tue Oct 12 22:29:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): should copy block to prevent modifications.
tag in the structure should be updated from latest prot_tag.
* eval.c (proc_s_new): tag in struct BLOCK should not point into
unused stack.
* io.c (io_read): length may be 0 or negative.
Tue Oct 12 13:26:27 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
* signal.c (posix_signal): RETSIGTYPE may be void.
Mon Oct 11 17:42:25 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (rb_intern): should generate distinct ID_ATTRSET symbols
for the name with multiple `='s at the end.
* Makefile.in (CPPFLAGS): separate cpp flags from CFLAGS.
Mon Oct 11 07:27:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should not execute the `else' clause on the
case the exceptions are handled by the `rescue' clause.
* signal.c (Init_signal): ignore SIGPIPE by default.
Mon Oct 4 12:42:32 1999 Kazuhiko Izawa <izawa@erec.che.tohoku.ac.jp>
* pack.c (pack_unpack): % in printf format should be %%.
Wed Oct 6 17:13:19 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ruby.c (addpath): rubylib_mangled_path() modified.
Mon Oct 4 10:01:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_obj_instance_variables): should always return
array for all object can have instance variables now.
Mon Oct 4 00:08:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (OFF16): need to adjust pointer address to pack/unpack on
64bit machines.
Sun Oct 03 03:05:59 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* time.c (time_arg): mktime y2k problem.
Sun Sep 26 16:54:45 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* parse.y (here_document): `\r' handling for here documents.
Wed Sep 22 09:20:11 1999 Masahiro Tomita <tommy@tmtm.org>
* ext/socket/socket.c: SOCKS5 support.
Wed Sep 22 00:35:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_include): should return boolean value.
* regex.c (re_compile_fastmap): wrong comparison with mbc.
* eval.c (specific_eval): default sourcefile name should be
"(eval)" for module_eval etc.
Wed Sep 22 00:06:07 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/Makefile: update rules.
* io.c (io_fread): should not assign in char, it maybe -1.
Tue Sep 21 23:57:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_trace_func): should not propagate retval in
trace_func.
Mon Sep 20 21:35:39 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect): assume non socket files are always
readable/writable.
Mon Sep 20 01:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_fread): should not block other threads.
* io.c (rb_io_synchronized): renamed from rb_io_unbuffered(); do
not call setbuf(NULL) anymore.
Sat Sep 18 13:45:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.2 released.
Fri Sep 17 23:24:17 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_f_missing): dumped core if no argument given.
Fri Sep 17 23:21:06 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect): translate WSAEINTR, WSAENOTSOCK into
UNIX errno constants.
Fri Sep 17 00:52:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): assignable() may return 0.
Thu Sep 16 20:46:23 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_eval): was doubly evaluating the return expression.
Thu Sep 16 18:40:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.1 released.
Thu Sep 16 11:33:22 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (rb_str_match): should return nil.
Wed Sep 15 22:46:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_s_quote): should quote `-' too.
Tue Sep 14 15:23:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (yylex): no need to ignore `\r' here.
* parse.y (nextc): strip `\r' from text.
* parse.y (nextc): support `__END__\r\n' type terminator.
Mon Sep 13 10:49:19 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_eval): needless RTEST(ruby_verbose) removed.
Wed Sep 8 11:37:38 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (make_time_t): bit more strict comparison.
Tue Sep 7 00:50:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* range.c (range_each): use rb_str_upto() for strings.
* string.c (rb_str_upto): set upper limit by comparing curr <= end.
* range.c (range_each): should check equality to handle magic
increment.
Mon Sep 6 22:43:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): break/next/redo available within -n/-p loop.
Fri Sep 3 11:14:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* compar.c (cmp_equal): should not raise exception; protect by
rb_rescue().
Thu Sep 2 05:23:05 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* file.c (rb_file_s_expand_path): use dirsep, instead of character
literal '/'.
* file.c (rb_file_s_expand_path): reduce multiple dirsep at the top.
Wed Sep 1 00:28:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call): call rb_undefined() if a method appears not to
be exist explicitly from cache.
* eval.c (rb_method_boundp): check method cache before calling
rb_get_method_body().
* eval.c (rb_get_method_body): store method non-existence
information in the cache.
* random.c (rb_f_srand): use getpid(2) to generate seed.
* regex.c (re_match): do not apply partial mbc match for
charset_not.
* regex.c (re_compile_pattern): put extended literal prefix (0xff)
only before numeric literals, not before all >0x80 char.
* regex.c (re_compile_pattern): put numeric literal in extended
charset region, not normal charset bits.
* regex.c (re_compile_fastmap): calculate fastmap for charset and
charset_not to treat numeric literal (e.g. \246) specially.
Fri Aug 28 17:32:55 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (rb_eval): should set return value (nil) explicitly if a
value is ommited for return statement.
Thu Aug 26 15:06:11 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* gc.c (rb_gc): local variables may be placed beyond stack_end, so
use an address from alloca(1) on non C_ALLOCA platforms.
Thu Aug 26 01:24:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): "%%" is legal, but "%3.14%" is not.
Mon Aug 23 00:00:54 1999 Tsukada Takuya <tsukada@fminn.nagano.nagano.jp>
* regex.c (re_compile_fastmap): wrong macro caused memory leak.
Sat Aug 21 11:30:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ADJ): should not adjust addresses to data on heap.
Fri Aug 20 20:50:58 1999 Kenji Nagasawa <kenn@hma.att.ne.jp>
* defines.h (PATH_SEP): path separator is ";" for OS/2.
Thu Aug 19 10:50:43 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* gc.c (rb_gc): add volatile to avoid GCC optimaize bug(?).
Wed Aug 18 23:48:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* due to disk trouble, some change records were lost. several
modification made to eval.c, gc.c, io.c, pack.c,
ext/extmk.rb.in, and lib/mkmf.rb.
Fri Aug 13 15:41:39 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.0 released.
Fri Aug 13 03:16:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_forward): since $stdout may be non-IO, ARGF.file is
not granteed to be IO. check and forwarding added to every ARGF
method.
* io.c (set_outfile): $stdout/$stderr may not be IO now.
* io.c (set_stdin): $stdin may not be IO now.
* range.c (rb_range_beg_len): round `end' to length as documented.
* io.c (Init_IO): preserve original stdin/stdout/stderr.
Thu Aug 12 13:44:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (Init_load): require receives 1 argument.
* eval.c (frame_dup): should clear tmp to avoid dangling
references.
Wed Aug 11 13:33:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_eval): no automatic aggregate initialization.
* eval.c (module_setup): ditto.
Wed Aug 11 18:18:41 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* eval.c (yield_under_i): automatic aggregate initialization is an
ANSI feature.
Wed Aug 11 10:10:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): parse `[].length==0' as `([].length)==0', not
`([].length=)=0'
* parse.y (yylex): parse `[].length!=0' as `([].length)!=0', not
`([].length!)=0'
* parse.y (peek): peek-in lexical buffer.
Wed Aug 11 00:34:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): bug on backward jump adjustment concerning
stop_paren.
Tue Aug 10 14:54:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/nkf/nkf.c (rb_nkf_guess): binary detection was wrong.
Tue Aug 10 00:07:36 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_clone): should use CLONESETUP().
Mon Aug 9 23:57:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (CLONESETUP): should have copied generic instance
variables too.
Mon Aug 9 10:46:54 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/extconf.rb: add check for <arpa/nameser.h> and
<resolv.h>.
Sat Aug 7 13:19:06 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (flo_cmp): comparing NaN should not return value.
raises FloatDomainError.
Sat Aug 7 03:09:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (blk_free): free copied frames too.
* eval.c (frame_dup): should copy previous frames from stack to
heap to preserve frame information.
Fri Aug 6 15:01:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.7 - version 1.4 beta
* ext/socket/socket.c (s_recv): UDPsocket#recvfrom now returns
IPsocket#addr information.
* array.c (rb_ary_subary): ary[-3,3] should not return nil.
Thu Aug 5 10:58:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_mark): protect old ruby_frame from GC during it
replaced by eval().
* eval.c (eval): do not modify frame.prev; binding should preserve
information about calling() too.
* eval.c (rb_yield_0): no arity check for mere yield; but only for
Proc#call.
Tue Aug 3 22:07:13 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
* object.c (rb_mod_clone): should check if iv_tbl, m_tbl are
initialized.
Tue Aug 3 19:03:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_any_cmp): use rb_with_disable_interrupt() to ensure
clearance of rb_prohibit_interrupt even on failure.
* eval.c (rb_with_disable_interrupt): new function added.
Sat Jul 31 23:23:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_create_0): set THREAD_RAISED flag on thread
termination by exception.
* eval.c (rb_thread_join): `$!' may not be nil for the threads
created in rescue clause.
* eval.c (rb_thread_status): ditto.
* eval.c (rb_thread_join): should re-raise exception for already
dead threads too.
Fri Jul 30 17:56:54 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* object.c (rb_mod_ge): wrong comparison.
Fri Jul 30 12:15:44 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/tcltklib/extconf.rb: win32 support.
* lib/mkmf.rb: use append_library().
* ext/extmk.rb.in: ditto.
Fri Jul 30 02:11:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_delete): should return nil for deleting non
existing item.
* io.c (rb_io_close): call rb_sys_wait() on explicit close.
* io.c (rb_io_fptr_close): do not call rb_sys_wait() on finalize.
* eval.c (yield_under_i): cbase context should be maintaind for
Module#module_eval(). suggested by <inaba@st.rim.or.jp>.
Wed Jul 28 01:18:28 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* Makefile.in: add -I$(hdrdir)/lib to install using ftools.
* util.c: use HAVE_FCNTL_H, not HAVE_FCNTL
Wed Jul 28 18:24:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.6 - version 1.4 alpha
Tue Jul 27 09:38:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* eval.c (rb_eval): reduce recursive rb_eval() calls by
NODE_BLOCKs.
Tue Jul 27 01:20:40 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* file.c (rb_file_s_expand_path): drive letter patch.
Mon Jul 26 02:36:31 1999 Shugo Maeda <shugo@netlab.co.jp>
* eval.c (rb_load): should clear ruby_nerr.
* eval.c (rb_thread_join): oldbt should not be empty to unshift.
Sun Jul 25 12:09:16 1999 Koji Arai <JCA02266@nifty.ne.jp>
* dir.c (push_braces): should treat nested braces.
Fri Jul 23 02:49:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_clear): dummy argument added; suggested by
<eguchi@shizuokanet.ne.jp>. thanks.
Thu Jul 22 19:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_join): get_backtrace() may retrun Qnil.
typecheck added.
Tue Jul 20 14:36:43 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* range.c (range_each): do not treat String specially (for future
override).
Tue Jul 20 02:28:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_gets): $_ should be nil, when get returns nil.
* io.c (rb_f_gets): ditto.
Mon Jul 19 17:13:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): should continue fastmap compile
for anychar_repeat, for it's repeat anyway.
Mon Jul 26 13:33:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* lib/jcode.rb: replaced by faster code.
Mon Jul 19 01:57:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/mkmf.rb: no longer use install program.
* ext/extmk.rb.in: use miniruby to install programs.
Sat Jul 17 00:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ipaddr): don't do reverse lookup if
attribute do_not_reverse_lookup is set for socket classes.
Experimental. Note this is a global attribute.
Fri Jul 16 22:18:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_eof): use feof() to check EOF already met.
* io.c (read_all): should return nil at EOF.
Fri Jul 16 13:39:42 1999 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/telnet.rb: version 0.231.
Fri Jul 16 10:58:22 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* regex.c (re_match): debug print removed.
Fri Jul 16 09:58:15 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* many files: clean up unsed variables found by gcc -Wall.
* lib/mkmf.rb: better cygwin support etc.
* ext/extmk.rb.in: ditto.
* instruby.rb: ditto.
Fri Jul 16 01:37:50 1999 Koji Arai <JCA02266@nifty.ne.jp>
* string.c (rb_str_squeeze_bang): the type of local variable `c'
should be int, not char.
* string.c (rb_str_reverse): should always return copy.
Thu Jul 15 23:25:57 1999 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: better display & frame treatment.
Thu Jul 15 21:16:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_each): returns self for normal termination;
returns nil for break.
* string.c: non bang methods (e.g. String#sub) should always
return copy of the receiver.
Thu Jul 15 21:09:15 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* eval.c (find_file): do not add empty string to the path.
* configure.in (with-search-path): should not add empty string if
the option is not supplied.
Thu Jul 15 17:49:08 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
* ext/tcltklib/tcltklib.c: move `#include "ruby.h"' forward.
Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.5 - version 1.4 alpha
Wed Jul 14 23:45:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (ruby_init): initialize for the first time only.
Tue Jul 13 00:15:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_index): re-defined; method to retrieve a key
from the value.
* hash.c (Init_Hash): member? should be re-defined for Hash.
Tue Jul 12 13:54:51 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* io.c (rb_file_sysopen): wrong number of argument.
Mon Jul 12 11:52:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_missing): class name included in message.
* eval.c (print_undef): better error message.
Sun Jul 11 05:36:17 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: patch to show proper position.
Fri Jul 9 23:56:14 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* dln.c (dln_find_1): path conv. moved to conv_to_posix_path.
* dln.c (conv_to_posix_path): path conv. should be done.
Fri Jul 9 10:26:47 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* random.c (RANDOM_NUMBER): should place parentheses.
Fri Jul 8 11:00:51 1999 Shugo Maeda <shugo@netlab.co.jp>
* numeric.c (fix_div): division may be out of fixnum range.
* bignum.c (bigdivmod): proper sign calculation to result.
Wed Jul 7 18:27:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* st.c (st_delete_safe): was modifying wrong slot.
Mon Jul 5 13:17:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (rb_gc_call_finalizer_at_exit): close all files at exit.
Fri Jul 2 18:00:21 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/Mail/README: Mail-0.3.0 added to the distribution.
Fri Jul 2 01:45:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): avoid allocation of register
variables for each invocation of re_match(). Suggested by
Zasukhin Ruslan <ruslan@paradigmasoft.com>. Thanks.
Tue Jun 29 20:39:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/tk/lib/tk.rb (TkVariable): bug fix; should value type check
be added?
* string.c (rb_str_each_line): a bug in paragraph mode.
* ruby.c (load_file): shifted too much to skip #!.
Tue Jun 29 06:50:21 1999 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/CGI.rb: 0.30 - cleanup release, incompatible.
* lib/telnet.rb: 0.22 - timeout added.
Tue Jun 29 10:49:25 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* configure.in: better Rhapsody support.
* lib/mkmf.rb: Rhapsody/NEXTSTEP support.