forked from ruby/ruby
/
ChangeLog
3382 lines (1852 loc) · 101 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
Wed Feb 10 15:20:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): empty pattern should not cause infinite
pattern match loop.
* regex.c (re_compile_pattern): RE_OPTIMIZE_ANCHOR for /.*/, not
for /(.|\n)/.
* numeric.c (fix_pow): `fixnum**nil' should raise TypeError.
* bignum.c (rb_big_pow): need to normalize results.
Wed Feb 10 01:42:41 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (fix_pow): `(5**1).type' should be Integer.
Tue Feb 9 01:22:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): do not ignore newlines in mbchars.
* io.c (rb_file_s_open): mode can be specified by flags like
open(2), e.g. File::open(path, File::CREAT|File::WRONLY).
* io.c (rb_f_open): bit-wise mode flags for pipes
* io.c (Init_IO): bit flags for open.
Sat Feb 6 22:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_sub_bang): should not overwrite match data by
regexp match within the block.
* string.c (rb_str_gsub_bang): ditto.
Sat Feb 6 03:06:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_getter): accessng $~ without matching caused SEGV.
Fri Feb 5 22:11:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y (yylex): binary literal support, like 0b01001.
* parse.y (yylex): octal numbers can contain `_'s.
* parse.y (yylex): warns if non-octal number follows immediately
after octal literal.
* parse.y (yylex): now need at least one digit after prefix such
as 0x, or 0b.
* bignum.c (rb_str2inum): recognize binary numbers like 0b0101.
Fri Feb 5 03:26:56 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* ruby.c (proc_options): -e without program prints error.
Fri Feb 5 00:01:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (terms): needed to clear heredoc_end.
* numeric.c (flo_div): allow float division by zero.
Thu Feb 4 11:56:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/strtod.c: for compatibility.
* configure.in (strtod): add strtod compatible check.
* numeric.c (rb_num2long): missing/vsnprintf.c does not supprt
floating points.
* numeric.c (flo_to_s): ditto.
Wed Feb 3 23:02:12 1999 Yoshida Masato <yoshidam@yoshidam.net>
* regex.c (re_compile_pattern): use ismbchar() to get next char.
* regex.c (re_search): wrong mbchar shift.
* re.c (rb_reg_search): needed to reset $KCODE after match.
* regex.c (re_compile_fastmap): mbchars should match with \w.
Wed Feb 3 22:35:12 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y (yylex): too big float raise warning, not error.
Tue Feb 2 23:41:42 1999 Yoshida Masato <yoshidam@yoshidam.net>
* regex.c (re_match): wrong boundary.
* regex.c (IS_A_LETTER): re_mbctab[c] may not be 1 for mbc.
* regex.c (re_search): mbchar support for shifting ranges.
* regex.c (MBC2WC): wrong conversion.
Wed Feb 3 15:03:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): need to escape parens if terminators are
not any kind of parenthesis.
* parse.y (parse_qstring): ditto.
* parse.y (parse_string): ditto.
Tue Feb 2 17:11:26 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* string.c (rb_str_gsub_bang): too small realoc condition.
Mon Feb 1 10:01:17 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y (yylex): range check for the float literal.
Sat Jan 30 18:34:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (usage): -h option to show brief command description.
Sat Jan 30 08:45:16 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp>
* lib/cgi-lib.rb: cookie support added.
Sat Jan 30 13:38:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): mbchars should match with \w
within character classs. Was matching with \W.
* regex.c (re_match): \w should match with multi byte characters,
not its first byte.
Sat Jan 30 10:06:41 1999 Yoshida Masato <yoshidam@yoshidam.net>
* re.c (rb_reg_s_new): UTF-8 flag handle (/u, /U).
* re.c (rb_kcode): $KCODE handle for UTF-8.
Sat Jan 30 01:51:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_delete_if): RTEST() missing.
* hash.c (delete_if_i): ditto.
* enum.c (Init_Enumerable): select (=find_all), detect (=find)
added as aliases.
Fri Jan 29 21:32:19 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* hash.c (rb_f_setenv): SEGV caused by small typo.
Fri Jan 29 00:15:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/parsedate.rb (parsedate): support date format like
23-Feb-93, which is required by HTTP/1.1.
* variable.c (find_class_path): avoid calling rb_iv_set().
* eval.c (backtrace): do not need to modify $SAFE internally.
* variable.c (classname): inline __classid__ access.
* eval.c (THREAD_ALLOC): needed to initialize wrapper.
* lib/ftools.rb (makedirs): allows slash at the end of the path.
* numeric.c (rb_fix_induced_from): ensure result to be Fixnum.
Thu Jan 28 17:31:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (flo_to_s): float format changed to "%16.10g".
Thu Jan 28 02:13:11 1999 Yoshinori Toki <toki@freedom.ne.jp>
* array.c (rb_ary_store): expand allocated buffer by 3/2.
Wed Jan 27 17:50:02 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
* bignum.c (dbl2big): raised error if double is too big to cast
into long. check added.
Wed Jan 27 03:16:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_mod_const_at): can't list constants of the
untainted objects in safe mode.
* class.c (method_list): can't list methods of untainted objects
in safe mode.
Tue Jan 26 02:40:41 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* prec.c: Precision support for numbers.
Thu Jan 21 19:08:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_raise): calls `exception' method, not `new'.
* error.c (exc_exception): renamed from `new'.
Wed Jan 20 03:39:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yycompile): rb_in_compile renamed to ruby_in_compile.
* ruby.c (load_file): define DATA iff __END__ appeared in script.
Tue Jan 19 14:57:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): need to protect lex_lastline.
* parse.y (yylex): disable %//, %'', %``.
Tue Jan 19 05:01:16 1999 Koji Arai <JCA02266@nifty.ne.jp>
* array.c (beg_len): round range value too much.
Mon Jan 18 13:02:27 1999 Kuroda Jun <jkuro@dwe.co.j>
* hash.c (env_keys): strchr() may return NULL.
Mon Jan 18 17:51:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* instruby.rb (wdir): install libruby.a in archdir.
* lib/ftools.rb (install): removes file before installing.
Mon Jan 18 16:55:31 1999 MAEDA shugo <shugo@aianet.ne.jp>
* eval.c (rb_callcc): experimental continuation support.
Sun Jan 17 19:45:37 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* pack.c (pack_pack): nil packing caused SEGV.
Sat Jan 16 13:18:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_concat): character (fixnum) can be append to
strings
* array.c (rb_ary_unshift): unshift returns array.
Sat Jan 16 01:39:19 1999 Yoshida Masato <yoshidam@tau.bekkoame.ne.jp>
* string.c (rb_str_split_method): UTF-8 support.
* regex.c: UTF-8 support.
Thu Jan 14 00:42:55 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_gsub_bang): forget to add offset for null match.
* eval.c (rb_thread_local_aset): can't modify in tainted mode.
* hash.c (env_each_key): avoid generating temporary array.
Wed Jan 13 23:58:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_f_setenv): name and value can be tainted.
Wed Jan 6 02:42:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (Init_Bignum): forgot to define Bignum#===.
* gc.c (gc_sweep): if add_heap() is called during GC, objects on
allocated heap page(s) are not marked, should not be recycled.
* gc.c (gc_sweep): should refer latest freelist.
* gc.c (id2ref): modified to support performance patch.
* object.c (rb_obj_id): performance patch (no bignum for id).
Tue Jan 5 01:56:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* config.guess: merge up-to-date from autoconf 2.12.
* array.c (rb_ary_join): avoid calling rb_protect_inspect() till
it is really needed.
* object.c (rb_obj_inspect): show detailed information for the
instance variables (infinite loop can avoid now).
* struct.c (rb_struct_inspect): avoid infinite loop.
Sun Jan 3 01:37:58 1999 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp>
* misc/ruby-mode.el (ruby-end-of-defun): moved too much.
* misc/ruby-mode.el (ruby-mode-variables): set paragraph-separator
for the mode.
* misc/ruby-mode.el: proper font-lock for `def' and `nil' etc.
Sat Jan 2 17:09:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_jump_tag): new api to invoke JUMP_TAG. tag values
can obtained from rb_eval_string_protect()/rb_load_protect().
* eval.c (rb_rescue): now catches all exceptions but SystemExit.
* eval.c (rb_eval_string_protect): eval string with protection.
* eval.c (rb_load_protect): load file with protection.
* io.c (rb_io_puts): avoid infinite loop for cyclic arrays.
* eval.c (rb_thread_local_aref): thread local hash tables.
* object.c (rb_equal): check exact equal before calling `=='.
Thu Dec 31 22:28:53 1998 MAEDA shugo <shugo@aianet.ne.jp>
* eval.c (rb_f_require): feature names should be provided with
DLEXT extension.
* marshal.c (Init_marshal): need to provide `marshal.so'.
Wed Dec 30 02:29:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (classname): do not call rb_ivar_set().
* eval.c (ruby_run): finalizers were called too early.
Fri Dec 25 12:19:30 1998 Fukuda Masaki <fukuda@wni.co.jp>
* gc.c (rb_gc_mark): should not return on FL_EXIVAR.
Fri Dec 25 11:56:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (gc_mark): proper scanning for temporary region.
* eval.c (TMP_ALLOC): protection for C_ALLOCA was broken.
Thu Dec 24 18:26:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* development version 1.3 released.
Thu Dec 24 00:17:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_load): top self should be set properly.
* variable.c (classname): check __classpath__ iff it is defined.
* variable.c (classname): invalid warning at -v with static linked
ruby interpreter.
* eval.c (is_defined): modified for expr::Const support.
* eval.c (rb_eval): invoke method expr::Const if expr is not class
nor module.
* parse.y (primary): enable expr::identifier as method
invocation.
Wed Dec 23 03:04:36 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): avoid too many loop pops for (?:..).
Tue Dec 22 18:01:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental version 1.1d1 released.
Mon Dec 21 01:33:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (TMP_PROTECT): add volatile to ensure GC protection.
* string.c (rb_str_gsub_bang): calculate buffer size properly.
* parse.y (lex_get_str): needed to return Qnil at EOS.
* eval.c (find_file): check policy modified, raise exception
immediately for tainted load_path.
* hash.c (rb_f_setenv): do not depend on setenv() nor putenv().
Thu Dec 17 06:29:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/tk/tkutil.c (tk_s_new): use rb_obj_instance_eval(), instead
of rb_yield_0().
* eval.c (rb_f_require): forgot to call find_file in some cases.
* eval.c (rb_f_require): `require "feature.so"' to load dynamic
libraries. old `require "feature.o"' is still OK.
* eval.c (rb_eval): yield without value dumped core.
Wed Dec 16 16:28:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental version 1.1d0 (pre1.2) released.
Wed Dec 16 10:43:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): bound check before calling re_match().
Tue Dec 15 13:59:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (exc_to_s): returns class name for unset mesg.
* error.c (exc_initialize): do not initialize @mesg by "".
* parse.y (nextc): __END__ should handle CR+LF newlines.
Wed Dec 9 13:37:12 1998 MAEDA shugo <shugo@aianet.ne.jp>
* pack.c (encodes): use buffering for B-encoding.
* pack.c (pack_pack): Q-encoding by 'M'.
Tue Dec 8 14:10:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (generic_ivar_get): any object can have instance
variables now. great improvement.
* variable.c (rb_name_class): do not set __classpath__ by default,
use __classid__ instead.
Mon Dec 7 22:08:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (struct RFile): IO objects can have instance variables now.
* parse.y (primary): allows `def obj::foo; .. end'.
Mon Dec 7 18:24:50 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ruby.c (set_arg0): $0 supprt for HP-UX.
Mon Dec 7 01:30:28 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dln.c (dln_strerror): better error messages on win32.
Sat Dec 5 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): indentable here-doc delimiter by
`<<-'. Proposed by Clemens <c.hintze@gmx.net>. Thanks.
Thu Dec 3 16:50:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/extmk.rb.in (realclean): trouble on install.
Sun Nov 29 22:25:39 1998 Takaaki Tateishi <ttate@jaist.ac.jp>
* process.c (f_exec): check number of argument.
Thu Nov 26 17:27:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c9 released.
Wed Nov 25 13:07:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dup): do not copy additional data (STR_NO_ORIG).
* parse.y (yycompile): reduce known memory leak (hard to remove).
Wed Nov 25 03:41:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* st.c (st_init_table_with_size): round size up to prime number.
Sat Nov 21 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_aset): reduce copying key strings.
* gc.c (looks_pointerp): declare as inline function if possible.
* st.c (PTR_NOT_EQUAL): compare hash values first before calling
comparing function.
* st.c (ADD_DIRECT): save hash value in entries to reduce hash
calculation.
* string.c (rb_str_gsub_bang): avoid rb_scan_args() to speed-up.
* string.c (rb_str_sub_bang): ditto.
Sat Nov 21 18:44:06 1998 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* time.c (time_s_now): had memory leak.
* ext/md5/md5init.c (md5_new): had memory leak.
* ext/md5/md5init.c (md5_clone): ditto.
Fri Nov 20 23:23:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/delegate.rb: do not propagate hash and eql?.
Thu Nov 19 01:40:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sample/ruby-mode.el (ruby-expr-beg): failed to find reserved
word boundary.
* eval.c (rb_eval): avoid calling `concat' method. calls
rb_ary_concat() directly for efficiency.
* eval.c (rb_eval): actual rest arguments extended arrays too much.
Wed Nov 18 14:30:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (rb_define_global_function): global functions now be
module function of the Kernel.
Wed Nov 18 10:48:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (read_all): SEGV on large files.
Tue Nov 17 18:11:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c8 released.
Tue Nov 17 16:58:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): assignment to attribute name start with capital
should be allowed.
* eval.c (thread_alloc): needed to mark terminated threads too.
Tue Nov 17 12:33:48 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* ext/extmk.rb.in (create_makefile): Set `libdir' to `@libdir@',
Set `pkglibdir' to `$libdir/$(RUBY_INSTALL_NAME)'.
Tue Nov 17 10:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (f_sprintf): %l%%c -> %%l%c
Tue Nov 17 01:08:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (ret_args): distinguish `a' and `*a' for the arguments
of yield and return.
* eval.c (rb_eval): flip3 should work like sed.
* eval.c (rb_eval): flip{2,3} now have independent state for each
scope to work fine with thread.
Mon Nov 16 23:26:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (primary): exec else clause if no exception raised.
Sun Nov 15 15:44:07 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* ext/extmk.rb.in (install): bug in target.
Sat Nov 14 11:02:05 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* Makefile.in (install): Give the argument `$(DESTDIR)' to
`instruby.rb'.
* instruby.rb: Recognize ARG[0] as `destdir'.
* instruby.rb: Give the argument `destdir' to `extmk.rb'.
* ext/extmk.rb.in: Recognize ARG[1] as `$destdir'.
* instruby.rb: Create the installation directories (bindir, libdir,
archdir, pkglibdir, archdir, and mandir) under `destdir', and
install all files under there.
* ext/extmk.rb.in: Likewise.
Sat Nov 14 10:56:55 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* instruby.rb: Add the variable `pkglibdir'.
* instruby.rb: Set the variable `libdir' to `$(libdir)', not
`$(libdir)/$(ruby_install_name)'. `libruby.so' and `libruby.so.LIB'
are installed at `libdir'.
* instruby.rb: Set the variable `archdir' to `$(pkglibdir)/$(arch)'.
Fri Nov 13 19:43:29 1998 KIMURA Koichi <kbk@kt.rim.or.jp>
* missing/nt.c (SafeFree): wrong free offset.
Thu Nov 12 20:11:53 1998 Koji Arai <JCA02266@nifty.ne.jp>
* sample/ruby-mode.el: wrong highlight.
* parse.y (parse_regx): newline in regexp was ignored.
Wed Nov 11 10:54:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): <<'FOO' should not escape anything.
* parse.y (here_document): bare << here-doc available, even though
it's deprecated.
* file.c (rb_file_s_readlink): return value should be tainted.
* ext/etc/etc.c (setup_passwd): information (eg. GCOS name) should
be tainted (modified at Perl Conference).
Tue Nov 10 00:22:11 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: elf supprt for FreeBSD 3.x
Tue Nov 10 00:05:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): here document available in eval.
Mon Nov 9 17:55:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c7 released.
Fri Nov 6 19:25:27 1998 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp>
* sample/ruby-mode.el: font-lock patch.
Thu Nov 5 15:42:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sample/README, lib/README: simple description for each file.
Wed Nov 4 18:14:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (assign): attribute assignment should be called as public.
Tue Nov 3 23:36:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dump): dumps core for negative char value.
* regex.c (re_compile_pattern): out of boundary access for empty
regexp.
Mon Nov 2 22:54:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_aset): `str[str]' replaces first match.
Mon Nov 2 18:24:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_create): was accessing modified status.
Sun Nov 1 01:18:52 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* gc.c (xrealloc): size 0 needs round up to 1.
Sat Oct 31 23:18:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_split_method): negative LIMIT means number of
splitted fields are unlimited, as in perl.
* string.c (rb_str_split_method): if LIMIT is unspecified,
trailing null fields are stripped.
Sat Oct 31 04:16:14 1998 Inaba Hiroto <inaba@st.rim.or.jp>
* string.c (str_aref): regexp index SEGVed.
Fri Oct 30 14:33:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_match): returns nil for unmatch.
* dir.c (dir_entries): new method.
* eval.c (block_pass): do not push block, substitute it.
Fri Oct 30 01:28:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* range.c (range_check): avoid <=> check for Fixnums.
* array.c (rb_ary_aset): accept negative index.
Wed Oct 28 22:00:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): access out of boundary fixed.
Wed Oct 28 11:37:42 1998 TAMITO <tommy@valley.ne.jp>
* io.c (f_select): fd number comparison bug.
Tue Oct 27 23:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sample/ruby-mode.el (ruby-parse-region): forgot to support %w()
style array literal.
* eval.c (rb_eval): unused block raises warning.
Mon Oct 26 09:37:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (dvar_asgn_push): dvar pushed too many times if
variable-in-block first appear in loops.
Sun Oct 25 22:59:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (set_list_bits): was using wrong offset.
Thu Oct 22 00:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_obj_method): method retrieved from tainted object
should be tainted too.
* eval.c (method_call): safe_level should be restored during
Method#call.
Wed Oct 21 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (Init_IO): new constants IO::SEEK_{SET,CUR,END}.
* io.c (rb_f_ungetc): ungetc pushes a char back into STDIN.
Mon Oct 19 11:50:00 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* ext/extmk.rb: Load '@top_srcdir@/lib/find.rb', not
'../lib/find.rb'.
* ext/extmk.rb: Distinguish between `top_srcdir' and `topdir'.
* Makefile.in (CFLAGS): Add `-I.'.
* Makefile.in (lex.c): Give `@srcdir@/keywords' to gperf, not
`keywords'.
* instruby.rb: Use `CONFIG["bindir"]', instead of `prefix + "/bin"'.
* instruby.rb: Use `CONFIG["libdir"]', instead of `prefix + "/lib"'.
* instruby.rb Use `CONFIG["mandir"]', instead of `prefix + "/man"'.
* instruby.rb (wdir): Add the variable to preserve the current
working directory.
* instruby.rb: Chdir to wdir before install `config.h' and
`rbconfig.rb'.
Mon Oct 19 10:07:01 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* eval.c (rb_eval): reduce recursive calls to rb_eval().
Fri Oct 16 15:31:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_new_internal): timeval must be positive.
Thu Oct 15 13:54:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): local variabls can be accessed within right side
expression in assignment, notably in blocks.
Wed Oct 14 00:18:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (Init_Array): Array#=== is now for equal check, not
inclusion check.
* parse.y (when_args): `when a, *b' style new syntax for array
expansion in `case'.
Tue Oct 13 14:30:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_obj_untaint): taint marks can be unset.
* eval.c (rb_eval): taint propagation for embedded strings.
Mon Oct 12 13:27:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call0): check stack depth more frequently.
Mon Oct 12 08:08:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_p): can print even in secure mode.
Sun Oct 11 22:50:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_const_set): taint check for modification.
* variable.c (rb_ivar_set): taint check for modification.
* string.c (rb_str_modify): taint check for modification.
* hash.c (rb_hash_modify): taint check for modification.
* array.c (rb_ary_modify): taint check for modification.
* ruby.h (FL_TAINT): taint for all objects, not only strings.
Fri Oct 9 17:01:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (read_all): read() returns "" at immediate EOF.
* io.c (io_read): read(nil) read all until EOF.
Thu Oct 8 13:32:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_dump): marshal can dump Time object now.
* marshal.c (Init_marshal): rename marshal methods `_dump_to' to
`_dump', `_load_from' to `_load'.
* parse.y (rb_intern): "+=".intern generates proper symbol.
Mon Oct 5 18:31:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c6 released.
Fri Oct 2 14:22:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): `/\s*(--)$/ =~ "- --"' did not match,
because of wrong optimize condition.
Mon Oct 1 01:55:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rb_intern): should not raise exceptions.
* parse.y (yylex): symbol like `:foo?=' should not be allowed.
* ext/extmk.rb.in: makes *.a for static link modules.
Wed Sep 30 14:13:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_start): supports making a subclass of the
Thread class.
Tue Sep 29 17:46:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_join): join is now an instance method.
Fri Sep 25 12:01:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `@foo!' should be an error.
Thu Sep 24 14:55:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ext/etc/etc.c (Init_etc): wrong field definition.
Thu Sep 17 17:09:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_reopen): was creating FILE* for wrong fd.
Tue Sep 15 05:28:11 1998 Koji Arai <JCA02266@nifty.ne.jp>
* regex.c (re_compile_pattern): forgot to fixup for the pattern
like (?=(A)|(B)).
Tue Sep 15 01:06:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_gets_internal): do not set $_ by default, only
gets/readline set the variable.
* eval.c (rb_f_load): load toplevel class is set to anonymous
module if safe_level >= 5, to encapsulate modification.
* eval.c (rb_f_load): set frame properly.
* string.c (rb_str_each_line): do not set $_.
Mon Sep 14 14:42:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): beginning and end of the string, do not
automatically match `\b'.
* string.c (scan_once): comsume at leaset on character.
* regex.c (re_search): wrong behavior for negative range.
Sat Sep 12 21:21:26 1998 Koji Arai <JCA02266@nifty.ne.jp>
* regex.c (re_search): range value should be maintained.
Thu Sep 10 10:55:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (backref_error): yyerror does not understand formats.
Tue Sep 8 18:05:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c5 released.
Tue Sep 8 10:03:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_each_line): wrong line splitting with newline at
top of the string.
* string.c: non bang methods return copied string.
* eval.c (f_END): needed to initialize frame->argc;
Fri Sep 4 11:27:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigadd): proper sign combination.
* regex.c (re_search): wrong return value for \A.
>>>>>>> 1.1.1.2.2.154
Thu Sep 3 14:08:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c4 released.
Tue Sep 1 10:47:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (slow_search): do not compare llen and blen. llen may
be longer than blen, if little contains 0xff.
* regex.c (mbctab_euc): set 0x8e as multibyte character.
* string.c (str_inspect): mask character for octal output.
Mon Aug 31 15:32:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): use calculated offset if exactn is the
first opcode in the compiled regexp.
* regex.c (bm_search): use Boyer-Moore search for simple search.
* regex.c (must_instr): wrong length check if pattern includes
byte escape by 0xff.
* regex.c (re_compile_pattern): need not to check current_mbctype.
Sat Aug 29 16:31:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_check_safe_str): avoid calling rb_id2name() in normal
cases to speed-up.
* eval.c (thread_raise): do not save context of terminated thread.
* regex.c (re_compile_pattern): mask \nnn over 256.
Sat Aug 29 02:09:46 1998 1998 Koji Arai <JCA02266@nifty.ne.jp>
* sprintf.c (f_sprintf): wrong buffer size check.
Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...).
Fri Aug 28 12:25:33 1998 Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>
* ruby.c (ruby_require_modules): load modules in appearing order.
Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...).
Thu Aug 27 12:54:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c3 released.
Wed Aug 26 14:40:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): check whether ruby_class is properly set,
before accessing it.
* eval.c (rb_obj_instance_eval): ruby_class should be Qnil for
special objects like Fixnums.
* ext/tkutil/tkutil.c (Init_tkutil): removes calls to
rb_yield_0(). used instance_eval() instead in the tk.rb.
Wed Aug 26 11:47:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): pop non-greedy stack elements on success.
Wed Aug 26 09:25:35 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.h: add #define environ for cygwin32.
Tue Aug 25 08:57:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_sort_bang): temporarily freeze sorting array.
Mon Aug 24 18:46:44 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dln.c (dln_find_1): path check was too strict.
Mon Aug 24 15:28:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* parse.y (f_arglist): opt_nl added after f_args.
Fri Aug 21 01:06:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c: grand renaming on socket.c.
* ext/socket/socket.c (inet_aton): supply inet_aton for those
systems that do not have it.
* ext/socket/socket.c (setipaddr): use inet_aton instead of
inet_addr.
* ext/socket/socket.c (tcp_s_gethostbyname): new method: works
like Socket.gethostbyname but returning array contains ip-addrs
as octet decimal string format like "127.0.0.1".
* ext/socket/socket.c (mkhostent): return format changed to
[host, aliases, type, ipaddr..] as documented.
Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_ctl): forgot to place TRAP_END at right position.
Fri Aug 14 11:01:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_trace_func): save __FILE__, __LINE__ before
executing trace_func, since trace function should not corrupt
line number information.
Thu Aug 13 15:09:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_s_new): was marking unallocated region on GC.
Tue Aug 11 11:57:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c2 released.
Mon Aug 10 14:05:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (f_system): removed fflush(stdin).
Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (err_snprintf): replace sprintf for fixed sized buffer,
with snprintf to avoid buffer over-run. For systems which does
dot provide snprintf, missing/snprintf.c added.
Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_search): recycle match object.
Mon Aug 3 09:17:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_gsub_bang): do not allocate temporary string.