/
ChangeLog
4329 lines (2368 loc) · 129 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 May 31 16:06:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.4 - preliminary release for 1.4
Mon May 31 15:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_fptr_close): close on IO which main_thread is
waiting cause serious exception, that vanishes the actual fd
closing. Invocation of rb_thread_fd_close() is deferred
a little.
Sat May 29 18:27:13 1999 Koji Arai <JCA02266@nifty.ne.jp>
* regex.c (re_match): stack boundary check needed.
Sat May 29 12:27:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/tcltklib/tcltklib.c (ip_invoke): proper ref count management
to avoid leak.
* eval.c (ruby_run): moved ruby_require_libraries() to handle `-r'
from ruby_options() to avoid stack corruption for threads
created in libraries.
Sat May 29 02:22:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_yield_0): when `for' appeared in blocks, it
introduced new scope for local variables.
Fri May 28 17:16:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_squeeze_bang): squeeze AND of the arguments.
UNDOCUMENTED.
* string.c (rb_str_count): new UNDOCUMENTED method.
* string.c (rb_str_delete_bang): delete AND of the arg ranges.
UNDOCUMENTED FEATURE for 1.3.x.
* ext/socket/socket.c (setipaddr): re-wrote using ip_addrsetup().
* ext/sockt/socket.c (ip_addrsetup): decode symbolic address
<broadcast>.
Thu May 27 12:27:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (tr_trans): should handle NUL (\0) within strings.
Tue May 25 16:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_f_syscall): syscall may return values other than zero
on success.
* regex.c (re_match): handle empty loop properly (hopefully).
* regex.c (re_match): remove empty group check, because it does
not help non-grouping parentheses (?:..).
* regex.c (re_compile_fastmap): treating try_next, finalize_push
wrong way.
* regex.c: remove some obsolete functions such as
group_match_null_string_p().
Mon May 24 14:47:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (read_backslash): read backslash by regex.
Sun May 23 19:44:58 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/pty/pty.c (getDevice): portability patch.
Fri May 21 23:01:26 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c (GET_AI): should set error code.
Thu May 20 03:43:44 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
* ext/socket/socket.c: you should use sockaddr_storage to handle
IPv6 addresses.
* ext/socket/getaddrinfo.c (getaddrinfo): prevent retrieving
AF_INET6 address if hints.ai_flags == AI_PASSIVE.
Wed May 19 12:27:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (exec_end_proc): should protect exceptions.
* gc.c (run_final): ditto.
* parse.y (f_rest_arg): allow just * for rest arg.
* parse.y (mlhs_basic): allow * without formal argument.
* regex.c (re_match): the variable `part' should be initialized.
Tue May 18 15:25:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): a bug in range adjustment.
Tue May 18 11:35:59 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dln.c (conv_to_posix_path): path_len argument added.
Mon May 17 12:26:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_rev): should treat Fixnum as signed long.
* eval.c (massign): add strict number check for yield (and call).
* eval.c (proc_arity): new method to return number of arguments.
* eval.c (method_arity): new method to return number of arguments.
* parse.y (read_escape): char may be unsigned.
* string.c (rb_str_succ): ditto.
* string.c (tr_trans): ditto.
* object.c (Init_Object): methods `&', `|', `^' are added to nil.
* range.c (rb_range_beg_len): it should be OK for [0..-len-1].
* regex.c (re_search): search for byte literal within mbcs.
* regex.c (is_in_list): parsh
* regex.c (re_compile_fastmap): should have not alter the loop
variable `j' if TRASLATE_P().
* regex.c (re_compile_pattern): escaped characters should be read
by PATFETCH_RAW(c).
Sat May 15 11:23:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): endline2 (\Z) should not match at the point
between a newline and end-of-line, like endline ($).
* class.c (include_class_new): should initialize iv_tbl to share
between module and iclass.
Fri May 14 08:50:27 1999 Akira Endo <akendo@t3.rim.or.jp>
* regex.c (re_compile_fastmap): it should be k != 0 to skip.
Fri May 14 12:46:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_load): a bug in old marshal format support.
* instruby.rb: make site_ruby directory.
Fri May 14 10:18:02 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* regex.c (re_match): a bug in inline `.*' etc.
Fri May 14 09:58:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* ruby.c (addpath): should have specified string length.
Thu May 13 10:40:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval_string_wrap): new function.
* regex.c (re_compile_pattern): POSIX line match should alter
behavior for `^' and `$' to begbuf and endbuf2 respectively.
* ext/pty/pty.c: un-ANSI-fy function arguments.
Wed May 12 14:19:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* struct.c (iv_get): in case of inheritance of generated struct
class, __member__ and __size__ should also be inherited.
Thanks for Pros Yeboah <yeboah@tu-harburg.de>.
* io.c (rb_f_gets_internal): should check number of arguments
before checking rb_rs == rb_default_rs. Thanks for Koji Arai
<JCA02266@nifty.ne.jp>.
Tue May 11 08:29:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): .?, .+ did not work.
Mon May 10 00:59:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/jcode.rb: forgot to squeeze on reverse (complement) case.
* string.c (tr_squeeze): should not set modify flag to be honest,
if the string is not modified.
* signal.c (Init_signal): SIGTERM should not be handled.
* regex.c (re_match): seeking for longest match is now optional,
which can be set using RE_OPTION_POSIXMATCH. This satisfies
POSIX longest match as much as Emacs's posix-* functions, which
are known to be incomplete.
Sun May 9 13:04:01 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_s_getaddrinfo): conversion from
Fixnums to C integers needed.
Sun May 9 11:51:43 1999 Koji Arai <JCA02266@nifty.ne.jp>
* range.c (range_eqq): reverse condition.
* range.c (range_s_new): default should be end inclusive.
Sat May 8 03:27:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (thread_connect): replace nasty
rb_thread_fd_writable() with rb_thread_select().
Fri May 7 20:49:00 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c (inet_pton): wrong parameter to
inet_aton().
* ext/socket/addrinfo.h (__P): silly cut and paste typo.
Fri May 7 17:03:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (glob): removed GPL'ed glob.c completely.
Fri May 7 08:17:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/sdbm/extconf.rb: sdbm extension added to the distribution.
Fri May 7 01:42:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (tcp_s_gethostbyname): aboid using struct
sockaddr_storage.
Thu May 6 13:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_indexes): should not use rb_ary_concat().
Thu May 4 12:34:18 1999 Koji Arai <JCA02266@nifty.ne.jp>
* parse.y (parse_string): there shuould be newline escape by
backslashes in strings.
* parse.y (parse_qstring): ditto.
Mon May 3 04:37:20 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/tcltklib/extconf.rb: better search for libX11.
* range.c (range_s_new): embarrassing =/== typo.
* re.c (Init_Regexp): failed to set default kcode.
Mon May 3 02:39:55 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ext/socket/socket.c (open_inet): typo (res and res0).
Tue May 4 02:07:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* mkconfig.rb: leave undefined $(VARIABLE) unexpanded in the
Config::CONFIG hash table.
Mon May 3 09:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): expand exactn{n} at compile time.
handles stop_paren specially.
* regex.c (re_compile_pattern): expand x{n} at compile time.
* regex.c (re_search): posix line match should be checked.
* regex.c (re_search): a bug in anchor condition.
Fri Apr 30 18:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.3
* string.c (rb_str_rindex): position should be END point, not
START point.
* re.c (rb_reg_search): pos means end point on reverse now.
* array.c (rb_ary_s_create): should clear ary->ptr to avoid
potential gc crash.
Fri Apr 30 15:24:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/addrinfo.h: compatibility hack for ipv4.
* ext/socket/socket.c: itojun's ipv6 patches applied.
* ext/socket/extconf.rb: detect ipv6 features based on itojun's
ipv6 patches.
* ext/extmk.rb.in (enable_config): can handle --enable-xxx now.
* lib/mkmf.rb (enable_config): ditto.
Fri Apr 30 05:22:23 1999 Shugo Maeda <shugo@netlab.co.jp>
* string.c (rb_str_aset): last index should not append.
Thu Apr 29 18:55:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* dln.c (conv_to_posix_path): remove const from args.
* ruby.c (rubylib_mangle): remove Fatal(), the obsolete function.
Tue Apr 27 14:11:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (fname): lazy workaround for keywords did not work well.
* ext/extmk.rb.in: `--with-xxx=yyy' argument configuration.
* lib/mkmf.rb: ditto.
* misc/ruby-mode.el: forgot to handle $`.
* ext/extmk.rb.in: better AIX link support proposed by
<komatsu@sarion.co.jp>.
Mon Apr 26 16:46:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/extmk.rb.in: AIX shared library support modified.
* ext/aix_mksym.rb: ditto.
* configure.in: ditto.
* sprintf.c (rb_f_sprintf): should allocate proper sized buffer
for float numbers.
Sat Apr 24 00:00:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (operation): syntax like `a.[]=(1,2)' is allowed.
Fri Apr 23 23:54:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_binmode): binmode method added to ARGF.
Fri Apr 23 13:55:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_f_chomp): should assign the result to $_. or maybe
sub/gsub/chop/chomp should NOT assign $_ altogether.
Thu Apr 22 16:50:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_callcc): call scope_dup() for all scopes in
the interpreter stack.
Tue Apr 20 11:24:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dump): `#' should be escaped.
Tue Apr 20 02:32:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): option /p for posix match added.
* re.c (rb_reg_desc): did not print options properly.
* io.c (rb_file_s_open): intialize was called twice.
Mon Apr 19 18:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* configure.in (DEFAULT_KCODE): can specify default code for
$KCODE by --with-default-kcode=(euc|sjis|utf8|none).
* regex.c (IS_A_LETTER): a byte sequence shorter than mbc should
not match with \w etc.
Mon Apr 19 13:49:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (eval): should restore ruby_dyna_vars.
Fri Apr 16 21:40:43 1999 Nobuetsu Nokada <gea02117@nifty.ne.jp>
* io.c (f_backquote): pipe_open may return nil.
* io.c (f_open): rb_io_open may return nil.
* io.c (io_s_foreach): ditto.
* io.c (io_s_readlines): ditto.
* io.c (io_defset): wrong message.
Fri Apr 16 15:09:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_str2inum): strtoul() returns long, not int.
* eval.c (rb_load): size of VALUE and ID may be different.
* util.c (mmprepare): int is too small to cast from pointers.
* config.guess: avoid 'linux-gnu' for alpha-unknown-linux.
Thu Apr 15 23:46:20 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (rubylib_mangle): mangle path by RUBYLIB_PREFIX.
Wed Apr 14 23:52:51 1999 SHIROYAMA Takayuki <psi@tokyo.stellar.co.jp>
* node.h (NODE_LMASK): should be long to avoid overflow.
Wed Apr 14 13:14:35 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* dln.c: AIX dynamic link.
* ext/aix_ld.rb: ditto.
Wed Apr 14 12:19:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/thread.rb: Queue#{enq,deq} added.
Tue Apr 13 17:43:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_s_create): Hash::[] acts more like casting.
Tue Apr 13 00:33:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_stdio_set): warning for assignment to the variables
$std{in,out,err}.
Mon Apr 12 23:12:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_reopen): check for reopening same IO.
Fri Apr 9 17:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rb_compile_string): bug for nested eval().
* regex.c (re_match): should pop non-greedy stack items on
failure, after best_regs are fixed.
Thu Apr 8 17:30:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_LENGTH_ADJUST): need to adjust for `*' length.
Tue Apr 6 23:28:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (void_check): add void context checks.
Mon Apr 5 12:23:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_s_at): should copy gmt-mode.
* eval.c (eval_node): preserve ruby_eval_tree.
Fri Apr 2 14:00:34 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: wrong command interpreting.
Fri Apr 2 11:46:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.2
Fri Apr 2 10:40:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_s_pipe): forgot to define IO::pipe.
Thu Apr 1 14:40:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (assign): modified for rhs change.
* parse.y (stmt): unparenthesisized method calls can be right hand
side expression of the assignment.
Sat Mar 27 22:42:47 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/nkf/nkf.c (rb_nkf_kconv): check size output_ctr before
decrement.
Thu Mar 25 09:11:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_s_at): preserve gmt-mode for result.
* parse.y (rb_compile_string): do not use cur_mid, use
compile_for_eval instead.
* st.c (PTR_NOT_EQUAL): wrong logical condition.
Wed Mar 24 13:06:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yycompile): should clear cur_mid after compilation.
* io.c (next_argv): need to check type for ARGV.shift.
* eval.c (blk_copy_prev): need to preverse outer scope as well as
outer frames.
* parse.y (rb_compile_string): return can appear within eval().
Tue Mar 23 10:15:07 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: AC_C_CONST check added.
Tue Mar 23 02:07:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_plus): preserve gmt-mode for result.
Mon Mar 22 01:32:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): adjust line numbers before expression
interpolation within strings.
* eval.c (rb_eval): defined? returns nil for false condition.
* numeric.c (num_nonzero_p): returns nil for false condition.
Sat Mar 20 13:07:43 1999 Keiju Ishitsuka <keiju@rational.com>
* lib/weakref.rb: avoid leak for two weakrefs for one object.
Fri Mar 19 11:26:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (ruby_run): needed to eval END{} on exit.
* eval.c (rb_exit): ditto.
Fri Mar 19 02:17:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* signal.c (Init_signal): handles terminating signals HUP, TERM,
QUIT, PIPE, etc.
Thu Mar 18 15:47:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_and): bug in sign calculation.
* bignum.c (rb_big_or): ditto.
* io.c (rb_f_select): forgot to use to_io to retrieve IO, after
calling select(2).
Tue Mar 16 19:54:31 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in: static linking cause infinite make loop.
Tue Mar 16 18:50:04 1999 Yoshida Masato <yoshidam@yoshidam.net>
* ext/socket/socket.c (tcp_s_gethostbyname): typo, not NUM2INT(),
but INT2NUM().
* ext/socket/socket.c (mkhostent): ditto.
Tue Mar 16 12:31:44 1999 Ryo HAYASAKA <hayasaka@cheer.u-aizu.ac.jp>
* file.c (utime_internal): suppress warning by const.
* time.c (time_gmtime): ditto.
Tue Mar 16 10:23:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_clone): Time object can be cloned.
Tue Mar 16 03:13:10 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ruby.c (load_file): argv[argc] should be NULL.
Mon Mar 15 22:12:08 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* sprintf.c (rb_f_sprintf): typo in arg_num check at exit.
Mon Mar 15 16:42:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_dup): dup2 should copy class too.
Mon Mar 15 15:12:53 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* lib/mkmf.rb: install program relative path check.
Mon Mar 15 14:05:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_s_new): 2nd argument is now option.
Regexp::EXTENDED can be specified.
Fri Mar 12 10:47:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_index): str.index("") should always match at
offset point.
* string.c (rb_str_upto): can specify end point exclusion.
* string.c (rb_str_index): negative offset.
* regex.c (re_match): begline should not match at the point
between a newline and end-of-string. endline neither.
* regex.c (re_compile_pattern): context_indep_anchors .
* parse.y (parse_regx): need not to push backslashes before
escaped characters.
* eval.c (rb_thread_join): re-raises exception within target.
Fri Mar 12 01:09:36 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/readline/readline.c (readline_s_vi_editing_mode): wrong
number of arguments.
Fri Mar 12 02:12:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_ITEM_ADJUST): "a".unpack("C3") => [97, nil, nil]
Thu Mar 11 18:23:50 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ext/socket/socket.c (Init_socket): UDPsocket was ommited.
Thu Mar 11 16:43:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_LENGTH_ADJUST): push fixed number of items per
template to result array.
* pack.c (pack_unpack): I/N/C etc. push nil in the array for "".
Tue Mar 9 00:19:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (ruby_unsetenv): use ruby_setenv(name, 0).
* hash.c (env_delete): ditto.
* string.c (rb_str_upto): do not check `beg<end' to generate
strings for the pattern like "a".upto("#a").
* range.c (range_each): treat strings as special case.
* range.c (range_each): no longer use upto for generic cases.
Sun Mar 7 14:21:32 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp>
* string.c (rb_str_index): wrong end point calculation.
Sat Mar 6 02:19:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_index): MatchingData#index(n) added.
* array.c (rb_ary_subseq): ary[n..-1] returns an sub-array unless
n is too small negative index.
* re.c (rb_reg_match_method): Regexp#match(str) added.
* array.c (rb_ary_indexes): understands ranges as indexes.
* re.c (match_size): MatchingData#size added.
Fri Mar 5 01:04:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_fill): modified for range.
* array.c (rb_ary_aset): a[n..m] revisited.
Thu Mar 4 14:23:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_subseq): a[n..m] revisited.
* parse.y (method_call): allow Const::method{}.
* array.c (rb_ary_replace_method): should replace original array.
Thu Mar 4 02:30:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* configure.in: remove --disable-thread, thread feature is no
longer optional.
Thu Mar 4 00:32:17 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* parse.y (read_escape): wrong arguments for scan_oct,scan_hex.
Wed Mar 3 11:51:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (Init_socket): rename class names as
TCPsocket -> TCPSocket etc.
Tue Mar 2 19:46:42 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* configure.in (LDSHARED): use gcc -Wl,-G for solaris with gcc.
Tue Mar 2 17:04:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): backslashes do not concatenate comment lines
anymore.
Mon Mar 1 14:05:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call0): adjust argv for optional arguments. super
without arguments emit superclasse method with the value from
optinal arguments. enabled as experiment.
Sun Feb 28 14:04:07 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* parse.y (nextc): backslash at the eof cause infinite loop
Sun Feb 28 11:01:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (make_time_t): month range check added.
Sat Feb 27 02:36:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (Init_Regexp): add escape as alias of quote.
* re.c (rb_reg_s_quote): char-code can be specified now.
Fri Feb 26 18:45:36 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (error_print): bug for error message with newlines.
Fri Feb 26 12:00:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): future check modified to allow 1969-12-31
at certain timezone.
* time.c (time_arg): year >= 1000 should be past.
* version.c (Init_version): constant RELEASE_DATE added.
Fri Feb 26 01:08:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): returns nil for out-of-range access.
* array.c (rb_ary_subseq): returns nil for out-of-range access.
* array.c (rb_ary_store): negative index message has changed.
* string.c (rb_str_aset): reallocation needed.
* string.c (rb_str_aset): allow char append to the string.
Thu Feb 25 23:30:17 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (time_load): tm_year should be packed in 17 bits, not 18.
Thu Feb 25 12:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/dup2.c: replaced by public domain version.
* time.c (make_time_t): add `future check' in loops.
* object.c (rb_num2dbl): forbid implicit conversion from nil, or
strings. thus `Time.now + str' should raise error.
* object.c (rb_Float): convert nil into 0.0.
* object.c (rb_Integer): conversion method improved.
Thu Feb 25 03:27:50 1999 Shugo Maeda <shugo@netlab.co.jp>
* eval.c (rb_call): should handle T_ICLASS properly.
Thu Feb 25 00:04:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (Init_Exception): global function Exception() removed.
* variable.c (rb_class2name): returns "nil"/"true"/"false" for them.
* time.c (time_dump): time marshaling format compressed size from
11 bytes to 8 bytes. thanx to tadf@kt.rim.or.jp.
* eval.c (rb_obj_call_init): should specify arguments explicitly.
Wed Feb 24 15:43:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): comment concatenation requires preceding space
before backslash at the end of line.
* io.c (rb_f_pipe): global pipe is obsolete now.
* object.c (Init_Object): remove true.to_i, false.to_i.
Tue Feb 23 14:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): warn if identifier! immediately followed by `='.
Tue Feb 23 12:32:41 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_load): tilde expandion moved to find_file.
* eval.c (find_file): tilde expandion added.
Tue Feb 23 10:50:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (require_method): require can handle multiple fnames.
* hash.c (rb_hash_foreach_iter): hash key may be nil.
Mon Feb 22 17:44:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): should not pop failure point on success for
non-greedy matches.
* io.c (Init_IO): remove global_functions getc, readchar, ungetc,
seek, tell, rewind.
Sat Feb 20 22:54:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (rb_num2long): no implicit conversion from boolean.
Sat Feb 20 09:58:42 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (flo_to_s): portable Infinity and NaN support.
Sat Feb 20 07:13:31 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* io.c (rb_file_sysopen): forgot to initialize a local variable.
Fri Feb 19 23:05:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_subseq): range check changed.
* marshal.c: increment MARSHAL_MINOR for Time format change.
* time.c (time_old_load): support old marshal format.
* time.c (time_load): changed for new format Y/M/D/h/m/s/usec.
* time.c (time_dump): marshal dump format has changed.
Fri Feb 19 00:25:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): should reject "sep\0" and such.
* time.c (time_plus): Time#+ should not receive Time object
operand.
* string.c (rb_str_substr): nagative length raises exception now.
* array.c (beg_len): if end == -1, it points end of the array.
* array.c (rb_ary_subseq): nagative length raises exception now.
Thu Feb 18 20:57:04 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (rb_strftime): strftime() may return 0 on success too.
* time.c (time_strftime): `\0' within format string shoule not be
ommited in the result.
* time.c (rb_strftime): zero length format.
* time.c (time_to_a): yday start with 1 now.
* time.c (time_zone): support for long timezone name.
* time.c (time_yday): yday start with 1 now.
* time.c (time_minus): minus calculation was wrong.
* time.c (time_minus): sec, usec should be at least `long', maybe
they should be `time_t'.
* time.c (time_plus): addition with float was wrong.
* time.c (time_to_s): support for long timezone name.
* time.c (time_gm_or_local): too far future check moved.
* time.c (time_arg): treat 2 digit year as 69-99 => 1969-1999,
00-68 => 2000-2068
Thu Feb 18 03:56:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/fnmatch.c: moved to missing directory.
Wed Feb 17 16:22:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* struct.c (rb_struct_alloc): actual initialization now be done in
`initialize'.
Wed Feb 17 09:47:15 1999 okabe katsuyuki <hgc02147@nifty.ne.jp>
* regex.c (re_search): use mbclen() instead of ismbchar().
* re.c (rb_reg_s_quote): should handle mbchars properly.
Wed Feb 17 01:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): stop comment concatenation by backslash follows
after >= 0x80 char. may cause problem with Latin chars.
* eval.c (error_print): exception in rb_obj_as_string() caused
SEGV. protect it by PUSH_TAG/POP_TAG.
* error.c (exc_exception): `Exception#exception' should return self.
Wed Feb 17 01:12:22 1999 Hirotaka Ichikawa <hirotaka.ichikawa@tosmec.toshiba.co.jp>
* configure.in: BeOS patch.
Tue Feb 16 14:25:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): should reallocate mbc space for
character class unless current_mbctype is ASCII.
Mon Feb 15 15:48:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* configure.in: specify `-Wl,-E' only for GNU ld.
Mon Feb 15 11:43:22 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* array.c (rb_inspecting_p): should return Qfalse.
Sun Feb 14 22:36:40 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* sprintf.c (rb_f_sprintf): `%G' was ommited.
Sun Feb 14 12:47:48 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (Init_Numeric): allow divide by zero on FreeBSD.
* numeric.c (Init_Numeric): FloatDomainError added.
* configure.in (AC_REPLACE_FUNCS): add checks for functions
insinf, isnan, and finite.
Sat Feb 13 01:24:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_create_0): should protect th->thread.
Fri Feb 12 16:16:47 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* string.c (rb_str_inspect): wrong mbc position.
Fri Feb 12 16:21:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_fd_close):
* io.c (rb_io_fptr_close): tell scheduler that fd is closed.
* io.c (rb_io_reopen): ditto.
* io.c (READ_CHECK): check if closed after thread context switch.
* ext/socket/socket.c (bsock_close_read): do not check
the return value from shutdown(2).
* ext/socket/socket.c (bsock_close_write): ditto.
* ext/socket/socket.c (sock_new): need to dup(fd) for close_read
and close_write.
* parse.y (here_document): handle newlines within #{}.
* regex.h: should replace symbols for ruby.
Fri Feb 12 00:46:28 1999 Shugo Maeda <shugo@netlab.co.jp>
* marshal.c (r_object): should update the method name in message.
* marshal.c (w_object): limit should be converted into Fixnum.
Wed Feb 10 15:20:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): empty pattern should not cause infinite
pattern match loop.
* regex.c (re_compile_pattern): RE_OPTIMIZE_ANCHOR for /.*/, not
for /(.|\n)/.
* numeric.c (fix_pow): `fixnum**nil' should raise TypeError.
* bignum.c (rb_big_pow): need to normalize results.
Wed Feb 10 01:42:41 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (fix_pow): `(5**1).type' should be Integer.
Tue Feb 9 01:22:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): do not ignore newlines in mbchars.
* io.c (rb_file_s_open): mode can be specified by flags like
open(2), e.g. File::open(path, File::CREAT|File::WRONLY).
* io.c (rb_f_open): bit-wise mode flags for pipes
* io.c (Init_IO): bit flags for open.
Sat Feb 6 22:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_sub_bang): should not overwrite match data by
regexp match within the block.
* string.c (rb_str_gsub_bang): ditto.
Sat Feb 6 03:06:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_getter): accessng $~ without matching caused SEGV.
Fri Feb 5 22:11:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y (yylex): binary literal support, like 0b01001.
* parse.y (yylex): octal numbers can contain `_'s.
* parse.y (yylex): warns if non-octal number follows immediately
after octal literal.
* parse.y (yylex): now need at least one digit after prefix such
as 0x, or 0b.
* bignum.c (rb_str2inum): recognize binary numbers like 0b0101.
Fri Feb 5 03:26:56 1999 Yasuhiro Fukuma <yasuf@big.or.jp>