-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
8368 lines (4605 loc) · 250 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
Tue Sep 19 16:53:06 2000 Yukihiro Matsumoto <[email protected]>
* stable version 1.6.0 released.
Tue Sep 19 16:24:52 2000 Yukihiro Matsumoto <[email protected]>
* marshal.c (Init_marshal): provide marshal.so no more.
Tue Sep 19 14:01:01 2000 WATANABE Hirofumi <[email protected]>
* configure.in: include version number in RUBY_SO_NAME.
* configure.in, win32/setup.mak: include version number
in RUBY_SO_NAME.
Tue Sep 19 13:07:47 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (yylex): was confusing $~ and $_.
Tue Sep 19 13:06:53 2000 GOTOU YUUZOU <[email protected]>
* signal.c (rb_f_kill): signum may be a negative number, should be
treated by signed number.
Tue Sep 19 01:14:56 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_provide): better feature handling.
* eval.c (rb_f_require): loading ruby library may be partial
state. checks in rb_thread_loading is integrated.
* eval.c (rb_provided): better thread awareness.
* lib/irb/frame.rb: 6 (not 5) parameters for trace_func proc.
* eval.c (error_print): should print error position even if
get_backtrace() failed.
Sat Sep 16 03:29:59 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_f_require): rb_provided() was called too early; does
not work well with threads.
* parse.y (ensure): should distinguish empty ensure and non
existing ensure.
* file.c (Init_File): extending File by class of FileTest was
serious mistake.
Thu Sep 14 02:46:54 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_thread_yield): array strip should be done in this
function.
Wed Sep 13 17:01:03 2000 Yukihiro Matsumoto <[email protected]>
* bignum.c (rb_big_eq): imcomplete value compare of bignums.
Wed Sep 13 06:39:54 2000 Yukihiro Matsumoto <[email protected]>
* variable.c (rb_mod_class_variables): Module#class_variables added.
Wed Sep 13 06:09:26 2000 Wakou Aoyama <[email protected]>
* lib/cgi.rb: bug fix: CGI::header(): output status header.
Wed Sep 13 01:09:12 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (yylex): allow global variables like '$__a'.
Tue Sep 12 22:28:43 2000 WATANABE Hirofumi <[email protected]>
* ext/socket/extconf.rb: avoid using terrible <netinet/tcp.h>
on cygwin 1.1.5.
Tue Sep 12 16:01:58 2000 WATANABE Hirofumi <[email protected]>
* array.c (rb_ary_unshift_m): typo.
Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_yield_0): stripped array too much, should remove just
for proc_call().
Tue Sep 12 07:05:24 2000 Wakou Aoyama <[email protected]>
* lib/cgi.rb: version 2.0.0: require ruby1.5.4 or later.
* lib/net/telnet.rb: version 1.6.0
Tue Sep 12 03:26:07 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (massign): use to_ary to get an array if available.
* object.c (rb_Array): ditto.
Mon Sep 11 14:24:47 2000 Yukihiro Matsumoto <[email protected]>
* hash.c (ruby_setenv): should not free the element of
origenvironment.
* parse.y (command_call): kYIELD moved to this rule to allow
'a = yield b'. (ruby-bugs-ja:#PR15)
Mon Sep 11 01:27:54 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_yield_0): proc#call([]) should pass single value to
the block.
* eval.c (callargs): reduce array allocation.
* eval.c (massign): precise check for argument number.
Fri Sep 8 10:05:17 2000 Yukihiro Matsumoto <[email protected]>
* gc.c (STR_NO_ORIG): should be FL_USER2.
Thu Sep 7 14:17:51 2000 Yukihiro Matsumoto <[email protected]>
* string.c (rb_str_cat): should work even for concatenating same
string.
Wed Sep 6 17:06:38 2000 Yukihiro Matsumoto <[email protected]>
* variable.c (rb_cvar_declare): should check superclass's class
variable first.
Wed Sep 6 10:42:02 2000 Yukihiro Matsumoto <[email protected]>
* misc/ruby-mode.el (ruby-calculate-indent): shift continuing line
if previous line ends with modifier keyword.
* misc/ruby-mode.el (ruby-parse-region): should not give up if
modifiers are at the end of line.
* misc/ruby-mode.el (ruby-expr-beg): indented wrongly if modified
statement was size 1.
Wed Sep 6 10:41:19 2000 Kenichi Komiya <[email protected]>
* misc/ruby-mode.el (ruby-parse-region): modifier was not handled
well on emacs19.
Tue Sep 5 17:10:12 2000 Yukihiro Matsumoto <[email protected]>
* time.c (time_to_s): fixed zone string UTC for utc time object.
Tue Sep 5 00:26:06 2000 Yukihiro Matsumoto <[email protected]>
* regex.c (re_search): range worked wrongly on bm_search().
Mon Sep 4 13:40:40 2000 WATANABE Hirofumi <[email protected]>
* configure.in: renamed libruby.a to libruby.{cygwin,mingw32}.a
on cygwin and mingw32.
Sun Sep 3 23:44:04 2000 Noriaki Harada <[email protected]>
* io.c (NO_SAFE_RENAME): for BeOS too.
Sun Sep 3 11:31:53 2000 Takaaki Tateishi <[email protected]>
* parse.y (rescue): no assignment was done if rescue body was
empty.
Sat Sep 2 10:52:21 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (call_args,aref_args): block_call can be the last
argument.
* parse.y (COND_PUSH,COND_POP): maintain condition stack to allow
kDO2 in parentheses in while/until/for conditions.
* parse.y (yylex): generate kDO2 for EXPR_ARG outside of
while/until/for condition.
Fri Sep 1 10:36:29 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (aref_args,opt_call_args): add block_call to allow a
method without parentheses and with block as a last argument.
* hash.c (rb_hash_sort): should not retrun nil.
* re.c (match_aref): should use rb_reg_nth_match().
* eval.c (POP_SCOPE): recycled scopes too much
* eval.c (Init_eval): extend room for stack allowance.
* eval.c (POP_SCOPE): frees scope too much.
Thu Aug 31 14:28:39 2000 Yukihiro Matsumoto <[email protected]>
* gc.c (rb_gc_mark): T_SCOPE condition must be more precise.
* eval.c (scope_dup): should not make all duped scope orphan.
Thu Aug 31 10:11:47 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (stmt): allow stmt_rhs to be right hand side of multiple
assignment.
* time.c (rb_time_timeval): type error should not mention the word
'interval'.
Wed Aug 30 23:21:20 2000 Yukihiro Matsumoto <[email protected]>
* numeric.c (rb_num2long): use rb_Integer() instead of independent
convert routine.
* eval.c (rb_rescue2): now takes arbitrary number of exception types.
* object.c (rb_convert_type): use rb_rescue2 now to handle NameError.
* object.c (rb_convert_type): better error message.
Wed Aug 30 17:09:14 2000 WATANABE Hirofumi <[email protected]>
* ext/Win32API/Win32API.c (Win32API_initialize): AlphaNT support.
Wed Aug 30 14:19:07 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (node_assign): should support NODE_CVASGN2 too.
Wed Aug 30 11:31:47 2000 Nobuyoshi Nakada <[email protected]>
* ext/Win32API/Win32API.c (Win32API_initialize): add the
arguments checking.
* ext/Win32API/Win32API.c (Win32API_initialize): add taint
checking. allow String object in the third argument.
Wed Aug 30 10:29:40 2000 Masahiro Tomita <[email protected]>
* io.c (rb_f_p): flush output buffer.
Tue Aug 29 16:29:15 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (assignable): remove NODE_CVASGN3.
* parse.y (gettable): remove NODE_CVAR3.
Tue Aug 29 02:02:14 2000 Yukihiro Matsumoto <[email protected]>
* lib/mkmf.rb (create_makefile): handles create_makefile("a/b").
* ext/extmk.rb.in (create_makefile): ditto
Mon Aug 28 18:43:54 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (is_defined): now handles class variables.
* eval.c (rb_eval): class variable behavior revisited.
* parse.y (assignable): ditto.
* parse.y (gettable): ditto.
* regex.c (PUSH_FAILURE_COUNT): push/pop interval count on failure
stack. this fix is inspired by the Emacs21 patch from Stefan
Monnier <[email protected]>.
Fri Aug 25 15:24:39 2000 Yukihiro Matsumoto <[email protected]>
* variable.c (rb_cvar_get): should not follow __attached__.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_declare): ditto.
* variable.c (mod_av_set): second class variable assignment at the
toplevel should not give warning.
Fri Aug 25 01:18:36 2000 Yukihiro Matsumoto <[email protected]>
* io.c (next_argv): prepare path for open file.
* string.c (rb_str_setter): moved from io.c.
* io.c (next_argv): filename should be "-" for refreshed ARGF.
Thu Aug 24 15:27:39 2000 WATANABE Hirofumi <[email protected]>
* ext/socket/socketport.h: use `extern int h_errno' if needed.
Sat Aug 19 01:34:02 2000 WATANABE Hirofumi <[email protected]>
* ext/sdbm/_sdbm.c (sdbm_prep): flags should be or-ed by O_BINARY on
Win32 too.
* ext/sdbm/_sdbm.c (makroom): fill hole with 0 on Win32 too.
Fri Aug 18 13:23:59 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): should preserve and clear $! value before
compilation.
* eval.c (eval): ditto.
Fri Aug 18 11:06:19 2000 Shugo Maeda <[email protected]>
* ext/socket/socket.c (s_accept): start GC on EMFILE/ENFILE.
Thu Aug 17 16:04:48 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (is_defined): should clear ruby_errinfo.
Thu Aug 17 04:26:31 2000 Minero Aoki <[email protected]>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27.
* lib/net/protocol.rb: writing methods returns written byte size.
* lib/net/smtp.rb: send_mail accepts many destinations.
Wed Aug 16 00:43:47 2000 Yukihiro Matsumoto <[email protected]>
* time.c (time_s_times): use CLK_TCK for HZ if it's defined.
Tue Aug 15 17:30:59 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (frame_dup): should set flag FRAME_MALLOC after
argv allocation.
* eval.c (blk_free): should not free argv if GC was called before
frame_dup.
Tue Aug 15 16:08:40 2000 WATANABE Hirofumi <[email protected]>
* configure.in: add ac_cv_func_times=yes for mingw32.
* win32/win32.c (mytimes): typo.
Tue Aug 15 01:45:28 2000 Yukihiro Matsumoto <[email protected]>
* io.c (argf_eof): should return true at the end of ARGF without
checking stdout if arguments are given.
Mon Aug 14 10:34:32 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_thread_status): status should return false for normal
termination, nil for termination by exception.
Fri Aug 11 15:43:46 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_undef): give warning for undefining __id__, __send__.
Thu Aug 10 08:05:03 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_callcc): returned current thread instaed of
continuation wrongly.
Thu Aug 10 05:40:28 2000 WATANABE Hirofumi <[email protected]>
* ext/extmk.rb.in: $CPPFLAGS should be initialized.
* ext/tcltklib/depend: add stubs.o.
* ext/tcltklib/extconf.rb: use $CPPFLAGS instead of $CFLAGS.
Wed Aug 9 16:31:48 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_callcc): thread status for continuations must be
THREAD_KILLED, otherwise thread_free() breaks other threads.
Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <[email protected]>
* win32/win32.[ch]: emulate rename(2).
Tue Aug 8 14:01:46 2000 WATANABE Hirofumi <[email protected]>
* ext/tcltklib/tcltklib.c: support --enable-tcltk_stubs
* ext/tcltklib/extconf.rb: ditto.
* ext/tcltklib/stubs.c: created. examine candidate shared libraries.
Mon Aug 7 13:59:12 2000 Yukihiro Matsumoto <[email protected]>
* ruby.h (CLONESETUP): should copy flags before any potential
object allocation.
* regex.c (re_match): check for stack depth was needed.
Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <[email protected]>
* djgpp/*: convert DOS line endings to UNIX style.
* djgpp/config.status: rename to config.sed for SFN.
* lib/ftools.rb (compare, safe_unlink, chmod): avoid warnings.
* lib/ftools.rb (move): typo. not `tpath', but `to'.
Fri Aug 4 23:26:48 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (proc_call): gives warning if a block is supplied.
* eval.c (rb_eval): no warning for discarding if an alias for the
method is already made.
Fri Aug 4 16:32:29 2000 Yukihiro Matsumoto <[email protected]>
* array.c (rb_ary_reject_bang): returns nil if no element removed.
* hash.c (rb_hash_reject_bang): returns nil if no element removed.
Thu Aug 3 19:44:26 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_thread_fd_writable): should return integer value.
* array.c (rb_ary_assoc): search array element whose length is
longer than 0 (not 1).
Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_thread_wait_fd): prohibit thread context switch
during compilation.
* eval.c (rb_cont_call): prohibit Continuation#call across threads.
Wed Aug 2 08:22:04 2000 Yukihiro Matsumoto <[email protected]>
* gc.c (rb_gc): clear malloc_memories to zero, to avoid potential
super frequent GC invocation. (ruby-bugs:#PR48)
* gc.c (rb_gc): only add_heap() if GC trigger condition is
satisfied.
Tue Aug 1 16:41:58 2000 Yukihiro Matsumoto <[email protected]>
* ruby.c (proc_options): global load path setting moved from
ruby_prog_init().
* ruby.c (incpush): renamed. push path entry at the END of the
load path array. This makes -I directories sorted in order in
the arguments.
Sat Jul 29 23:42:04 2000 Yukihiro Matsumoto <[email protected]>
* dir.c (dir_each): should check whether dir is closed during the
block execution. (ruby-bugs:#PR47)
Sat Jul 29 21:57:30 2000 WATANABE Hirofumi <[email protected]>
* ruby.c (rubylib_mangle): provide another buffer for the result.
Wed Jul 26 10:09:01 2000 WATANABE Hirofumi <[email protected]>
* configure.in: set SOLIBS to LIBS on Cygwin.
* configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'.$target_os.dll
on cygwin and mingw32. ruby-cygwin.dll is bad. why?
Wed Jul 26 10:04:03 2000 Yukihiro Matsumoto <[email protected]>
* gc.c (gc_sweep): avoid full scan during compilation.
* gc.c (rb_gc): add heap during no gc period (including
compilation).
Tue Jul 25 19:03:04 2000 WATANABE Hirofumi <[email protected]>
* cygwin/GNUmakefile: use puts instead of print, because
Cygwin DLL's behavior is changed(or bug?).
* configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'-$target_os.dll
on cygwin and mingw32.
* cygwin/GNUmakefile: ditto.
* Makefile.in: $(SOLIBS) should be put after dmyext.@OBJEXT@.
* instruby.rb: install $(LIBRUBY) to libdir
if $(LIBRUBY) != $(LIBRUBY_A_).
Tue Jul 25 15:16:00 2000 Yukihiro Matsumoto <[email protected]>
* io.c (rb_p): redirect to $defout.
Mon Jul 24 18:52:55 2000 WATANABE Hirofumi <[email protected]>
* win32/win32.c (win32_getenv): should remove `static'.
* ruby.c (rubylib_mangle): support "/hoge;/foo"
Mon Jul 24 10:28:55 2000 GOTO Kentaro <[email protected]>
* string.c (rb_str_count): raise exception if no argument is
given.
Sun Jul 23 12:55:04 2000 Dave Thomas <[email protected]>
* string.c (rb_str_rindex): Support negative end position.
Fri Jul 21 17:35:01 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (aref_args): command_call now be permitted as
aref_args.
* process.c (proc_getpriority): getpriority(2) may return valid
negative number. use errno to detect error.
* marshal.c (dump_ensure): dumped string should be tainted if
any among target objects is tainted.
* marshal.c (r_regist): restored object should be tainted if and
only if the source is a file or a tainted string.
Wed Jul 19 15:14:04 2000 Yukihiro Matsumoto <[email protected]>
* bignum.c (bigdivrem): should use rb_int2big(), not rb_uint2big().
Tue Jul 18 14:58:30 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (ruby_options): should treat SystemExit etc. properly.
* parse.y (yycompile): should check compile_for_eval, not
ruby_in_eval.
Mon Jul 17 04:29:50 2000 Minero Aoki <[email protected]>
* lib/mkmf.rb: converts extention of $objs into $OBJEXT.
Sun Jul 16 03:02:34 2000 Dave Thomas <[email protected]>
* lib/weakref.rb: Change to use new ObjectSpace calls.
Sat Jul 15 21:59:58 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): should not redefine __id__ nor __send__.
* gc.c (define_final): integrate final.rb features into the
interpreter. define_finalizer and undefine_finalizer was
added to ObjectSpace. plus, add_finalizer, remove_finalizer,
and call_finalizer are deprecated now.
Sat Jul 15 01:32:34 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_mod_method): implements unbound method.
* eval.c (Init_eval): should prohibit `module_function' for class
Class.
Fri Jul 14 17:19:59 2000 WATANABE Hirofumi <[email protected]>
* cygwin/GNUmakefile.in: use miniruby instead of sed.
Fri Jul 14 12:49:50 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* bignum.c (bigdivrem): defer bignorm().
* bignum.c (bignorm): accepts accidental fixnums.
Tue Jul 11 16:54:17 2000 Yukihiro Matsumoto <[email protected]>
* parse.y (yylex): `@<digit>' is no longer a valid instance
variable name.
Tue Jul 11 01:51:50 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* io.c (pipe_finalize): should set rb_last_status when pclose().
Mon Jul 10 09:07:54 2000 Yukihiro Matsumoto <[email protected]>
* error.c (rb_bug): print version number and such too.
Sat Jul 8 23:08:40 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* win32/win32.c (NtCmdGlob): patterns should be separated and
NUL terminated.
Wed Jul 5 22:27:56 2000 WATANABE Hirofumi <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* ext/extmk.rb.in: join ' ' -> join(' ').
* lib/mkmf.rb: ditto.
Tue Jul 4 13:51:29 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* util.c (rb_type): should add T_UNDEF.
Tue Jul 4 09:30:35 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* win32/ruby.def: remove ruby_mktemp.
Tue Jul 4 01:27:13 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* numeric.c (Init_Numeric): forgot to register Numeric#remainder.
Mon Jul 3 23:46:56 2000 Katsuyuki Komatsu <[email protected]>
* 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 <[email protected]>
* lib/mkmf.rb: use null device if it exists for cross-compiling.
Mon Jul 3 18:19:51 2000 Minero Aoki <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* configure.in: use AC_CANONICAL_SYSTEM.
Sun Jul 2 21:17:37 2000 WATANABE Hirofumi <[email protected]>
* 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 <[email protected]>
* eval.c (TMP_PROTECT_END): tmp__protect_tmp may be NULL.
Sun Jul 2 03:37:50 2000 Minero Aoki <[email protected]>
* 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 <[email protected]>
* numeric.c (fix_rshift): should handle shift value more than
sizeof(long).
Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): the value from RTEST() is not valid Ruby
objct. result should be either true or false.
Sat Jul 1 09:30:06 2000 Katsuyuki Komatsu <[email protected]>
* re.c (rb_reg_initialize): was freeing invalid pointer.
Sat Jul 1 03:25:56 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* parse.y (f_norm_arg): better, nicer error message.
Thu Jun 29 07:45:33 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* config.sub: NetBSD/hpcmips support.
Wed Jun 28 10:11:06 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* win32.c (myfdclr): new function.
* win32.h: add FD_CLR.
Mon Jun 26 23:41:41 2000 WATANABE Hirofumi <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* eval.c (rb_thread_schedule): wait_for cleared too early.
Mon Jun 26 09:15:31 2000 Yukihiro Matsumoto <[email protected]>
* pack.c: remove obsolete 'F', 'D' specifiers.
Sun Jun 25 00:55:03 2000 Katsuyuki Komatsu <[email protected]>
* 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 <[email protected]>
* config*.dj, configure.bat, top.sed: move to djgpp/.
Sat Jun 24 02:34:17 2000 Yukihiro Matsumoto <[email protected]>
* ruby.c (load_file): call require_libraries() here to let
debug.rb work properly.
Fri Jun 23 22:34:51 2000 Katsuyuki Komatsu <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* lib/net/ftp.rb: support resuming.
Thu Jun 22 13:37:19 2000 WATANABE Hirofumi <[email protected]>
* eval.c (rb_thread_sleep_forever): merge pause() macro.
Wed Jun 21 08:49:04 2000 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): should not raise exception just by defining
singleton class.
Wed Jun 21 01:18:03 2000 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* time.c (make_time_t): bug in DST boundary.
Tue Jun 20 10:54:19 2000 WATANABE Hirofumi <[email protected]>
* configure.in: add eval sitedir.
Tue Jun 20 06:14:43 2000 Wakou Aoyama <[email protected]>
* 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 <[email protected]>