-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
11924 lines (6580 loc) · 355 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 Aug 6 23:47:46 2001 Nobuyoshi Nakada <[email protected]>
* pack.c (pack_unpack): associates p/P strings once at
last(reverted to 1.26).
* string.c (rb_str_associate): associates an Array at once, not
but a String. realloc's when str_buf.
Mon Aug 6 14:31:37 2001 Usaku Nakamura <[email protected]>
* numeric.c (num_divmod): fix typo.
Mon Aug 6 03:29:03 2001 Yukihiro Matsumoto <[email protected]>
* string.c (rb_str_lstrip_bang): new method.
* string.c (rb_str_rstrip_bang): new method.
Mon Aug 6 00:35:03 2001 Guy Decoux <[email protected]>
* struct.c (rb_struct_modify): should check frozen and taint
status.
Sun Aug 5 19:28:39 2001 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_associate): should consider STR_ASSOC too.
Sun Aug 5 07:46:18 2001 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_undefined): do not recurse if method_missing is
undefined.
Thu Aug 2 21:37:32 2001 Yukihiro Matsumoto <[email protected]>
* process.c (proc_waitpid): now all arguments are optional.
* process.c (Init_process): waitpid is now alias to wait.
* process.c (Init_process): waitpid2 is now alias to wait2.
* process.c (rb_waitpid): made public.
* ext/pty/pty.c (pty_getpty): avoid disturbing SIGCHLD using
thread and rb_waitpid.
Thu Aug 2 11:23:07 2001 Yukihiro Matsumoto <[email protected]>
* process.c (proc_getpgrp): now takes no argument on all
platforms.
* process.c (proc_setpgrp): ditto.
Thu Aug 2 01:29:42 2001 Nobuyoshi Nakada <[email protected]>
* file.c (strrdirsep): removed meaningless code.
* file.c (rb_file_s_expand_path): reverted to 1.66.
Wed Aug 1 16:17:47 2001 Yukihiro Matsumoto <[email protected]>
* ext/socket/socket.c (sock_s_pack_sockaddr_in): added
Socket::pack_sockaddr_in(). [new]
* ext/socket/socket.c (sock_s_pack_sockaddr_un): added
Socket::pack_sockaddr_un(). [new]
* ext/socket/socket.c (sock_s_pack_sockaddr_in): added
Socket::unpack_sockaddr_in(). [new]
* ext/socket/socket.c (sock_s_pack_sockaddr_un): added
Socket::unpack_sockaddr_un(). [new]
Wed Aug 1 15:42:16 2001 Usaku Nakamura <[email protected]>
* eval.c (ruby_run): avoid VC++ warning.
Tue Jul 31 17:30:53 2001 Usaku Nakamura <[email protected]>
* marshal.c (Init_marshal): fix typos.
Tue Jul 31 15:16:39 2001 Nobuyoshi Nakada <[email protected]>
* process.c (last_status_set): nothing returned, should be void.
* ext/socket/socket.c (load_addr_info): ditto.
Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <[email protected]>
* marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION
and Marshal::MINOR_VERSION.
Tue Jul 31 07:18:04 2001 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_s_expand_path): scans per path element not per
byte/character, including fix of [ruby-talk:18152] and
multi-byte pathname support.
Tue Jul 31 11:52:10 2001 akira yamada <[email protected]>
* marshal.c (marshal_load): ruby_verbose test should be wrapped by
RTEST().
Mon Jul 30 17:54:23 2001 Yukihiro Matsumoto <[email protected]>
* hash.c (rb_hash_index): should return nil (not the default
value) if value is not in the hash.
Mon Jul 30 12:55:47 2001 Yukihiro Matsumoto <[email protected]>
* numeric.c (num_div): new method added. alias to '/' which
should be preserved even if '/' is redefined (e.g. by
mathn). [new]
Mon Jul 30 11:12:14 2001 Amos Gouaux <[email protected]>
* lib/net/imap.rb: added new commands for managing folder quotas
and folder ACLs.
Mon Jul 30 03:19:53 2001 Yukihiro Matsumoto <[email protected]>
* bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255.
Fri Jul 27 22:29:41 2001 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_s_expand_path): fixed using CharNext().
Fri Jul 27 18:07:27 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_provided): extension should be guessed using
rb_find_file_noext().
* eval.c (rb_f_require): should call rb_feature_p() after
extension completion.
Fri Jul 27 16:25:52 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): add CHECK_INTS before next, redo, retry to
avoid potential uninterruptable infinite loop.
Thu Jul 26 11:27:12 2001 WATANABE Hirofumi <[email protected]>
* file.c (rb_find_file_noext, rb_find_file): fix tilde expansion
problem.
Wed Jul 25 17:54:20 2001 Yukihiro Matsumoto <[email protected]>
* file.c (rb_file_s_expand_path): use CharNext() to expand.
Wed Jul 25 17:16:26 2001 Akinori MUSHA <[email protected]>
* intern.h: add some missing function prototypes.
Wed Jul 25 15:50:05 2001 Guy Decoux <[email protected]>
* file.c (rb_file_s_expand_path): should not expand "." and ".."
not following dirsep.
Wed Jul 25 12:15:32 2001 WATANABE Hirofumi <[email protected]>
* file.c (rb_find_file_noext): should update f by expanded path.
* file.c (rb_find_file): ditto.
Tue Jul 24 23:10:47 2001 Nobuyoshi Nakada <[email protected]>
* file.c (strrdirsep): multi-byte pathname and DOSish separater
supprot. originally comes from Patrick Cheng. [new]
* file.c (rb_file_s_basename, rb_file_s_dirname): use
strrdirsep(). comes from Patrick Cheng.
* file.c (is_absolute_path): restricted in DOSish absolute path
with drive letter, and UNC support. originally comes from
Patrick Cheng.
* file.c (getcwd): define macro using getwd() unless provided.
Tue Jul 24 19:23:15 2001 Akinori MUSHA <[email protected]>
* ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for
lib/* files properly in case of create_makefile("dir/name").
Mon Jul 23 00:26:04 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_provide_feature): should not tweak extension used for
loading.
Sun Jul 22 21:16:43 2001 Akinori MUSHA <[email protected]>
* ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make
variables: CLEANFILES and DISTCLEANFILES. They'd typically be
defined in a file "depend".
Sat Jul 21 09:40:10 2001 Nobuyoshi Nakada <[email protected]>
* io.c (io_fread): use fread(3) if PENDING_COUNT is available.
Fri Jul 20 22:55:01 2001 Akinori MUSHA <[email protected]>
* gc.c (ruby_xrealloc): fix a dangling bug which led memory
reallocation to fail even though the second try after a GC
succeeds.
Fri Jul 20 03:00:46 2001 Akinori MUSHA <[email protected]>
* class.c (rb_mod_include_p): Module#include? added. [new]
Fri Jul 20 01:05:50 2001 Yukihiro Matsumoto <[email protected]>
* re.c (ignorecase_setter): give warning on modifying $=.
* string.c (rb_str_casecmp): new method. [new]
* string.c (rb_str_eql): separated from rb_str_equal(), make it
always be case sensitive. [new]
* string.c (rb_str_hash): made it always be case sensitive.
Thu Jul 19 13:03:15 2001 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_f_require): should not include path in $" value
* file.c (rb_find_file): should return 0 explicitly on failure.
Tue Jul 17 11:44:40 2001 Usaku Nakamura <[email protected]>
* ruby.h: enable volatile directive with VC++.
* regex.c: ditto.
Tue Jul 17 06:01:12 2001 Minero Aoki <[email protected]>
* doc/net/smtp.rd.ja, pop.rd.ja, http.rd.ja: new files.
Tue Jul 17 11:22:01 2001 Yukihiro Matsumoto <[email protected]>
* regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS and
NUM_NONREG_ITEMS, which have happened to be same value.
Tue Jul 17 11:08:34 2001 Usaku Nakamura <[email protected]>
* ext/extmk.rb.in: modify RM macro because command.com/cmd.exe don't
recognize single quotation as quote character.
* lib/mkmf.rb: ditto.
Tue Jul 17 01:38:15 2001 Yukihiro Matsumoto <[email protected]>
* class.c (rb_class_new): subclass check moved to this function.
* class.c (rb_class_boot): check less version of rb_class_new().
Man Jul 16 13:21:30 2001 Usaku Nakamura <[email protected]>
* file.c (file_load_ok): fix typo.
Mon Jul 16 12:58:07 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (proc_invoke): should preserve iter status for embedded
frame in the block.
Mon Jul 16 00:04:39 2001 Yukihiro Matsumoto <[email protected]>
* file.c (rb_file_s_expand_path): may overrun buffer on stack.
Sun Jul 15 01:38:28 2001 Guy Decoux <[email protected]>
* string.c (rb_str_insert): forgot to call rb_str_modify().
Sat Jul 14 12:26:30 2001 Nobuyoshi Nakada <[email protected]>
* ext/digest/*/extconf.rb: fix so that they build from any
directory.
Sat Jul 14 06:20:17 2001 WATANABE Hirofumi <[email protected]>
* lib/net/http.rb: HTTP#proxy? did not worked.
Sat Jul 14 02:56:19 2001 Akinori MUSHA <[email protected]>
* ext/extmk.rb.in: support multi-level ext/ directories.
(e.g. you can have ext/foo, ext/foo/bar and ext/foo/baz)
Sat Jul 14 02:55:02 2001 Akinori MUSHA <[email protected]>
* ext/.cvsignore: let cvs ignore extinit.c.
Fri Jul 13 23:47:35 2001 Yukihiro Matsumoto <[email protected]>
* regex.c (re_search): should consider reverse search.
Fri Jul 13 22:26:09 2001 Akinori MUSHA <[email protected]>
* lib/mkmf.rb: use File::split to split a target into a prefix and
a module name. This also works around a just found bug of
String#rindex.
* ext/extmk.rb.in: ditto.
Fri Jul 13 02:36:10 2001 Minero Aoki <[email protected]>
* dir.c (dir_s_chdir): warn only when invoked from multiple
threads or block is not given.
Thu Jul 12 15:11:48 2001 WATANABE Hirofumi <[email protected]>
* ext/socket/socket.c (ruby_connect): workaround for the setup of
Cygwin socket(EALREADY).
Mon Jul 9 16:49:30 2001 WATANABE Hirofumi <[email protected]>
* ext/extmk.rb.in: modify RM macro.
* lib/mkmf.rb: ditto.
Sun Jul 8 20:52:02 2001 Akinori MUSHA <[email protected]>
* ruby.h: fix a wrong function name: rb_iglob() -> rb_globi().
Sun Jul 8 16:04:35 2001 Minero Aoki <[email protected]>
* lib/net/http.rb: rename HTTP#request_by_name to send_request.
* lib/net/protocol.rb (ProtoSocket#read): modify typo.
Sat Jul 7 17:45:35 2001 Yukihiro Matsumoto <[email protected]>
* object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2().
* range.c (range_init): ditto.
Fri Jul 6 18:01:10 2001 Yukihiro Matsumoto <[email protected]>
* object.c (rb_obj_dup): copies (actually does not free)
generic_ivar on dupif original owns them.
Fri Jul 6 02:15:06 2001 Akinori MUSHA <[email protected]>
* lib/tempfile.rb: a tempfile must be created with mode 0600.
Thu Jul 5 20:28:53 2001 Tietew <[email protected]>
* string.c (rb_str_each_line): should propagate taint mark.
* ext/nkf/nkf.c (rb_nkf_kconv): ditto.
Fri Jul 6 14:54:27 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_f_require): revamp for simpler implementation.
* file.c (rb_find_file_noext): use String object, instead of
passing char* around.
* file.c (rb_find_file): ditto.
Thu Jul 5 22:01:02 2001 Mitsuhiro Kondo <[email protected]>
* dln.c (dln_load): should use NSLINKMODULE_OPTION_BINDNOW.
Thu Jul 5 13:44:03 2001 Yukihiro Matsumoto <[email protected]>
* ruby.c (load_file): local variables 'c' remain uninitialized on
xflag.
Thu Jul 5 10:00:59 2001 Yukihiro Matsumoto <[email protected]>
* regex.c (re_match): prefetched escaped character too early.
Wed Jul 4 08:58:30 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_call0): add argument check for attr_readers.
Wed Jul 4 04:22:44 2001 Minero Aoki <[email protected]>
* lib/net/http.rb (HTTP#request_by_name): arg order changes.
Wed Jul 4 04:07:36 2001 Minero Aoki <[email protected]>
* lib/net/http.rb (HTTP#request_by_name): bug fix.
* lib/net/http.rb: does not write Connection: by default.
* lib/net/protocol.rb: "start" for started protocol is an error.
* lib/net/protocol.rb: "finish" for finished protocol is an error.
Wed Jul 4 03:17:31 2001 Minero Aoki <[email protected]>
* lib/net/http.rb: new method HTTP#request_by_name (test)
* lib/net/http.rb: new class HTTPGenericRequest
Tue Jul 3 23:58:29 2001 Akinori MUSHA <[email protected]>
* lib/mkmf.rb: distclean should remove mkmf.log as well.
Tue Jul 3 18:35:49 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval_string_wrap): should push frame (and adjust
cbase) before wrapped eval.
* eval.c (rb_eval_cmd): ditto.
* eval.c (eval): should update ruby_class always after all.
Tue Jul 3 14:56:27 2001 Shugo Maeda <[email protected]>
* eval.c (block_pass): do not change wrapper information.
* eval.c (rb_yield_0): preserve wrapper information.
Tue Jul 3 08:59:50 2001 Nobuyoshi Nakada <[email protected]>
* error.c (rb_name_error): raise NameError instead of LoadError.
Mon Jul 2 17:22:00 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* lex.c (rb_reserved_word): lex_state after tRESCUE should be
EXPR_MID.
Thu Jun 28 00:21:28 2001 Keiju Ishitsuka <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* gc.c (add_heap): allocation size of the heap unit is doubled for
each allocation.
Mon Jun 25 09:54:48 2001 Yukihiro Matsumoto <[email protected]>
* dir.c (isdelim): space, tab, and newline are no longer
delimiters for glob patterns.
Sat Jun 23 22:28:52 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* ext/readline/readline.c (readline_event): a non-void function
should return a value.
Fri Jun 22 23:17:28 2001 WATANABE Hirofumi <[email protected]>
* ext/socket/socket.c (ruby_connect): workaround for the setup of
Cygwin socket.
Fri Jun 22 23:11:17 2001 Keiju Ishitsuka <[email protected]>
* lib/irb/locale.rb: fix for require "kconv" problem
Fri Jun 22 18:08:45 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* gc.c (rb_setjmp): avoid GCC 3.0 warnings.
Tue Jun 19 18:19:30 2001 Akinori MUSHA <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* eval.c (rb_load): tainted string is OK if wrapped *and*
$SAFE >= 4.
Thu Jun 14 16:27:07 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* lib/mkmf.rb: target_prefix is only for installation, not for
build.
Tue Jun 12 00:41:18 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (method_eq): new method Method#==. [new]
Mon Jun 11 14:29:41 2001 WATANABE Hirofumi <[email protected]>
* confgure.in: add RUBY_CANONICAL_BUILD.
Sun Jun 10 17:31:47 2001 Guy Decoux <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* hash.c (ruby_setenv): readline library leaves their environment
strings uncopied. "free" check revised.
Sat Jun 9 16:31:03 2001 Usaku Nakamura <[email protected]>
* 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 <[email protected]>
* gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve
stack bottom line.
Fri Jun 8 18:14:12 2001 Yukihiro Matsumoto <[email protected]>
* st.c (numhash): should shuffle bits by dividing by prime number.
Fri Jun 8 17:05:21 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): multiple assignment behavior fixed, which
results "*a = nil" makes "a == []" now.
Fri Jun 8 15:25:09 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_f_require): should set SCOPE_PUBLIC before calling
dln_load().
Thu Jun 7 17:28:00 2001 Yukihiro Matsumoto <[email protected]>
* parse.y (yylex): exclude kDO_BLOCK too much by false condition.
Wed Jun 6 23:02:36 2001 Keiju Ishitsuka <[email protected]>
* 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 <[email protected]>
* eval.c (rb_load): should check if tainted even when wrap is
specified.
Wed Jun 6 14:34:27 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* variable.c (fc_i): removed vast string allocation.
Tue Jun 5 16:45:48 2001 Yukihiro Matsumoto <[email protected]>
* error.c (Init_Exception): NameError went under StandardError,
and NoMethodError went under NameError.
Tue Jun 5 16:40:06 2001 Yukihiro Matsumoto <[email protected]>
* parse.y (rb_intern): non identifier symbols should be
categorized as ID_JUNK. [new]
Tue Jun 5 16:15:58 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* ext/etc/extconf.rb: use egrep_cpp.
Tue Jun 5 12:44:59 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* lib/shellwords.rb: don't destroy argument.
Sat Jun 2 23:23:05 2001 Yukihiro Matsumoto <[email protected]>
* regex.c (re_compile_pattern): should push option modifier at the
right place.
Sat Jun 2 23:05:20 2001 Shugo Maeda <[email protected]>
* lib/cgi/session.rb: don't use module_function for Class.
Sat Jun 2 00:02:22 2001 Keiju Ishitsuka <[email protected]>
* irb messages: fix typos.
Fri Jun 1 17:26:24 2001 K.Kosako <[email protected]>
* hash.c (replace_i): ignore when key == Qundef.
Fri Jun 1 16:50:59 2001 Yukihiro Matsumoto <[email protected]>
* parse.y (call_args2): confusion with list_append() and
list_concat() was fixed.
Fri Jun 1 15:01:40 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* file.c (rb_file_s_unlink): should not allow if $SAFE >= 2.
Thu May 31 17:23:25 2001 Yukihiro Matsumoto <[email protected]>
* range.c (Init_Range): define "to_ary".
Thu May 31 13:30:25 2001 WATANABE Hirofumi <[email protected]>
* mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.
Thu May 31 08:00:58 2001 Usaku Nakamura <[email protected]>
* win32/dir.h: re-add.
Thu May 31 01:25:59 2001 Akinori MUSHA <[email protected]>
* configure.in: default --with-libc_r to `no' until the problem is
fixed. (FreeBSD only)
Tue May 29 17:24:23 2001 K.Kosako <[email protected]>
* ruby.c (proc_options): unexpected SecurityError happens when -T4.
Tue May 29 18:46:04 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* time.c (make_time_t): local time adjustment revised.
Mon May 28 02:20:38 2001 Akinori MUSHA <[email protected]>
* 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 <[email protected]>
* parse.y: accomplish extended syntax described in [ruby-talk:14525]
using tSPC token. [new, experimental]
Sat May 26 07:05:45 2001 Usaku Nakamura <[email protected]>
* MANIFEST: add win32/dir.h .
Fri May 25 20:03:51 2001 Pascal Rigaux <[email protected]>
* dln.c (dln_find_1): should exclude directories in executable
file lookup.
Fri May 25 18:00:26 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* MANIFEST: update the entries I forgot to add or remove.
Fri May 25 00:57:25 2001 Akinori MUSHA <[email protected]>
* 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 <[email protected]>
* ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS
properly.
Thu May 24 16:10:33 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* mkconfig.rb: autoconf 2.50 support.
Thu May 24 14:23:35 2001 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_yield_0): need argument adjustment for C defined
blocks too.
Thu May 24 01:11:30 2001 Yukihiro Matsumoto <[email protected]>
* ext/dbm/extconf.rb: header search added. [new]
Wed May 23 02:58:21 2001 Tanaka Akira <[email protected]>
* time.c (make_time_t): fix ad-hoc local time adjustment, using
binary tree search.
Tue May 22 17:10:35 2001 K.Kosako <[email protected]>
* variable.c (rb_alias_variable): should not allow variable
aliasing if $SAFE >= 4.
Tue May 22 02:37:45 2001 Yukihiro Matsumoto <[email protected]>
* 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 <[email protected]>
* bignum.c (rb_big2str): t should be protected from GC.
Sat May 19 09:29:07 2001 Yukihiro Matsumoto <[email protected]>
* process.c (rb_proc_times): need not to check retrun value from
times(2).
Fri May 18 05:36:08 2001 Akinori MUSHA <[email protected]>
* ext/extmk.rb.in (xsystem): backout the previous fix which was
bogus.
Fri May 18 05:19:55 2001 Akinori MUSHA <[email protected]>
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
properly expanded on a command execution.
* ext/extmk.rb.in (xsystem): ditto.