-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
7830 lines (4304 loc) · 234 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
Sat Jul 15 01:32:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (Init_eval): should prohibit `include' and
`module_function' for class Class. The latter was very
dangerous.
Fri Jul 14 17:19:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile.in: use miniruby instead of sed.
Fri Jul 14 12:49:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_eof): need to check stdin, when next_p == -1.
* io.c (read_all): use io_fread() instead of fread(3).
* io.c (io_reopen): should clearerr FILE if fd < 3.
* re.c (rb_reg_match_m): the result is exported, so it should be
declared as busy.
* eval.c (rb_eval): should preserve errinfo even if return, break,
etc. is called in rescue clause.
* instruby.rb: install irb too.
Wed Jul 12 15:32:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_const_get): constants for builtin classes must
have higher priority than constants from included modules at
Object class.
* bignum.c (bigdivrem): small embarrassing typo.
Wed Jul 12 15:06:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): use rb_const_get_at().
* variable.c (top_const_get): retrieve toplevel constants only,
not ones of Object (and its included modules) in general.
Wed Jul 12 15:04:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb:
add module Net::NetPrivate and its inner classes
{Read,Write}Adapter, Command, Socket,
SMTPCommand, POP3Command, APOPCommand, HTTPCommand
Wed Jul 12 13:10:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivrem): defer bignorm().
* bignum.c (bignorm): accepts accidental fixnums.
Tue Jul 11 16:54:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `@<digit>' is no longer a valid instance
variable name.
Tue Jul 11 01:51:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_divmod): should not use Integer(float) for
the right operand.
* bignum.c (rb_big_remainder): ditto.
* bignum.c (rb_big_modulo): ditto.
Mon Jul 10 15:27:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (pipe_finalize): should set rb_last_status when pclose().
Mon Jul 10 09:07:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (rb_bug): print version number and such too.
Sat Jul 8 23:08:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_start_0): should copy previous scopes to
prevent rb_gc_force_recylce().
Fri Jul 7 23:36:36 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/addrinfo.h: move IN_EXPERIMENTAL and IN_LOOPBACKNET
definitions to ext/socket/sockport.h.
* ext/socket/extconf.rb: add getservbyport() and arpa/inet.h check.
* ext/socket/getaddrinfo.c (getaddrinfo): SOCK_RAW may not be
defined (ex. BeOS, Palm OS 2.x or before).
* ext/socket/getnameinfo.c (getnameinfo): getservbyport() may not
exist (ex. BeOS, Palm OS).
* ext/socket/sockport.h: add IN_EXPERIMENTAL, IN_CLASSA_NSHIFT,
IN_LOOPBACKNET, AF_UNSPEC, PF_UNSPEC and PF_INET.
Fri Jul 7 03:30:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (aref_args): should allow Hash[:a=>2] etc.
* numeric.c (fix_aref): convert index by NUM2INT, not FIX2INT.
(ruby-bugs:#PR37)
* time.c (time_localtime): should prohibit for frozen time.
* time.c (time_gmtime): ditto.
Thu Jul 6 19:12:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_file_s_open): should not terminate fptr; just clear it.
* ruby.c (proc_options): should not call require_libraries()
twice.
* ruby.c (require_libraries): clear req_list_head.next after
execution.
Thu Jul 6 13:51:57 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* object.c (rb_to_id): name may not be symbol nor fixnum.
* struct.c (rb_struct_s_def): name may be nil.
Thu Jul 6 02:09:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivrem): new function to return remainder.
* numeric.c (fixdivmod): now returns modulo, not remainder.
* numeric.c (flodivmod): ditto.
* bignum.c (bigdivmod): ditto.
* numeric.c (num_modulo): new method; alias to '%'.
Thu Jul 6 00:51:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c (NtCmdGlob): patterns should be separated and
NUL terminated.
Wed Jul 5 22:27:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile: use ruby.def to make rubycw.dll.
* ext/extmk.rb.in: create target.def.
* lib/mkmf.rb: ditto.
Wed Jul 5 09:47:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): Time::local, Time::gm now take 7th optional
argument for usec.
* numeric.c (num_ceil, etc): default ceil, floor, round, trancate
implementation for Numeric, using `to_f'.
* io.c (rb_io_reopen): clear fptr->path after free() to prevent
potential GC crash.
* io.c (rb_file_s_open): terminate fptr unless null.
* io.c (rb_file_initialize): ditto.
* lib/tempfile.rb: specify FILE::CREAT|File::EXCL to open for
better security.
* numeric.c (flo_truncate): new method.
Wed Jul 5 01:02:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: join ' ' -> join(' ').
* lib/mkmf.rb: ditto.
Tue Jul 4 13:51:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/dbm/dbm.c: add methods added to Hash in 1.5.x.
* ext/gdbm/gdbm.c: ditto.
* ext/sdbm/init.c: ditto.
* eval.c (proc_call): args may be Qundef (means no argument), do
not call TYPE() for args.
Tue Jul 4 13:20:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: make command line must be single-quoted.
$(RUBY_INSTALL_NAME) is command substitution in the POSIX sh.
Tue Jul 4 13:16:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* util.c (rb_type): should add T_UNDEF.
Tue Jul 4 09:30:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): supports EOF right after terminator.
* random.c (rb_f_rand): argument is now optional (rand(max=0)).
Tue Jul 4 01:50:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/ruby.def: remove ruby_mktemp.
Tue Jul 4 01:27:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_rescue2): new function to rescue arbitrary exception.
* numeric.c (do_coerce): should catch NameError explicitly.
Tue Jul 4 00:15:23 2000 Dave Thomas <Dave@thomases.com>
* numeric.c (Init_Numeric): forgot to register Numeric#remainder.
Mon Jul 3 23:46:56 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect, myaccept): disable interrupt while
executing accept() or select() to avoid Ctrl-C causes
"unknown software exception (0xc0000029)".
Mon Jul 3 18:35:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* lib/mkmf.rb: use null device if it exists for cross-compiling.
Mon Jul 3 18:19:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
* lib/net/protocol.rb (finish): do nothing unless active.
* lib/net/http.rb: HTTP#{get,post}2 again (for new impl).
Mon Jul 3 16:47:22 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile: librubys.a -> lib$(RUBY_INSTALL_NAME)s.a
* configure.in: use AC_CANONICAL_{HOST,TARGET,BUILD}.
Mon Jul 3 13:15:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_divmod): x * d + m = y where d, m = x.divmod(y).
* bignum.c (rb_big_divmod): ditto.
* numeric.c (fixdivmod): does not depend C's undifined %
behavior. adopt to fmod(3m) behavior.
* numeric.c (flo_mod): modulo now reserves fmod(3m) behavior.
* numeric.c (num_remainder): 'deprecated' warning.
Mon Jul 3 10:27:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: use AC_CANONICAL_SYSTEM.
Sun Jul 2 21:17:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: support without --enable-shared for cygwin/mingw32.
* cygwin/GNUmakefile: ditto.
* ext/extmk.rb.in: use null device if it exists for cross-compiling.
* lib/mkmf.rb: ditto.
* util.c (ruby_mktemp): remove unused ruby_mktemp().
Sun Jul 2 14:18:04 2000 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (TMP_PROTECT_END): tmp__protect_tmp may be NULL.
Sun Jul 2 03:37:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25.
* lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{}
* lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail
Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_rshift): should handle shift value more than
sizeof(long).
Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): the value from RTEST() is not valid Ruby
objct. result shoule be either true or false.
Sat Jul 1 09:30:06 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* re.c (rb_reg_initialize): was freeing invalid pointer.
Sat Jul 1 03:25:56 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (call_args): command_call can be the last argument of
call_args. It had to be the only argument.
* re.c (rb_reg_s_quote): should not dump core even for unsane mbc
string.
Fri Jun 30 01:36:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com>
* parse.y (f_norm_arg): better, nicer error message.
Thu Jun 29 07:45:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (udp_send): destination may be packed
struct sockaddr.
* object.c (rb_Integer): Integer(nil) should be invalid, on the
other hand, nil.to_i is OK.
Wed Jun 28 17:26:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ip_recvfrom): udp_recvfrom and tcp_recvfrom
is merged and moved to IPSocket#recvfrom.
* ext/socket/socket.c (sock_s_getaddrinfo): family can be a
strings such as "AF_INET" etc.
* ruby.c (require_libraries): . and RUBYLIB added to $load_path
just before -r procedure.
* ruby.c (proc_options): -e, - did not exec -r.
Wed Jun 28 14:52:28 2000 Koga Youichirou <y-koga@mms.mt.nec.co.jp>
* config.sub: NetBSD/hpcmips support.
Wed Jun 28 10:11:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c: gc trigger threshold changed; GC_NEWOBJ_LIMIT removed,
FREE_MIN is increased to 4096.
Tue Jun 27 22:39:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.24.
* lib/net/protocol.rb: modified each_crlf_line again.
* lib/net/protocol.rb: do_write_beg,do_write_end -> writing{}
do_write_do -> do_write
* lib/net/http.rb: can make proxy connection by passing
addresses to HTTP.new, start.
* lib/net/http.rb: HTTP.new_implementation, old_implementation:
can use 1.2 implementation of head, get, post, put.
(see document)
Tue Jun 27 12:05:10 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32.c (myfdclr): new function.
* win32.h: add FD_CLR.
Mon Jun 26 23:41:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ruby.h: add cast for ANSI style.
* gc.c (rb_data_object_alloc): use RUBY_DATA_FUNC.
Mon Jun 26 22:20:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (is_socket, extract_file_fd): New function.
* win32/win32.c (myfdopen): use is_socket().
* win32/win32.c (myselect): return non socket files immediately
if file and socket handles are mixed.
Mon Jun 26 16:21:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): wait_for cleared too early.
Mon Jun 26 09:15:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c: remove obsolete 'F', 'D' specifiers.
Sun Jun 25 00:55:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_s_getnameinfo): `res' would not
be assigned if TYPE(sa) == T_STRING.
Sat Jun 24 14:36:29 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* config*.dj, configure.bat, top.sed: move to djgpp/.
Sat Jun 24 02:34:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): call require_libraries() here to let
debug.rb work properly.
Fri Jun 23 22:34:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* bignum.c (rb_big_lshift): reorder xds assignment to avoid
reusing `x' as `len' by VC++ 6.0 SP3 compiler with -Ox switch.
Fri Jun 23 01:11:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): should return empty string (""),
if beg == str.size and len == zero, mostly for convenience and
backward compatibility.
* parse.y (new_super): should tweak block_pass node for super too.
* string.c (rb_str_split_m): last split element should not be nil,
but "" when limit is specified.
Thu Jun 22 17:27:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): str[n,m] now returns nil when n equals
to str.size.
Thu Jun 22 13:49:02 2000 Uechi Yasumasa <uechi@ryucom.ne.jp>
* lib/net/ftp.rb: support resuming.
Thu Jun 22 13:37:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c (rb_thread_sleep_forever): merge pause() macro.
Wed Jun 21 08:49:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should not raise exception just by defining
singleton class.
Wed Jun 21 01:18:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h: two macros RUBY_DATA_FUNC and RUBY_METHOD_FUNC are added
to make writing C++ extensions easier.
* array.c (rb_ary_dup): internal classes should not be shared by dup.
* hash.c (rb_hash_dup): ditto.
* object.c (rb_obj_dup): ditto.
* string.c (rb_str_dup): ditto.
* error.c (Init_Exception): renamed NotImplementError to
NotImplementedError.
Tue Jun 20 16:22:38 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): bug in DST boundary.
Tue Jun 20 10:54:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add eval sitedir.
Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z
* lib/net/telnet.rb: ditto.
Tue Jun 20 00:37:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_kcode_m): Regexp#kcode returns nil for code unfixed
regexp object.
* bignum.c (bigdivmod): bignum zero check was wrong.
Mon Jun 19 10:48:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_cvar_set): forgot to add security check for class
variable assignment.
Sun Jun 18 22:49:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: single quoted sitedir.
* mkconfig.rb: add DESTDIR for cross-compiling.
* lib/mkmf.rb: add DESTDIR.
* ruby.c (load_file): force binmode if fname includes ".exe"
on DOSISH.
Sat Jun 17 23:22:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): should ignore negative precision given
by <%.*>.
* sprintf.c (rb_f_sprintf): should allow zero precision.
Sat Jun 17 03:13:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_localtime): avoid unnecessary call of localtime.
* time.c (time_gmtime): avoid unnecessary call of gmtime.
* process.c (proc_wait2): new method.
* process.c (proc_waitpid): second argument made optional.
* process.c (proc_waitpid2): new method.
Sat Jun 17 00:05:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_clone): should initialize member fields.
Fri Jun 16 22:49:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_rewind): set lineno to zero.
Fri Jun 16 22:47:47 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.23.
* lib/net/protocol.rb: too many CRLF in last line.
Fri Jun 16 21:23:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add pause(2) checking.
* eval.c: define pause() if missing.
Fri Jun 16 18:41:58 2000 Koji Arai <JCA02266@nifty.ne.jp>
* process.c (proc_setsid): BSD-style setpgrp() don't return
process group ID, but 0 or -1.
Fri Jun 16 16:23:35 2000 Koji Arai <JCA02266@nifty.ne.jp>
* file.c (rb_stat_inspect): gives detailed information;
compatibility with ruby-1.4.x.
Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org>
* configure.in: FreeBSD: do not link dummy libxpg4 which was
merged into libc.
Fri Jun 16 03:17:36 2000 Satoshi Nojo <nojo@t-samukawa.or.jp>
* ext/dbm/dbm.c (fdbm_length): use GetDBM. empty?, [] too.
* ext/gdbm/gdbm.c (fgdbm_length): ditto.
* ext/sdbm/init.c (fsdbm_length): ditto.
Fri Jun 16 01:57:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_sleep_forever): pause(2) instead of sleep(3).
Thu Jun 15 10:46:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_sub_bang): should probagate taintness from
replacement string.
Wed Jun 14 17:01:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* rubytest.rb: add CONFIG['EXEEXT'] to the executable file name.
Wed Jun 14 14:50:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_f_sub): assign to $_ only if modification happens.
* string.c (rb_f_gsub): ditto.
* string.c (rb_f_chop): ditto.
* string.c (rb_f_chomp): ditto.
* io.c (io_reopen): preserve file position by ftell/fseek, if io
is a seekable.
* eval.c (method_arity): wrong arity number for the methods with
optional arguments.
* time.c (make_time_t): opposite timezone shift (should be negative).
Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c: typo(ig/if).
* re.c: typo(re/reg). add rb_reg_check().
* time.c: remove unneeded declare(daylight, timezone).
* configure.in: add include <time.h> when daylight checking.
Wed Jun 14 11:36:52 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* marshal.c (r_object): modified for symbols.
* marshal.c (w_object): ditto.
Wed Jun 14 10:04:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_memcmp): should compare according to ruby_ignorecase.
* string.c (rb_str_cmp): use rb_memcmp.
* string.c (rb_str_index): ditto.
* string.c (rb_str_rindex): ditto.
* string.c (rb_str_each_line): ditto.
Wed Jun 14 04:58:53 2000 Dave Thomas <dave@thomases.com>
* io.c (rb_io_set_lineno): should have returned VALUE, not
integer.
Wed Jun 14 09:29:42 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dup): dup should always propagate taintness.
Wed Jun 14 00:50:14 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: read_multipart(): if no content body then raise EOFError.
Tue Jun 13 11:46:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (proc_setsid): try implement it using setpgrp() and
ioctl(fd, TIOCNOTTY, NULL).
* re.c (rb_reg_prepare_re): magic variable $= should affect regex
pattern match.
* time.c (make_time_t): use tm.tm_gmtoff if possible.
* time.c (time_zone): use tm.tm_zone if available.
Tue Jun 13 01:50:57 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.22.
* lib/net/http.rb: HTTPResponse#body returns body.
Mon Jun 12 23:41:54 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in (daylight): avoid GCC optimization.
Mon Jun 12 19:02:27 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: cygwin has strange timezone.
* time.c (time_zone): use tzname and daylight.
Sat Jun 10 23:10:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_seek): whence is optional, default is SEEK_SET.
Fri Jun 9 17:00:29 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.21.
* lib/net/http.rb: exception is raised with response object.
Fri Jun 9 15:11:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): supports daylight saving time.
* eval.c (rb_thread_safe_level): should retrieve current $SAFE
value if a thread is the current thread.
Thu Jun 8 14:25:45 2000 Hiroshi Igarashi <iga@ruby-lang.org>
* lib/mkmf.rb: add target `distclean' in Makefile for extlib.
target `clean' doesn't remove Makefile.
Thu Jun 8 13:34:03 2000 Dave Thomas <dave@thomases.com>
* numeric.c: add nan?, infinite?, and finite? to Float
Thu Jun 8 00:31:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* regex.h: export re_mbctab properly on cygwin.
* dln.c: use dlopen instead of LoadLibrary on cygwin.
Thu Jun 8 13:41:34 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* file.c (rb_file_s_basename): might dump core.
Tue Jun 6 03:29:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_foreach): now returns nil for consistency.
* bignum.c (bigdivmod): modulo by small numbers was wrong.
Mon Jun 5 00:18:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* bignum.c: avoid conflict with USHORT on mingw32.
Mon Jun 5 00:13:35 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c (rb_thread_schedule): =/== typo.
Sun Jun 4 03:17:36 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: improve: CGI::pretty()
Sun Jun 4 02:01:10 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* lib/mkmf.rb: do not need to add -L$(topdir) in --enable-shared case.
Sat Jun 3 13:50:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rb_id2name): should support constant attrset
identifiers.
* bignum.c (rb_big_eq): Bignum#== should not raise exception.
Fri Jun 2 11:24:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): open with a block returns the value from the
block. old behavior was back.
Fri Jun 2 00:42:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_cleanup): should clear priority for thread
termination.
Thu Jun 01 22:39:41 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.20.
* lib/net/http.rb: wrongly closed the socket twice
when no Content-Length: was given.
Thu Jun 1 00:59:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_yield_0): convert Qundef to [].
Wed May 31 20:45:59 2000 Dave Thomas <Dave@Thomases.com>
* string.c (rb_str_slice_bang): wrong argument number.
Wed May 31 12:37:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_exec_end_proc): print error message from END procs.
Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then
output only HTTP header.
Wed May 31 01:54:21 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): set main_thread->status to
THREAD_TO_KILL, before raising deadlock error.
* eval.c (rb_thread_deadlock): if curr_thread == main_thread, do
not call rb_thread_restore_context()
Tue May 30 23:33:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* lib/mkmf.rb (create_makefile): add $(TARGET).ilk and *.pdb
to cleanup files for mswin32.
Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (rb_file_s_basename): should propagate taintness.
Sun May 28 21:37:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c: bug fix: DLEXT2.
Sun May 28 19:21:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c: use ruby's glob.
* dir.c: "glob" exported and renamed to "rb_glob".
* ruby.h: ditto.
* main.c: turn off command line mingw32's globbing.
Wed May 25 22:25:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: use "ftools" instead of "rm -f".
* lib/mkmf.rb: ditto.
Thu May 25 22:01:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* defines.h: mswin32: remove obsolete USHORT definition.
* re.h: mswin32: use EXTERN instead of extern.
* regex.h: mswin32: export re_mbctab properly.
* win32/ruby.def: add ruby_ignorecase and regex.c's exports.
Thu May 25 21:28:44 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* re.c (rb_reg_expr_str): escape un-printable character.
Thu May 25 01:35:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (tokadd_escape): forgot to add `\x' to hexadecimal
escape sequences.
* object.c (rb_obj_dup): dup for normal object (T_OBJECT) copies
instance variables only.
Wed May 24 23:49:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_mod_initialize): should provide initialize.
Wed May 24 23:17:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/Makefile: remove unnecessary mv and rm command call.
Wed May 24 21:01:04 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/pty/pty.c: use "" instead of <> to include ruby.h and rubyio.h
for BeOS (PowerPC).
* file.c (rb_find_file): should check dln_find_file() result.
* win32/ruby.def: add rb_block_given_p.
Wed May 24 16:32:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): popen does not take 3rd argument anymore.
* re.c (rb_reg_desc): re may be zero, check before dereferencing.
Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::escape(), CGI::Cookie::new()
* lib/net/telnet.rb: improve: binmode(), telnetmode() interface
Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* misc/ruby-mode.el (ruby-parse-region): support `while .. do'
etc. But corresponding keywords must be at the beginning of
line.
Tue May 23 23:50:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_initialize_m): wrong kcode value.
* re.c (rb_reg_s_new): forgot to initialize re->ptr.
Tue May 23 08:36:24 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): forgot to restore old option
status by (?ix-ix).
* regex.c (re_compile_fastmap): anychar may match newline if
RE_OPTION_MULTILINE or RE_OPTION_POSIXLINE is set.
Mon May 22 22:45:06 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.19.
* lib/net/http.rb: do not use Regexp "p" option.
Mon May 22 21:56:43 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* struct.c (rb_struct_getmember): should use ID2SYM, not INT2NUM.
Mon May 22 15:07:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (rb_find_file): should check if the file really exists.
Mon May 22 09:08:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): _exit(0) after processing block under the
child process.
* io.c (rb_io_popen): flush stdout/stderr before subprocess
termination.
* eval.c (rb_check_safe_str): insert rb_secure(4); operation
requires untainted string should be prohibited in level 4.
Sun May 21 21:17:00 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add Setup.dj for djgpp cross-compiling.
* Setup.dj: add readline.
* instruby.rb: copy win32/win32.h to archlibdir on mingw32.
Sun May 21 20:58:08 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* pack.c: fix OFF16 and OFF32 definitions for Alpha and IRIX64.
Sun May 21 17:31:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* instruby.rb: support "make install" for cross-compiling.
* ext/extmk.rb.in: ditto.
Sun May 21 14:22:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* Makefile.in: rename prep.rb to fake.rb.
* configure.in: ditto.
Sat May 20 23:29:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_s_new): does not take block; "open" does.
* io.c (rb_io_s_new): ditto.
Fri May 19 07:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_s_open): Dir#open does not returns closed Dir if a
block is given to the method.
* re.c (rb_reg_initialize_m): Regexp::new calls initialize now.
* string.c (Init_String): String#delete_at removed.
* string.c (rb_str_aset_m): should have checked argc != 2.
* eval.c (rb_thread_schedule): select(2) was called too many.
* regex.c (re_compile_pattern): a bug in (?m) support. Pointed
out by Dave Thomas <Dave@thomases.com>.
Thu May 18 23:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* dln.c (search_undef): st_lookup()'s 3rd parameter should be
a pointer of the variable which has the same size and alignment
as `char *'.
* marshal.c (w_symbol, w_object): ditto.
* parse.y (rb_intern): ditto.
Thu May 18 18:00:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.18.
* lib/net/protocol.rb: Net::Version was removed.
* lib/net/smtp.rb: use Socket.gethostname to get local host name.
Thu May 18 13:34:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ruby_connect): should not have replaced
thread_write_select() by rb_thread_fd_writable().
Thu May 18 09:01:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* configure.in, ext/extmk.rb.in, lib/mkmf.rb: remove BeOS R3 support.
Make a shared library (libruby.so) only if the --enable-shared
option is specified.
* instruby.rb: no longer use libruby.so.LIB and import.h.
* io.c: fix READ_DATA_PENDING definition for BeOS (PowerPC).
Wed May 17 14:14:23 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_new_1): use /m instead of /p.
Wed May 17 02:22:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_polling): wait 0.06 second to let other
processes run.
* process.c (rb_waitpid): avoid busy wait using rb_thread_polling.
* file.c (rb_thread_flock): ditto.
* parse.y (expr): avoid calling value_expr() twice.
Wed May 17 00:45:57 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (rb_io_binmode): should check PLATFORMs, not O_BINARY, sigh...
Wed May 17 00:40:15 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/config.h: add DLEXT2, now DLEXT on mswin32 is "so".
* win32/config.status: ditto.
* win32/ruby.def: add symbol "rb_big_divmod".
Tue May 16 19:45:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* intern.h: use EXTERN instead of extern.
* win32/ruby.def: add rb_defout, rb_stdout, ruby_errinfo,
ruby_sourceline, ruby_sourcefile to work with eruby
reported by Hiroshi Saito <HiroshiSaito@pob.org>.
Export both ruby_xmalloc and xmalloc etc.
Tue May 16 17:00:05 2000 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* eval.c (rb_thread_select): should check whether fds are null.
Tue May 16 11:51:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>