/
ChangeLog
11509 lines (6349 loc) · 342 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 Jul 2 17:22:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (exc_exception): clone the receiver exception instead of
creating brand new exception object of the receiver.
Mon Jul 2 09:53:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval_string_wrap): extend new ruby_top_self, not
original self.
* eval.c (rb_eval_cmd): respect ruby_wrapper if set.
* eval.c (eval): do not update ruby_class unless scope is not
provided.
Sun Jul 1 10:51:15 2001 Shugo Maeda <shugo@ruby-lang.org>
* eval.c (eval): preserve wrapper information.
* eval.c (proc_invoke): ditto.
* eval.c (block_pass): ditto.
Sat Jun 30 02:55:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (void_expr): too much warnings for void context
(e.g. foo[1] that can be mere Proc call).
Fri Jun 29 17:23:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (rb_name_error): new function to raise NameError with
name attribute set.
* eval.c (rb_f_missing): set name and args in the exception
object. [new]
* error.c (name_name): NameError#name - new method.
* error.c (nometh_args): NoMethodError#args - new method.
Fri Jun 29 15:29:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* lex.c (rb_reserved_word): lex_state after tRESCUE should be
EXPR_MID.
Thu Jun 28 00:21:28 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/matrix.rb: resolve 'ruby -w' warnings.
* lib/irb/locale.rb: resolve 'ruby -w' warnings.
* lib/irb/multi-irb.rb: resolve 'ruby -w' warnings.
* lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..."
and resolve 'ruby -w' warnings.
* lib/irb/ruby-token.rb: fix typo
* lib/shell/command-processor.rb: resolve 'ruby -w' warnings.
Wed Jun 27 08:53:26 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only
* lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil.
* lib/net/protocol.rb: new method ProtocolError#response
* lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document.
Tue Jun 26 18:42:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (add_heap): allocation size of the heap unit is doubled for
each allocation.
Mon Jun 25 09:54:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (isdelim): space, tab, and newline are no longer
delimiters for glob patterns.
Sat Jun 23 22:28:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (svalue_to_avalue): new conversion scheme between single
value and array values.
* eval.c (avalue_to_svalue): ditto.
* eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return
and yield too.
* eval.c (rb_yield_0): use avalue_to_svalue().
* eval.c (proc_invoke): Proc#call gives avaules, whereas
Proc#yield gives mvalues.
* eval.c (bmcall): convert given value (svalue) to avalue.
Sat Jun 23 18:28:52 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/readline/readline.c (readline_event): a non-void function
should return a value.
Fri Jun 22 23:17:28 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/socket.c (ruby_connect): workaround for the setup of
Cygwin socket.
Fri Jun 22 23:11:17 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb/locale.rb: fix for require "kconv" problem
Fri Jun 22 18:08:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): no mvalue_to_svalue conversion here.
* eval.c (massign): takes svalue, convert it to mvalue inside.
* eval.c (rb_eval): parameters for yield/return are always
svalues now.
* eval.c (svalue_to_mvalue): more strict conversion.
* eval.c (mvalue_to_svalue): ditto.
Fri Jun 22 17:12:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* st.c (new_size): prime hash size enabled.
* ext/socket/socket.c (Init_socket): SO_* constants added.
Tue Jun 19 22:24:07 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* gc.c (rb_setjmp): avoid GCC 3.0 warnings.
Tue Jun 19 18:19:30 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/readline/readline.c: add new methods:
Readline::completion_append_character and
Readline::completion_append_character=.
Tue Jun 19 16:29:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (svalue_to_mvalue): new function to convert from svalue
to mvalue. [experimental]
* eval.c (mvalue_to_svalue): new function to convert from mvalue
to svalue.
* eval.c (rb_eval): use mvalue_to_svalue().
* eval.c (rb_yield_0): use mvalue_to_svalue().
* eval.c (proc_invoke): proper mvalue handling.
Mon Jun 18 17:38:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_require): searches ".rb" and ".so" at the same
time. previous behavior (search ".rb", then ".so") has a
security risk (ruby-bugs#PR140).
* array.c (rb_ary_to_ary): new function to replace internal
rb_Array(), which never calls to_a, but to_ary (rb_Array() might
call both). [new]
Mon Jun 18 00:43:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (PUSH_FAILURE_POINT): push option status again.
* regex.c (re_compile_pattern): avoid pushing unnecessary
option_set.
Sat Jun 16 10:58:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_load): tainted string is OK if wrapped *and*
$SAFE >= 4.
Thu Jun 14 16:27:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_start_0): should not nail down higher blocks
before preserving original context (i.e. should not alter
original context).
Wed Jun 13 19:34:59 2001 Akinori MUSHA <knu@iDaemons.org>
* dir.c (Init_Dir): add a new method File::fnmatch? along with
File::Constants::FNM_*. While I am here, FNM_NOCASE is renamed
to FNM_CASEFOLD which is commonly used by *BSD and GNU libc.
Wed Jun 13 09:33:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (proc_yield): new method equivalent to Proc#call but no
check for number of arguments. [new]
Tue Jun 12 14:21:28 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* lib/mkmf.rb: target_prefix is only for installation, not for
build.
Tue Jun 12 00:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (method_eq): new method Method#==. [new]
Mon Jun 11 14:29:41 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* confgure.in: add RUBY_CANONICAL_BUILD.
Sun Jun 10 17:31:47 2001 Guy Decoux <decoux@moulon.inra.fr>
* gc.c (STR_NO_ORIG): STR_NO_ORIG value was different between
string.c and gc.c
Sat Jun 9 22:10:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should convert *non-array at the end of
arguments by using Array().
Sat Jun 9 17:04:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* hash.c (ruby_setenv): readline library leaves their environment
strings uncopied. "free" check revised.
Sat Jun 9 16:31:03 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't
support -o officially and cl.exe considers that *.cc and *.cxx are
OBJs.
* lib/mkmf.rb: ditto.
* win32/Makefile.sub: Use del instead of rm.
All these changes are derived from Nobuyoshi Nakada's patch.
Thanks.
Fri Jun 8 22:37:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve
stack bottom line.
Fri Jun 8 18:14:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* st.c (numhash): should shuffle bits by dividing by prime number.
Fri Jun 8 17:05:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): multiple assignment behavior fixed, which
results "*a = nil" makes "a == []" now.
Fri Jun 8 15:25:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_require): should set SCOPE_PUBLIC before calling
dln_load().
Thu Jun 7 17:28:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): exclude kDO_BLOCK too much by false condition.
Wed Jun 6 23:02:36 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/sync.rb: bug fix if obj.initialize has parameters when
obj.extend(Sync_m)
* lib/mutex_m.rb: modified bit
Wed Jun 6 16:11:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_load): should check if tainted even when wrap is
specified.
Wed Jun 6 14:34:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (mrhs_basic): "*arg" should always be expanded by REXPAND.
* regex.c (re_compile_pattern): too much optimization for the
cases like /(.|a)b/.
Tue Jun 5 23:58:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (fc_i): removed vast string allocation.
Tue Jun 5 16:45:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (Init_Exception): NameError went under StandardError,
and NoMethodError went under NameError.
Tue Jun 5 16:40:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (rb_intern): non identifier symbols should be
categorized as ID_JUNK. [new]
Tue Jun 5 16:15:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_mod_const_at): use hash table as internal
data. [new]
* variable.c (rb_mod_const_of): ditto.
* variable.c (rb_const_list): new function to convert internal
data (hash table) to array of strings.
* eval.c (rb_mod_s_constants): data handling scheme has changed.
Tue Jun 5 15:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_add_method): should not call rb_secure(), for
last_func may not be set.
* io.c (rb_io_ctl): ioctl should accept any integer within C long
range.
Tue Jun 5 13:41:13 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/etc/extconf.rb: use egrep_cpp.
Tue Jun 5 12:44:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (r_object): wrong type check for modules.
* marshal.c (w_object): should not dump anonymous classes/modules.
Tue Jun 5 01:19:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd
argument (permission flags) is given. [new, should be backported?]
* io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to
open(2).
Mon Jun 4 23:55:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as
the element itself. [new, should be backported?]
* parse.y (ret_args): should treat "*[a]" in rhs expression as
"a", not "[a]".
Mon Jun 4 04:14:53 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/shellwords.rb: don't destroy argument.
Sat Jun 2 23:23:05 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): should push option modifier at the
right place.
Sat Jun 2 23:05:20 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/cgi/session.rb: don't use module_function for Class.
Sat Jun 2 00:02:22 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* irb messages: fix typos.
Fri Jun 1 17:26:24 2001 K.Kosako <kosako@sofnec.co.jp>
* hash.c (replace_i): ignore when key == Qundef.
Fri Jun 1 16:50:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (call_args2): confusion with list_append() and
list_concat() was fixed.
Fri Jun 1 15:01:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntax
breakage, adding new lex_state status. sigh. [new]
Fri Jun 1 11:21:04 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: use waitpid on mingw32.
* ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>.
Thu May 31 18:34:57 2001 K.Kosako <kosako@sofnec.co.jp>
* file.c (rb_file_s_unlink): should not allow if $SAFE >= 2.
Thu May 31 17:23:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (Init_Range): define "to_ary".
Thu May 31 13:30:25 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.
Thu May 31 08:00:58 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/dir.h: re-add.
Thu May 31 01:25:59 2001 Akinori MUSHA <knu@iDaemons.org>
* configure.in: default --with-libc_r to `no' until the problem is
fixed. (FreeBSD only)
Tue May 29 17:24:23 2001 K.Kosako <kosako@sofnec.co.jp>
* ruby.c (proc_options): unexpected SecurityError happens when -T4.
Tue May 29 18:46:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): * \1 .. \9 should be
backreferences always.
* regex.c (re_match): backreferences corresponding to
unclosed/unmatched parentheses should fail always.
Tue May 29 16:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new]
* string.c (rb_str_append): ditto.
* string.c (rb_str_buf_cat): remove unnecessary check (type,
taint, modify) to gain performance.
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_finish): removed.
Tue May 29 02:05:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_buf_new): buffering string function. [new]
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_cat): ditto.
* string.c (rb_str_buf_finish): ditto.
Mon May 28 23:20:43 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: remove unnecessary AC_CANONICAL_BUILD
* defins.h: #define HAVE_SETITIMER on Cygwin(bug fixed).
* ruby.c: use relative path from LIBRUBY_SO.
* ruby.c: don't use -mwin32 option on Cygwin.
* cygwin/GNUmakefile.in: ditto.
* ext/sdbm/_sdbm: ditto.
* ext/tcltklib/extconf.rb: ditto.
* ext/tcltklib/stubs.c: ditto.
Mon May 28 22:12:01 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/extconf.rb.in: make the priority of the make rule of .c
higher than .C .
Mon May 28 13:22:19 2001 Tanaka Akira <akr@m17n.org>
* time.c (make_time_t): local time adjustment revised.
Mon May 28 02:20:38 2001 Akinori MUSHA <knu@iDaemons.org>
* dir.c (glob_helper): teach has_magic() to handle flags and get
glob_helper to properly support FNM_NOESCAPE.
* dir.c (fnmatch): fix a bug when FNM_PATHNAME and FNM_PERIOD are
specified at the same time.
Sat May 26 09:55:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y: accomplish extended syntax described in [ruby-talk:14525]
using tSPC token. [new, experimental]
Sat May 26 07:05:45 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* MANIFEST: add win32/dir.h .
Fri May 25 20:03:51 2001 Pascal Rigaux <pixel@mandrakesoft.com>
* dln.c (dln_find_1): should exclude directories in executable
file lookup.
Fri May 25 18:00:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_obj_singleton_methods): list methods in extended
modules if optional argument is true. [new]
Fri May 25 14:19:25 2001 K.Kosako <kosako@sofnec.co.jp>
* string.c (rb_str_replace): add taint status infection
(OBJ_INFECT()).
* string.c (rb_str_crypt): ditto.
* string.c (rb_str_ljust): ditto.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
Fri May 25 05:39:03 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The
buffer for a SHA-1 hexdigest needs to be 41 bytes in length.
Fri May 25 01:47:39 2001 Akinori MUSHA <knu@iDaemons.org>
* MANIFEST: update the entries I forgot to add or remove.
Fri May 25 00:57:25 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/sha1/sha1-ruby.c (sha1_new): separate initialize() from
new().
* ext/md5/md5init.c (md5i_new): ditto.
Fri May 25 00:53:41 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS
properly.
Thu May 24 16:10:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_member): check based on "<=>" comparison. [new]
* range.c (range_check): add "succ" check if first end is not a
numeric.
* range.c (range_eqq): comparison should based on "<=>".
* range.c (range_each): ditto.
Thu May 24 16:08:21 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* mkconfig.rb: autoconf 2.50 support.
Thu May 24 14:23:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): need argument adjustment for C defined
blocks too.
Thu May 24 01:11:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/dbm/extconf.rb: header search added. [new]
Wed May 23 02:58:21 2001 Tanaka Akira <akr@m17n.org>
* time.c (make_time_t): fix ad-hoc local time adjustment, using
binary tree search.
Tue May 22 17:10:35 2001 K.Kosako <kosako@sofnec.co.jp>
* variable.c (rb_alias_variable): should not allow variable
aliasing if $SAFE >= 4.
Tue May 22 02:37:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (expr): "break" and "next" to take optional expression,
which is used as a value for termination. [new, experimental]
* eval.c (rb_eval): "break" can give value to terminating method.
* eval.c (rb_eval): "break" and "next" to take optional expression.
* eval.c (rb_yield_0): "next" can give value to terminating "yield".
* eval.c (rb_iterate): "break" can give value to terminating method.
* eval.c (proc_call): ditto.
Mon May 21 13:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big2str): t should be protected from GC.
Sat May 19 09:29:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (rb_proc_times): need not to check retrun value from
times(2).
Fri May 18 05:36:08 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in (xsystem): backout the previous fix which was
bogus.
Fri May 18 05:19:55 2001 Akinori MUSHA <knu@iDaemons.org>
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
properly expanded on a command execution.
* ext/extmk.rb.in (xsystem): ditto.
Fri May 18 03:45:55 2001 Brian F. Feldman <green@FreeBSD.org>
* lib/mkmf.rb: unbreak "make install". lib/* must be installed
under $rubylibdir, not under $libdir.
Fri May 18 01:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (expr): break, next, redo, retry are moved from primary.
Fri May 18 01:11:02 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
rb_obj_call_init() call.
Fri May 18 01:03:55 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.
Thu May 17 19:17:11 2001 Akinori MUSHA <knu@iDaemons.org>
* lib/shell.rb, lib/shell/process-controller.rb,
lib/shell/command-processor.rb: translate Japanese comments into
English.
Thu May 17 19:07:14 2001 Akinori MUSHA <knu@iDaemons.org>
* doc/shell.rd.jp: RD'ify and make some fixes.
* doc/shell.rd: RD'ify, delete Japanese leftovers, make overall
English fixes, and sync with doc/shell.rd.jp.
Thu May 17 17:35:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_call0): address of local_vars might change during eval.
Thu May 17 07:27:09 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp:
s/SuperClass/Superclass/.
Thu May 17 07:21:44 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:
compile sha1 in as well as md5.
* ext/Setup: put sha1 in a comment.
Thu May 17 07:16:38 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/sha1/sha1.txt.jp: add the Japanese version derived from
ext/md5/md5.txt.jp.
* ext/sha1/sha1.txt: revise the copyright info and reduce the
difference from ext/md5/md5.txt.
* ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt.
Thu May 17 07:11:35 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to
detect the platform's endian.
Thu May 17 06:31:30 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/md5/md5.txt: make wording fixes, and mention the newly added
method: "<<".
* ext/md5/md5.txt.jp: ditto.
Wed May 16 18:05:52 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/md5/md5init.c: add an instance method "<<" as an alias for
"update". (inspired by Steve Coltrin's ruby-sha1)
Tue May 15 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_and): should not push frozen key string.
* array.c (rb_ary_or): ditto.
Tue May 15 02:18:23 2001 Akinori MUSHA <knu@iDaemons.org>
* lib/thread.rb: rescue ThreadError in case the thread is dead
just before calling Thread#run.
Mon May 14 13:50:22 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): should save context before raising
deadlock, saved context for current thread might be obsolete.
* time.c (make_time_t): non DST timezone shift supported (hopefully).
* time.c (make_time_t): strict range detection for negative time_t.
Mon May 14 11:54:20 2001 Tanaka Akira <akr@m17n.org>
* signal.c: SIGINFO added.
Mon May 14 08:57:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_ensure): should not SEGV when prot_tag is NULL.
Sun May 13 23:51:14 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/resource.rb: Modify copyright in resource script.
Sun May 13 14:03:33 2001 Okada Jun <yun@be-in.org>
* lib/thread.rb: fix Queue#pop and SizedQueue#max= to avoid
deadlock.
Sat May 12 15:43:55 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.
Fri May 11 15:09:52 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.h (rb_string_value): add volatile to avoid compiler warning.
* string.c (rb_string_value): ditto.
Fri May 11 03:35:33 2001 Akinori MUSHA <knu@iDaemons.org>
* README.EXT: Document find_library(), with_config() and
dir_config().
Fri May 11 03:34:20 2001 Akinori MUSHA <knu@iDaemons.org>
* README.EXT.jp: Remove the description of find_header() because
such a function does not actually exist.
* README.EXT.jp: Update the description of dir_config().
Fri May 11 02:42:05 2001 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* README, README.jp: Fix CVS access and mailing lists info.
Fri May 11 02:00:44 2001 Ryo HAYASAKA <ryoh@jaist.ac.jp>
* bignum.c (bigdivrem): access boundary bug.
Thu May 10 02:40:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_object): prohibit dumping out singleton classes.
* object.c (rb_mod_to_s): distinguish singleton classes.
* variable.c (rb_class2name): it's ok to reveal NilClass,
TrueClass, FalseClass.
Wed May 9 14:38:33 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (rb_yield_0): preserve and restore ruby_cref as well.
Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb
lib/irb/version.rb resolve ctrl-c problem
Tue May 8 17:12:43 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (is_defined): core dumped during instance_eval for
special constants.
* eval.c (rb_eval): ditto.
Tue May 8 08:52:57 2001 Akinori MUSHA <knu@iDaemons.org>
* doc/forwardable.rd, doc/forwardable.rd.jp: Hit `=begin' and
`=end' in proper places so rd2 can format them without a problem.
* doc/irb/irb-tools.rd.jp, doc/irb/irb.rd, doc/irb/irb.rd.jp:
ditto.
Tue May 8 08:38:53 2001 Akinori MUSHA <knu@iDaemons.org>
* doc/forwardable.rd, doc/forwardable.rd.jp, lib/forwardable.rb:
Import forwardable 1.1.
Tue May 8 08:34:33 2001 Akinori MUSHA <knu@iDaemons.org>
* doc/irb/irb-tools.rd.jp, doc/irb/irb.rd.jp: Convert from JIS to
EUC.
Tue May 8 03:46:39 2001 Akinori MUSHA <knu@iDaemons.org>
* sample/rbc.rb: Obsoleted by IRB.
Mon May 7 15:58:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (arg): "||=" should not warn for uninitialized instance
variables.
* eval.c (rb_eval): ditto.
* eval.c (eval): preserve and restore ruby_cref as well.
Mon May 7 15:45:48 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/ftools.rb (syscopy): chmod destination file only if
it does not exist.
Mon May 7 14:35:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_obj_is_instance_of): takes only class/module as an
argument.
Sun May 6 16:27:29 2001 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (is_defined): rb_reg_nth_defined() may return Qnil.
Thu May 3 03:15:06 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* configure.in: get --enable-shared to work on MacOS X.
* Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly.
Now `make -jN' should work without a problem.
Thu May 3 02:07:45 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/config.h.in: add SIZEOF___INT64 definition.
Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.
Wed May 2 11:46:13 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (block_pass): should not downgrade safe level.
Wed May 2 03:07:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/dbm/extconf.rb: allow specifying dbm-type explicitly.
* ext/dbm/extconf.rb: avoid gdbm if possible, because it leaks
memory, whereas gdbm.so doesn't. potential incompatibility.
Wed May 2 02:02:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_insert): new method.
Tue May 1 17:55:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): lex_state after RESCUE_MOD should be EXPR_BEG.
Tue May 1 16:23:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_insert): new method.
* array.c (rb_ary_update): new utility function.
Tue May 1 03:24:05 2001 Akinori MUSHA <knu@iDaemons.org>
* lib/irb/completion.rb, lib/irb/frame.rb, lib/irb/xmp.rb,
doc/irb/irb-tools.rd.jp: Merge from irb-tools 0.7.1.
Tue May 1 03:07:17 2001 Akinori MUSHA <knu@iDaemons.org>
* sample/irb.rb, lib/irb.rb, lib/irb/*, doc/irb/*: Merge from irb
0.7.3.
* instruby.rb: Install help-message's too.
* lib/irb/main.rb: This file is not needed anymore.
Fri Apr 27 09:27:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (set_outfile): should check if closed before assignment.
Thu Apr 26 22:36:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: don't use tzname on Cygwin 1.3.1+.
* configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha
to disable "DIVISION BY ZERO" exception.
Thu Apr 26 22:30:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should preserve value of ruby_errinfo.
Thu Apr 26 10:36:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): infinite sleep should not cause
dead lock.
Wed Apr 25 16:40:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_flatten_bang): proper recursive detection.
Wed Apr 25 15:36:15 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (yield_under): need not to prohibit at safe level 4.
Wed Apr 25 15:22:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): p/P packs nil into NULL.
* pack.c (pack_unpack): p/P unpacks NULL into nil.
Tue Apr 24 15:35:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): size check for P template.
* ruby.c (set_arg0): wrong predicate when new $0 value is bigger
than original space.
Tue Apr 24 15:18:49 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add the
specified include directory if already included in $CPPFLAGS.
* ext/extmk.rb.in, lib/mkmf.rb: (dir_config) return a more useful
value, [include_dir, lib_dir].
Mon Apr 23 14:43:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (id2ref): should use NUM2ULONG()
* object.c (rb_mod_const_get): check whether name is a class
variable name.
* object.c (rb_mod_const_set): ditto.
* object.c (rb_mod_const_defined): ditto.
Sat Apr 21 22:33:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_float): precision changed to "%.16g"
Sat Apr 21 22:07:58 2001 Guy Decoux <decoux@moulon.inra.fr>
* eval.c (rb_call0): wrong retry behavior.
Fri Apr 20 19:12:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (fix_aref): a bug on long>int architecture.
Fri Apr 20 14:57:15 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (rb_eval_string_wrap): should restore ruby_wrapper.
Sun Apr 22 17:44:37 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: add -mieee to CFLAGS on Linux/Alpha
to disable "DIVISION BY ZERO" exception.
* configure.in: remove -ansi on OSF/1.
Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: CGI::Cookie: no use PATH_INFO.
Wed Apr 18 00:24:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): char class at either edge of range
should be invalid.
Tue Apr 17 17:33:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (handle_rescue): use === to compare exception match.
* error.c (syserr_eqq): comparison between SytemCallErrors should
based on their error numbers.
Tue Apr 17 16:54:39 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (safe_getter): should use INT2NUM().
Tue Apr 17 15:12:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big2long): 2**31 cannot fit in 31 bit long.
Sat Apr 14 22:46:43 2001 Guy Decoux <decoux@moulon.inra.fr>
* regex.c (calculate_must_string): wrong length calculation.
Sat Apr 14 13:37:32 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/config.status.in: no longer use missing/alloca.c.
* win32/Makefile.sub: ditto.
Fri Apr 13 12:40:48 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (rb_thread_start_0): fixed memory leak.
Fri Apr 13 16:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (none): should clear cmdarg_stack too.
Fri Apr 13 06:19:29 2001 GOTOU YUUZOU <gotoyuzo@notwork.org>
* io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on
some platforms.
Wed Apr 11 23:36:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_stat_dev): device functions should honor stat field
types (except long long such as dev_t).
Wed Apr 11 18:07:53 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (rb_mod_nesting): should not push nil for nesting array.
* eval.c (rb_mod_s_constants): should not search array by
rb_mod_const_at() for nil (happens for singleton class).
Wed Apr 11 13:29:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_singleton_class_attached): should modify iv_tbl by
itself, no longer use rb_iv_set() to avoid freeze check error.
* variable.c (rb_const_get): error message "uninitialized constant
Foo at Bar::Baz" instead of "uninitialized constantBar::Baz::Foo".