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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
|
Tue Jul 3 23:58:29 2001 Akinori MUSHA <knu@iDaemons.org>
* lib/mkmf.rb: distclean should remove mkmf.log as well.
Tue Jul 3 18:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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 <shugo@ruby-lang.org>
* 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 <nobu.nakada@nifty.ne.jp>
* error.c (rb_name_error): raise NameError instead of LoadError.
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".
Tue Apr 10 17:52:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_included): new hook called from rb_mod_include().
Tue Apr 10 02:24:40 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* io.c (opt_i_set): should strdup() inplace_edit string.
Mon Apr 9 23:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (exec_under): need to push cref too.
Mon Apr 9 15:20:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_missing): raise NameError for "undefined local
variable or method".
* error.c (Init_Exception): new exception NoMethodError.
NameError moved under ScriptError again.
* eval.c (rb_f_missing): use NoMethodError instead of NameError.
Mon Apr 9 12:05:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (Init_File): should redifine "new" class method.
Mon Apr 9 11:56:52 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: fix typo.
Fri Apr 6 01:46:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (PUSH_CREF): sharing cref node was problematic. maintain
runtime cref list instead.
* eval.c (rb_eval): copy defn node before registering.
* eval.c (rb_load): clear ruby_cref before loading.
Thu Apr 5 22:40:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_const_get): no recursion to show full class path
for modules.
* eval.c (rb_set_safe_level): should set safe level in curr_thread
as well.
* eval.c (safe_setter): ditto.
Thu Apr 5 13:46:06 2001 K.Kosako <kosako@sofnec.co.jp>
* object.c (rb_obj_is_instance_of): nil belongs to false, not true.
Thu Apr 5 02:19:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (make_time_t): proper (I hope) daylight saving time
handling for both US and Europe. I HATE DST!
* eval.c (rb_thread_wait_for): non blocked signal interrupt should
stop the interval.
Wed Apr 4 03:47:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (proc_eq): class check aded.
* eval.c (proc_eq): typo fixed ("return" was ommitted).
* error.c (Init_Exception): move NameError under StandardError.
* class.c (rb_mod_clone): should copy method bodies too.
* bignum.c (bigdivrem): should trim trailing zero bdigits of
remainder, even if dd == 0.
* file.c (check3rdbyte): safe string check moved here.
Tue Apr 3 09:56:20 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in (create_makefile): create def file only if
it does not yet exist.
* lib/mkmf.rb: ditto.
Tue Apr 3 00:05:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (make_time_t): remove HAVE_TM_ZONE code since it
sometimes reports wrong time.
* time.c (make_time_t): remove unnecessary range check for
platforms where negative time_t is available.
Mon Apr 2 16:52:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (proc_waitall): should push Process::Status instead of
Finuxm status.
* process.c (waitall_each): should add all entries in pid_tbl.
these changes are inspired by Koji Arai. Thanks.
* process.c (proc_wait): should not iterate if pid_tbl is 0.
* process.c (proc_waitall): ditto.
Mon Apr 2 14:25:49 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/monitor.rb (wait): ensure reentrance.
* lib/monitor.rb (wait): fix timeout support.
Mon Apr 2 12:40:45 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (media_subtype): return subtype.
Mon Apr 2 12:01:15 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (flag_list): capitalize flags.
Mon Apr 2 01:32:38 2001 Akinori MUSHA <knu@iDaemons.org>
* Makefile.in: Introduce MAINLIBS.
* configure.in: Link libc_r against the ruby executable on
FreeBSD, which is the first attempt to work around a certain
problem regarding pthread on FreeBSD. It should make ruby/libruby
happy when it loads an extention to a library compiled and linked
with -pthread. Note, however, that libruby is _not_ linked with
libc_r so as not to mess up pthread unfriendly stuff including
apache+mod_ruby and vim6+ruby_interp.
Mon Apr 2 01:16:24 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c: use ruby's opendir on mingw32.
* win32/dir.h, dir.c, Makefile: ditto.
Sun Apr 1 23:26:14 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp>
* numeric.c (flodivmod): a bug in no fmod case.
Sun Apr 1 18:36:14 2001 Koji Arai <JCA02266@nifty.ne.jp>
* process.c (pst_wifsignaled): should apply WIFSIGNALED for status
(int), not st (VALUE).
Sat Mar 31 04:47:55 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: add document and example code.
Sat Mar 31 03:24:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (Init_IO): value of $/ and $\ are no longer restricted to
strings. type checks are done on demand.
* class.c (rb_include_module): module inclusion should be check
taints.
* ruby.h (STR2CSTR): replace to StringType() and StringTypePtr().
* ruby.h (rb_str2cstr): ditto.
Fri Mar 30 23:37:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_load): should not copy topleve local variables. It
cause variable/method ambiguity. Thanks to L. Peter Deutsch.
Fri Mar 30 22:56:56 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
Fri Mar 30 12:51:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_include_module): freeze check at first.
Thu Mar 29 17:05:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_attr): sprintf() and rb_intern() moved into
conditional body.
Wed Mar 28 23:43:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
rules for the mswin32 platforms.
Wed Mar 28 19:29:21 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place.
Wed Mar 28 17:39:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_str2cstr): warn if string contains \0 and length
value is ignored.
Wed Mar 28 15:00:31 2001 K.Kosako <kosako@sofnec.co.jp>
* class.c (rb_singleton_class_clone): should copy class constant
table as well.
Wed Mar 28 14:23:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* class.c (rb_include_module): sometimes cache was mistakenly left
uncleared - based on the patch by K.Kosako.
* ruby.h: all Check_SafeStr()'s are replaced by SafeStr() to
ensure 'to_str' be always effective.
Wed Mar 28 09:52:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/Makefile.sub: disable global optimization.
Tue Mar 27 15:00:54 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (rb_mod_define_method): should have clear method cache.
* eval.c (rb_mod_define_method): should have raised exception for
type error.
Tue Mar 27 14:48:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.h: changed "extern INLINE" to "static inline".
Mon Mar 26 23:19:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* time.c (rb_strftime): check whether strftime returns empty string.
Mon Mar 26 21:16:56 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: supports response handlers and multiple commands.
Mon Mar 26 17:21:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.
Mon Mar 26 14:04:41 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/Win32API/Win32API.c: remove Init_win32api().
Sun Mar 25 16:52:48 2001 Koji Arai <JCA02266@nifty.ne.jp>
* file.c (rb_file_flock): do not trap EINTR.
* missing/flock.c (flock): returns the value from lockf(2)
directly.
Sat Mar 24 23:44:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ev_const_defined): should ignore toplevel cbase (Object).
* eval.c (ev_const_get): ditto.
Fri Mar 23 17:37:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/md5/md5.h: replace by independent md5 implementation
contributed by L. Peter Deutsch (thanks).
* ext/md5/md5init.c: adopted to Deutsch's md5 implementation.
Fri Mar 23 17:26:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_unpack): string from P/p should be tainted.
Fri Mar 23 12:18:44 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* ext/curses/curses.c: curses on Mac OS X public beta does not
have _maxx etc.
Fri Mar 23 10:50:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_object): should truncate trailing zero short for
bignums.
Fri Mar 23 09:49:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (sym_intern): new method.
Thu Mar 22 22:15:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/Win32API/extconf.rb: add -fno-omit-frame-pointer.
Thu Mar 22 18:17:36 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_nesting): should not include Object at the
toplevel.
Thu Mar 22 17:43:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.h: better inline function support.
* configure.in (NO_C_INLINE): check if inline is available for the
C compiler.
Mon Mar 19 11:03:10 2001 Koji Arai <JCA02266@nifty.ne.jp>
* marshal.c (r_object): len calculation patch was wrong for
machines SIZEOF_BDIGITS == SIZEOF_SHORT.
* gc.c: alloca prototype reorganized for C_ALLOCA machine.
Wed Mar 21 23:07:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c (win32_stat): WinNT/2k "//host/share" support.
Wed Mar 21 08:05:35 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/dir.h: replace missing/dir.h .
* win32/win32.h: ditto.
* win32/win32.c: ditto.
Wed Mar 21 01:26:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (id2ref): sometimes confused symbol and reference.
Tue Mar 20 23:09:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c (win32_stat): UNC support.
* dir.c (extract_path): fix "./*" problem.
Tue Mar 20 15:10:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (glob_helper): breaks loop after calling recusive
glob_helper; all wild cards should be consumed; no need for
further match.
* dir.c (dir_s_glob): gives warning if no match found.
Tue Mar 20 14:13:45 Koji Arai <JCA02266@nifty.ne.jp>
* object.c (sym_inspect): did allocate extra byte space.
Mon Mar 19 19:14:47 2001 Guy Decoux <decoux@moulon.inra.fr>
* marshal.c (shortlen): shortlen should return number of bytes
written.
Mon Mar 19 16:52:23 2001 K.Kosako <kosako@sofnec.co.jp>
* eval.c (ev_const_defined): need not to check if cbase->nd_class
is rb_cObject.
* eval.c (ev_const_get): ditto.
Mon Mar 19 17:11:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_zone): return "UTC" for UTC time objects.
Mon Mar 19 16:27:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (THREAD_ALLOC): flags should be initialized.
* signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT.
Mon Mar 19 10:55:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (glob_helper): replace lstat() by stat() to follow symlink
in the case like 'symlink/*'.
* dir.c (glob_helper): gave warning too much.
Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: // === '' --> //.match('')
* lib/cgi.rb: cgi#header(): improvement for mod_ruby.
* lib/cgi.rb: cgi#rfc1123date(): improvement.
thanks to TADA Tadashi <sho@spc.gr.jp>.
* lib/cgi.rb: cgi#rfc1123date(): document bug fix.
thanks to Kazuhiro NISHIYAMA <zn@mbf.nifty.com>.
* lib/cgi.rb: cgi#header(): bug fix.
thanks to IWATSUKI Hiroyuki <don@na.rim.or.jp>.
Sat Mar 17 11:11:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (glob_helper): * should follow symlink, whereas ** should
not follow.
Thu Mar 15 01:28:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (dir_s_chdir): block form of Dir.chdir. (RCR#U016).
Fri Mar 16 17:14:17 2001 Akinori MUSHA <knu@iDaemons.org>
* configure.in: Set SOLIBS properly for all ELF and
FreeBSD/NetBSD/OpenBSD a.out platforms so that the shlib
dependencies are recorded in the libruby shlib.
Wed Mar 14 16:41:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): raise FATAL just once to
THREAD_TO_KILL.
Wed Mar 14 10:41:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so that
default self should be checked by klass == 0.
* bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc.
Tue Mar 13 17:51:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ev_const_defined): add new parameter self for special
const fallback.
* eval.c (ev_const_get): ditto.
Tue Mar 13 16:39:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c (rb_glob_helper): fix drive letter handling on DOSISH.
Tue Mar 13 14:54:39 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: add HTTPRequest#basic_auth.
* lib/net/smtp.rb: raise if only account or password is given.
* lib/net/protocol.rb: WriteAdapter#<< returns self.
Tue Mar 13 14:41:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (argf_seek_m): wrong calling sequence of rb_io_seek().
Tue Mar 13 09:14:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (cond0): no special treatment of string literal in
condition.
Mon Mar 12 18:59:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.
Sun Mar 11 18:13:34 2001 Masahiro Tanaka <masa@stars.gsfc.nasa.gov>
* math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math.
* configure.in: check hypot availablility.
* missing/hypot.c: public domain rewrite of hypot.
Sun Mar 11 13:21:04 2001 Koji Arai <JCA02266@nifty.ne.jp>
* parse.y (warn_unless_e_option): warning condition was wrong.
* parse.y (warning_unless_e_option): ditto.
Sun Mar 11 00:55:31 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/mkmf.rb (install_rb): fix handling of destination path.
Sat Mar 10 22:56:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_all): new method 'all?', which returns true if
block returns true for all elements.
* enum.c (enum_any): new method 'any?', which returns true if
block retruns true for any of elements.
Sat Mar 10 02:34:18 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* math.c (math_log, math_log10): use nan() instead of 0.0/0.0 on Cygwin.
Fri Mar 9 09:56:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (marshal_load): do not give warning unless explicitly
set to verbose.
Fri Mar 9 02:07:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_exit): give string value "exit" to SystemExit.
* ruby.c (proc_options): -v should not print version if
proc_options called via moreswitches().
Thu Mar 8 17:45:19 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: one write(2) per one line.
Wed Mar 7 14:26:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* math.c (math_log, math_log10): should return NaN if x < 0.0
on Cygwin.
Thu Mar 7 10:31:26 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (stmt): while/until modifier must work for empty body.
Tue Mar 6 22:53:58 2001 Kazuhiro Yoshida <moriq.kazuhiro@nifty.ne.jp>
* ruby.c (ruby_set_argv): clear ARGV contents before adding args.
Tue Mar 6 10:50:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (primary): rescue and ensure clauses should be allowed
to appear in singleton method body.
Mon Mar 5 17:25:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (proc_eq): compare Procs using blocktag equality.
* eval.c (proc_to_s): stringify according to block tag address.
Mon Mar 5 17:19:56 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime()
for high-resolution timing.
Sun Mar 4 17:01:09 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* string.c (trnext): support backslash escape in String#tr.
Sat Mar 3 16:15:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): push cbase if ruby_cbase != ruby_class, for
example in the case NODE_DEFN/NODE_DEFS are called within
module_eval.
Wed Feb 28 11:02:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_delete_bang): delete! should take at least 1
argument.
* ruby.c (load_file): add rb_gc() after loading to avoid
extraordinary memory growth.
Wed Feb 28 05:01:40 2001 Koji Arai <JCA02266@nifty.ne.jp>
* dir.c (rb_glob_helper): "./foo" should match "foo", not "./foo".
Tue Feb 27 16:38:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ev_const_get): retrieve Object's constant if no current
class is available (e.g. defining singleton class for Fixnums).
* eval.c (ev_const_defined): check Object's constant if no current
class is available (e.g. defining singleton class for Fixnums).
* time.c (time_timeval): negative time interval shoule not be
allowed.
* eval.c (proc_call): ignore block to `call' always, despite of
being orphan or not.
Wed Feb 27 10:16:32 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_yield_0): should check based on rb_block_given_p()
and rb_f_block_given_p().
Tue Feb 27 04:13:45 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* configure.in (frame-address): --enable-frame-address to allow
__builtin_frame_address() to be used.
* eval.c (stack_length): use __builtin_frame_address() based on
the macro USE_BUILTIN_FRAME_ADDRESS.
* gc.c (rb_gc): ditto.
* gc.c (Init_stack): ditto.
Mon Feb 26 16:20:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): call ruby_show_version() just once.
* dir.c (dir_s_open): returns the value from a block (if given).
Mon Feb 26 14:29:04 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
rules.
Mon Feb 26 00:04:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (proc_call): should not modify ruby_block->frame.iter
based on ruby_frame->iter altered by PUSH_ITER().
Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/net/telnet.rb: #telnetmode(), #binmode(): bug fix.
thanks to nobu.nakada@nifty.ne.jp.
Mon Feb 26 04:55:50 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: CGI#form(): bug fix.
thanks to MoonWolf <moonwolf@moonwolf.com>.
* lib/cgi.rb: CGI#rfc1123_date(): improvement.
thanks to Tomoyasu Akita <genzo-@dm4lab.to>.
* lib/cgi.rb: CGI#header(): improvement for mod_ruby.
thanks to Shugo Maeda <shugo@ruby-lang.org>.
Sun Feb 25 02:45:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* file.c (rb_file_s_rename): avoid Cygwin's bug.
Sat Feb 24 23:32:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_fd_close): should save current context before
raising exception.
Sat Feb 24 22:14:00 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c (myrename): fix error handling.
Sat Feb 24 13:58:48 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: always close connection on request without
body.
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: change copyright.
Sat Feb 24 03:15:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (set_stdin): preserve original stdin.
* io.c (set_outfile): preserve original stdout/stderr.
Fri Feb 23 08:28:58 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: clear read buffer after reopen.
* lib/net/protocol.rb: refactoring.
* lib/net/http.rb: split module HTTPHeader from HTTPResponse.
Tue Feb 20 23:45:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* process.c: add W* macro if not available.
Tue Feb 20 16:37:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in: add check for negative time_t for gmtime(3).
* time.c (time_new_internal): no positive check if gmtime(3) can
handle negative time_t.
* time.c (time_timeval): ditto.
* bignum.c (rb_big2long): should not raise RangeError for Bignum
LONG_MIN value.
Mon Feb 19 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_substr): "a"[1,2] should return ""; need
rubicon upgrade.
Mon Feb 19 12:10:36 2001 Triet H. Lai <thlai@mail.usyd.edu.au>
* error.c (rb_sys_warning): new function to give warning with
strerror() message.
* dir.c (rb_glob_helper): better error handling, along with
performance tune.
Mon Feb 19 01:55:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (secure_visibility): visibility check for untainted modules.
Mon Feb 19 00:29:29 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* signal.c (sigpipe): sighandler which does nothing.
* signal.c (trap): set sigpipe function for SIGPIPE.
* signal.c (Init_signal): default SIGPIPE handler should be
sigpipe function.
Sun Feb 18 15:42:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/curses/extconf.rb: add dir_config.
* missing/flock.c: use fcntl(2) instead of lockf(2).
Sun Feb 18 05:46:03 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: Response#range_length was not debugged.
Sun Feb 18 04:02:03 2001 Yasushi Shoji <yashi@yashi.com>
* array.c (rb_ary_subseq): wrong boundary check.
Sun Feb 18 00:09:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/win32.c: make file I/O faster on mswin32/mingw32.
* win32/win32.h: ditto.
* rubysig.h: ditto.
Sat Feb 17 23:32:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (cond0): integer literal in condition should not be
compared to lineno ($.).
Fri Feb 16 01:44:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (set_outfile): f should be the FILE* from the assigning value.
* ext/socket/socket.c (tcp_s_open): should not give default value
to local_host.
* time.c (time_s_times): move to Process::times.
* file.c (rb_file_s_lchmod): new method File::lchmod.
* file.c (rb_file_s_lchown): new method File::lchown.
Thu Feb 15 11:33:49 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/cgi/session.rb (close): fixed reversed condition.
Thu Feb 15 08:34:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (proc_waitall): new method based on a patch from Brian
Fundakowski Feldman <green@green.dyndns.org>.
* process.c (last_status_set): objectify $? value (Process::Status).
Wed Feb 14 17:28:24 2001 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: supports unknown resp_text_code.
Wed Feb 14 00:44:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (dir_s_glob): support backslash escape of metacharacters
and delimiters.
* dir.c (remove_backslases): remove backslashes from path before
calling stat(2).
* dir.c (dir_s_glob): call rb_yield directly (via push_pattern) if
block is given to the method.
* dir.c (push_pattern): do not call rb_ary_push; yield directly.
* eval.c (blk_copy_prev): reduced ALLOC_N too much.
* eval.c (frame_dup): ditto.
Tue Feb 13 23:05:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c (lstat): should use rb_sys_stat if lstat(2) is not
available.
Sun Feb 11 16:00:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* eval.c (stack_length): use __builtin_frame_address() only if
GCC and i386 CPU.
* gc.c (rb_gc, Init_stack): ditto.
* configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP.
Tue Feb 13 08:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2
have same fileno.
Tue Feb 13 01:13:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_load): raise LocaJumpError if unexpected local jumps
appear during load.
* ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close();
it's supposed to be called by io_io_close().
* ext/socket/socket.c (bsock_close_read): do not modify f and f2.
* ext/socket/socket.c (bsock_close_write): ditto.
* ext/socket/socket.c (sock_new): avoid dup(2) on sockets.
* parse.y (primary): preserve and clear in_single and in_def using
stack to prevent nested method errors in singleton class bodies.
Sun Feb 11 16:00:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* eval.c (stack_length): use __builtin_frame_address() only if
GCC and i386 CPU.
* gc.c (rb_gc, Init_stack): ditto.
* configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP.
Sat Feb 10 23:43:49 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* hash.c (rb_any_hash): dumped core on machines sizeof(int) != sizeof(long).
Sat Feb 10 23:07:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_s_for_fd): IO::for_fd(fd) - new method.
* regex.c (PREV_IS_A_LETTER): should not treat c>0x7f as a word
character if -Kn.
Sat Feb 10 00:00:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/win32.c (win32_stat): replace stat to enable when pathname
ends with '/' or '\' for mswin32 on Win9X / Win2k.
* win32/win32.h: ditto.
* ruby.h: ditto.
* dir.c (rb_glob_helper): ditto.
* file.c (rb_stat, rb_file_s_stat, eaccess, check3rdbyte): ditto.
Fri Feb 9 22:54:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.c (ruby_init_loadpath): convert '\\' to '/'
before finding executable file path.
Fri Feb 9 17:41:53 2001 Triet H. Lai <thlai@mail.usyd.edu.au>
* dir.c (rb_glob_helper): do not follow symbolic links.
Thu Feb 8 21:27:24 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/mkmf.rb (install_rb): fix handling of relative path.
* lib/mkmf.rb (create_makefile): add srcdir.
Thu Feb 8 02:22:09 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: join HTTPReadResponse into HTTPResponse again.
* lib/net/http.rb: move http_version() from HTTPRequest to
HTTPResponse.
* lib/net/protocol.rb: refactoring.
Wed Feb 7 16:27:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: split HTTPResponse into HTTPReadResponse
module.
* lib/net/protocol.rb: add Net::net_private.
* lib/net/protocol.rb: Socket#reopen takes arg, open_timeout.
Wed Feb 7 16:05:22 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (parse_quotedwords): %w should allow parenthesis escape.
Wed Feb 7 00:57:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (parse_qstring): %q should allow terminator escape.
* re.c (rb_reg_options): new method to give an option values.
* parse.y (cond0): disable special treating of integer literal in
conditional unless option -e is supplied. changes current
behavior. experimental.
* parse.y (cond0): give warning for string/integer literals and
dot operators in conditionals unless option -e is supplied.
* re.c (rb_reg_equal): all option flags should be same to be equal.
Tue Feb 6 21:30:44 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: call on_connect() on re-opening socket.
* lib/net/pop.rb: also POP3 can use APOP auth.
Tue Feb 6 20:19:10 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: add HTTP#request.
* lib/net/http.rb: take HTTP 1.0 server into account (incomplete).
* lib/net/protocol.rb: timeout for open/read.
* lib/net/protocol.rb: add Protocol#on_connect,on_disconnect.
Mon Feb 5 23:15:46 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (Init_Exception): make Interrupt a subclass of
SignalException.
Mon Feb 5 00:39:06 2001 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* dir.c: use ISXXX() instead of isxxx().
* dln.c (aix_loaderror): ditto.
* file.c (rb_file_s_expand_path): ditto.
* string.c (rb_str_upcase_bang): ditto.
* win32/win32.c (do_spawn): ditto.
* win32/win32.c (NtMakeCmdVector): ditto.
* win32/win32.c (opendir): ditto.
Sat Feb 3 14:44:53 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* configure.in (AC_C_INLINE): check inline attribute.
* gc.c (is_pointer_to_heap): use inline rather than __inline__.
* pack.c (hex2num): ditto.
* ruby.h (rb_class_of, rb_type, rb_special_const_p): ditto.
* util.c (rb_class_of, rb_type, rb_special_const_p): defined in
ruby.h.
Fri Feb 2 16:14:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_sort_bang): returns self, even if its length is
less than 2.
* eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if
SCOPE_DONT_RECYCLE of ruby_scope is set.
Wed Jan 31 22:27:29 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: gcc-2.95.2-7(Cygwin) support.
add -mwin32 if available.
* cygwin/GNUmakefile: ditto.
Tue Jan 30 17:56:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_fetch): new method.
Mon Jan 29 17:36:19 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp>
* eval.c (rb_eval): nd_iter evaluation should be wrapped by
BEGIN_CALLARGS and END_CALLARGS.
Mon Jan 29 14:25:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): return from block jumps directory to
block invoker.
Mon Jan 29 01:40:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (str_independent): should not clear str->orig here.
it's too early.
Fri Jan 26 01:42:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y: clarify do ambiguity, bit more complex but natural
from my point of view.
Wed Jan 24 14:58:08 2001 Akinori MUSHA <knu@ruby-lang.org>
* lib/cgi.rb: fix the problem that when running under mod_ruby
header() outputs only one Set-Cookie line.
Wed Jan 24 01:45:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (POP_BLOCK_TAG): call rb_gc_force_recycle() if block has
not been objectified.
* eval.c (rb_callcc): should nail down block->tag history to avoid
rb_gc_force_recycle().
Tue Jan 23 18:51:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in
deferred_final_list too.
Tue Jan 23 16:10:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (os_live_obj): do not list terminated object.
* gc.c (os_obj_of): ditto.
* gc.c (rb_gc_mark): support new T_BLKTAG tag.
* gc.c (obj_free): ditto.
* eval.c (new_blktag): creation of new block tag, which holds
destination of global jump and orphan status.
* eval.c (block_pass): break from orphan Proc object will raise a
LocalJumpError exception.
Mon Jan 22 16:33:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* mkconfig.rb: autoconf 2.49 support.
Mon Jan 22 00:32:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): behavior consistency with proc_call(). do
not propagate `break'.
Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): fixed serious syntax misbehavior. do's
preceding was too high. a block in `foo bar do .. end' should
be passed to `foo', not `bar'.
* parse.y (block_call): syntax restructure.
Thu Jan 18 04:28:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_s_read): new method to call IO#read from
pathname. In addition, it accepts third optional argument to
specify starting point.
Wed Jan 17 13:28:26 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: remove DEFS definition.
* mkconfig.rb: ditto.
* win32/config.status.in: ditto.
Tue Jan 16 17:00:50 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: ignore EOFError for read.
* lib/net/http.rb: user specified header was not used.
Mon Jan 15 16:00:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_unpack): should check associated pointer packed by
pack("P"). Thus pointers can be retrieved only from pointer
packed strings. restriction added.
Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp>
* sprintf.c (rb_f_sprintf): simple typo. binary base should be 2,
not '2'.
* re.c (rb_reg_s_last_match): should explicitly return nth match.
Sun Jan 14 18:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* win32/config.status.in: add some field.
* win32/win32.c (isInternalCmd): ignore case for shell's internal
command.
* win32/win32.c (do_spawn): recognize quoted command line.
Sun Jan 14 04:10:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb (adding): too few "yield" in case of arg is
not String/File.
* lib/net/http.rb: add http request object.
Sat Jan 13 19:39:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* re.c (rb_reg_desc): separate RE_OPTION_MULTILINE
* re.c (rb_reg_options): add RE_OPTION_{POSIXLINE,RE_OPTION_MULTILINE,
RE_OPTION_EXTENDED}
Thu Jan 11 10:45:04 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.h, win32/config.h.in: move NORETURN from win32.h
to config.h.in.
* win32/config.h.in (inline): renamed from INLINE.
* djgpp/config.hin (INLINE): removed.
Thu Jan 11 06:45:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_mod_dup): should propagate FL_SINGLETON.
* object.c (inspect_obj): handles the case of no instance variable.
Wed Jan 10 16:15:08 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.h: NORETURN macro is changed for VC++ 6.0.
* eval.c, intern.h: ditto.
* djgpp/config.hin, win32/win32.h: ditto.
* configure.in: ditto.
Wed Jan 10 13:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* process.c (proc_setuid): use setresuid() if available.
* process.c (proc_setgid): use setresgid() if available.
* configure.in: ditto.
Wed Jan 10 01:50:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in (AC_C_INLINE): check inline attribute.
* string.c (rb_str_reverse_bang): forgot to call rb_str_modify().
Tue Jan 9 17:41:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_obj_taint): check frozen status before modifying
taint status.
* object.c (rb_obj_untaint): ditto.
Tue Jan 9 16:22:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_inject): new method.
Tue Jan 9 02:16:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_gc_call_finalizer_at_exit): clear klass member of
terminating object.
* eval.c (rb_call): raise exception for terminated object.
Mon Jan 8 21:24:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (bigdivrem): t2 might be too big for signed long; do
not use rb_int2big(), but rb_uint2big().
Mon Jan 8 21:35:10 2001 Guy Decoux <decoux@moulon.inra.fr>
* file.c (path_check_1): should restore modified path.
Mon Jan 8 03:09:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (rb_load_fail): new func to report LoadError.
* ruby.c (load_file): use rb_load_fail.
Sat Jan 6 00:17:18 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* pack.c (pack_pack): avoid infinite loop(pack 'm2').
Fri Jan 5 01:02:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ruby_finalize): should enclosed by PUSH_TAG/POP_TAG.
* gc.c (rb_gc_mark): link 2 of NODE_IFUNC should not be explicitly
marked. it may contain non object pointer.
Tue Jan 2 00:20:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (reg_s_last_match): Regexp::last_match(nth) returns nth
substring of the match (alternative for $& and $<digit>).
Sun Dec 31 01:39:16 2000 Guy Decoux <decoux@moulon.inra.fr>
* eval.c (rb_mod_define_method): wrong comparison for blocks.
Sat Dec 30 19:28:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (id2ref): should handle Symbol too.
* gc.c (id2ref): should print original ptr value
Sat Dec 30 03:14:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_iterate): NODE_CFUNC does not protect its data
(nd_tval), so create new node NODE_IFUNC for iteration C
function.
* eval.c (rb_yield_0): use NODE_IFUNC.
* gc.c (rb_gc_mark): support NODE_IFUNC.
Fri Dec 29 11:41:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (mem_error): prohibit recursive mem_error().
(ruby-bugs-ja:PR#36)
Fri Dec 29 11:05:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_fd_writable): should not switch context if
rb_thread_critical is set.
* eval.c (rb_thread_wait_fd): ditto.
* eval.c (rb_thread_wait_for): ditto.
* eval.c (rb_thread_select): ditto.
* eval.c (rb_thread_join): join during critical section causes
deadlock.
Fri Dec 29 00:38:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* m17n.c: new file - core functions of M17N.
Tue Dec 26 18:46:41 2000 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: Avoid thread deadlock in debugging stopped thread.
* lib/debug.rb: Uncleared 'finish' state.
Tue Dec 26 16:53:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): remove dvar node by rb_gc_force_recycle()
more eagerly.
* eval.c (rb_f_binding): recycling should be stopped for outer
scope too.
* eval.c (proc_new): ditto.
Tue Dec 26 15:45:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_inspect): should treat multibyte chracters
properly.
Mon Dec 25 17:49:08 2000 K.Kosako <kosako@sofnec.co.jp>
* string.c (rb_str_replace_m): unexpected string share happens if
replace is done for associated (STR_NO_ORIG) string.
Tue Dec 26 15:01:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_f_p): should not call rb_io_flush() if rb_defout is not
a IO (T_FILE).
Mon Dec 25 15:52:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.2 released.
Mon Dec 25 05:11:04 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: version 2.1.2 (some bug fixes).
* lib/cgi.rb: Regexp::last_match[1] --> $1
* lib/net/telnet.rb: ditto.
Mon Dec 25 04:43:02 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: does not send HEAD on closing socket.
Mon Dec 25 00:44:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_any_cmp): should use rb_str_cmp() if TYPE == T_STRING
and CLASS_OF == rb_cString.
* string.c (rb_str_new4): should copy class of original too.
Mon Dec 25 00:04:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_thread_schedule): initial value of `max' changed to -1.
Mon Dec 25 00:16:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_replace_m): copy-on-write replace.
* parse.y (yylex): should handle => after identifier as well as ==
and =~.
Sat Dec 23 23:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_cstr2inum): Integer("") should not return 0.
Sat Dec 23 11:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_and): Array#& should preverve original order.
Sat Dec 23 03:44:16 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: set @closed false in Socket#reopen.
* lib/net/pop.rb: add POP3.foreach, delete_all.
* lib/net/pop.rb: add POP3#delete_all.
* lib/net/http.rb: add HTTP.version_1_1, version_1_2
* lib/net/http.rb: refactoring.
Fri Dec 22 23:11:12 2000 Ueno Katsuhiro <unnie@blue.sky.or.jp>
* eval.c (rb_feature_p): ext might be null.
Fri Dec 22 17:04:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* win32/win32.c (myselect): avoid busy loop by adjusting fd_count.
Fri Dec 22 15:07:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_cstr2inum): prefix like '0x' had removed too much.
Thu Dec 21 13:01:46 2000 Tanaka Akira <akr@m17n.org>
* lib/net/ftp.rb (makeport): don't use TCPsocket.getaddress.
Wed Dec 20 12:00:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_lshift): should cast up to BDIGIT_DBL.
* parse.y (yylex): disallow trailing '_' for numeric litrals.
* bignum.c (rb_cstr2inum): allow `_' within converting string.
* eval.c (specific_eval): should take no argument if block is
supplied.
Tue Dec 19 13:44:50 2000 K.Kosako <kosako@sofnec.co.jp>
* io.c (rb_f_p): should flush rb_defout, not stdout.
Tue Dec 19 00:57:10 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_minus): usec might overflow. (ruby-bugs-ja:PR#35)
* eval.c (rb_obj_extend): Object#extend should take at least one
argument.
* parse.y (mrhs_basic): should check value_expr($3), not $1.
Mon Dec 18 23:18:39 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* util.c (mblen, __crt0_glob_function): add for multibyte
on DJGPP 2.03.
Mon Dec 18 18:10:30 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_plus): usec might underflow (ruby-bugs-ja:#PR33).
Mon Dec 18 08:11:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_set_default): should call rb_hash_modify().
Sat Dec 16 02:58:26 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* eval.c (rb_eval): should clear ruby_errinfo on retry.
* eval.c (rb_rescue2): ditto.
Thu Dec 14 13:06:18 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* class.c (rb_include_module): prohibit fronzen class/module.
* eval.c (rb_frozen_class_p): make external.
* intern.h (rb_frozen_class_p): prototyped.
* intern.h (rb_undef): prototyped not but rb_undef_method()
which is also in ruby.h.
Thu Dec 14 09:20:26 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: support -T1 on ruby 1.6.2
* lib/cgi.rb: $1 --> Regexp::last_match[1]
* lib/net/telnet.rb: ditto.
Wed Dec 13 23:27:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): handles case statement without expr, which
looks for any TRUE (non nil, non false) when expression.
* parse.y (primary): case expression should not be compstmt, but
mere expr.
* parse.y (primary): case without following expression is now
separated rule.
Wed Dec 13 12:41:27 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.c (proc_options): accept "--^M" for DOS line endings.
Tue Dec 12 15:45:42 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (newline_node): cancel newline unification.
Mon Dec 11 23:01:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): supports cases `?' precedes EOF and newline.
Mon Dec 11 12:11:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (call_end_proc): some frame members were left
uninitialized.
Mon Dec 11 01:14:58 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_fptr_finalize): do not fclose stdin, stdout and
stderr at exit.
Sat Dec 9 17:34:48 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
* time.c (time_cmp): should check with kind_of?, not instance_of?
* time.c (time_eql): ditto.
* time.c (time_minus): ditto.
Fri Dec 8 17:23:25 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
* sprintf.c (rb_f_sprintf): proper string precision treat.
Fri Dec 8 10:44:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_mod_remove_cvar): Module#remove_class_variable
added.
Thu Dec 7 17:35:51 2000 Shugo Maeda <shugo@ruby-lang.org>
* eval.c (stack_length): don't use __builtin_frame_address() on alpha.
Wed Dec 6 18:07:13 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* djgpp/config.sed, win32/Makefile.sub: typo.
* eval.c (rb_mod_define_method): avoid VC4.0 warnings.
Wed Dec 6 13:38:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_and): tuning, make hash from shorter operand.
Wed Dec 6 01:28:50 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* gc.c (rb_gc): __builtin_frame_address() should not be used on
MacOS X.
* gc.c (Init_stack): ditto.
Mon Dec 4 13:44:01 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/jcode.rb: consider multibyte. not /n.
Mon Dec 4 09:49:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_inspect): output whole string contents. no more `...'
* string.c (rb_str_dump): should propagate taintness.
* hash.c (env_inspect): hash like human readable output.
* variable.c (rb_ivar_get): prohibiting instance variable access
is too much restriction.
* class.c (method_list): retrieving information should not be
restricted where $SAFE=4.
* class.c (rb_obj_singleton_methods): ditto.
* eval.c (rb_thread_priority): ditto.
* eval.c (rb_thread_local_aref): ditto.
* variable.c (rb_obj_instance_variables): ditto.
* variable.c (rb_mod_const_at): ditto.
* variable.c (rb_mod_class_variables): ditto.
* eval.c (rb_exec_end_proc): end_proc should be preserved.
Sat Dec 2 22:32:43 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): || should accept exactly zero argument.
* parse.y (stmt): multiple right hand side for single assignment
(e.g. a = 1,2) is allowed.
Wed Nov 29 07:55:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (w_long): dumping long should be smaller than 32bit max.
* marshal.c (w_long): shorter long format for small integers(-123..122).
* marshal.c (r_long): ditto.
Tue Nov 28 18:10:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_define_method): quick hack to implement
on-the-fly method definition. experimental.
Mon Nov 27 17:00:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should not redefine builtin classes/modules
from within wrapped load.
Mon Nov 27 08:57:33 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (call_end_proc): should be isolated from outer block.
Mon Nov 27 00:10:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_ctl): call ioctl/fcntl for fptr->f2 too.
* process.c (rb_f_fork): call rb_thread_atfork() after creating
child process.
* eval.c (rb_thread_atfork): kill all other threads immediately,
then turn the current thread into the main thread.
Sat Nov 25 23:12:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (ruby_run): move calling point of rb_trap_exit after
cleaning up threads.
* eval.c (ruby_finalize): new function to call EXIT trap, END
procs and GC finalizers.
* eval.c (rb_exec_end_proc): prevent recursion.
* gc.c (rb_gc_call_finalizer_at_exit): ditto.
* signal.c (rb_trap_exit): ditto. made static.
* process.c (rb_f_fork): should swallow all exceptions from block
execution.
* process.c (fork_rescue): should call ruby_finalize().
* parse.y (yycompile): rb_gc() removed. I don't remember why I put
this here. test code?
Fri Nov 24 22:03:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (EXCL): exclusive infomation is now stored in an
instance variable. this enables proper marshal dump.
* process.c (proc_waitpid): should clear rb_last_status ($?) if
no pid was given by waitpid(2).
Thu Nov 23 01:35:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* process.c (proc_waitpid2): returns nil if no pid found.
Wed Nov 22 23:45:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_eq): new method. Compares start and end of range
respectively.
Wed Nov 22 11:01:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_mod_class_variables): should honor singleton
class variable rule defined yesterday.
Tue Nov 21 23:24:14 2000 Mitsuteru S Nakao <nakao@kuicr.kyoto-u.ac.jp>
* numeric.c (flodivmod): missing second operand (typo).
Tue Nov 21 03:39:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (marshal_load): marshal format compatibility check
revised. greater minor revision is UPWARD compatibile;
downward compatibility is not assured.
* eval.c (is_defined): clarify class variable behavior for
singleton classes. class variables within singleton class
should be treated like within singleton method.
Mon Nov 20 13:45:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): set ruby_sourceline before evaluating
exceptions.
* gc.c (gc_sweep): defer finalization in GC during compilation or
interrupt prohibit section.
* gc.c (gc_sweep): mark all nodes before sweeping if GC happened
during compilation.
* eval.c (rb_eval): should treat class variables specially in a
method defined in the singleton class.
Mon Nov 20 10:20:21 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c, win32/win32.c, ruby.h: add rb_iglob().
Mon Nov 20 00:18:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_subseq): should return nil for outbound start
index.
* marshal.c (marshal_load): show format versions explicitly when
format version mismatch happens.
Sun Nov 19 06:13:24 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* marshal.c: use long for string/array length.
* pack.c (swaps): use bit-or(|) instead of plus(+).
* pack.c (swapl): ditto.
Sat Nov 18 15:18:16 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* array.c (rb_ary_replace): array size should be in long.
* array.c (rb_ary_concat): ditto.
* array.c (rb_ary_hash): ditto.
Sat Nov 18 14:07:20 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: Socket#readline() reads until "\n", not "\r\n"
Fri Nov 17 14:55:18 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* string.c (rb_str_succ): output should be NUL terminated.
Fri Nov 17 02:54:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_close): need not to flush before closing.
* eval.c (rb_thread_join): should preserve last thread status when
THREAD_TO_KILL.
* eval.c (rb_thread_stop): ditto.
* io.c (io_fflush): wrap fflush by TRAP_BEG, TRAP_END.
* eval.c (rb_eval): method defined within singleton class
definition should behave like singleton method about class
variables.
* eval.c (is_defined): ditto.
Thu Nov 16 23:06:07 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: can call {old,new}_implementation any times.
* lib/net/http.rb: HTTP#connecting, receive ->
common_oper, connecting.
* lib/net/http.rb: output warning if u_header includes
duplicated header.
* lib/net/http.rb: not check Connection:/Proxy-Connection;
always read until eof.
* lib/net/protocol.rb: detects and catches "break" from block.
Thu Nov 16 16:32:45 2000 Masahiro Tanaka <masa@stars.gsfc.nasa.gov>
* bignum.c (bigdivrem): should have incremented ny first.
Thu Nov 16 14:58:00 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/socket/socket.c (sock_new): duplicates file descriptor
with myfddup() on mswin32/mingw32.
* win32/win32.h: uses system original fdopen().
* win32/win32.c (myfddup): newly added instead of myfdopen().
* win32/win32.c (mybind, myconnect, mygetsockname, mygetsockopt,
mylisten, mysetsockopt): now accept file descriptor only, not
SOCKET.
* win32/win32.c (myaccept, mysocket): return file descriptor,
instead of SOCKET.
Thu Nov 16 10:23:24 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (massign): too strict check for nameless rest argument.
* eval.c (method_arity): mere * should return -1.
* eval.c (intersect_fds): should check all FDs in the fd_set.
Wed Nov 15 19:33:20 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_attr): should clear method cache before calling hook.
* eval.c (rb_eval): ditto.
* eval.c (rb_mod_modfunc): ditto.
Mon Nov 13 22:44:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (rb_bug): print version to stderr.
Mon Nov 13 19:02:08 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* win32/win32.c, io.c, process.c: the exit status of program must be
multiplied 256 on mswin32 and msdosdjgpp(system(), ``).
Sat Nov 11 22:57:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (arg): uniformed treatment of -a**b, where a is a
number literal; hacky but behavior appears more consistent.
* parse.y (newline_node): reduce newline node (one per line).
* random.c (rb_f_srand): should be prohibited in safe level
greater than 4.
Sat Nov 11 22:37:36 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* rubysig.h: do not use rb_trap_immediate on win32.
* rubysig.h: new macros, ATOMIC_TEST, ATOMIC_SET, ATOMIC_INC,
ATOMIC_DEC, RUBY_CRITICAL and new definition of TRAP_BEG,
TRAP_END.
* gc.c (ruby_xmalloc): should wrap malloc() by RUBY_CRITICAL.
* signal.c (sighandle): better win32 sig handling.
* win32/win32.c (flock): better implementation.
* win32/win32.c (myselect): ditto.
* win32/win32.c (myaccept): ditto.
* win32/win32.c (waitpid): ditto.
* win32/win32.c (myrename): ditto.
* win32/win32.c (wait_events): support function for win32 signal
handling.
Sat Nov 11 08:34:18 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.31.
* lib/net/http.rb: initializes header in HTTP, not HTTPCommand.
* lib/net/protocol.rb, http.rb: rewrites proxy code.
Fri Nov 10 16:15:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (rb_num2long): use to_int, not to_i.
* error.c: T_SYMBOL was misplaced by T_UNDEF.
* parse.y (yylex): eval("^") caused infinite loop.
Thu Nov 9 14:22:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_taint_check): should check IO taintness; no
operation for untainted IO should be allowed in the sandbox.
* rubyio.h (GetOpenFile): check IO taintness inside using
rb_io_taint_check().
Wed Nov 8 03:08:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_fflush): ensure fflush(3) would not block by calling
rb_thread_fd_writable().
Tue Nov 7 20:29:56 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.30.
* lib/net/protocol.rb, smtp.rb: Command#critical_ok -> error_ok
* lib/net/http.rb: reads header when also "100 Continue".
Tue Nov 7 04:32:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (bigdivrem): use bit shift to make y's MSB set.
Mon Nov 6 1:22:49 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (warn_print): do not use err_append(), to ensure output
to stderr.
* error.c (rb_warn): use warn_print() instead of err_print().
* error.c (rb_warning): ditto.
* error.c (rb_bug): ditto.
* eval.c (rb_load): re-raise exceptions during load.
* time.c (make_time_t): remove useless adjust
Thu Nov 2 18:01:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* random.c (rb_f_rand): half-baked float support fixed. This fix
was originally proposed by K.Kosako <kosako@sofnec.co.jp>.
Tue Oct 31 17:27:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c: change digit size to `long|int' if long long is
available.
* marshal.c (w_object): support `long|int' digits.
* marshal.c (r_object): ditto.
Sat Oct 28 23:54:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): allow =end at the end of file (without a
newline at the end).
Fri Oct 27 10:00:27 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_cstr2inum): should ignore trailing white spaces.
* bignum.c (rb_str2inum): string may not have sentinel NUL.
Fri Oct 27 02:37:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_cstr2inum): wrongly assigned base to c before
badcheck check.
Thu Oct 26 02:42:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: Command#critical_ok
* lib/net/smtp.rb: clear critical flag before go to SMTP
Wed Oct 25 12:30:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_concat): replacing array might be the receiver
itself. do not call rb_ary_push_m.
* array.c (rb_ary_replace): replacing array might be the receiver
itself. use memmove.
Fri Oct 20 07:56:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): ARGSPUSH should not modify args array.
Thu Oct 19 14:58:17 2000 WATANABE Tetsuya <tetsu@jpn.hp.com>
* pack.c (NUM2U32): should use NUM2ULONG().
Tue Oct 17 17:30:34 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* eval.c (error_print): ruby_sourcefile may be NULL.
Tue Oct 17 16:36:28 2000 Wes Nakamura <wknaka@pobox.com>
* pack.c (NATINT_U32): wrong use of sizeof.
Tue Oct 17 12:48:20 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_abort): nil check against ruby_errinfo.
* eval.c (rb_thread_schedule): use FOREACH_THREAD_FROM instead of
FOREACH_THREAD, since curr_thread may be removed from thread ring.
* eval.c (THREAD_ALLOC): errinfo should be Qnil.
* eval.c (rb_callcc): th->prev,th->next are now already
initialized in THREAD_ALLOC.
Mon Oct 16 15:37:33 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* eval.c (rb_thread_inspect): tag size was shorter than required.
* object.c (rb_obj_inspect): ditto.
Mon Oct 16 14:25:18 2000 Shugo Maeda <shugo@ruby-lang.org>
* object.c (sym_inspect): used `name' before initialization.
Mon Oct 16 14:06:00 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): use NATINT_U32 for 'l', 'L', and 'N'.
* pack.c (I32,U32): 32 bit sized integer.
* pack.c (OFF16,OFF32B): big endian offset for network byteorder.
Mon Oct 16 06:39:32 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: hex-alpha is not [a-h] but [a-f].
Mon Oct 16 01:02:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_start_0): should not abort on exception if
$SAFE >= 4.
* parse.y (sym): symbols for class variable names.
Sun Oct 15 01:49:18 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_file_flock): should accept interrupt.
* process.c (rb_waitpid): ditto.
* process.c (rb_waitpid): ditto.
* process.c (proc_wait): ditto.
* process.c (proc_waitpid2): wrong recursion.
Sat Oct 14 03:32:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_alloc): should not link a new thread in the
live thread ring before initialization.
Fri Oct 13 17:08:09 2000 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: new file.
Thu Oct 12 18:56:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/pop.rb: POP3#reset
* lib/net/http.rb: a code for "Switch Protocol" was wrongly 100.
Thu Oct 12 01:23:38 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::html(): PRETTY option didn't work.
Thu Oct 12 00:03:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (sym_inspect): should adjust string length.
* struct.c (rb_struct_to_s): ditto.
* struct.c (rb_struct_inspect): ditto.
Wed Oct 11 22:15:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_thread_inspect): should adjust string length.
* object.c (rb_any_to_s): ditto.
* object.c (rb_obj_inspect): ditto.
Wed Oct 11 18:13:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_start_0): should check insecure exit.
Wed Oct 11 14:29:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: 2nd arg for ProtocolError#initialize is
optional.
* lib/net/http.rb: code refining.
Wed Oct 11 11:13:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (primary): setter method (e.g. foo=) should always be
public.
* eval.c (rb_thread_raise): should not raise SecurityError if
exception raised by the interpreter.
* eval.c (rb_thread_cleanup): skip all THREAD_KILLED threads
before FOREACH_THREAD.
Tue Oct 10 16:11:54 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* dln.c (dln_load): remove unused code for Cygwin.
Tue Oct 10 09:49:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (Init_File): FileTest.size should return 0 (not nil) for
empty files.
Sun Oct 8 13:20:26 2000 Guy Decoux <decoux@moulon.inra.fr>
* eval.c (POP_SCOPE): not just set SCOPE_DONT_RECYCLE, but do
scope_dup().
Sat Oct 7 15:10:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_reverse_bang): unnecessary ALLOCA_N() was
removed.
Fri Oct 6 14:50:24 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/extmk.rb.in, lib/mkmf.rb: remove "DESTDIR =".
* Makefile.in, win32/Makefile.sub, ruby.1: renamed -X to -C.
Fri Oct 6 12:50:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_plus): use to_ary(), not Check_Type().
* array.c (rb_ary_concat): ditto.
* gc.c (rb_gc): use __builtin_frame_address() for gcc.
* eval.c (stack_length): ditto.
* parse.y (assign_in_cond): stop warning till some better warning
condition will be found.
Thu Oct 5 18:02:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_obj_dup): should have propagated taint flag.
(ruby-bugs:#PR64,65)
Wed Oct 4 00:26:11 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (proc_arity): proc{|a|}'s arity should be -1.
Mon Oct 2 05:28:58 2000 akira yamada <akira@ruby-lang.org>
* string.c (trnext): minus at the end of pattern.
Sun Oct 1 00:43:34 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: exp-name was wrong on cygwin and mingw32.
Thu Sep 28 14:57:09 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_compile_pattern): should try must_string calculation
every time.
Tue Sep 19 23:47:44 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* configure.in, config.guess, config.sub: MacOS X support.
Wed Sep 27 18:40:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.1 released.
Wed Sep 27 16:13:05 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* mkconfig.rb: variables should be expanded only if /\$\{?\w+\}?/.
Tue Sep 26 18:09:51 2000 WATANABE Hirofumi <eban@ruby-lang.org>
* string.c: include <math.h>
Tue Sep 26 15:59:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_mod_dup): metaclasses of class/module should not be
cleared by rb_obj_dup.
Tue Sep 26 02:44:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (GC_MALLOC_LIMIT): size extended.
* regex.c (DOUBLE_STACK): use machine's stack region for regex
stack if its size is small enough.
Mon Sep 25 18:13:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c: include <defines.h>.
* eval.c (rb_add_method): cache mismatch by method
definition. need to clear_cache_by_id every time.
Mon Sep 25 13:31:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c (NtCmdGlob): substitute '\\' with '/'.
Mon Sep 25 00:35:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* defines.h: #undef HAVE_SETITIMER on cygwin.
Sun Sep 24 03:01:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, http.rb: typo.
Sat Sep 23 07:33:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com>
* regex.c (re_compile_pattern): nicer regexp error messages for
invalid patterns.
Sat Sep 23 03:06:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_autoload_load): should not require already
provided features.
Fri Sep 22 15:46:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/http.rb: too early parameter expansion in string.
Fri Sep 22 13:58:51 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: don't use default $:
Fri Sep 22 13:42:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* regex.c (PUSH_FAILURE_COUNT): avoid casting warning on alpha.
* regex.c (PUSH_FAILURE_POINT): ditto.
Fri Sep 22 10:16:21 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/config.h.in: add HAVE_TELLDIR, HAVE_SEEKDIR
Thu Sep 21 19:04:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb, lib/mkmf.rb (install_rb): check whether libdir is
directory or not.
Thu Sep 21 17:23:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_file_s_symlink): use HAVE_SYMLINK.
* file.c (rb_file_s_readlink): use HAVE_READLINK.
* dir.c (dir_tell): use HAVE_TELLDIR.
* dir.c (dir_seek): use HAVE_SEEKDIR.
* configure.in (AC_CHECK_FUNCS): lstat, symlink, readlink,
telldir, seekdir checks added.
* file.c (lstat): should use stat(2) if lstat(2) is not
available.
Thu Sep 21 15:59:23 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.29.
* lib/net/http.rb: HTTPReadAdapter -> HTTPResponseReceiver
* lib/net/http.rb (connecting): response is got in receive()
Thu Sep 21 15:49:07 2000 Wayne Scott <wscott@ichips.intel.com>
* lib/find.rb (find): should not follow symbolic links;
tuned performance too.
Wed Sep 20 23:21:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (load_file): two Ctrl-D was required to stop ruby at the
beginning of stdin script read.
Wed Sep 20 14:01:45 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_provided): detect infinite load loop.
* eval.c (rb_provided): too weak filename comparison.
* eval.c (rb_thread_alloc): avoid recycling still referenced
dvar structures.
* eval.c (rb_callcc): ditto.
* eval.c (THREAD_ALLOC): fiil dyna_vars field by ruby_dyna_vars.
Tue Sep 19 17:47:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.0 released.
Tue Sep 19 16:24:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (Init_marshal): provide marshal.so no more.
Tue Sep 19 14:01:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in, win32/setup.mak: include version number
in RUBY_SO_NAME.
Tue Sep 19 13:07:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): was confusing $~ and $_.
Tue Sep 19 13:06:53 2000 GOTOU YUUZOU <gotoyuzo@notwork.org>
* signal.c (rb_f_kill): signum may be a negative number, should be
treated by signed number.
Tue Sep 19 01:14:56 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_provide): better feature handling.
* eval.c (rb_f_require): loading ruby library may be partial
state. checks in rb_thread_loading is integrated.
* eval.c (rb_provided): better thread awareness.
* lib/irb/frame.rb: 6 (not 5) parameters for trace_func proc.
* eval.c (error_print): should print error position even if
get_backtrace() failed.
Sat Sep 16 03:29:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_require): rb_provided() was called too early; does
not work well with threads.
* parse.y (ensure): should distinguish empty ensure and non
existing ensure.
* file.c (Init_File): extending File by class of FileTest was
serious mistake.
Thu Sep 14 02:46:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_yield): array strip should be done in this
function.
Wed Sep 13 17:01:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (rb_big_eq): incomplete value comparison of bignums.
Wed Sep 13 06:39:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_mod_class_variables): Module#class_variables added.
Wed Sep 13 06:09:26 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::header(): output status header.
Wed Sep 13 01:09:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (yylex): allow global variables like '$__a'.
Tue Sep 12 22:28:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/socket/extconf.rb: avoid using terrible <netinet/tcp.h>
on cygwin 1.1.5.
Tue Sep 12 16:01:58 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* array.c (rb_ary_unshift_m): typo.
Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): stripped array too much, should remove just
for proc_call().
Tue Sep 12 07:05:24 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: version 2.0.0: require ruby1.5.4 or later.
* lib/net/telnet.rb: version 1.6.0
Tue Sep 12 03:26:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (massign): use to_ary to get an array if available.
* object.c (rb_Array): ditto.
Mon Sep 11 14:24:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (ruby_setenv): should not free the element of
origenvironment.
* parse.y (command_call): kYIELD moved to this rule to allow
'a = yield b'. (ruby-bugs-ja:#PR15)
Mon Sep 11 01:27:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): proc#call([]) should pass single value to
the block.
* eval.c (callargs): reduce array allocation.
* eval.c (massign): precise check for argument number.
Fri Sep 8 10:05:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (STR_NO_ORIG): should be FL_USER2.
Thu Sep 7 14:17:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_cat): should work even for concatenating same
string.
Wed Sep 6 17:06:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_cvar_declare): should check superclass's class
variable first.
Wed Sep 6 10:42:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el (ruby-calculate-indent): shift continuing line
if previous line ends with modifier keyword.
* misc/ruby-mode.el (ruby-parse-region): should not give up if
modifiers are at the end of line.
* misc/ruby-mode.el (ruby-expr-beg): indented wrongly if modified
statement was size 1.
Wed Sep 6 10:41:19 2000 Kenichi Komiya <kom@mail1.accsnet.ne.jp>
* misc/ruby-mode.el (ruby-parse-region): modifier was not handled
well on emacs19.
Tue Sep 5 17:10:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_to_s): fixed zone string UTC for utc time object.
Tue Sep 5 00:26:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_search): range worked wrongly on bm_search().
Mon Sep 4 13:40:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: renamed libruby.a to libruby.{cygwin,mingw32}.a
on cygwin and mingw32.
Sun Sep 3 23:44:04 2000 Noriaki Harada <tenmei@maoh.office.ne.jp>
* io.c (NO_SAFE_RENAME): for BeOS too.
Sun Sep 3 11:31:53 2000 Takaaki Tateishi <ttate@jaist.ac.jp>
* parse.y (rescue): no assignment was done if rescue body was
empty.
Sat Sep 2 10:52:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (call_args,aref_args): block_call can be the last
argument.
* parse.y (COND_PUSH,COND_POP): maintain condition stack to allow
kDO2 in parentheses in while/until/for conditions.
* parse.y (yylex): generate kDO2 for EXPR_ARG outside of
while/until/for condition.
Fri Sep 1 10:36:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (aref_args,opt_call_args): add block_call to allow a
method without parentheses and with block as a last argument.
* hash.c (rb_hash_sort): should not return nil.
* re.c (match_aref): should use rb_reg_nth_match().
* eval.c (POP_SCOPE): recycled scopes too much
* eval.c (Init_eval): extend room for stack allowance.
* eval.c (POP_SCOPE): frees scope too much.
Thu Aug 31 14:28:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_gc_mark): T_SCOPE condition must be more precise.
* eval.c (scope_dup): should not make all duped scope orphan.
Thu Aug 31 10:11:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (stmt): allow stmt_rhs to be right hand side of multiple
assignment.
* time.c (rb_time_timeval): type error should not mention the word
'interval'.
Wed Aug 30 23:21:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* numeric.c (rb_num2long): use rb_Integer() instead of independent
convert routine.
* eval.c (rb_rescue2): now takes arbitrary number of exception types.
* object.c (rb_convert_type): use rb_rescue2 now to handle NameError.
* object.c (rb_convert_type): better error message.
Wed Aug 30 17:09:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): AlphaNT support.
Wed Aug 30 14:19:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (node_assign): should support NODE_CVASGN2 too.
Wed Aug 30 11:31:47 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): add the
arguments checking.
* ext/Win32API/Win32API.c (Win32API_initialize): add taint
checking. allow String object in the third argument.
Wed Aug 30 10:29:40 2000 Masahiro Tomita <tommy@tmtm.org>
* io.c (rb_f_p): flush output buffer.
Tue Aug 29 16:29:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (assignable): remove NODE_CVASGN3.
* parse.y (gettable): remove NODE_CVAR3.
Tue Aug 29 02:02:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/mkmf.rb (create_makefile): handles create_makefile("a/b").
* ext/extmk.rb.in (create_makefile): ditto
Mon Aug 28 18:43:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (is_defined): now handles class variables.
* eval.c (rb_eval): class variable behavior revisited.
* parse.y (assignable): ditto.
* parse.y (gettable): ditto.
* regex.c (PUSH_FAILURE_COUNT): push/pop interval count on failure
stack. this fix is inspired by the Emacs21 patch from Stefan
Monnier <monnier@cs.yale.edu>.
Fri Aug 25 15:24:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* variable.c (rb_cvar_get): should not follow __attached__.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_declare): ditto.
* variable.c (mod_av_set): second class variable assignment at the
toplevel should not give warning.
Fri Aug 25 01:18:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (next_argv): prepare path for open file.
* string.c (rb_str_setter): moved from io.c.
* io.c (next_argv): filename should be "-" for refreshed ARGF.
Thu Aug 24 15:27:39 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/socket/socketport.h: use `extern int h_errno' if needed.
Sat Aug 19 01:34:02 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/sdbm/_sdbm.c (sdbm_prep): flags should be or-ed by O_BINARY on
Win32 too.
* ext/sdbm/_sdbm.c (makroom): fill hole with 0 on Win32 too.
Fri Aug 18 13:23:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should preserve and clear $! value before
compilation.
* eval.c (eval): ditto.
Fri Aug 18 11:06:19 2000 Shugo Maeda <shugo@ruby-lang.org>
* ext/socket/socket.c (s_accept): start GC on EMFILE/ENFILE.
Thu Aug 17 16:04:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (is_defined): should clear ruby_errinfo.
Thu Aug 17 04:26:31 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27.
* lib/net/protocol.rb: writing methods returns written byte size.
* lib/net/smtp.rb: send_mail accepts many destinations.
Wed Aug 16 00:43:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* time.c (time_s_times): use CLK_TCK for HZ if it's defined.
Tue Aug 15 17:30:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (frame_dup): should set flag FRAME_MALLOC after
argv allocation.
* eval.c (blk_free): should not free argv if GC was called before
frame_dup.
Tue Aug 15 16:08:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add ac_cv_func_times=yes for mingw32.
* win32/win32.c (mytimes): typo.
Tue Aug 15 01:45:28 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (argf_eof): should return true at the end of ARGF without
checking stdout if arguments are given.
Mon Aug 14 10:34:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_status): status should return false for normal
termination, nil for termination by exception.
Fri Aug 11 15:43:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_undef): give warning for undefining __id__, __send__.
Thu Aug 10 08:05:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_callcc): returned current thread instead of
continuation wrongly.
Thu Aug 10 05:40:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: $CPPFLAGS should be initialized.
* ext/tcltklib/depend: add stubs.o.
* ext/tcltklib/extconf.rb: use $CPPFLAGS instead of $CFLAGS.
Wed Aug 9 16:31:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_callcc): thread status for continuations must be
THREAD_KILLED, otherwise thread_free() breaks other threads.
Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.[ch]: emulate rename(2).
Tue Aug 8 14:01:46 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/tcltklib/tcltklib.c: support --enable-tcltk_stubs
* ext/tcltklib/extconf.rb: ditto.
* ext/tcltklib/stubs.c: created. examine candidate shared libraries.
Mon Aug 7 13:59:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.h (CLONESETUP): should copy flags before any potential
object allocation.
* regex.c (re_match): check for stack depth was needed.
Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* djgpp/*: convert DOS line endings to UNIX style.
* djgpp/config.status: rename to config.sed for SFN.
* lib/ftools.rb (compare, safe_unlink, chmod): avoid warnings.
* lib/ftools.rb (move): typo. not `tpath', but `to'.
Fri Aug 4 23:26:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (proc_call): gives warning if a block is supplied.
* eval.c (rb_eval): no warning for discarding if an alias for the
method is already made.
Fri Aug 4 16:32:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_reject_bang): returns nil if no element removed.
* hash.c (rb_hash_reject_bang): returns nil if no element removed.
Thu Aug 3 19:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_fd_writable): should return integer value.
* array.c (rb_ary_assoc): search array element whose length is
longer than 0 (not 1).
Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_wait_fd): prohibit thread context switch
during compilation.
* eval.c (rb_cont_call): prohibit Continuation#call across threads.
Wed Aug 2 08:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (rb_gc): clear malloc_memories to zero, to avoid potential
super frequent GC invocation. (ruby-bugs:#PR48)
* gc.c (rb_gc): only add_heap() if GC trigger condition is
satisfied.
Tue Aug 1 16:41:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (proc_options): global load path setting moved from
ruby_prog_init().
* ruby.c (incpush): renamed. push path entry at the END of the
load path array. This makes -I directories sorted in order in
the arguments.
Sat Jul 29 23:42:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_each): should check whether dir is closed during the
block execution. (ruby-bugs:#PR47)
Sat Jul 29 21:57:30 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ruby.c (rubylib_mangle): provide another buffer for the result.
Wed Jul 26 10:09:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: set SOLIBS to LIBS on Cygwin.
* configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'.$target_os.dll
on cygwin and mingw32. ruby-cygwin.dll is bad. why?
Wed Jul 26 10:04:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (gc_sweep): avoid full scan during compilation.
* gc.c (rb_gc): add heap during no gc period (including
compilation).
Tue Jul 25 19:03:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile: use puts instead of print, because
Cygwin DLL's behavior is changed(or bug?).
* configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'-$target_os.dll
on cygwin and mingw32.
* cygwin/GNUmakefile: ditto.
* Makefile.in: $(SOLIBS) should be put after dmyext.@OBJEXT@.
* instruby.rb: install $(LIBRUBY) to libdir
if $(LIBRUBY) != $(LIBRUBY_A_).
Tue Jul 25 15:16:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_p): redirect to $defout.
Mon Jul 24 18:52:55 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c (win32_getenv): should remove `static'.
* ruby.c (rubylib_mangle): support "/hoge;/foo"
Mon Jul 24 10:28:55 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* string.c (rb_str_count): raise exception if no argument is
given.
Sun Jul 23 12:55:04 2000 Dave Thomas <Dave@Thomases.com>
* string.c (rb_str_rindex): Support negative end position.
Fri Jul 21 17:35:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (aref_args): command_call now be permitted as
aref_args.
* process.c (proc_getpriority): getpriority(2) may return valid
negative number. use errno to detect error.
* marshal.c (dump_ensure): dumped string should be tainted if
any among target objects is tainted.
* marshal.c (r_regist): restored object should be tainted if and
only if the source is a file or a tainted string.
Wed Jul 19 15:14:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivrem): should use rb_int2big(), not rb_uint2big().
Tue Jul 18 14:58:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ruby_options): should treat SystemExit etc. properly.
* parse.y (yycompile): should check compile_for_eval, not
ruby_in_eval.
Mon Jul 17 04:29:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/mkmf.rb: converts extension of $objs into $OBJEXT.
Sun Jul 16 03:02:34 2000 Dave Thomas <dave@thomases.com>
* lib/weakref.rb: Change to use new ObjectSpace calls.
Sat Jul 15 21:59:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should not redefine __id__ nor __send__.
* gc.c (define_final): integrate final.rb features into the
interpreter. define_finalizer and undefine_finalizer was
added to ObjectSpace. plus, add_finalizer, remove_finalizer,
and call_finalizer are deprecated now.
Sat Jul 15 01:32:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_mod_method): implements unbound method.
* eval.c (Init_eval): should prohibit `module_function' for class
Class.
Fri Jul 14 17:19:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile.in: use miniruby instead of sed.
Fri Jul 14 12:49:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_eof): need to check stdin, when next_p == -1.
* io.c (read_all): use io_fread() instead of fread(3).
* io.c (io_reopen): should clearerr FILE if fd < 3.
* re.c (rb_reg_match_m): the result is exported, so it should be
declared as busy.
* eval.c (rb_eval): should preserve errinfo even if return, break,
etc. is called in rescue clause.
* instruby.rb: install irb too.
Wed Jul 12 15:32:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_const_get): constants for builtin classes must
have higher priority than constants from included modules at
Object class.
* bignum.c (bigdivrem): small embarrassing typo.
Wed Jul 12 15:06:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): use rb_const_get_at().
* variable.c (top_const_get): retrieve toplevel constants only,
not ones of Object (and its included modules) in general.
Wed Jul 12 15:04:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb:
add module Net::NetPrivate and its inner classes
{Read,Write}Adapter, Command, Socket,
SMTPCommand, POP3Command, APOPCommand, HTTPCommand
Wed Jul 12 13:10:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivrem): defer bignorm().
* bignum.c (bignorm): accepts accidental fixnums.
Tue Jul 11 16:54:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `@<digit>' is no longer a valid instance
variable name.
Tue Jul 11 01:51:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_divmod): should not use Integer(float) for
the right operand.
* bignum.c (rb_big_remainder): ditto.
* bignum.c (rb_big_modulo): ditto.
Mon Jul 10 15:27:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (pipe_finalize): should set rb_last_status when pclose().
Mon Jul 10 09:07:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (rb_bug): print version number and such too.
Sat Jul 8 23:08:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_start_0): should copy previous scopes to
prevent rb_gc_force_recycle().
Fri Jul 7 23:36:36 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/addrinfo.h: move IN_EXPERIMENTAL and IN_LOOPBACKNET
definitions to ext/socket/sockport.h.
* ext/socket/extconf.rb: add getservbyport() and arpa/inet.h check.
* ext/socket/getaddrinfo.c (getaddrinfo): SOCK_RAW may not be
defined (ex. BeOS, Palm OS 2.x or before).
* ext/socket/getnameinfo.c (getnameinfo): getservbyport() may not
exist (ex. BeOS, Palm OS).
* ext/socket/sockport.h: add IN_EXPERIMENTAL, IN_CLASSA_NSHIFT,
IN_LOOPBACKNET, AF_UNSPEC, PF_UNSPEC and PF_INET.
Fri Jul 7 03:30:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (aref_args): should allow Hash[:a=>2] etc.
* numeric.c (fix_aref): convert index by NUM2INT, not FIX2INT.
(ruby-bugs:#PR37)
* time.c (time_localtime): should prohibit for frozen time.
* time.c (time_gmtime): ditto.
Thu Jul 6 19:12:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_file_s_open): should not terminate fptr; just clear it.
* ruby.c (proc_options): should not call require_libraries()
twice.
* ruby.c (require_libraries): clear req_list_head.next after
execution.
Thu Jul 6 13:51:57 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* object.c (rb_to_id): name may not be symbol nor fixnum.
* struct.c (rb_struct_s_def): name may be nil.
Thu Jul 6 02:09:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (bigdivrem): new function to return remainder.
* numeric.c (fixdivmod): now returns modulo, not remainder.
* numeric.c (flodivmod): ditto.
* bignum.c (bigdivmod): ditto.
* numeric.c (num_modulo): new method; alias to '%'.
Thu Jul 6 00:51:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c (NtCmdGlob): patterns should be separated and
NUL terminated.
Wed Jul 5 22:27:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile: use ruby.def to make rubycw.dll.
* ext/extmk.rb.in: create target.def.
* lib/mkmf.rb: ditto.
Wed Jul 5 09:47:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): Time::local, Time::gm now take 7th optional
argument for usec.
* numeric.c (num_ceil, etc): default ceil, floor, round, truncate
implementation for Numeric, using `to_f'.
* io.c (rb_io_reopen): clear fptr->path after free() to prevent
potential GC crash.
* io.c (rb_file_s_open): terminate fptr unless null.
* io.c (rb_file_initialize): ditto.
* lib/tempfile.rb: specify FILE::CREAT|File::EXCL to open for
better security.
* numeric.c (flo_truncate): new method.
Wed Jul 5 01:02:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: join ' ' -> join(' ').
* lib/mkmf.rb: ditto.
Tue Jul 4 13:51:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/dbm/dbm.c: add methods added to Hash in 1.5.x.
* ext/gdbm/gdbm.c: ditto.
* ext/sdbm/init.c: ditto.
* eval.c (proc_call): args may be Qundef (means no argument), do
not call TYPE() for args.
Tue Jul 4 13:20:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: make command line must be single-quoted.
$(RUBY_INSTALL_NAME) is command substitution in the POSIX sh.
Tue Jul 4 13:16:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* util.c (rb_type): should add T_UNDEF.
Tue Jul 4 09:30:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): supports EOF right after terminator.
* random.c (rb_f_rand): argument is now optional (rand(max=0)).
Tue Jul 4 01:50:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/ruby.def: remove ruby_mktemp.
Tue Jul 4 01:27:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_rescue2): new function to rescue arbitrary exception.
* numeric.c (do_coerce): should catch NameError explicitly.
Tue Jul 4 00:15:23 2000 Dave Thomas <Dave@thomases.com>
* numeric.c (Init_Numeric): forgot to register Numeric#remainder.
Mon Jul 3 23:46:56 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect, myaccept): disable interrupt while
executing accept() or select() to avoid Ctrl-C causes
"unknown software exception (0xc0000029)".
Mon Jul 3 18:35:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* lib/mkmf.rb: use null device if it exists for cross-compiling.
Mon Jul 3 18:19:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
* lib/net/protocol.rb (finish): do nothing unless active.
* lib/net/http.rb: HTTP#{get,post}2 again (for new impl).
Mon Jul 3 16:47:22 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* cygwin/GNUmakefile: librubys.a -> lib$(RUBY_INSTALL_NAME)s.a
* configure.in: use AC_CANONICAL_{HOST,TARGET,BUILD}.
Mon Jul 3 13:15:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_divmod): x * d + m = y where d, m = x.divmod(y).
* bignum.c (rb_big_divmod): ditto.
* numeric.c (fixdivmod): does not depend C's undefined %
behavior. adopt to fmod(3m) behavior.
* numeric.c (flo_mod): modulo now reserves fmod(3m) behavior.
* numeric.c (num_remainder): 'deprecated' warning.
Mon Jul 3 10:27:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: use AC_CANONICAL_SYSTEM.
Sun Jul 2 21:17:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: support without --enable-shared for cygwin/mingw32.
* cygwin/GNUmakefile: ditto.
* ext/extmk.rb.in: use null device if it exists for cross-compiling.
* lib/mkmf.rb: ditto.
* util.c (ruby_mktemp): remove unused ruby_mktemp().
Sun Jul 2 14:18:04 2000 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (TMP_PROTECT_END): tmp__protect_tmp may be NULL.
Sun Jul 2 03:37:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25.
* lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{}
* lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail
Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_rshift): should handle shift value more than
sizeof(long).
Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): the value from RTEST() is not valid Ruby
object. result should be either true or false.
Sat Jul 1 09:30:06 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* re.c (rb_reg_initialize): was freeing invalid pointer.
Sat Jul 1 03:25:56 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (call_args): command_call can be the last argument of
call_args. It had to be the only argument.
* re.c (rb_reg_s_quote): should not dump core even for unsane mbc
string.
Fri Jun 30 01:36:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com>
* parse.y (f_norm_arg): better, nicer error message.
Thu Jun 29 07:45:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (udp_send): destination may be packed
struct sockaddr.
* object.c (rb_Integer): Integer(nil) should be invalid, on the
other hand, nil.to_i is OK.
Wed Jun 28 17:26:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ip_recvfrom): udp_recvfrom and tcp_recvfrom
is merged and moved to IPSocket#recvfrom.
* ext/socket/socket.c (sock_s_getaddrinfo): family can be a
strings such as "AF_INET" etc.
* ruby.c (require_libraries): . and RUBYLIB added to $load_path
just before -r procedure.
* ruby.c (proc_options): -e, - did not exec -r.
Wed Jun 28 14:52:28 2000 Koga Youichirou <y-koga@mms.mt.nec.co.jp>
* config.sub: NetBSD/hpcmips support.
Wed Jun 28 10:11:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c: gc trigger threshold changed; GC_NEWOBJ_LIMIT removed,
FREE_MIN is increased to 4096.
Tue Jun 27 22:39:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.24.
* lib/net/protocol.rb: modified each_crlf_line again.
* lib/net/protocol.rb: do_write_beg,do_write_end -> writing{}
do_write_do -> do_write
* lib/net/http.rb: can make proxy connection by passing
addresses to HTTP.new, start.
* lib/net/http.rb: HTTP.new_implementation, old_implementation:
can use 1.2 implementation of head, get, post, put.
(see document)
Tue Jun 27 12:05:10 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32.c (myfdclr): new function.
* win32.h: add FD_CLR.
Mon Jun 26 23:41:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ruby.h: add cast for ANSI style.
* gc.c (rb_data_object_alloc): use RUBY_DATA_FUNC.
Mon Jun 26 22:20:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (is_socket, extract_file_fd): New function.
* win32/win32.c (myfdopen): use is_socket().
* win32/win32.c (myselect): return non socket files immediately
if file and socket handles are mixed.
Mon Jun 26 16:21:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): wait_for cleared too early.
Mon Jun 26 09:15:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c: remove obsolete 'F', 'D' specifiers.
Sun Jun 25 00:55:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_s_getnameinfo): `res' would not
be assigned if TYPE(sa) == T_STRING.
Sat Jun 24 14:36:29 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* config*.dj, configure.bat, top.sed: move to djgpp/.
Sat Jun 24 02:34:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): call require_libraries() here to let
debug.rb work properly.
Fri Jun 23 22:34:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* bignum.c (rb_big_lshift): reorder xds assignment to avoid
reusing `x' as `len' by VC++ 6.0 SP3 compiler with -Ox switch.
Fri Jun 23 01:11:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): should return empty string (""),
if beg == str.size and len == zero, mostly for convenience and
backward compatibility.
* parse.y (new_super): should tweak block_pass node for super too.
* string.c (rb_str_split_m): last split element should not be nil,
but "" when limit is specified.
Thu Jun 22 17:27:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): str[n,m] now returns nil when n equals
to str.size.
Thu Jun 22 13:49:02 2000 Uechi Yasumasa <uechi@ryucom.ne.jp>
* lib/net/ftp.rb: support resuming.
Thu Jun 22 13:37:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c (rb_thread_sleep_forever): merge pause() macro.
Wed Jun 21 08:49:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should not raise exception just by defining
singleton class.
Wed Jun 21 01:18:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h: two macros RUBY_DATA_FUNC and RUBY_METHOD_FUNC are added
to make writing C++ extensions easier.
* array.c (rb_ary_dup): internal classes should not be shared by dup.
* hash.c (rb_hash_dup): ditto.
* object.c (rb_obj_dup): ditto.
* string.c (rb_str_dup): ditto.
* error.c (Init_Exception): renamed NotImplementError to
NotImplementedError.
Tue Jun 20 16:22:38 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): bug in DST boundary.
Tue Jun 20 10:54:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add eval sitedir.
Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z
* lib/net/telnet.rb: ditto.
Tue Jun 20 00:37:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_kcode_m): Regexp#kcode returns nil for code unfixed
regexp object.
* bignum.c (bigdivmod): bignum zero check was wrong.
Mon Jun 19 10:48:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_cvar_set): forgot to add security check for class
variable assignment.
Sun Jun 18 22:49:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: single quoted sitedir.
* mkconfig.rb: add DESTDIR for cross-compiling.
* lib/mkmf.rb: add DESTDIR.
* ruby.c (load_file): force binmode if fname includes ".exe"
on DOSISH.
Sat Jun 17 23:22:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): should ignore negative precision given
by <%.*>.
* sprintf.c (rb_f_sprintf): should allow zero precision.
Sat Jun 17 03:13:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_localtime): avoid unnecessary call of localtime.
* time.c (time_gmtime): avoid unnecessary call of gmtime.
* process.c (proc_wait2): new method.
* process.c (proc_waitpid): second argument made optional.
* process.c (proc_waitpid2): new method.
Sat Jun 17 00:05:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_clone): should initialize member fields.
Fri Jun 16 22:49:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_rewind): set lineno to zero.
Fri Jun 16 22:47:47 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.23.
* lib/net/protocol.rb: too many CRLF in last line.
Fri Jun 16 21:23:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add pause(2) checking.
* eval.c: define pause() if missing.
Fri Jun 16 18:41:58 2000 Koji Arai <JCA02266@nifty.ne.jp>
* process.c (proc_setsid): BSD-style setpgrp() don't return
process group ID, but 0 or -1.
Fri Jun 16 16:23:35 2000 Koji Arai <JCA02266@nifty.ne.jp>
* file.c (rb_stat_inspect): gives detailed information;
compatibility with ruby-1.4.x.
Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org>
* configure.in: FreeBSD: do not link dummy libxpg4 which was
merged into libc.
Fri Jun 16 03:17:36 2000 Satoshi Nojo <nojo@t-samukawa.or.jp>
* ext/dbm/dbm.c (fdbm_length): use GetDBM. empty?, [] too.
* ext/gdbm/gdbm.c (fgdbm_length): ditto.
* ext/sdbm/init.c (fsdbm_length): ditto.
Fri Jun 16 01:57:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_sleep_forever): pause(2) instead of sleep(3).
Thu Jun 15 10:46:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_sub_bang): should probagate taintness from
replacement string.
Wed Jun 14 17:01:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* rubytest.rb: add CONFIG['EXEEXT'] to the executable file name.
Wed Jun 14 14:50:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_f_sub): assign to $_ only if modification happens.
* string.c (rb_f_gsub): ditto.
* string.c (rb_f_chop): ditto.
* string.c (rb_f_chomp): ditto.
* io.c (io_reopen): preserve file position by ftell/fseek, if io
is a seekable.
* eval.c (method_arity): wrong arity number for the methods with
optional arguments.
* time.c (make_time_t): opposite timezone shift (should be negative).
Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c: typo(ig/if).
* re.c: typo(re/reg). add rb_reg_check().
* time.c: remove unneeded declare(daylight, timezone).
* configure.in: add include <time.h> when daylight checking.
Wed Jun 14 11:36:52 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* marshal.c (r_object): modified for symbols.
* marshal.c (w_object): ditto.
Wed Jun 14 10:04:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_memcmp): should compare according to ruby_ignorecase.
* string.c (rb_str_cmp): use rb_memcmp.
* string.c (rb_str_index): ditto.
* string.c (rb_str_rindex): ditto.
* string.c (rb_str_each_line): ditto.
Wed Jun 14 04:58:53 2000 Dave Thomas <dave@thomases.com>
* io.c (rb_io_set_lineno): should have returned VALUE, not
integer.
Wed Jun 14 09:29:42 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dup): dup should always propagate taintness.
Wed Jun 14 00:50:14 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: read_multipart(): if no content body then raise EOFError.
Tue Jun 13 11:46:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (proc_setsid): try implement it using setpgrp() and
ioctl(fd, TIOCNOTTY, NULL).
* re.c (rb_reg_prepare_re): magic variable $= should affect regex
pattern match.
* time.c (make_time_t): use tm.tm_gmtoff if possible.
* time.c (time_zone): use tm.tm_zone if available.
Tue Jun 13 01:50:57 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.22.
* lib/net/http.rb: HTTPResponse#body returns body.
Mon Jun 12 23:41:54 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in (daylight): avoid GCC optimization.
Mon Jun 12 19:02:27 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: cygwin has strange timezone.
* time.c (time_zone): use tzname and daylight.
Sat Jun 10 23:10:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_seek): whence is optional, default is SEEK_SET.
Fri Jun 9 17:00:29 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.21.
* lib/net/http.rb: exception is raised with response object.
Fri Jun 9 15:11:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): supports daylight saving time.
* eval.c (rb_thread_safe_level): should retrieve current $SAFE
value if a thread is the current thread.
Thu Jun 8 14:25:45 2000 Hiroshi Igarashi <iga@ruby-lang.org>
* lib/mkmf.rb: add target `distclean' in Makefile for extlib.
target `clean' doesn't remove Makefile.
Thu Jun 8 13:34:03 2000 Dave Thomas <dave@thomases.com>
* numeric.c: add nan?, infinite?, and finite? to Float
Thu Jun 8 00:31:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* regex.h: export re_mbctab properly on cygwin.
* dln.c: use dlopen instead of LoadLibrary on cygwin.
Thu Jun 8 13:41:34 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* file.c (rb_file_s_basename): might dump core.
Tue Jun 6 03:29:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_foreach): now returns nil for consistency.
* bignum.c (bigdivmod): modulo by small numbers was wrong.
Mon Jun 5 00:18:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* bignum.c: avoid conflict with USHORT on mingw32.
Mon Jun 5 00:13:35 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c (rb_thread_schedule): =/== typo.
Sun Jun 4 03:17:36 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: improve: CGI::pretty()
Sun Jun 4 02:01:10 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* lib/mkmf.rb: do not need to add -L$(topdir) in --enable-shared case.
Sat Jun 3 13:50:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rb_id2name): should support constant attrset
identifiers.
* bignum.c (rb_big_eq): Bignum#== should not raise exception.
Fri Jun 2 11:24:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): open with a block returns the value from the
block. old behavior was back.
Fri Jun 2 00:42:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_cleanup): should clear priority for thread
termination.
Thu Jun 01 22:39:41 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.20.
* lib/net/http.rb: wrongly closed the socket twice
when no Content-Length: was given.
Thu Jun 1 00:59:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_yield_0): convert Qundef to [].
Wed May 31 20:45:59 2000 Dave Thomas <Dave@Thomases.com>
* string.c (rb_str_slice_bang): wrong argument number.
Wed May 31 12:37:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_exec_end_proc): print error message from END procs.
Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then
output only HTTP header.
Wed May 31 01:54:21 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): set main_thread->status to
THREAD_TO_KILL, before raising deadlock error.
* eval.c (rb_thread_deadlock): if curr_thread == main_thread, do
not call rb_thread_restore_context()
Tue May 30 23:33:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* lib/mkmf.rb (create_makefile): add $(TARGET).ilk and *.pdb
to cleanup files for mswin32.
Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (rb_file_s_basename): should propagate taintness.
Sun May 28 21:37:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c: bug fix: DLEXT2.
Sun May 28 19:21:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* win32/win32.c: use ruby's glob.
* dir.c: "glob" exported and renamed to "rb_glob".
* ruby.h: ditto.
* main.c: turn off command line mingw32's globbing.
Wed May 25 22:25:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/extmk.rb.in: use "ftools" instead of "rm -f".
* lib/mkmf.rb: ditto.
Thu May 25 22:01:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* defines.h: mswin32: remove obsolete USHORT definition.
* re.h: mswin32: use EXTERN instead of extern.
* regex.h: mswin32: export re_mbctab properly.
* win32/ruby.def: add ruby_ignorecase and regex.c's exports.
Thu May 25 21:28:44 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* re.c (rb_reg_expr_str): escape un-printable character.
Thu May 25 01:35:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (tokadd_escape): forgot to add `\x' to hexadecimal
escape sequences.
* object.c (rb_obj_dup): dup for normal object (T_OBJECT) copies
instance variables only.
Wed May 24 23:49:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_mod_initialize): should provide initialize.
Wed May 24 23:17:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/Makefile: remove unnecessary mv and rm command call.
Wed May 24 21:01:04 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/pty/pty.c: use "" instead of <> to include ruby.h and rubyio.h
for BeOS (PowerPC).
* file.c (rb_find_file): should check dln_find_file() result.
* win32/ruby.def: add rb_block_given_p.
Wed May 24 16:32:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): popen does not take 3rd argument anymore.
* re.c (rb_reg_desc): re may be zero, check before dereferencing.
Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::escape(), CGI::Cookie::new()
* lib/net/telnet.rb: improve: binmode(), telnetmode() interface
Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* misc/ruby-mode.el (ruby-parse-region): support `while .. do'
etc. But corresponding keywords must be at the beginning of
line.
Tue May 23 23:50:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_initialize_m): wrong kcode value.
* re.c (rb_reg_s_new): forgot to initialize re->ptr.
Tue May 23 08:36:24 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): forgot to restore old option
status by (?ix-ix).
* regex.c (re_compile_fastmap): anychar may match newline if
RE_OPTION_MULTILINE or RE_OPTION_POSIXLINE is set.
Mon May 22 22:45:06 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.19.
* lib/net/http.rb: do not use Regexp "p" option.
Mon May 22 21:56:43 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* struct.c (rb_struct_getmember): should use ID2SYM, not INT2NUM.
Mon May 22 15:07:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (rb_find_file): should check if the file really exists.
Mon May 22 09:08:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_popen): _exit(0) after processing block under the
child process.
* io.c (rb_io_popen): flush stdout/stderr before subprocess
termination.
* eval.c (rb_check_safe_str): insert rb_secure(4); operation
requires untainted string should be prohibited in level 4.
Sun May 21 21:17:00 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: add Setup.dj for djgpp cross-compiling.
* Setup.dj: add readline.
* instruby.rb: copy win32/win32.h to archlibdir on mingw32.
Sun May 21 20:58:08 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* pack.c: fix OFF16 and OFF32 definitions for Alpha and IRIX64.
Sun May 21 17:31:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* instruby.rb: support "make install" for cross-compiling.
* ext/extmk.rb.in: ditto.
Sun May 21 14:22:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* Makefile.in: rename prep.rb to fake.rb.
* configure.in: ditto.
Sat May 20 23:29:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_s_new): does not take block; "open" does.
* io.c (rb_io_s_new): ditto.
Fri May 19 07:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_s_open): Dir#open does not returns closed Dir if a
block is given to the method.
* re.c (rb_reg_initialize_m): Regexp::new calls initialize now.
* string.c (Init_String): String#delete_at removed.
* string.c (rb_str_aset_m): should have checked argc != 2.
* eval.c (rb_thread_schedule): select(2) was called too many.
* regex.c (re_compile_pattern): a bug in (?m) support. Pointed
out by Dave Thomas <Dave@thomases.com>.
Thu May 18 23:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* dln.c (search_undef): st_lookup()'s 3rd parameter should be
a pointer of the variable which has the same size and alignment
as `char *'.
* marshal.c (w_symbol, w_object): ditto.
* parse.y (rb_intern): ditto.
Thu May 18 18:00:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.18.
* lib/net/protocol.rb: Net::Version was removed.
* lib/net/smtp.rb: use Socket.gethostname to get local host name.
Thu May 18 13:34:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ruby_connect): should not have replaced
thread_write_select() by rb_thread_fd_writable().
Thu May 18 09:01:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* configure.in, ext/extmk.rb.in, lib/mkmf.rb: remove BeOS R3 support.
Make a shared library (libruby.so) only if the --enable-shared
option is specified.
* instruby.rb: no longer use libruby.so.LIB and import.h.
* io.c: fix READ_DATA_PENDING definition for BeOS (PowerPC).
Wed May 17 14:14:23 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_new_1): use /m instead of /p.
Wed May 17 02:22:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_polling): wait 0.06 second to let other
processes run.
* process.c (rb_waitpid): avoid busy wait using rb_thread_polling.
* file.c (rb_thread_flock): ditto.
* parse.y (expr): avoid calling value_expr() twice.
Wed May 17 00:45:57 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (rb_io_binmode): should check PLATFORMs, not O_BINARY, sigh...
Wed May 17 00:40:15 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/config.h: add DLEXT2, now DLEXT on mswin32 is "so".
* win32/config.status: ditto.
* win32/ruby.def: add symbol "rb_big_divmod".
Tue May 16 19:45:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* intern.h: use EXTERN instead of extern.
* win32/ruby.def: add rb_defout, rb_stdout, ruby_errinfo,
ruby_sourceline, ruby_sourcefile to work with eruby
reported by Hiroshi Saito <HiroshiSaito@pob.org>.
Export both ruby_xmalloc and xmalloc etc.
Tue May 16 17:00:05 2000 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* eval.c (rb_thread_select): should check whether fds are null.
Tue May 16 11:51:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (pipe_open): synchronize subprocess stdout/stderr.
Mon May 15 15:38:09 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h: exported symbols should be for xmalloc etc. are now
prefixed by 'ruby_', e.g. ruby_xmalloc().
* eval.c (rb_thread_select): remove busy wait for select.
* dir.c (glob): trailing path may be null, e.g. glob("**").
Mon May 15 14:48:41 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* io.c (rb_io_pid): new method; returns nil if no process attached
to the IO.
Mon May 15 01:18:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_s_popen): _exit after Proc execution.
Sun May 14 18:05:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* Makefile.in: missing/nt.c -> win32/win32.c
* configure.in: bug fix; static linking on mingw32.
* cygwin/GNUmakefile.in: remove VPATH.
* ext/extmk.rb.in: Makefile set binmode with mingw32 on cygwin32.
* lib/mkmf.rb: ditto.
* win32/config.h: undef HAVE_SYS_FILE_H.
Sun May 14 02:02:48 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* lib/irb/ruby-lex.rb: '/' should be escaped in character class.
Sun May 14 00:54:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in, ...: support mingw32.
* defines.h: ditto. undef EXTERN for tcl/tk on cygwin.
* ext/*/extconf.rb: replace PLATFORM with RUBY_PLATFORM.
* ext/socket/sockport.h: define IN_MULTICAST for missing IN_MULTICAST.
* ext/tcltklib/tcltklib.c: remove declaration of rb_argv0.
* file.c: should check S_IXGRP, S_ISGID, not NT.
* io.c (rb_io_binmode): should check _IOBIN, O_BINARY, not PLATFORMs.
Sat May 13 14:21:15 2000 Koji Arai <JCA02266@nifty.ne.jp>
* io.c (rb_io_s_popen): should check whether a block is given.
Fri May 12 17:33:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): charset_not should not exclude
newline from matching set.
Thu May 11 22:51:05 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp>
* pack.c (pack_pack): Bignum support.
* pack.c (pack_unpack): ditto.
Thu May 11 21:19:29 2000 Hiroshi Igarashi <iga@ruby-lang.org>
* intern.h: add missing declarations of ruby API functions.
* ruby.h: fix function name in declarations.
Thu May 11 22:29:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/md5/depend: add $(topdir)/config.h dependency to md5c.o.
* ext/md5/extconf.rb: new file to add -DHAVE_CONFIG_H flag for Alpha.
Thu May 11 10:55:52 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp>
* pack.c (pack_pack): packing BER compressed integer by `w'.
* pack.c (pack_unpack): unpacking BER.
Thu May 11 00:37:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): remove in_brack.
Wed May 10 12:51:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (proc_options): move adding RUBYLIB and "." to the load
path after #! line parsing.
* parse.y (parse_regx): should parse backslash escape like `\c['
here to avoid causing `unterminated regexp' error.
Wed May 10 00:19:53 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* MANIFEST, beos/GNUmakefile.in, configure.in: no longer need
beos/GNUmakefile.in to support BeOS R4.5.2 (Intel) as a result
of eban's Makefile.in change.
* io.c: NOFILE is already defined on BeOS R4.5 (Intel) or later.
* lib/matrix.rb: remove debug print.
* regex.c: don't use nested comment.
Tue May 9 17:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (massign): no longer convert nil into empty array.
* io.c (rb_io_s_popen): optional 3rd argument to give proc, which
will be executed in spawned child process.
Mon May 8 23:47:39 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_callcc): prev & next should be initialized to zero.
Mon May 8 23:17:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dln.c (dln_init): remove possible buffer overrun. This is
suggested by Aleksi Niemela <aleksi.niemela@cinnober.com>.
* dln.c (init_funcname): ditto.
Sat May 6 23:35:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (lhs): should allow `obj.Attr = 5' type expression.
Sat May 6 15:46:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/socket/extconf.rb: add a new configure option to force use
of the WIDE Project's getaddrinfo(): --enbale-wide-getaddrinfo.
Fri May 5 21:19:22 2000 MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
* parse.y (yylex): allow '$1foo' and such.
Fri May 5 17:57:24 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.17.
* lib/net/http.rb: write also port number in Host: field.
* lib/net/http.rb: see Proxy-Connection: to decide socket connection.
Fri May 5 03:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): charset_not for multibyte
characters excluded too many characters.
Tue May 2 13:23:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): little bit more impartial context
switching.
Tue May 2 09:50:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* configure.in: add DLDLIBS to set platform specific library
for extensions.
* ext/extmk.rb.in: use @DLDLIBS@ instead of RUBY_PLATFORM choice.
* lib/mkmf.rb: use CONFIG["DLDLIBS"] instead of RUBY_PLATFORM choice.
* config_s.dj: add @DLDLIBS@.
* win32/config.status: ditto.
* win32/ruby.def: regular maintenance.
Mon May 1 23:42:44 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in, eval.c: add DLEXT2. now DLEXT on Cygwin is "so".
* defines.h: use dllimport, dllexport for Cygwin 1.1.x.
* ruby.h: ditto.
* cygwin/GNUmakefile.in: ditto.
* ext/Win32API/Win32API.c: directly "call" in asm statement for
gcc 2.95.x or newer.
Sat Apr 29 04:58:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_ary_unshift_m): performance improvement.
Fri Apr 28 00:19:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_ary_unshift_m): takes items to push.
Wed Apr 26 15:23:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_succ): insert carrying character just before
the leftmost alpha numeric character.
* string.c (rb_str_succ): proper behavior for "".succ and "\377".succ.
* string.c (rb_str_succ): use realloc and memmove.
Tue Apr 25 18:28:45 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.16.
* lib/net/smtp.rb: add SMTP AUTH
Tue Apr 25 14:30:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_gets_internal): shortcut when rs == rb_default_rs.
Sat Apr 22 23:14:41 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* configure.in: MacOS X support.
Sat Apr 22 16:37:10 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.15.
* lib/net/http.rb: closing socket by watching both
user header and server response
Fri Apr 21 21:44:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (rb_io_s_pipe): should set FMODE_SYNC.
Thu Apr 20 16:59:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (massign): `*lvalue = false' should assign `[false]' to
lvalue.
Wed Apr 19 08:35:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (rb_singleton_class): generate singleton class for
special constants: nil, true, false.
Wed Apr 19 02:09:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (rb_singleton_class): singleton method for nil, true,
false is possible now.
* eval.c (rb_eval): ditto.
Tue Apr 18 18:54:25 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.14.
* lib/net/http.rb: new method HTTP#head2.
* lib/net/http.rb: get2/post2 does not raise exceptions.
Mon Apr 17 15:16:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_close): to detect some exceptional status, writable
IO should be flushed before close;
Sat Apr 15 18:29:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_collect_bang): Array#filter renamed.
Fri Apr 14 19:47:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.13.
* lib/net/pop.rb: accept illegal timestamp
* lib/net/http.rb: when body was chunked, does not set Content-Length:
Tue Apr 11 21:14:42 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* config_s.dj: add @sitedir@.
* configure.in: add --with-sitedir=DIR option.
* instruby.rb: use CONFIG["sitedir"].
* lib/mkmf.rb: support 'make site-install'.
* win32/config.status: add @sitedir@.
Tue Apr 11 16:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_2comp): unnecessary lvalue cast removed.
Tue Apr 11 02:25:53 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (env_fetch): new method.
* marshal.c (marshal_dump): accepts depth = nil for unlimited depth.
Sun Apr 9 20:49:19 2000 Dave Thomas <Dave@Thomases.com>
* parse.y (str_extend): Allow class variables to be expanded.
Fri Apr 7 02:03:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (rb_sys_fail): escape non-printable characters.
Thu Apr 6 20:10:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/extmk.rb.in (create_makefile): BeOS --program-suffix support.
* lib/mkmf.rb (create_makefile): ditto.
Thu Apr 6 09:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* error.c (rb_sys_fail): need rb_exc_new2() call on BeOS.
Mon Apr 3 17:22:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_reopen): support tempfile.
* eval.c (catch_i): should supply argument.
Sat Apr 1 22:50:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (r_object): wrong symbol restoration.
Sat Apr 1 21:30:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (rb_io_printf, rb_f_printf): should use rb_io_write.
Sat Apr 1 00:16:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (rb_gc_call_finalizer_at_exit): should be clear flags
before calling finalizers.
* eval.c (specific_eval): can be called without SecurityError, if
$SAFE >= 4.
* object.c (sym_inspect): inspect gives ":sym", to_s gives "sym".
Fri Mar 31 22:07:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.12.
* lib/net/protocol.rb: update Net::Protocol::Proxy#connect
* lib/net/protocol.rb: ReplyCode is not a class
* lib/net/http.rb: header value format was change:
values do not include header name
* lib/net/http.rb: header is not a Hash, but HTTPResponse
Thu Mar 30 12:19:44 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* enum.c (enum_find): rb_eval_cmd() should be called with array.
Tue Mar 28 13:57:05 2000 Clemens Hintze <c.hintze@gmx.net>
* ext/dbm/dbm.c (fdbm_invert): should return new hash.
* ext/gdbm/gdbm.c (fgdbm_invert): ditto.
Tue Mar 28 00:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.11.
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: does not
dispatch any commands while dispatching command.
* lib/net/protocol.rb: failed to get error class of
inherited ReplyCode
* lib/net/http.rb: change feature of "get2", "post2"
Mon Mar 27 01:34:58 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.10.
* lib/net/http.rb: return value of 'head' was wrong.
Sun Mar 26 17:47:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.9.
* lib/net/smtp.rb: SMTP#do_ready wrongly took no arguments
Sat Mar 25 23:21:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (w_object): symbols should be converted to ID before
dumping out.
Fri Mar 24 18:26:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (test_check): should have checked exact number of arguments.
Fri Mar 24 21:02:11 2000 Koji Arai <JCA02266@nifty.ne.jp>
* signal.c (trap): should treat some symbols as the signal.
Fri Mar 24 06:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.8.
* lib/net/http.rb: post, get2, post2, get_body
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: separate
Command/Socket documentation.
Thu Mar 23 02:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_fptr_finalize): fptr may be null.
* io.c (rb_io_s_new): now calls `initialize'.
* io.c (rb_io_initialize): actual open done in this method.
* io.c (rb_file_initialize): ditto.
* eval.c (rb_eval): class variables in singleton class definition
is now handled properly (I hope).
Wed Mar 22 21:49:36 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* st.c (st_delete_safe): skip already deleted entry.
* hash.c (rb_hash_delete): modify brace miss.
Wed Mar 22 08:53:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (exec_under): do not push cbase if ruby_cbase == under.
* node.h (NEW_CREF0): preserve cbase nesting.
Tue Mar 21 12:57:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_class_s_new): Class::new should call `inherited'.
Sat Mar 18 12:36:09 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_backtrace, make_backtrace): removed unused variable
`lev'.
* eval.c (rb_attr): calls `method_added' at attribute definition.
* eval.c (rb_mod_modfunc): calls `singleton_method_added' while
`module_function'.
* eval.c (rb_eval): parameter to `method_added' and
`singleton_method_added' is Symbol.
* eval.c (Init_eval): caches IDs for `method_added' and
`singleton_method_added'.
Sat Mar 18 11:25:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rescue): allows `rescue Error in foo'. experimental.
which is better this or preparing alias `exception' for `$!'?
Fri Mar 17 15:02:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_autoload_id): defining new autoload should be
prohibited for $SAFE > 4.
* variable.c (rb_autoload_load): autoload should be possible for
$SAFE > 4.
* eval.c (call_trace_func): should handle T_ICLASS properly.
Fri Mar 17 14:34:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_gsub): forgot to initialize str->orig.
Fri Mar 17 01:24:59 2000 Dave Thomas <Dave@thomases.com>
* string.c (rb_str_clone): forgot to copy str->orig if STR_NO_ORIG
is set by Array#pack.
Wed Mar 15 21:25:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* array.c (rb_ary_join): 'result' is always duplicated
before concat string.
Wed Mar 15 17:26:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_s_create): unexpected recursive call removed.
this bug was found by Satoshi Nojo <nojo@t-samukawa.or.jp>.
Wed Mar 15 13:12:39 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (Init_Thread): Thread.join removed finally.
* string.c (rb_str_chomp_bang): forgot to call rb_str_modify().
Mon Mar 13 16:12:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): distinguish real orphan block and still
on-stack block passed by block argument.
Mon Mar 13 00:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (f_norm_arg): proper error message when constant comes
in formal argument list. this message is suggested by Muvaw
Pnazte <bugathlon@yahoo.com>.
* eval.c (rb_f_raise): proper error message when the first
argument is not an exception class/object.
* string.c (rb_str_dup): dup now postpone buffer copy as long as
possible. performance improved by lazy copying.
Sun Mar 12 13:58:52 2000 Koji Arai <JCA02266@nifty.ne.jp>
* signal.c (rb_f_kill): should treat some symbols as the signal.
Sat Mar 11 22:03:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_gsub): performance tune by avoiding buffer copy.
* eval.c (rb_f_missing): check if argv[0] is ID.
Sat Mar 11 15:49:41 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (rb_struct_aref): struct aref by symbol.
Sat Mar 11 05:07:11 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (proc_setpriority): should return 0, not nil.
* process.c (proc_setpgid): ditto.
Fri Mar 10 18:14:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (path_check_1): confusing buf and path. this bug found
by <decoux@moulon.inra.fr>.
Fri Mar 10 09:37:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* MANIFEST: add beos/GNUmakefile.in.
* configure.in: support BeOS R4.5.2 (Intel).
* beos/GNUmakefile.in: new file to support BeOS R4.5.2 (Intel).
Thu Mar 9 11:13:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): fixed embarrassing brace bug.
Thu Mar 9 01:36:32 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* missing/flock.c: emulate missing flock() with fcntl().
Thu Mar 9 00:29:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (sym_to_s): returns ":sym".
* object.c (sym_id2name): separated from to_s; returns "sym".
Wed Mar 8 19:16:19 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.7.
* lib/net/http.rb (connecting): returns header
Wed Mar 8 02:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y: escape expansion too early.
* string.c (rb_f_scan): Kernel#scan added.
* regex.c (re_compile_pattern): support \cX et al.
Tue Mar 7 01:44:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (set_stdin): simplified procedure, allows $stdin = DATA;
experimental.
* io.c (set_outfile): ditto.
* re.c (Init_Regexp): new method Regexp#last_match added; it's an
alternative for $~.
* configure.in (DEFAULT_KCODE): KCODE_NONE should be the default.
* dir.c (dir_s_rmdir): should return 0 on success.
* signal.c: remove CWGUSI support.
Mon Mar 6 12:28:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (w_symbol): support symbol object.
* util.c: make symbol as separated class.
* error.c (Init_Exception): new exception RangeError.
* ext/socket/socket.c (ip_addrsetup): should check length of hostname.
* ext/socket/socket.c (ip_addrsetup): check newline at the end of
hostname. These fixes suggested by Muvaw Pnazte <bugathlon@yahoo.com>.
Sun Mar 5 20:35:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): should call
LoadLibrary() everytime and should assign the hdll to Win32API
object(protect the hdll from GC).
Sun Mar 5 18:49:06 2000 Nakada.Nobuyoshi <nobu.nokada@softhome.net>
* misc/ruby-mode.el (ruby-parse-region): not treat method `begin'
and `end' as reserved words.
* misc/ruby-mode.el (ruby-font-lock-docs): ignore after `=begin'
and `=end'.
* misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns):
added `yield' to keywords.
* misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns):
matches keywords at end of buffer.
Sun Mar 5 18:08:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.6.
* lib/net/http.rb: allow to omit 'start'
Tue Feb 29 01:08:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* range.c (range_initialize): initialization done in `initialize';
`initialize' should not be called more than once.
* object.c (Init_Object): default `initialize' should take zero
argument.
* time.c (time_s_new): call `initialize' in Time::new.
Sat Feb 26 22:39:31 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* string.c (rb_str_times): fix String#* with huge string.
Sat Feb 26 00:14:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (dir_s_new): call `initialize' in Dir::new.
Fri Feb 25 23:01:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ruby.h: export ruby_safe_level by EXTERN for mswin32.
* win32/ruby.def: regular maintenance.
Fri Feb 25 22:12:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_reopen): IO#reopen should accept path as well.
* string.c (rb_str_s_new): call `initialize' in String::new.
* hash.c (rb_hash_s_new): call `initialize' in Hash::new.
* array.c (rb_ary_s_new): call `initialize' in Array::new.
Fri Feb 25 12:50:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_start_timer): interval changed to 10ms from 50ms.
Fri Feb 25 06:42:26 2000 GOTOU YUUZOU <gotoyuzo@notwork.org>
* ext/socket/socket.c (ip_addrsetup): hostp should remain NULL if
host is nil.
Thu Feb 24 16:53:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_schedule): priority check for sleep expired
threads needed.
Wed Feb 23 14:22:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_join): forgot to initialize a local variable
`taint'.
Tue Feb 22 07:40:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (Init_Regexp): renamed to MatchData, old name MatchingData
remain as alias.
Tue Feb 22 00:20:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.5.
* lib/net/session.rb: rename to protocol.rb
* lib/net/protocol.rb: ProtocolSocket -> Net::Socket
* lib/net/protocol.rb: Net::Socket#write, write_pendstr
can take block
* lib/net/smtp.rb: new methods SMTP#ready SMTPCommand#write_mail
* lib/net/pop.rb: POPMail#pop can take block
Sat Feb 19 23:58:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): pop_loop should not pop at forward jump.
Fri Feb 18 17:15:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (method_clone): method objects are now clonable.
Fri Feb 18 00:27:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_shared_variable_declare): shared variable (aka
class/module variable) introduced. prefix `@@'. experimental.
* class.c (rb_scan_args): new format char '&'.
Thu Feb 17 19:09:05 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (mypopen): don't close handle if it is not assigned.
* win32/win32.c (my_open_osfhandle): support O_NOINHERIT flag.
* win32/win32.c (win32_getcwd): rename getcwd to win32_getcwd
in order to avoid using the C/C++ runtime DLL's getcwd.
Use CharNext() to process directory name.
* win32/win32.h: map getcwd to win32_getcwd.
Wed Feb 16 00:32:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (method_arity): nd_rest is -1 for no rest argument.
* process.c (proc_waitpid): returns nil when waitpid(2) returns 0.
Tue Feb 15 01:47:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* process.c (rb_f_waitpid): pid_t should be signed.
Mon Feb 14 13:59:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): yylex yields wrong tokens for `:foo=~expr'.
* ruby.c (load_file): exit if reading file is empty.
Mon Feb 14 03:34:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `foo.bar=1' should be <foo><.><bar><=><1>,
not <foo><.><bar=><1>.
* eval.c (rb_thread_restore_context): process according to
RESTORE_* is moved after longjmp().
* eval.c (thread_switch): new function to process RESTORE_*.
Sun Feb 13 16:19:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* ruby.c (require_libraries): don't access freed memory.
* ruby.c (add_modules): ditto.
Fri Feb 11 12:06:22 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_quotedwords): %w() need to split not only by mere
spaces, but by all whitespaces.
Thu Feb 10 02:12:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_index_m): did not support negative offset.
Wed Feb 9 21:54:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c: gcc --traditional support.
Rearrange headers to work AC_C_CONST.
* ext/socket/getnameinfo.c: ditto.
* ext/socket/socket.c: mswin32: use double instead of long long.
Wed Feb 9 16:30:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (num_coerce): should return [y, x].
Wed Feb 9 11:07:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_prog_init): loadpath structure changed.
Tue Feb 8 02:07:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): optimize for \G at top.
* regex.c (re_compile_pattern): \G introduced.
* regex.c (re_match): ditto.
* string.c (str_sub_bang): old behavior restored: bang method
returns nil if string not changed.
* regex.c (re_compile_pattern): support independent subexpression
`(?>pattern)'.
* regex.c (re_match): ditto.
Mon Feb 7 15:51:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): now understands interrupts under Ruby.
Mon Feb 7 07:51:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_uniq_bang): always return an Array.
* array.c (rb_ary_compact_bang): ditto.
* array.c (rb_ary_flatten_bang): ditto.
* hash.c (rb_hash_reject): returns a Hash, not an Array.
* hash.c (env_reject): ditto.
Fri Feb 4 10:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (scan_once): scan now leaves information about the last
successful pattern match in $&.
* io.c (rb_io_close): should not check closed IO.
Fri Feb 4 05:44:01 2000 Kentaro Inagaki <inagaki@tg.rim.or.jp>
* ext/socket/socket.c (s_recv): TRAP_BEG after retry entry.
Wed Feb 2 22:33:45 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (rb_thread_start): receives argument from outside, like
`Thread::start(1,2,3){|a,b,c| ... }'.
Wed Feb 2 22:14:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_regsub): should check regs->num_regs.
* re.c (rb_reg_search): remove matchcache, use static struct
re_register instead.
* re.c (match_getter): avoid cloning match data.
Wed Feb 2 17:12:15 2000 Dave Thomas <Dave@Thomases.com>
* samples/eval.rb: Rescue new ScriptError exception
Wed Feb 2 02:06:07 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_gsub_bang): gsub! now leaves information about the
last successful pattern match in $&.
Mon Jan 31 15:24:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_sub_bang): bang method returns string always.
experimental.
Sun Jan 30 17:58:09 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c: arrange to use setitimer(2) for BOW, DJGPP
* defines.h: ditto. use random(3) on cygwin b20.1.
Sun Jan 30 17:20:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* eval.c: use getrlimit(2) on DJGPP.
Thu Jan 27 01:27:10 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* dir.c (glob): glob pattern "/*" did not match.
Wed Jan 26 22:30:47 2000 Shigeo Kobayashi <shigeo@tinyforest.gr.jp>
* numeric.c (flo_modulo): wrong result for negative modulo.
Wed Jan 26 02:01:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (test_c): should use S_ISCHR.
* file.c (rb_stat_c): ditto.
* string.c (rb_str_each_line): should propagate tainting.
Tue Jan 25 04:01:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_obj_freeze): all objects made freezable.
Tue Jan 25 00:37:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: use AC_CHECK_TOOL for cross compiling.
Mon Jan 24 19:01:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* array.c (rb_protect_inspect): should be checked by id of
objects; not by object themselves.
Mon Jan 24 18:48:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* eval.c (rb_eval): too many warnings; warned on every method
overriding. should be on method discarding.
Mon Jan 24 02:56:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): -2.abs should be `(-2).abs' to accomplish the
principle of less surprise. `+2' too.
* eval.c (rb_eval): when defining class is already there, and
superclass differ, throw away the old class.
* variable.c (rb_const_set): gives warning again on constant
redefinition.
* error.c (Init_Exception): SyntaxError, NameError, LoadError and
NotImplementError are subclasses of ScriptError<Exception, not
StandardError. experimental.
Sat Jan 22 00:00:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_quotedwords): no longer use `String#split'.
and enable space escape within quoted word list.
e.g. %w(a\ b\ c abc) => ["a b c", "abc"].
* string.c (rb_str_slice_bang): new method `slice!'.
Fri Jan 21 21:56:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.4.
* lib/net/http.rb: can receive messages which have
no Content-Length:.
Fri Jan 21 16:15:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thgroup_s_new): new class ThreadGroup.
Tue Jan 18 12:24:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* struct.c (Init_Struct): remove Struct's own hash and eql?.
Sat Jan 15 22:21:08 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* eval.c (search_method): argument klass may be 0.
Sat Jan 15 15:03:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* enum.c (enum_index): remove this method.
* enum.c: remove use of pointers to local variables. find,
find_all, min, max, index, member?, each_with_index,
* eval.c (massign): multiple assignment does not use to_a anymore.
experimental.
Fri Jan 14 12:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_replace): use memmove instead of memcpy for
overwrapping strings (e.g. a[1] = a).
Thu Jan 13 11:12:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg_add): use new node, ARGSPUSH.
Mon Jan 10 18:32:28 2000 Koji Arai <JCA02266@nifty.ne.jp>
* marshal.c (w_object): forgot an argument to call w_ivar().
Sun Jan 9 18:13:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* random.c: first was not defined unless HAVE_RANDOM.
Sat Jan 8 19:02:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_sysread): raise IOError for buffered IO.
* ext/socket/socket.c (s_recv): ditto.
Fri Jan 7 00:59:29 2000 Masahiro Tomita <tommy@tmtm.org>
* io.c (io_fread): TRAP_BEG/TRAP_END added around getc().
Thu Jan 6 00:39:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (rb_f_rand): should be initialized unless srand is
called before.
Wed Jan 5 16:59:34 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.3.
* lib/net/session.rb: Session -> Protocol, ...
* lib/net/http.rb: HTTPCommand implementation was changed.
Wed Jan 5 02:14:46 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* parse.y: Fix SEGV on empty parens with UMINUS or UPLUS.
Tue Jan 4 22:25:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (stmt): `() while cond' dumped core.
Tue Jan 4 06:04:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* configure.in: modify for cross-compiling.
use target_* instead of host_*.
use AC_CANONICAL_TARGET.
* Makefile.in: ditto.
* cygwin/GNUmakefile.in: ditto.
Sat Jan 1 13:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_yield_0): force_recycle ruby_dyna_vars to gain
performance.
* array.c (rb_ary_delete_at_m): takes same argument pattern with
rb_ary_aref.
Sat Jan 1 10:12:26 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ruby.h,util.c (rb_special_const_p): peep hole optimization.
* ruby.h,util.c (rb_test_false_or_nil): removed.
* ruby.h (RTEST, SPECIAL_CONST_P): peep hole optimization.
* ruby.h (FL_ABLE, FL_SET, FL_UNSET, FL_REVERSE): made expressions
not statements.
* ruby.h (OBJ_INFECT): newly added macro which copies taint from
`s' to `x'.
Sat Jan 1 02:04:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_safe_level): new method.
* eval.c (rb_yield_0): recycle dyna_var_map to reduce object
allocation.
Fri Dec 31 00:52:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c: thread independent trace_func not needed.
Thu Dec 30 14:47:31 1999 akira yamada <akira@ruby-lang.org>
* configure.in: specifies -soname in LIBRUBY_DLDFLAGS on linux
platforms.
Thu Dec 30 10:51:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c,io.c,hash,c,re.c,string.c: `_m' suffix instead of
`_method' for wrapper functions to implement method,
e.g. `rb_str_join_m()'.
Thu Dec 30 02:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_cstr2inum): non-numeric format check added.
currently it works only with base == 0 (i.e. Integer()).
* bignum.c (rb_str2inum): now takes VALUE to 1st argument. null
byte check added.
* array.c (rb_ary_replace): unless replacement is an array,
replacement shall be converted to array by `[replacement]', not
by `replacement.to_a'.
* array.c (rb_ary_plus): right operand must be an array.
* array.c (rb_ary_concat): argument must be an array.
Mon Dec 27 12:35:47 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_finalize): mswin32: fix socket handle leak.
* win32/win32.c (myfdclose): ditto.
Sun Dec 26 23:15:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (mypopen): raise catchable error instead of rb_fatal.
* win32/win32.c (mypclose): fix process handle leak.
Sun Dec 26 16:17:11 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/Win32API/Win32API.c (Win32API_initialize): use UINT2NUM
instead of INT2NUM to set __dll__ and __proc__.
Sat Dec 25 00:08:59 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* ext/Win32API/Win32API.c (Win32API_Call): remove 'dword ptr'
from _asm.
Fri Dec 24 10:26:47 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
* win32/win32.h: use "C++" linkage.
Fri Dec 24 02:00:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (THREAD_ALLOC): should initialize th->trace.
Fri Dec 24 00:43:39 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* io.c (pipe_open): check for `fptr->f == NULL'.
* win32/win32.c (mypopen): STDERR does not work during ` function.
Wed Dec 22 22:50:40 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.2.
* lib/net/http.rb: HTTP support is enhanced a little
* lib/net/http.rb: support proxy
Tue Dec 21 17:21:28 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
* ext/socket/socket.c (sock_finalize): mswin32: fix FILE* leak.
Tue Dec 21 05:33:56 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.1.
* lib/net/http.rb: support HTTP chunk
Mon Dec 20 19:08:12 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (rb_file_s_expand_path): handle dir separator correctly.
Sun Dec 19 22:56:31 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
* lib/find.rb: support dosish root directory.
* win32/Makefile: ditto.
* win32/config.status: ditto.
* win32/win32.c (opendir): ditto.
* win32/win32.c (opendir): use CharPrev() to get last character
of the directory name.
Sat Dec 18 03:00:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (path_check_1): check should be done by absolute path.
* marshal.c (r_ivar): should restore generic_ivar too.
* marshal.c (w_ivar): should dump generic_ivar too.
Fri Dec 17 22:46:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.0.
* lib/net/http.rb: test release
* lib/net/session.rb: support class swapping
* lib/net/session.rb: Socket#flush_rbuf
* lib/net/session.rb: doquote -> Net.quote
Fri Dec 17 19:27:43 1999 IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>
* eval.c (rb_load): should initialize ruby_frame->last_class.
Wed Dec 15 01:35:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (proc_options): option to change directory changed to
`-C' like tar.
* ruby.c (proc_options): argv boundary check for `-X'.
Mon Dec 13 15:15:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_adjust_startpos): separate startpos adjustment
because of major performance drawback.
* class.c (rb_singleton_class): tainted status of the singleton
class must be synchronized with the object.
* eval.c (rb_thread_schedule): implement thread priority.
Sat Dec 11 03:34:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (mark_hashentry): key should be VALUE, not ID.
* io.c (argf_eof): should check next_p too.
Thu Dec 9 18:09:13 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* error.c (exc_set_backtrace): forgot to declare a VALUE argument.
Thu Dec 9 14:19:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_obj_taint): explicit tainting must be prohibited at
level 4 to prevent polluting trusted object by untrusted code.
* file.c: file operations (stat, lstat, chmod, chown, umask,
truncate, flock) are prohibited in level 2 (was level 4).
Wed Dec 8 11:48:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_require): prohibiting require() in the secure mode
cause serious autoloading error.
* variable.c (rb_obj_instance_variables): don't need to prohibit
to get list of instance variable names of untainted objects.
* variable.c (rb_ivar_get): don't need to prohibit to get instance
variables of untainted objects.
* variable.c (rb_mod_remove_const): should prohibit constant
removals too.
Wed Dec 8 09:23:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should try autoloading before defining
class/module at the toplevel.
Tue Dec 7 22:15:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: Modified rb_cv_rshift_sign detect routine and
more simple/fast RSHIFT() for hpux-10.x.
Tue Dec 7 11:16:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (Init_eval): calculate stack limit from rlimit where
getrlimit(2) is available.
Tue Dec 7 09:57:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* file.c (rb_file_ftype): should have removed mode_t.
Mon Dec 6 15:55:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (fix_rshift): Fix -1 >> 32 returned 0 (should be -1).
* numeric.c (fix_rshift): Fix 1 >> -1 returned 0 (should be 2).
Mon Dec 6 11:47:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): formatted string must be tainted if
any of parameters is a tainted string.
* file.c (rb_file_s_expand_path): expanded file path need not to
be tainted always.
Sun Dec 5 20:25:29 1999 Katsuhiro Ueno <unnie@blue.sky.or.jp>
* eval.c (Init_Proc): simple typo.
* gc.c (add_heap): sizeof(RVALUE*), not sizeof(RVALUE).
Sat Dec 4 01:40:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): adjust startpos for multibyte match unless
the first pattern is forced byte match.
* bignum.c (rb_big_rand): should not use rand/random where drand48
may be available. RANDOM_NUMBER should be provided from outside.
Fri Dec 3 09:54:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (moreswitches): there may be trailing garbage at #!
line.
* eval.c (rb_f_require): should check require 'feature.o' too.
Thu Dec 2 11:58:15 1999 Koji Arai <JCA02266@nifty.ne.jp>
* eval.c (rb_thread_loading): should maintain loading_tbl.
Thu Dec 2 10:21:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_loading_done): wrong parameter to st_delete().
Wed Dec 1 11:24:06 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ruby.c (process_sflag): process -s properly (should not force `--').
Wed Dec 1 09:47:33 1999 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
* string.c (rb_str_split_method): should increment end too.
Tue Nov 30 18:00:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c: MARSHAL_MINOR incremented; format version is 4.2.
* marshal.c (w_object): distinguish class and module.
* marshal.c (w_object): save hash's default value.
* marshal.c (r_object): restore hash's default value.
Tue Nov 30 01:46:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_source): generated source string must be tainted if
regex is tainted.
* file.c (rb_file_s_basename): basename should not be tainted
unless the original path is tainted.
* file.c (rb_file_s_dirname): ditto.
Mon Nov 29 20:42:13 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c (stat_new): Struct::Stat -> File::Stat; Stat is no longer
a Struct.
Mon Nov 29 15:28:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_path2class): evaluated value from path should be
module or class.
Fri Nov 26 18:12:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_exec_end_proc): should remove only end_procs defined
within load wrapper.
* eval.c (rb_load): save and restore ruby_wrapper around loading.
* eval.c (rb_mark_end_proc): mark end procs registered by END{} or
at_exit{}.
* eval.c (rb_set_end_proc): should not call rb_global_variable()
on heap address; it crashed mod_ruby.
Mon Nov 22 14:07:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ruby.c (proc_options): variable e_script should be visited by
garbage collector.
Sat Nov 20 10:10:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (inspect_i): value may be nil, check revised.
Fri Nov 19 18:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (glob): recursive wildcard match by `**' ala zsh.
Fri Nov 19 11:44:26 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* variable.c: was returning void value.
Fri Nov 19 03:57:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* file.c: add methods Stat struct class to reduce stat(2).
Thu Nov 18 16:18:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/pstore.rb: mutual lock by flock(2).
Thu Nov 18 11:44:13 1999 Masahiro Tomita <tommy@tmtm.org>
* io.c (read_all): should check bytes too.
Wed Nov 17 02:40:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (Init_IO): $defout (alias of $>) added.
Tue Nov 16 09:47:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/pstore.rb: add mutual lock using symlink.
Mon Nov 15 16:50:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* enum.c (enum_grep): non matching grep returns an empty array, no
longer returns nil.
* enum.c (enum_grep): grep with block returns collection of
evaluated values of block over matched elements.
Mon Nov 15 04:50:33 1999 Koji Arai <JCA02266@nifty.ne.jp>
* re.c (rb_reg_source): should not call rb_reg_expr_str()
everytime.
Sat Nov 13 07:34:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_mod_constants): traverse superclasses to collect
constants.
* eval.c (assign): modified for shared variables.
* eval.c (rb_eval): search nested scope, then superclasses to
assign shared variables within methods.
* eval.c (rb_eval): remove warnings from constants modification,
because they are no longer constants.
* parse.y (node_assign): modified for shared variables.
* parse.y (assignable): allow constant assignment in methods;
constants should be called `shared variable'.
Fri Nov 12 23:52:19 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* process.c (rb_f_system): argument check for NT, __EMX__, DJGPP.
Wed Nov 10 21:54:11 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* hash.c (rb_any_cmp): Fixed return without value.
Wed Nov 10 17:57:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c: incorporate <yasuf@big.or.jp>'s sprintf patch at
[ruby-dev:7754].
Wed Nov 10 08:28:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call0): supply class parameter for each invocation.
Tue Nov 9 13:21:04 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: AC_MINIX move to before AC_EXEEXT and AC_OBJEXT.
Mon Nov 8 19:52:29 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: Renamed AC_CHAR_UNSIGNED to AC_C_CHAR_UNSIGNED.
* configure.in: Added default to AC_CHECK_SIZEOF().
Mon Nov 8 14:28:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (stmt): rescue modifier added to the syntax.
* keywords: kRESCUE_MOD added.
* eval.c (rb_f_eval): fake outer scope when eval() called without
bindings.
* eval.c (rb_f_binding): should copy last_class in the outer frame too.
Sun Nov 7 18:31:04 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (is_defined): last_class may be 0.
Sat Nov 6 19:26:55 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* Makefile.in: Added depend entry make parse.@OBJEXT@ from parse.c
for UCB make
Thu Nov 4 17:41:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): \< (wordbeg), \> (wordend) disabled.
Wed Nov 3 08:52:57 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* io.c (Init_IO): forgot to use INT2FIX() around SEEK_SET, etc.
Wed Nov 3 00:25:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_split_method): use mbclen2() to handle kcode
option of regexp objects.
Mon Nov 1 14:22:15 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* eval.c (rb_eval): reduce recursive calls to rb_eval()
case of ||= and &&= .
Sun Oct 31 13:12:42 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* regex.c (re_compile_pattern): wrong [\W] match.
Fri Oct 29 16:57:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/nkf/lib/kconv.rb: new String methods (kconv, tojis, toeuc,
tosjis).
* time.c (time_s_at): now accepts optional second argument to
specify micro second.
Thu Oct 28 13:35:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_split_method): should be mbchar aware with
single char separators.
Wed Oct 27 12:57:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (rb_f_srand): random seed should be unsigned.
Tue Oct 26 23:58:15 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_collect): collect for better performance.
Tue Oct 26 19:20:54 1999 Koji Arai <JCA02266@nifty.ne.jp>
* marshal.c (r_object): should register class/module objects.
Sat Oct 23 15:59:39 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
* process.c (rb_f_system): should require at least one argument.
Sat Oct 23 12:42:44 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* enum.c (enum_collect): collect without block will collect
elements in enumerable.
Thu Oct 21 16:14:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (moreswitches): function to process string option;
the name is stolen from perl (not implementation).
* ruby.c (proc_options): use RUBYOPT environment variable to
retrieve the default options.
* dir.c (fnmatch): use eban's fnmatch; do not depend on system's
fnmatch (which may have portability problem) anymore.
Wed Oct 20 15:14:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (marshal_load): should protect the generated object
table (arg->data) from GC.
Mon Oct 18 16:15:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/nkf/nkf.c (rb_nkf_kconv): output should be NUL terminated.
Mon Oct 18 09:03:01 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb: 1.0.3
* lib/net/pop.rb: new methods POP3Command#uidl, POPMail#uidl.
Sun Oct 17 03:35:33 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* array.c (rb_ary_pop): forgot some freeze checks.
Sat Oct 16 12:57:53 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* array.c (rb_ary_sort): always returns the copied array.
Fri Oct 15 22:50:41 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* error.c (sys_nerr): on CYGWIN, it is _sys_nerr.
Fri Oct 15 01:32:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* io.c (rb_io_ctl) :need to use NUM2ULONG, not NUM2INT.
* ext/Win32API/Win32API.c (Win32API_Call): need to use NUM2ULONG,
not NUM2INT.
Fri Oct 15 00:22:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (Init_Regexp): super class of the MatchingData, which was
Data, to be Object.
* eval.c (ruby_run): evaluate required libraries before load &
compiling the script.
* parse.y (lex_getline): retrieve a line from the stream, saving
lines in the table in debug mode.
* eval.c (call_trace_func): treat the case ruby_sourcefile is null.
Thu Oct 14 02:00:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (string): compile time string concatenation.
Wed Oct 13 07:28:09 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb: 1.0.2
* lib/net/session.rb: new method Session#set_pipe.
* lib/net/session.rb, smtp.rb, pop.rb: add RD documentation.
Wed Oct 13 02:17:05 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* array.c (rb_ary_plus): remove recursion.
* array.c (rb_ary_sort_bang): detect modify attempt.
Wed Oct 13 02:17:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): should copy block to prevent modifications.
tag in the structure should be updated from latest prot_tag.
* eval.c (proc_s_new): tag in struct BLOCK should not point into
unused stack.
* dir.c (dir_s_glob): iterate over generated matching filenames if
the block is given to the method.
* array.c (rb_ary_at): new methods; at, first, last.
* hash.c (rb_hash_fetch): raises exception unless the default
value is supplied.
* hash.c (rb_hash_s_create): need not remove nil from value.
* hash.c (rb_hash_aset): setting value to nil does not remove key
anymore.
Tue Oct 12 22:29:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_read): length may be 0 or negative.
Tue Oct 12 13:26:27 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
* signal.c (posix_signal): RETSIGTYPE may be void.
Tue Oct 12 03:28:03 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* array.c (rb_ary_delete_at): allows negative position.
Mon Oct 11 17:42:25 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (rb_intern): should generate distinct ID_ATTRSET symbols
for the name with multiple `='s at the end.
* Makefile.in (CPPFLAGS): separate cpp flags from CFLAGS.
Mon Oct 11 07:27:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): should not execute the `else' clause on the
case the exceptions are handled by the `rescue' clause.
* signal.c (Init_signal): ignore SIGPIPE by default.
Wed Oct 6 17:13:19 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ruby.c (addpath): rubylib_mangled_path() modified.
Mon Oct 4 12:42:32 1999 Kazuhiko Izawa <izawa@erec.che.tohoku.ac.jp>
* pack.c (pack_unpack): % in printf format should be %%.
Mon Oct 4 10:01:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (rb_obj_instance_variables): should always return
array for all object can have instance variables now.
Mon Oct 4 00:08:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (OFF16): need to adjust pointer address to pack/unpack on
64bit machines.
Sun Oct 03 03:05:59 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* time.c (time_arg): mktime y2k problem.
Sun Sep 26 16:54:45 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* parse.y (here_document): `\r' handling for here documents.
Wed Sep 22 09:20:11 1999 Masahiro Tomita <tommy@tmtm.org>
* ext/socket/socket.c: SOCKS5 support.
Wed Sep 22 07:33:23 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb: 1.0.1
* lib/net/pop.rb: APOP did not work.
* lib/net/pop.rb: modify the way to make APOP challenge.
Wed Sep 22 00:35:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_include): should return boolean value.
* regex.c (re_compile_fastmap): wrong comparison with mbc.
* eval.c (specific_eval): default sourcefile name should be
"(eval)" for module_eval etc.
Wed Sep 22 00:06:07 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/Makefile: update rules.
* io.c (io_fread): should not assign in char, it maybe -1.
Tue Sep 21 23:57:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_trace_func): should not propagate retval in
trace_func.
Mon Sep 20 21:35:39 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect): assume non socket files are always
readable/writable.
Mon Sep 20 01:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_fread): should not block other threads.
* io.c (rb_io_synchronized): renamed from rb_io_unbuffered(); do
not call setbuf(NULL) anymore.
Sat Sep 18 13:45:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.2 released.
Fri Sep 17 23:24:17 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_f_missing): dumped core if no argument given.
Fri Sep 17 23:21:06 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* win32/win32.c (myselect): translate WSAEINTR, WSAENOTSOCK into
UNIX errno constants.
Fri Sep 17 00:52:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): assignable() may return 0.
Thu Sep 16 20:46:23 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_eval): was doubly evaluating the return expression.
Thu Sep 16 18:40:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.1 released.
Thu Sep 16 11:33:22 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (rb_str_match): should return nil.
Wed Sep 15 22:46:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_s_quote): should quote `-' too.
Tue Sep 14 15:23:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* parse.y (yylex): no need to ignore `\r' here.
* parse.y (nextc): strip `\r' from text.
* parse.y (nextc): support `__END__\r\n' type terminator.
Mon Sep 13 10:49:19 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_eval): needless RTEST(ruby_verbose) removed.
Mon Sep 13 09:10:11 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/session.rb, smtp.rb, pop.rb: 1.0.0
Wed Sep 8 11:37:38 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (make_time_t): bit more strict comparison.
Tue Sep 7 00:50:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* range.c (range_each): use rb_str_upto() for strings.
* string.c (rb_str_upto): set upper limit by comparing curr <= end.
* range.c (range_each): should check equality to handle magic
increment.
Mon Sep 6 22:43:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): break/next/redo available within -n/-p loop.
Fri Sep 3 11:14:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* compar.c (cmp_equal): should not raise exception; protect by
rb_rescue().
Thu Sep 2 05:23:05 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* file.c (rb_file_s_expand_path): use dirsep, instead of character
literal '/'.
* file.c (rb_file_s_expand_path): reduce multiple dirsep at the top.
Wed Sep 1 00:28:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call): call rb_undefined() if a method appears not to
be exist explicitly from cache.
* eval.c (rb_method_boundp): check method cache before calling
rb_get_method_body().
* eval.c (rb_get_method_body): store method non-existence
information in the cache.
* random.c (rb_f_srand): use getpid(2) to generate seed.
* regex.c (re_match): do not apply partial mbc match for
charset_not.
* regex.c (re_compile_pattern): put extended literal prefix (0xff)
only before numeric literals, not before all >0x80 char.
* regex.c (re_compile_pattern): put numeric literal in extended
charset region, not normal charset bits.
* regex.c (re_compile_fastmap): calculate fastmap for charset and
charset_not to treat numeric literal (e.g. \246) specially.
Fri Aug 28 17:32:55 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (rb_eval): should set return value (nil) explicitly if a
value is omitted for return statement.
Thu Aug 26 15:06:11 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* gc.c (rb_gc): local variables may be placed beyond stack_end, so
use an address from alloca(1) on non C_ALLOCA platforms.
Thu Aug 26 01:24:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (rb_f_sprintf): "%%" is legal, but "%3.14%" is not.
Mon Aug 23 00:00:54 1999 Tsukada Takuya <tsukada@fminn.nagano.nagano.jp>
* regex.c (re_compile_fastmap): wrong macro caused memory leak.
Sat Aug 21 11:30:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ADJ): should not adjust addresses to data on heap.
Fri Aug 20 20:50:58 1999 Kenji Nagasawa <kenn@hma.att.ne.jp>
* defines.h (PATH_SEP): path separator is ";" for OS/2.
Thu Aug 19 10:50:43 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* gc.c (rb_gc): add volatile to avoid GCC optimize bug(?).
Wed Aug 18 23:48:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* due to disk trouble, some change records were lost. several
modification made to eval.c, gc.c, io.c, pack.c,
ext/extmk.rb.in, and lib/mkmf.rb.
Fri Aug 13 15:41:39 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* stable version 1.4.0 released.
Fri Aug 13 03:16:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_forward): since $stdout may be non-IO, ARGF.file is
not guaranteed to be IO. check and forwarding added to every ARGF
method.
* io.c (set_outfile): $stdout/$stderr may not be IO now.
* io.c (set_stdin): $stdin may not be IO now.
* range.c (rb_range_beg_len): round `end' to length as documented.
* io.c (Init_IO): preserve original stdin/stdout/stderr.
Thu Aug 12 13:44:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (Init_load): require receives 1 argument.
* eval.c (frame_dup): should clear tmp to avoid dangling
references.
Wed Aug 11 13:33:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (rb_eval): no automatic aggregate initialization.
* eval.c (module_setup): ditto.
Wed Aug 11 18:18:41 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* eval.c (yield_under_i): automatic aggregate initialization is an
ANSI feature.
Wed Aug 11 10:10:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): parse `[].length==0' as `([].length)==0', not
`([].length=)=0'
* parse.y (yylex): parse `[].length!=0' as `([].length)!=0', not
`([].length!)=0'
* parse.y (peek): peek-in lexical buffer.
Wed Aug 11 00:34:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): bug on backward jump adjustment concerning
stop_paren.
Tue Aug 10 14:54:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/nkf/nkf.c (rb_nkf_guess): binary detection was wrong.
Tue Aug 10 00:07:36 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_clone): should use CLONESETUP().
Mon Aug 9 23:57:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (CLONESETUP): should have copied generic instance
variables too.
Mon Aug 9 10:46:54 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/extconf.rb: add check for <arpa/nameser.h> and
<resolv.h>.
Sat Aug 7 13:19:06 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (flo_cmp): comparing NaN should not return value.
raises FloatDomainError.
Sat Aug 7 03:09:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (blk_free): free copied frames too.
* eval.c (frame_dup): should copy previous frames from stack to
heap to preserve frame information.
Fri Aug 6 15:01:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.7 - version 1.4 beta
* ext/socket/socket.c (s_recv): UDPsocket#recvfrom now returns
IPsocket#addr information.
* array.c (rb_ary_subary): ary[-3,3] should not return nil.
Thu Aug 5 10:58:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_mark): protect old ruby_frame from GC during it
replaced by eval().
* eval.c (eval): do not modify frame.prev; binding should preserve
information about calling() too.
* eval.c (rb_yield_0): no arity check for mere yield; but only for
Proc#call.
Tue Aug 3 22:07:13 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
* object.c (rb_mod_clone): should check if iv_tbl, m_tbl are
initialized.
Tue Aug 3 19:03:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_any_cmp): use rb_with_disable_interrupt() to ensure
clearance of rb_prohibit_interrupt even on failure.
* eval.c (rb_with_disable_interrupt): new function added.
Sat Jul 31 23:23:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_create_0): set THREAD_RAISED flag on thread
termination by exception.
* eval.c (rb_thread_join): `$!' may not be nil for the threads
created in rescue clause.
* eval.c (rb_thread_status): ditto.
* eval.c (rb_thread_join): should re-raise exception for already
dead threads too.
Fri Jul 30 17:56:54 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* object.c (rb_mod_ge): wrong comparison.
Fri Jul 30 12:15:44 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/tcltklib/extconf.rb: win32 support.
* lib/mkmf.rb: use append_library().
* ext/extmk.rb.in: ditto.
Fri Jul 30 02:11:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_delete): should return nil for deleting non
existing item.
* io.c (rb_io_close): call rb_sys_wait() on explicit close.
* io.c (rb_io_fptr_close): do not call rb_sys_wait() on finalize.
* eval.c (yield_under_i): cbase context should be maintained for
Module#module_eval(). suggested by <inaba@st.rim.or.jp>.
Wed Jul 28 01:18:28 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* Makefile.in: add -I$(hdrdir)/lib to install using ftools.
* util.c: use HAVE_FCNTL_H, not HAVE_FCNTL
Wed Jul 28 18:24:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.6 - version 1.4 alpha
Tue Jul 27 09:38:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* eval.c (rb_eval): reduce recursive rb_eval() calls by
NODE_BLOCKs.
Tue Jul 27 01:20:40 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* file.c (rb_file_s_expand_path): drive letter patch.
Mon Jul 26 02:36:31 1999 Shugo Maeda <shugo@netlab.co.jp>
* eval.c (rb_load): should clear ruby_nerr.
* eval.c (rb_thread_join): oldbt should not be empty to unshift.
Sun Jul 25 12:09:16 1999 Koji Arai <JCA02266@nifty.ne.jp>
* dir.c (push_braces): should treat nested braces.
Fri Jul 23 02:49:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_clear): dummy argument added; suggested by
<eguchi@shizuokanet.ne.jp>. thanks.
Thu Jul 22 19:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_join): get_backtrace() may return Qnil.
typecheck added.
Tue Jul 20 14:36:43 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* range.c (range_each): do not treat String specially (for future
override).
Tue Jul 20 02:28:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_gets): $_ should be nil, when get returns nil.
* io.c (rb_f_gets): ditto.
Mon Jul 19 17:13:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): should continue fastmap compile
for anychar_repeat, for it's repeat anyway.
Mon Jul 26 13:33:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* lib/jcode.rb: replaced by faster code.
Mon Jul 19 01:57:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/mkmf.rb: no longer use install program.
* ext/extmk.rb.in: use miniruby to install programs.
Sat Jul 17 00:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ipaddr): don't do reverse lookup if
attribute do_not_reverse_lookup is set for socket classes.
Experimental. Note this is a global attribute.
Fri Jul 16 22:18:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_eof): use feof() to check EOF already met.
* io.c (read_all): should return nil at EOF.
Fri Jul 16 13:39:42 1999 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/telnet.rb: version 0.231.
Fri Jul 16 10:58:22 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* regex.c (re_match): debug print removed.
Fri Jul 16 09:58:15 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* many files: clean up unused variables found by gcc -Wall.
* lib/mkmf.rb: better cygwin support etc.
* ext/extmk.rb.in: ditto.
* instruby.rb: ditto.
Fri Jul 16 01:37:50 1999 Koji Arai <JCA02266@nifty.ne.jp>
* string.c (rb_str_squeeze_bang): the type of local variable `c'
should be int, not char.
* string.c (rb_str_reverse): should always return copy.
Thu Jul 15 23:25:57 1999 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: better display & frame treatment.
Thu Jul 15 21:16:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_each): returns self for normal termination;
returns nil for break.
* string.c: non bang methods (e.g. String#sub) should always
return copy of the receiver.
Thu Jul 15 21:09:15 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
* eval.c (find_file): do not add empty string to the path.
* configure.in (with-search-path): should not add empty string if
the option is not supplied.
Thu Jul 15 17:49:08 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
* ext/tcltklib/tcltklib.c: move `#include "ruby.h"' forward.
Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.5 - version 1.4 alpha
Wed Jul 14 23:45:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* eval.c (ruby_init): initialize for the first time only.
Tue Jul 13 00:15:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_index): re-defined; method to retrieve a key
from the value.
* hash.c (Init_Hash): member? should be re-defined for Hash.
Tue Jul 12 13:54:51 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* io.c (rb_file_sysopen): wrong number of argument.
Mon Jul 12 11:52:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_f_missing): class name included in message.
* eval.c (print_undef): better error message.
Sun Jul 11 05:36:17 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: patch to show proper position.
Fri Jul 9 23:56:14 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* dln.c (dln_find_1): path conv. moved to conv_to_posix_path.
* dln.c (conv_to_posix_path): path conv. should be done.
Fri Jul 9 10:26:47 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* random.c (RANDOM_NUMBER): should place parentheses.
Fri Jul 8 11:00:51 1999 Shugo Maeda <shugo@netlab.co.jp>
* numeric.c (fix_div): division may be out of fixnum range.
* bignum.c (bigdivmod): proper sign calculation to result.
Wed Jul 7 18:27:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* st.c (st_delete_safe): was modifying wrong slot.
Mon Jul 5 13:17:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (rb_gc_call_finalizer_at_exit): close all files at exit.
Fri Jul 2 18:00:21 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/Mail/README: Mail-0.3.0 added to the distribution.
Fri Jul 2 01:45:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_fastmap): avoid allocation of register
variables for each invocation of re_match(). Suggested by
Zasukhin Ruslan <ruslan@paradigmasoft.com>. Thanks.
Tue Jun 29 20:39:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/tk/lib/tk.rb (TkVariable): bug fix; should value type check
be added?
* string.c (rb_str_each_line): a bug in paragraph mode.
* ruby.c (load_file): shifted too much to skip #!.
Tue Jun 29 06:50:21 1999 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/CGI.rb: 0.30 - cleanup release, incompatible.
* lib/telnet.rb: 0.22 - timeout added.
Tue Jun 29 10:49:25 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* configure.in: better Rhapsody support.
* lib/mkmf.rb: Rhapsody/NEXTSTEP support.
Tue Jun 29 01:42:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/pty/pty.c (chld_changed): should use POSIX.1 style wait.
Mon Jun 28 21:07:36 1999 KIMURA Koichi <kbk@kt.rim.or.jp>
* ext/extmk.rb.nt: wrong result for have_library().
Mon Jun 28 15:24:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/isinf.c: OSF/1 raises SIGFPE on one()/zero().
* regex.c (re_search): should search til EOS, for patterns may
match beyond the end of range.
Mon Jun 28 12:49:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_f_select): should not accept Time objects as an
argument for it is time interval.
* process.c (rb_f_sleep): ditto.
* file.c (test_s): should return nil for false condition.
Mon Jun 28 12:23:52 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* bignum.c (rb_dbl2big): typo.
* file.c (rb_f_test): ditto.
* string.c (rb_str_crypt): wrong message.
Sun Jun 27 19:50:11 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* eval.c (rb_f_exit): should have treat signed integer status, not
VALUE.
* process.c (rb_f_exit_bang): should work like exit().
Sun Jun 27 16:21:32 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* string.c (rb_str_rindex): wrong position to search.
Sat Jun 26 04:05:30 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
* configure.in (configure_args): --with-search-path to specify
additional ruby search path.
* ruby.c (ruby_prog_init): additional search path.
Fri Jun 25 13:09:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (pack_unpack): needed to initialize natint.
* regex.c (re_compile_pattern): add start_paren to avoid too much
finalization on maybe_finalize_jump.
Fri Jun 25 13:07:20 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
* missing/isinf.c: include "config.h" added.
Fri Jun 25 07:25:05 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* lib/mkmf.rb: initialize $(topdir).
* ext/extmk.rb.in (install_rb): install lib/*.rb properly.
* configure.in (linux): specifies -rpath on --enable-shared.
* configure.in (aix): ruby.imp must reside in $(topdir).
Thu Jun 24 19:11:29 1999 Yoshida Masato <yoshidam@yoshidam.net>
* parse.y (rb_str_extend): multi-byte identifier in expression
interpolation in strings.
* parse.y (yylex): support multi-byte char identifiers.
Thu Jun 24 15:27:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (f_arg): check duplicate argument names.
* gc.c (rb_gc_mark): marking wrong member for NODE_ARGS.
* string.c (rb_str_rindex): POSITION specifies start point, not
end point.
Thu Jun 24 13:00:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (print_mbc): wrong boundary.
* pack.c (uv_to_utf8): raises ArgError for too big value.
Thu Jun 24 11:02:51 1999 Yoshida Masato <yoshidam@yoshidam.net>
* pack.c (uv_to_utf8): mask needed.
Wed Jun 23 21:03:56 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* ruby.h (struct RFile): remove iv_tbl from struct. instance
variables are handled as generic ivs.
Wed Jun 23 22:06:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* pack.c (utf8_to_uv): pack to 7 bytes sequence.
* pack.c (uv_to_utf8): wrong boundary.
* pack.c (pack_unpack): should treat as unsigned long.
Wed Jun 23 15:10:11 1999 Inaba Hiroto <inaba@sdd.tokyo-sc.toshiba.co.jp>
* parse.y (parse_string): failed to parse nested braces.
* parse.y (parse_regx): nested braces within #{} available.
Wed Jun 23 11:18:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (slow_search): wrong shift width for mbcs.
* eval.c (rb_thread_save_context): should not clear th->locals.
Wed Jun 23 02:06:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): UMINUS binds too tight with digits. changed so
that -2**2 => -4.
* parse.y (close_paren): `do' for expr termination now works it
used to be.
Wed Jun 22 18:26:42 1999 Koji Arai <JCA02266@nifty.ne.jp>
* pack.c (pack_pack): should initialize local variable `j'.
Wed Jun 22 15:24:59 1999 Koji Arai <JCA02266@nifty.ne.jp>
* parse.y (here_document): a bug for multiline heredoc.
Tue Jun 22 15:06:36 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/socket/socket.c (ruby_socket): forgot to return fd
explicitly.
Tue Jun 22 13:34:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* rubyio.h (MakeOpenFile): should initialize member `iv_tbl'.
Wed Jun 22 10:35:51 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* io.c (rb_io_gets_internal): getc(3) may not set errno on
interrupt.
Mon Jun 21 22:39:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_required_libraries): ruby_sourceline should be
cleared before loading libraries.
* io.c (set_stdin): do not use reopen(), so that we don't need to
dup original stdin before assigning $stdin.
Mon Jun 21 18:04:27 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
* ext/dbm/dbm.c: include <cdefs.h> for solaris 2.6.
Mon Jun 21 15:59:47 1999 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/socket/socket.c (ip_addrsetup): forgot to put `else'.
Mon Jun 21 15:38:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (fptr_finalize): remove rb_syswait() invocation to avoid
wait4(2) within GC. rb_syswait() moved to rb_io_fptr_close().
Mon Jun 21 12:05:59 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* dir.c (dir_s_glob): remove MAXPATHLEN restriction.
* ext/md5/md5init.c (md5_hexdigest): should have used "%02x".
Sun Jun 20 19:50:38 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* string.c (rb_str_each_line): should have checked string
boundary.
Sat Jun 19 22:24:12 1999 Kenji Nagasawa <kenn@hma.att.ne.jp>
* OS/2 patch improved.
Fri Jun 18 08:30:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (r_byte): add data length check.
* ext/tcltklib/tcltklib.c (_timer_for_tcl): was doing busy-wait.
Tue Jun 15 10:01:21 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* configure.in: remove trailing slash from interpreter embedded
shared library path.
* configure.in (INSTALL_DLLIB): install shared lib with 0555.
* instruby.rb: changed mode for shared library into 0555.
Fri Jun 11 23:27:00 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* ext/etc/etc.c (etc_passwd): should return nil, not exception for
call after last passwd entry.
Fri Jun 11 15:21:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (rb_gc_mark_locations): add safety margin 1.
* eval.c (ruby_run): should protect toplevel node tree.
* ext/etc/etc.c (etc_group): dumps core if there's no more group.
Fri Jun 11 01:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ruby_run): Init_stack() was called too late; local
variables happened to be higher (or lower) than stack_start.
Thu Jun 10 16:41:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c: do not call `initialize' for IO objects. So with Array,
Hash, Range, and Time objects.
* ext/curses/curses.c (curses_getch): made thread aware using
rb_read_check().
* ext/curses/curses.c (window_getch): ditto.
* ext/curses/curses.c (curses_getstr): made (partially) thread
aware using rb_read_check().
* ext/curses/curses.c (window_getstr): ditto.
* io.c (rb_read_check): new function to help making something
(like extension libraries) thread aware.
* eval.c (is_defined): `defined? super' should be true even for
private superclass methods.
Fri Jun 10 13:42:10 1999 Koji Arai <JCA02266@nifty.ne.jp>
* pack.c (pack_pack): template `Z' should be allowed.
Wed Jun 9 13:26:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_loading): modified to avoid nested race
condition of require().
* ext/tcltklib/tcltklib.c (ip_invoke): queue invocation on non
main threads.
* ext/tcltklib/tcltklib.c (lib_mainloop): flush invocation
queues periodically.
* version.c (ruby_show_version): now print the message to stdout.
* version.c (ruby_show_copyright): ditto.
Tue Jun 8 00:00:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (pack_unpack): append sentinel (NUL) to the string.
* ext/md5/md5init.c (md5_hexdigest): new method to obtain
printable hash string.
* ext/md5/md5init.c (md5_update): should return self.
* pack.c (pack_pack): undocumented template 'U' for UTF8.
* pack.c (pack_unpack): ditto.
* marshal.c (r_byte): should replace getc() with rb_getc().
* io.c (rb_getc): getc() replacement uses READ_DATA_PENDING() and
rb_thread_wait_fd().
Mon Jun 7 23:23:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (rb_mod_clone): should call CLOSESETUP().
* eval.c (bind_clone): should call CLONESETUP() for new clone.
Sat Jun 5 10:32:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_oct): binary (e.g. 0b10111) support.
* variable.c (rb_const_set): raise warning, not exception.
* parse.y (yycompile): initialize parser internal variables.
* parse.y (close_paren): set lex_state to EXPR_PAREN after closing
parenthesis.
* parse.y (yylex): returns kDO for `do' right after method_call.
Thu Jun 3 11:05:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* regex.c (read_backslash): should decode \b within class.
Thu Jun 3 01:06:18 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* dln.c (dln_load): AIX improvement (aix_findmain removed).
Wed Jun 2 00:41:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (pack_unpack): new undocumented template Z which strips
stuff after first null.
* pack.c (pack_pack): should preserve specified length of the
resulting string.
Tue Jun 1 15:29:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (ruby_socket): retry after GC, if socket(2)
failed on EMFILE or ENFILE.
* ext/socket/socket.c (sock_s_socketpair): ditto.
* eval.c (module_setup): need to add PUSH_VAR/POP_VAR to clear
dyna vars link list.
* version.h (RUBY_RELEASE_CODE): integer macro constant for source
version detection.
Sun May 30 22:19:12 1999 Kenji Nagasawa <kenn@tcp-ip.or.jp>
* ext/socket/socket.c: emx/gcc 0.9d now fixes things about
AF_UNIX.
* process.c: OS/2 EMX kludge.
* Makefile.in (strncasecmp.o): added dependency.
Mon May 31 16:06:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.4 - preliminary release for 1.4
Mon May 31 15:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_fptr_close): close on IO which main_thread is
waiting cause serious exception, that vanishes the actual fd
closing. Invocation of rb_thread_fd_close() is deferred
a little.
Sat May 29 18:27:13 1999 Koji Arai <JCA02266@nifty.ne.jp>
* regex.c (re_match): stack boundary check needed.
Sat May 29 12:27:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/tcltklib/tcltklib.c (ip_invoke): proper ref count management
to avoid leak. I HATE REF COUNTING!!
* eval.c (ruby_run): moved ruby_require_libraries() to handle `-r'
from ruby_options() to avoid stack corruption for threads
created in libraries.
Sat May 29 02:22:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_yield_0): when `for' appeared in blocks, it
introduced new scope for local variables.
Fri May 28 17:16:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_squeeze_bang): squeeze AND of the arguments.
UNDOCUMENTED.
* string.c (rb_str_count): new UNDOCUMENTED method.
* string.c (rb_str_delete_bang): delete AND of the arg ranges.
UNDOCUMENTED FEATURE for 1.3.x.
* ext/socket/socket.c (setipaddr): re-wrote using ip_addrsetup().
* ext/socket/socket.c (ip_addrsetup): decode symbolic address
<broadcast>.
Thu May 27 12:27:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (tr_trans): should handle NUL (\0) within strings.
Tue May 25 16:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_f_syscall): syscall may return values other than zero
on success.
* regex.c (re_match): handle empty loop properly (hopefully).
* regex.c (re_match): remove empty group check, because it does
not help non-grouping parentheses (?:..).
* regex.c (re_compile_fastmap): treating try_next, finalize_push
wrong way.
* regex.c: remove some obsolete functions such as
group_match_null_string_p().
Mon May 24 14:47:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (read_backslash): read backslash by regex.
Sun May 23 19:44:58 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* ext/pty/pty.c (getDevice): portability patch.
Fri May 21 23:01:26 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c (GET_AI): should set error code.
Thu May 20 03:43:44 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
* ext/socket/socket.c: you should use sockaddr_storage to handle
IPv6 addresses.
* ext/socket/getaddrinfo.c (getaddrinfo): prevent retrieving
AF_INET6 address if hints.ai_flags == AI_PASSIVE.
Wed May 19 12:27:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (exec_end_proc): should protect exceptions.
* gc.c (run_final): ditto.
* parse.y (f_rest_arg): allow just * for rest arg.
* parse.y (mlhs_basic): allow * without formal argument.
* regex.c (re_match): the variable `part' should be initialized.
Tue May 18 15:25:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): a bug in range adjustment.
Tue May 18 11:35:59 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dln.c (conv_to_posix_path): path_len argument added.
Mon May 17 12:26:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (fix_rev): should treat Fixnum as signed long.
* eval.c (massign): add strict number check for yield (and call).
* eval.c (proc_arity): new method to return number of arguments.
* eval.c (method_arity): new method to return number of arguments.
* parse.y (read_escape): char may be unsigned.
* string.c (rb_str_succ): ditto.
* string.c (tr_trans): ditto.
* object.c (Init_Object): methods `&', `|', `^' are added to nil.
* range.c (rb_range_beg_len): it should be OK for [0..-len-1].
* regex.c (re_search): search for byte literal within mbcs.
* regex.c (is_in_list): parsh
* regex.c (re_compile_fastmap): should have not alter the loop
variable `j' if TRASLATE_P().
* regex.c (re_compile_pattern): escaped characters should be read
by PATFETCH_RAW(c).
Sat May 15 11:23:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): endline2 (\Z) should not match at the point
between a newline and end-of-line, like endline ($).
* class.c (include_class_new): should initialize iv_tbl to share
between module and iclass.
Fri May 14 08:50:27 1999 Akira Endo <akendo@t3.rim.or.jp>
* regex.c (re_compile_fastmap): it should be k != 0 to skip.
Fri May 14 12:46:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_load): a bug in old marshal format support.
* instruby.rb: make site_ruby directory.
Fri May 14 10:18:02 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* regex.c (re_match): a bug in inline `.*' etc.
Fri May 14 09:58:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* ruby.c (addpath): should have specified string length.
Thu May 13 10:40:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval_string_wrap): new function.
* regex.c (re_compile_pattern): POSIX line match should alter
behavior for `^' and `$' to begbuf and endbuf2 respectively.
* ext/pty/pty.c: un-ANSI-fy function arguments.
Wed May 12 14:19:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* struct.c (iv_get): in case of inheritance of generated struct
class, __member__ and __size__ should also be inherited.
Thanks for Pros Yeboah <yeboah@tu-harburg.de>.
* io.c (rb_f_gets_internal): should check number of arguments
before checking rb_rs == rb_default_rs. Thanks for Koji Arai
<JCA02266@nifty.ne.jp>.
Tue May 11 08:29:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): .?, .+ did not work.
Mon May 10 00:59:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/jcode.rb: forgot to squeeze on reverse (complement) case.
* string.c (tr_squeeze): should not set modify flag to be honest,
if the string is not modified.
* signal.c (Init_signal): SIGTERM should not be handled.
* regex.c (re_match): seeking for longest match is now optional,
which can be set using RE_OPTION_POSIXMATCH. This satisfies
POSIX longest match as much as Emacs's posix-* functions, which
are known to be incomplete.
Sun May 9 13:04:01 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/socket.c (sock_s_getaddrinfo): conversion from
Fixnums to C integers needed.
Sun May 9 11:51:43 1999 Koji Arai <JCA02266@nifty.ne.jp>
* range.c (range_eqq): reverse condition.
* range.c (range_s_new): default should be end inclusive.
Sat May 8 03:27:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (thread_connect): replace nasty
rb_thread_fd_writable() with rb_thread_select().
Fri May 7 20:49:00 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* ext/socket/getaddrinfo.c (inet_pton): wrong parameter to
inet_aton().
* ext/socket/addrinfo.h (__P): silly cut and paste typo.
Fri May 7 17:03:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* dir.c (glob): removed GPL'ed glob.c completely.
Fri May 7 08:17:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/sdbm/extconf.rb: sdbm extension added to the distribution.
Fri May 7 01:42:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (tcp_s_gethostbyname): avoid using struct
sockaddr_storage.
Thu May 6 13:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_indexes): should not use rb_ary_concat().
Thu May 4 12:34:18 1999 Koji Arai <JCA02266@nifty.ne.jp>
* parse.y (parse_string): there should be newline escape by
backslashes in strings.
* parse.y (parse_qstring): ditto.
Mon May 3 04:37:20 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/tcltklib/extconf.rb: better search for libX11.
* range.c (range_s_new): embarrassing =/== typo.
* re.c (Init_Regexp): failed to set default kcode.
Mon May 3 02:39:55 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ext/socket/socket.c (open_inet): typo (res and res0).
Tue May 4 02:07:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* mkconfig.rb: leave undefined $(VARIABLE) unexpanded in the
Config::CONFIG hash table.
Mon May 3 09:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): expand exactn{n} at compile time.
handles stop_paren specially.
* regex.c (re_compile_pattern): expand x{n} at compile time.
* regex.c (re_search): posix line match should be checked.
* regex.c (re_search): a bug in anchor condition.
Fri Apr 30 18:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.3
* string.c (rb_str_rindex): position should be END point, not
START point.
* re.c (rb_reg_search): pos means end point on reverse now.
* array.c (rb_ary_s_create): should clear ary->ptr to avoid
potential gc crash.
Fri Apr 30 15:24:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/addrinfo.h: compatibility hack for ipv4.
* ext/socket/socket.c: itojun's ipv6 patches applied.
* ext/socket/extconf.rb: detect ipv6 features based on itojun's
ipv6 patches.
* ext/extmk.rb.in (enable_config): can handle --enable-xxx now.
* lib/mkmf.rb (enable_config): ditto.
Fri Apr 30 05:22:23 1999 Shugo Maeda <shugo@netlab.co.jp>
* string.c (rb_str_aset): last index should not append.
Thu Apr 29 18:55:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* dln.c (conv_to_posix_path): remove const from args.
* ruby.c (rubylib_mangle): remove Fatal(), the obsolete function.
Tue Apr 27 14:11:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (fname): lazy workaround for keywords did not work well.
* ext/extmk.rb.in: `--with-xxx=yyy' argument configuration.
* lib/mkmf.rb: ditto.
* misc/ruby-mode.el: forgot to handle $`.
* ext/extmk.rb.in: better AIX link support proposed by
<komatsu@sarion.co.jp>.
Mon Apr 26 16:46:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/extmk.rb.in: AIX shared library support modified.
* ext/aix_mksym.rb: ditto.
* configure.in: ditto.
* sprintf.c (rb_f_sprintf): should allocate proper sized buffer
for float numbers.
Sat Apr 24 00:00:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (operation): syntax like `a.[]=(1,2)' is allowed.
Fri Apr 23 23:54:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (argf_binmode): binmode method added to ARGF.
Fri Apr 23 13:55:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_f_chomp): should assign the result to $_. or maybe
sub/gsub/chop/chomp should NOT assign $_ altogether.
Thu Apr 22 16:50:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_callcc): call scope_dup() for all scopes in
the interpreter stack.
Tue Apr 20 11:24:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_dump): `#' should be escaped.
Tue Apr 20 02:32:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): option /p for posix match added.
* re.c (rb_reg_desc): did not print options properly.
* io.c (rb_file_s_open): initialize was called twice.
Mon Apr 19 18:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* configure.in (DEFAULT_KCODE): can specify default code for
$KCODE by --with-default-kcode=(euc|sjis|utf8|none).
* regex.c (IS_A_LETTER): a byte sequence shorter than mbc should
not match with \w etc.
Mon Apr 19 13:49:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (eval): should restore ruby_dyna_vars.
Fri Apr 16 21:40:43 1999 Nobuyoshi Nakada <gea02117@nifty.ne.jp>
* io.c (f_backquote): pipe_open may return nil.
* io.c (f_open): rb_io_open may return nil.
* io.c (io_s_foreach): ditto.
* io.c (io_s_readlines): ditto.
* io.c (io_defset): wrong message.
Fri Apr 16 15:09:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_str2inum): strtoul() returns long, not int.
* eval.c (rb_load): size of VALUE and ID may be different.
* util.c (mmprepare): int is too small to cast from pointers.
* config.guess: avoid 'linux-gnu' for alpha-unknown-linux.
Thu Apr 15 23:46:20 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (rubylib_mangle): mangle path by RUBYLIB_PREFIX.
Wed Apr 14 23:52:51 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
* node.h (NODE_LMASK): should be long to avoid overflow.
Wed Apr 14 13:14:35 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
* dln.c: AIX dynamic link.
* ext/aix_ld.rb: ditto.
Wed Apr 14 12:19:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/thread.rb: Queue#{enq,deq} added.
Tue Apr 13 17:43:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (rb_hash_s_create): Hash::[] acts more like casting.
Tue Apr 13 00:33:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_stdio_set): warning for assignment to the variables
$std{in,out,err}.
Mon Apr 12 23:12:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_reopen): check for reopening same IO.
Fri Apr 9 17:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (rb_compile_string): bug for nested eval().
* regex.c (re_match): should pop non-greedy stack items on
failure, after best_regs are fixed.
Thu Apr 8 17:30:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_LENGTH_ADJUST): need to adjust for `*' length.
Tue Apr 6 23:28:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (void_check): add void context checks.
Mon Apr 5 12:23:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_s_at): should copy gmt-mode.
* eval.c (eval_node): preserve ruby_eval_tree.
Fri Apr 2 14:00:34 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* lib/debug.rb: wrong command interpreting.
Fri Apr 2 11:46:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.3.2
Fri Apr 2 10:40:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (rb_io_s_pipe): forgot to define IO::pipe.
Thu Apr 1 14:40:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (assign): modified for rhs change.
* parse.y (stmt): unparenthesisized method calls can be right hand
side expression of the assignment.
Sat Mar 27 22:42:47 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/nkf/nkf.c (rb_nkf_kconv): check size output_ctr before
decrement.
Thu Mar 25 09:11:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_s_at): preserve gmt-mode for result.
* parse.y (rb_compile_string): do not use cur_mid, use
compile_for_eval instead.
* st.c (PTR_NOT_EQUAL): wrong logical condition.
Wed Mar 24 13:06:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yycompile): should clear cur_mid after compilation.
* io.c (next_argv): need to check type for ARGV.shift.
* eval.c (blk_copy_prev): need to preserve outer scope as well as
outer frames.
* parse.y (rb_compile_string): return can appear within eval().
Tue Mar 23 10:15:07 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* configure.in: AC_C_CONST check added.
Tue Mar 23 02:07:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_plus): preserve gmt-mode for result.
Mon Mar 22 01:32:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): adjust line numbers before expression
interpolation within strings.
* eval.c (rb_eval): defined? returns nil for false condition.
* numeric.c (num_nonzero_p): returns nil for false condition.
Sat Mar 20 13:07:43 1999 Keiju Ishitsuka <keiju@rational.com>
* lib/weakref.rb: avoid leak for two weakrefs for one object.
Fri Mar 19 11:26:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (ruby_run): needed to eval END{} on exit.
* eval.c (rb_exit): ditto.
Fri Mar 19 02:17:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* signal.c (Init_signal): handles terminating signals HUP, TERM,
QUIT, PIPE, etc.
Thu Mar 18 15:47:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (rb_big_and): bug in sign calculation.
* bignum.c (rb_big_or): ditto.
* io.c (rb_f_select): forgot to use to_io to retrieve IO, after
calling select(2).
Tue Mar 16 19:54:31 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in: static linking cause infinite make loop.
Tue Mar 16 18:50:04 1999 Yoshida Masato <yoshidam@yoshidam.net>
* ext/socket/socket.c (tcp_s_gethostbyname): typo, not NUM2INT(),
but INT2NUM().
* ext/socket/socket.c (mkhostent): ditto.
Tue Mar 16 12:31:44 1999 Ryo HAYASAKA <hayasaka@cheer.u-aizu.ac.jp>
* file.c (utime_internal): suppress warning by const.
* time.c (time_gmtime): ditto.
Tue Mar 16 10:23:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_clone): Time object can be cloned.
Tue Mar 16 03:13:10 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ruby.c (load_file): argv[argc] should be NULL.
Mon Mar 15 22:12:08 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* sprintf.c (rb_f_sprintf): typo in arg_num check at exit.
Mon Mar 15 16:42:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_dup): dup2 should copy class too.
Mon Mar 15 15:12:53 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* lib/mkmf.rb: install program relative path check.
Mon Mar 15 14:05:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (rb_reg_s_new): 2nd argument is now option.
Regexp::EXTENDED can be specified.
Fri Mar 12 10:47:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_index): str.index("") should always match at
offset point.
* string.c (rb_str_upto): can specify end point exclusion.
* string.c (rb_str_index): negative offset.
* regex.c (re_match): begline should not match at the point
between a newline and end-of-string. endline neither.
* regex.c (re_compile_pattern): context_indep_anchors .
* parse.y (parse_regx): need not to push backslashes before
escaped characters.
* eval.c (rb_thread_join): re-raises exception within target.
Fri Mar 12 01:09:36 1999 Koji Arai <JCA02266@nifty.ne.jp>
* ext/readline/readline.c (readline_s_vi_editing_mode): wrong
number of arguments.
Fri Mar 12 02:12:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_ITEM_ADJUST): "a".unpack("C3") => [97, nil, nil]
Thu Mar 11 18:23:50 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* ext/socket/socket.c (Init_socket): UDPsocket was omitted.
Thu Mar 11 16:43:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (PACK_LENGTH_ADJUST): push fixed number of items per
template to result array.
* pack.c (pack_unpack): I/N/C etc. push nil in the array for "".
Tue Mar 9 00:19:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (ruby_unsetenv): use ruby_setenv(name, 0).
* hash.c (env_delete): ditto.
* string.c (rb_str_upto): do not check `beg<end' to generate
strings for the pattern like "a".upto("#a").
* range.c (range_each): treat strings as special case.
* range.c (range_each): no longer use upto for generic cases.
Sun Mar 7 14:21:32 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp>
* string.c (rb_str_index): wrong end point calculation.
Sat Mar 6 02:19:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_index): MatchingData#index(n) added.
* array.c (rb_ary_subseq): ary[n..-1] returns an sub-array unless
n is too small negative index.
* re.c (rb_reg_match_method): Regexp#match(str) added.
* array.c (rb_ary_indexes): understands ranges as indexes.
* re.c (match_size): MatchingData#size added.
Fri Mar 5 01:04:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (rb_ary_fill): modified for range.
* array.c (rb_ary_aset): a[n..m] revisited.
Thu Mar 4 14:23:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_subseq): a[n..m] revisited.
* parse.y (method_call): allow Const::method{}.
* array.c (rb_ary_replace_method): should replace original array.
Thu Mar 4 02:30:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* configure.in: remove --disable-thread, thread feature is no
longer optional.
Thu Mar 4 00:32:17 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* parse.y (read_escape): wrong arguments for scan_oct,scan_hex.
Wed Mar 3 11:51:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (Init_socket): rename class names as
TCPsocket -> TCPSocket etc.
Tue Mar 2 19:46:42 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* configure.in (LDSHARED): use gcc -Wl,-G for solaris with gcc.
Tue Mar 2 17:04:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): backslashes do not concatenate comment lines
anymore.
Mon Mar 1 14:05:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call0): adjust argv for optional arguments. super
without arguments emit superclass method with the value from
optional arguments. enabled as experiment.
Sun Feb 28 14:04:07 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
* parse.y (nextc): backslash at the eof cause infinite loop
Sun Feb 28 11:01:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (make_time_t): month range check added.
Sat Feb 27 02:36:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (Init_Regexp): add escape as alias of quote.
* re.c (rb_reg_s_quote): char-code can be specified now.
Fri Feb 26 18:45:36 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* eval.c (error_print): bug for error message with newlines.
Fri Feb 26 12:00:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (make_time_t): future check modified to allow 1969-12-31
at certain timezone.
* time.c (time_arg): year >= 1000 should be past.
* version.c (Init_version): constant RELEASE_DATE added.
Fri Feb 26 01:08:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_substr): returns nil for out-of-range access.
* array.c (rb_ary_subseq): returns nil for out-of-range access.
* array.c (rb_ary_store): negative index message has changed.
* string.c (rb_str_aset): reallocation needed.
* string.c (rb_str_aset): allow char append to the string.
Thu Feb 25 23:30:17 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (time_load): tm_year should be packed in 17 bits, not 18.
Thu Feb 25 12:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/dup2.c: replaced by public domain version.
* time.c (make_time_t): add `future check' in loops.
* object.c (rb_num2dbl): forbid implicit conversion from nil, or
strings. thus `Time.now + str' should raise error.
* object.c (rb_Float): convert nil into 0.0.
* object.c (rb_Integer): conversion method improved.
Thu Feb 25 03:27:50 1999 Shugo Maeda <shugo@netlab.co.jp>
* eval.c (rb_call): should handle T_ICLASS properly.
Thu Feb 25 00:04:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (Init_Exception): global function Exception() removed.
* variable.c (rb_class2name): returns "nil"/"true"/"false" for them.
* time.c (time_dump): time marshaling format compressed size from
11 bytes to 8 bytes. thanx to tadf@kt.rim.or.jp.
* eval.c (rb_obj_call_init): should specify arguments explicitly.
Wed Feb 24 15:43:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): comment concatenation requires preceding space
before backslash at the end of line.
* io.c (rb_f_pipe): global pipe is obsolete now.
* object.c (Init_Object): remove true.to_i, false.to_i.
Tue Feb 23 14:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): warn if identifier! immediately followed by `='.
Tue Feb 23 12:32:41 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* eval.c (rb_load): tilde expansion moved to find_file.
* eval.c (find_file): tilde expansion added.
Tue Feb 23 10:50:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (require_method): require can handle multiple fnames.
* hash.c (rb_hash_foreach_iter): hash key may be nil.
Mon Feb 22 17:44:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): should not pop failure point on success for
non-greedy matches.
* io.c (Init_IO): remove global_functions getc, readchar, ungetc,
seek, tell, rewind.
Sat Feb 20 22:54:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (rb_num2long): no implicit conversion from boolean.
Sat Feb 20 09:58:42 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (flo_to_s): portable Infinity and NaN support.
Sat Feb 20 07:13:31 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
* io.c (rb_file_sysopen): forgot to initialize a local variable.
Fri Feb 19 23:05:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (rb_str_subseq): range check changed.
* marshal.c: increment MARSHAL_MINOR for Time format change.
* time.c (time_old_load): support old marshal format.
* time.c (time_load): changed for new format Y/M/D/h/m/s/usec.
* time.c (time_dump): marshal dump format has changed.
Fri Feb 19 00:25:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): should reject "sep\0" and such.
* time.c (time_plus): Time#+ should not receive Time object
operand.
* string.c (rb_str_substr): negative length raises exception now.
* array.c (beg_len): if end == -1, it points end of the array.
* array.c (rb_ary_subseq): negative length raises exception now.
Thu Feb 18 20:57:04 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* time.c (rb_strftime): strftime() may return 0 on success too.
* time.c (time_strftime): `\0' within format string should not be
omitted in the result.
* time.c (rb_strftime): zero length format.
* time.c (time_to_a): yday start with 1 now.
* time.c (time_zone): support for long timezone name.
* time.c (time_yday): yday start with 1 now.
* time.c (time_minus): minus calculation was wrong.
* time.c (time_minus): sec, usec should be at least `long', maybe
they should be `time_t'.
* time.c (time_plus): addition with float was wrong.
* time.c (time_to_s): support for long timezone name.
* time.c (time_gm_or_local): too far future check moved.
* time.c (time_arg): treat 2 digit year as 69-99 => 1969-1999,
00-68 => 2000-2068
Thu Feb 18 03:56:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* missing/fnmatch.c: moved to missing directory.
Wed Feb 17 16:22:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* struct.c (rb_struct_alloc): actual initialization now be done in
`initialize'.
Wed Feb 17 09:47:15 1999 okabe katsuyuki <hgc02147@nifty.ne.jp>
* regex.c (re_search): use mbclen() instead of ismbchar().
* re.c (rb_reg_s_quote): should handle mbchars properly.
Wed Feb 17 01:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): stop comment concatenation by backslash follows
after >= 0x80 char. may cause problem with Latin chars.
* eval.c (error_print): exception in rb_obj_as_string() caused
SEGV. protect it by PUSH_TAG/POP_TAG.
* error.c (exc_exception): `Exception#exception' should return self.
Wed Feb 17 01:12:22 1999 Hirotaka Ichikawa <hirotaka.ichikawa@tosmec.toshiba.co.jp>
* configure.in: BeOS patch.
Tue Feb 16 14:25:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): should reallocate mbc space for
character class unless current_mbctype is ASCII.
Mon Feb 15 15:48:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* configure.in: specify `-Wl,-E' only for GNU ld.
Mon Feb 15 11:43:22 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
* array.c (rb_inspecting_p): should return Qfalse.
Sun Feb 14 22:36:40 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* sprintf.c (rb_f_sprintf): `%G' was omitted.
Sun Feb 14 12:47:48 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
* numeric.c (Init_Numeric): allow divide by zero on FreeBSD.
* numeric.c (Init_Numeric): FloatDomainError added.
* configure.in (AC_REPLACE_FUNCS): add checks for functions
isinf, isnan, and finite.
Sat Feb 13 01:24:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_create_0): should protect th->thread.
Fri Feb 12 16:16:47 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
* string.c (rb_str_inspect): wrong mbc position.
Fri Feb 12 16:21:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_thread_fd_close):
* io.c (rb_io_fptr_close): tell scheduler that fd is closed.
* io.c (rb_io_reopen): ditto.
* io.c (READ_CHECK): check if closed after thread context switch.
* ext/socket/socket.c (bsock_close_read): do not check
the return value from shutdown(2).
* ext/socket/socket.c (bsock_close_write): ditto.
* ext/socket/socket.c (sock_new): need to dup(fd) for close_read
and close_write.
* parse.y (here_document): handle newlines within #{}.
* regex.h: should replace symbols for ruby.
Fri Feb 12 00:46:28 1999 Shugo Maeda <shugo@netlab.co.jp>
* marshal.c (r_object): should update the method name in message.
* marshal.c (w_object): limit should be converted into Fixnum.
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): accessing $~ 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 support
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 realloc 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 class. 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 if __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.jp>
* 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__ if 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 support 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 support 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
split 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 variables 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): consume at least 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.
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 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.
* string.c (rb_str_sub_bang): use inline replace.
Wed Jul 29 00:36:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_s_new): the default value can be specified.
* hash.c (hash_default): method to set the default value.
* hash.c (hash_aref): now returns the default value.
Tue Jul 28 13:03:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_s_new): argument to specify initial value is added.
* array.c (ary_s_new): specifies size, not capacity.
Mon Jul 27 12:39:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_replace): zero fill for expansion gap.
* regex.c (mbctab_euc): set flags on for 0xA1-0xFE. suggested by
<inaba@st.rim.or.jp>.
* string.c (str_inspect): consider current_mbctype.
Sun Jul 26 15:37:11 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* array.c (ary_s_new): Array.new(1<<30) dumps core.
Fri Jul 24 13:40:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c1 released.
Fri Jul 24 02:10:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (r_bytes2): allocated buffer size was too short.
* marshal.c (w_object): saves all options, not only casefold flag.
* re.c (reg_clone): now copies options properly.
* re.c (reg_get_kcode): code number was wrong.
Thu Jul 23 13:11:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_attr): argument should be symbol or string.
Wed Jul 22 11:59:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (calculate_must_string): wrong offset added.
Wed Jul 22 11:59:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* st.c (rehash): still had a GC problem. fixed.
Tue Jul 21 13:19:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (gc_mark_threads): crashed on GC before thread allocation.
* st.c (rehash): GC during rehash caused SEGV.
Tue Jul 21 01:25:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (f_sprintf): integer formatter totally re-written.
* sprintf.c (remove_sign_bits): support uppercase hexadecimal.
Sat Jul 18 00:14:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (f_sprintf): proper sign position for %X and %O.
Fri Jul 17 14:10:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1c0 released.
Fri Jul 17 08:01:49 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* process.c (f_exec): Check_SafeStr() added.
* process.c (f_system): Check_SafeStr() moved before fork().
Thu Jul 16 22:58:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (scan_once): substrings to the block should not be
tainted. use reg_nth_match(), not str_substr().
* string.c (str_substr): needed to transfer taint.
Thu Jul 16 16:15:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* gc.c (xmalloc): object allocation count added to GC trigger.
* eval.c (thread_save_context): avoid marking uninitialized stack
in thread_mark. GC may be triggered by REALLOC_N().
Wed Jul 15 15:11:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_31.
Wed Jul 15 15:05:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_create): exit() and abort() in threads now
forwarded to main_thread.
Tue Jul 14 14:03:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (obj_instance_variables): list names that is not
instance variables.
* gc.c (GC_MALLOC_LIMIT): choose smaller limit value.
Mon Jul 13 12:39:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (str2cstr): should not return NULL.
Fri Jul 10 11:51:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (gettable): needed to add dyna_in_block() check.
Thu Jul 9 17:38:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_30.
Thu Jul 9 16:01:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* sprintf.c (fmt_setup): format specifier for long needed.
* sprintf.c (f_sprintf): ditto.
* numeric.c (fix2str): ditto.
* eval.c (thread_create): no more ITIMER_REAL.
* eval.c (thread_create): thread finalization needed before
aborting thread if thread_abort is set.
Wed Jul 8 18:17:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (big_pow): abandon power by bignum (too big).
Tue Jul 7 13:58:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_catch): add C level catch/throw feature.
Mon Jul 6 15:18:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (arg): proper return values for `||=' and `&&='.
Fri Jul 3 16:05:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_29.
Fri Jul 3 11:20:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (r_byte): byte should not extend sign bit.
* numeric.c (fix_mul): use FIX2LONG() instead of FIX2INT() for
64bit architectures.
* marshal.c (r_bytes): remove weird casting between pointer and int.
* process.c (proc_setsid): new method Process#setsid().
Thu Jul 2 12:49:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* marshal.c (w_object): remove `write_bignum' label for 64bit
architectures.
* marshal.c (r_bytes): needs int, not long.
Wed Jul 1 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (flo_plus): should not allow addition with strings.
Wed Jul 1 13:09:01 1998 Keiju ISHITSUKA <keiju@rational.com>
* numeric.c (num_uminus): wrong coerce direction.
Tue Jun 30 10:13:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (f_p): accepts arbitrary number of arguments.
* eval.c (rb_yield_0): there's some case that iterator_p() returns
true even if the_block was not set. check added.
Tue Jun 30 01:05:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (BEGIN_CALLARGS): adjust the_block before evaluating the
receiver's value and the arguments.
Fri Jun 26 18:02:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_28.
Fri Jun 26 11:01:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_aset_method): needed to convert to string.
Thu Jun 25 02:05:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): optimize for `.*' at beginning of the
pattern.
* regex.c (re_search): optimize for character class repeat at
beginning of the pattern.
* regex.c (re_compile_pattern): detect optimization potential for
the compiled patterns.
Thu Jun 25 00:02:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* re.c (reg_s_new): flag value was wrong.
Wed Jun 24 23:45:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_search): wrong anchor handling for reverse search.
Wed Jun 24 02:18:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (mlhs): `((a,b)),c = [[1,2]],3' assigns a=1,b=2,c=3.
Tue Jun 23 11:46:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): `&&=' and `||=' added.
Sat Jun 20 02:53:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assignable): nesting local variables should have higher
priority than normal local variables for assignment too.
Fri Jun 19 18:28:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_27.
Fri Jun 19 14:34:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (assign): support hack for nested multiple assignment.
* parse.y (mlhs): nested multiple assignment.
* eval.c (rb_eval): in-block variables now honors static scope.
* configure.in: RSHIFT check moved to configure.
Thu Jun 18 16:46:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_26.
Thu Jun 18 13:37:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (file_s_ftype): uses lstat(2) instead of stat(2).
* dir.c (dir_s_glob): there can be buffer overrun, check added.
* eval.c (f_binding): handles in-block variables declared after
binding's generation.
* numeric.c (flo_floor): floor, ceil, round added to Float.
Wed Jun 17 11:20:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (gettable): nesting local variables should have higher
priority than normal local variables.
Tue Jun 16 12:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (str2inum): handles `+ddd'.
* struct.c (make_struct): name parameter can be nil for unnamed
structures.
Mon Jun 15 16:30:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (class_s_inherited): prohibiting to make subclass of
class Class.
* object.c (module_s_new): support for making subclass of Module.
* parse.y (yycompile): clear eval_tree before compiling.
Fri Jun 12 17:58:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (eval): write back the_dyna_var into the block.
Thu Jun 11 18:19:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_25.
* eval.c (dvar_add_compiling): register dyna_var at compile time.
* regex.c (re_compile_pattern): RE_DUP_MAX iteration is too big.
Wed Jun 10 15:12:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_eof): do not block other threads.
* signal.c (trap): reserve SIGALRM for thread.
* eval.c (thread_create): use ITIMER_REAL also to avoid system
call blocking.
* io.c (f_syscall): add TRAP_BEG, TRAP_END around system calls.
* io.c (io_ctl): add TRAP_BEG, TRAP_END around system calls.
* enum.c (enum_collect): did not collect false values.
* array.c (ary_new2): forgot to initialize capa field.
Tue Jun 9 18:36:15 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_split_method): split dumped core for "\xff".
Tue Jun 9 16:22:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_24.
Tue Jun 9 16:04:07 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/kconv/kconv.c (kconv_guess): more precise decision for EUC,
using jless algorithm (3 sequential EUC hiragana characters).
Tue Jun 9 15:12:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/kconv/kconv.c (kconv_guess): wrong guess for EUC as SJIS in
some cases (0xe0 - 0xef).
* gc.c (xmalloc): insert size check for big (negative in signed)
allocation size.
Tue Jun 9 02:54:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/parsedate.rb: wday moved to the last in the return values.
Mon Jun 8 10:40:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_split_method): split dumped core for "\0".
Sat Jun 6 22:50:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (calculate_must_string): wrong condition for
{start,stop}_nowidth.
* regex.c (re_match): various features imported from GNU regex.c
0.12, such as nested grouping, avoiding infinite loop with empty
match, etc.
* regex.c (register_info_type): now use union.
* regex.c (re_search): more precise anchor(^) check.
Wed Jun 3 18:07:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_raise): check rb_in_compile, not rb_in_eval.
Mon Jun 1 05:26:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
* string.c (trnext): casting to signed char* needed.
Tue Jun 2 16:00:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c (udp_addrsetup): error check enhanced.
* ext/socket/socket.c (sock_s_getservbyaname): use strtoul(), if
possible.
Sat May 30 07:10:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_prepare_re): no more needless regular expression
recompile on casefold conditions.
Thu May 28 18:02:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (nil_plus): no more `+' method for nil.
Wed May 27 17:33:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_fetch): new method.
* regex.c (re_search): check whether translate table is set.
Tue May 26 11:39:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_23.
* parse.y (yylex): no UPLUS/UMINUS for 1st argument if
parenthesises are omitted.
Tue May 26 01:09:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): (?XI) for turns off the
corresponding option.
Mon May 25 12:38:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): inline i option (?i).
* regex.c (re_compile_pattern): inline x option (?x).
* regex.c (re_compile_pattern): x option for regexp.
* dir.c (dir_s_open): returns block's evaluated value.
* io.c (f_open): returns block's evaluated value.
* ext/curses/curses.c (curses_addstr): nil argument caused SEGV.
Fri May 22 11:52:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): push mark on (?:), so that
laststart check for {a,b} can be done.
Thu May 21 17:31:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_match): wrong match (too non-greedy) for `{a,b}?'.
* io.c (io_lineno): new method IO#lineno, IO#lineno=.
Wed May 20 06:04:43 1998 MAEDA shugo <shugo@aianet.ne.jp>
* BeOS patch.
Wed May 20 16:32:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (BIGDN): use RSHIFT(), instead of mere `>>'.
Tue May 19 16:36:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_22.
Tue May 19 16:31:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assignable): specification changed for in-block
variable definition.
* eval.c (dyna_var_asgn): error in in-block variables' compile
time definition.
* parse.y (str_extend): wrong nesting detection.
Tue May 19 09:47:55 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* numeric.c (num2int): re-defined (extensions may use this).
Mon May 18 16:40:50 1998 MAEDA shugo <shugo@aianet.ne.jp>
* error.c (get_syserr): BeOS support.
* configure.in: modified for BeOS.
* string.c (str_dump): do not call isascii().
* sprintf.c (remove_sign_bits): forgot to initialize end pointer.
* glob.c: #include <alloca.h> added.
Mon May 18 14:52:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_21.
Mon May 18 03:27:57 1998 MAEDA shugo <shugo@aianet.ne.jp>
* file.c (file_s_expand_path): optional second argument
`default_directory' added.
Sat May 16 22:06:52 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* error.c (RAISE_ERROR): wrong error message
Fri May 15 14:43:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_20.
Thu May 14 14:44:21 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* sun4 cc patches for intern.h and regex.h.
Thu May 14 14:03:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (RANDOM_MAX): guessing proper maximum value for random
numbers.
* random.c (f_rand): use drand48 if possible.
Wed May 13 19:05:20 1998 MAEDA shugo <shugo@aianet.ne.jp>
* BeOS patches for io.c, error.c and config.guess.
Wed May 13 14:56:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_19.
* most of the Mac and BeOS patches merged, except path separators.
* error.c (err_append): generated SyntaxError was String.
* ruby.h: xxx2INT, xxx2UINT checks values as int, not long.
* ruby.h: remove typedef's. INT, UINT, UCHAR, USHORT.
Tue May 12 17:38:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_18.
Tue May 12 11:38:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* error.c (syserr_errno): returns errno of the SystemCallError.
* error.c (rb_sys_fail): saves errno in the Exception.
* error.c (set_syserr): no need to protect syserr_list.
* error.c (rb_sys_fail): no more bufsize limit.
* error.c (set_syserr): integer value of errno can be accessed by
Errno::EXXX::Errno.
Sun May 10 03:10:33 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
* io.c (io_tell etc.): moved from File class to IO class.
Fri May 8 12:26:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (pack_unpack): should be unsigned int (was signed int).
Thu May 7 16:34:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* pack.c (pack_pack): `V', `N' uses newly created NUM2UINT().
* ruby.h (NUM2UINT): new macro.
* bignum.c (big2uint): try to convert bignum into UINT.
* re.c (reg_match): needed to return false for match with nil.
* gc.c (obj_free): wrong condition to free string.
Wed May 6 21:08:08 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (ruby_process_options): modified for DJGPP.
Wed May 6 15:48:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_17.
Wed May 6 01:37:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c: remove global variable `errat'.
* eval.c (rb_longjmp): embed error position information in the
exception object.
Sat May 2 12:20:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_search): supports reverse search.
* string.c (str_index_method): does update $~ etc.
* eval.c (f_load): needed to clear the_dyna_vars.
* eval.c (dyna_var_asgn): do not push dyna_var, which is id == 0.
* error.c (Init_Exception): NotImplementError is no longer
StandardError, which is not handled by default rescue.
Fri May 1 00:35:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (proc_options): `-d' turns on verbose flag too.
* error.c (exception): last argument may be the superclass of the
defining exception(s).
* io.c (Init_IO): EOFError is now subclass of the IOError.
* io.c (Init_IO): forgot to define IOError.
* error.c (Init_Exception): old Exception class renamed to
StandardError. Exception now replaces old GlobalExit.
* error.c (Init_Exception): Exception is now the root of the
Global Exits. There's no longer GlobalExit class.
* util.c (ruby_mktemp): check TMP, TMPDIR first.
Thu Apr 30 01:08:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/tk.rb: call 'unknown', if proc not defined.
* eval.c (handle_rescue): default rescue handles `Exceptional' not
only the instance of the `Exception's.
* eval.c (f_raise): exception can be any object.
* time.c (time_gm_or_local): call time_gmtime or time_localtime.
* eval.c (f_raise): raises TypeError if the class which is not a
subclass of String is specified (checked in exc_new()).
* error.c (exc_new): need to check whether invalid class (not a
subclass of String) is specified.
Wed Apr 29 21:05:44 1998 WATANABE Hirofumi <eban@os.rim.or.jp>
* ruby.c (proc_options): option '-e' via tempfile.
Tue Apr 28 15:27:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_16.
Tue Apr 28 00:07:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_is_proc): type check predicate.
* eval.c (obj_is_block): ditto.
Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/gtk/gtk.c (Init_gtk): use timeout, not idle to avoid
consuming CPU too much.
* lib/tk.rb: use tcltklib#_invoke instead of `_eval'.
Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_sort): use dup, not clone.
Mon Apr 27 13:46:27 1998 Tadahiro Maebashi <maebashi@iij.ad.jp>
* ext/tcltklib/tcltklib.c (ip_invoke): invoke tcl command
directly. need not worry about escaping tcl characters.
Mon Apr 27 12:04:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* random.c (f_rand): do not call srand() implicitly.
Fri Apr 24 14:35:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_15.
* parse.y (assignable): dyna_var_asgn actually defines nested
local variables in outer context.
* random.c (f_rand): call srand(), if it has not called yet.
* random.c (f_srand): use tv_usec as the default seed.
* eval.c (rb_eval): values of nested local variables should be
independent.
* eval.c (rb_yield_0): local variables wrong nested conditions.
Wed Apr 22 23:27:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (select_get_io): get IO object by `to_io'.
* io.c (io_to_io): method to retrieve IO object, from delegating
object for example.
Wed Apr 22 16:52:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_14.
* string.c (str_modify): check for embedded pointer reference.
* gc.c (obj_free): ditto.
* pack.c (pack_pack): p/P template to embed pointers.
Wed Apr 22 00:07:10 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* array.c (ary_rindex): embarrassing typo.
Tue Apr 21 12:31:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_13.
* configure.in (RUBY_LIB): supports --program-{prefix,suffix}.
* array.c (ary_rindex): new method.
* io.c (io_binmode): should return self.
Tue Apr 21 08:23:04 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* parse.y (here_document): calling parse_string with wrong
arguments.
* struct.c (struct_aset): problem member assignment with name.
Mon Apr 20 14:47:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_12.
* time.c (time_arg): args may be string (support for reduced
implicit type conversion).
* lib/base64.rb: changed to use pack/unpack with `m' template.
Mon Apr 20 06:23:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (mod_remove_const): new method.
Sat Apr 18 03:53:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_each_with_index): removed. use Enumerable's
each_with_index instead.
* class.c (rb_include_module): check for super modules, since
module's included modules may be changed.
Fri Apr 17 21:50:47 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* marshal.c (r_long): r_byte() may return signed byte.
Fri Apr 17 11:58:30 1998 NAGAI Hidetoshi <nagai@dumbo.ai.kyutech.ac.jp>
* ext/tcltklib/tcltklib.c (lib_mainloop): thread and interrupt check.
Fri Apr 17 11:06:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (find_file): try to fopen() to check whether file exists.
* ruby.c (load_file): ditto.
* struct.c (struct_aset): struct member can be set by member name.
Fri Apr 17 00:47:19 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in: added m68k-human support
* file.c (LOCK_SH): defines moved.
* array.c (ary_flatten_bang): simplified loop.
Thu Apr 16 16:52:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_11.
* lib/tk.rb: thread support (experimental - maybe slow).
* eval.c (rb_longjmp): trace event on exception in raising
context, just before raising exception.
* struct.c (struct_s_members): forgot to check singletons.
* struct.c (struct_aref): members can be accessed by names too.
* array.c (ary_flatten): new method.
* eval.c (rb_longjmp): prints exception information with `-d'.
* object.c (any_to_s): remove class name restriction.
Thu Apr 16 01:38:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (thread_flock): do not block other threads.
* eval.c (thread_trap_eval): signals are now delivered to the
current thread again. In case that the current thread is dead,
signals are forwarded to the main thread.
* string.c (str_new4): need not to duplicate frozen strings.
Wed Apr 15 08:33:47 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_inspect): remove restriction for struct names.
Wed Apr 15 02:55:02 1998 Kazuya 'Sharl' Masuda <sharl@www.ufo.co.jp>
* x68 patches to config.sub, ext/extmk.rb.in
Wed Apr 15 01:22:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_dup_frozen): do not duplicate frozen strings.
* parse.y (yylex): allow nested parenthesises.
* io.c (obj_displayln): prints newline after `display'ing the
receiver.
* io.c (io_puts): avoid generating "\n" each time. use RS_default
instead.
* io.c (f_p): ditto.
Tue Apr 14 22:18:17 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_aref): should not subtract negative index.
Tue Apr 14 11:34:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_10.
* parse.y: token names prefixed by `t'.
* struct.c (struct_s_def): supports subclassing of Struct.
* io.c (io_s_new): supports subclassing of IO.
Mon Apr 13 11:07:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_binding): need to restore method name.
* eval.c (rb_call0): raises SystemStackError, not Fatal.
* io.c (obj_display): same as `print self'.
* io.c (f_p): can now be called in the method form.
* re.c (reg_regsub): needed to be mbchar aware.
Mon Apr 13 13:18:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_trap_eval): all signals delivered to main_thread.
Mon Apr 13 12:47:03 1998 TAKAHASHI Masayoshi <maki@inac.co.jp>
* re.c (kcode_set_option): did not set SJIS on SJIS condition.
Sun Apr 12 22:14:07 1998 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
* array.c (ary_uniq_bang): should be `==', not `='. embarrassing.
Sat Apr 11 02:13:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_subseq): SEGVed for `[][1,1]'.
Fri Apr 10 21:29:06 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* array.c (ary_subseq): add check for beg larger than array length.
Wed Apr 8 17:24:11 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* dir.c (dir_s_open): can be called with block (like IO#open).
* dir.c (dir_s_chdir): print directory path on error.
* dir.c (dir_s_chroot): ditto
* dir.c (Init_Dir): needed to override `new'.
Thu Apr 9 18:24:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_09.
* string.c (str_cmp): do not depend on sentinel at the end of the
strings.
* string.c (str_chomp_bang): forgot to set the sentinel.
Wed Apr 8 00:59:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* bignum.c (big2int): converted int may be too big to fit in
signed int.
* parse.y (arg): `foo += 1' should not cause an error.
* variable.c (rb_const_defined): returned false even if the
constant is defined at the top level.
* eval.c (f_local_variables): dyna_var->id may be null. should
have checked before calling str_new2().
Tue Apr 7 01:15:15 1998 Kaneko Naoshi <wbs01621@mail.wbs.or.jp>
* re.c (reg_regsub): need to check string boundary.
Tue Apr 7 19:19:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_cmp): returns either 1, 0, -1.
* array.c (ary_cmp): should check array length, too
Tue Apr 7 18:50:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_08.
Tue Apr 7 18:31:27 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* instruby.rb (mandir): dll installation for cygwin32
Tue Apr 7 01:16:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* config.sub (maybe_os): TOWNS support?
* config.guess: too strict check for libc versions on linuxes.
* experimental release 1.1b9_07.
* array.c (ary_cmp): compare each element using `<=>'.
* hash.c (hash_each_with_index): yields [value, key] pair.
* class.c (class_protected_instance_methods): list protected
method names.
* class.c (ins_methods_i): exclude protected methods.
* eval.c (PUSH_BLOCK): dynamic variables can be accessed from
eval() with bindings.
Mon Apr 6 14:49:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_yield): must return evaluated value.
Fri Apr 3 13:07:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_schedule): context switch bypassed on wrong
conditions.
* variable.c (rb_name_class): set classname by id before String
class is initialized (1.0 behavior restored).
Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (num2int): no implicit conversion from string.
* numeric.c (num2int): check whether `to_i' returns an Integer.
* numeric.c (num_zero_p): new method.
* numeric.c (num_nonzero_p): new method. returns the receiver if
it's not zero.
* eval.c (obj_instance_eval): the_class should be the object's
singleton class.
* error.c (exc_s_new): message is converted into a string.
Thu Apr 2 18:31:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_call_init): every object call `initialize'.
Wed Apr 1 08:51:53 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* parse.y (stmt): UNTIL_MOD should be for stmt, not only for expr.
Wed Apr 1 01:20:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (true_and): boolean operators &, | and ^.
Tue Mar 31 13:23:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_compact_bang): returns nil, if it does not modify
the array like String's bang methods.
* array.c (ary_uniq_bang): new method to remove duplicate items.
* eval.c (bind_s_new): new method.
* numeric.c (num2int): raise exception if Fixnums too big to
convert into `int' in case that sizeof(int) < sizeof(INT).
* string.c (str_center): SEGV on negative width.
* eval.c (eval): forgot to set sourcefile.
Mon Mar 30 11:12:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (f_test): raises exception for unknown command.
* eval.c (Init_eval): `class_eval': alias to the module_eval.
Mon Mar 30 18:50:42 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* string.c (str_capitalize_bang): did not check string modification.
* string.c (str_delete_bang): wrong conversion.
* string.c (str_intern): typo in error message.
Mon Mar 30 01:44:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_instance_eval): accepts block as evaluation body.
No compilation needed each time.
* eval.c (mod_module_eval): ditto
* file.c (file_s_umask): umask did not return old values, if no
argument given.
Sun Mar 29 00:54:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_throw): nil returned always.
Sat Mar 28 20:40:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_06.
Sat Mar 28 16:07:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_closed): should not cause exception for closed IO.
* string.c (str_tr): returned nil for success.
Sat Mar 28 00:47:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (f_local_variables): new method to return an array of
local variable names.
* variable.c (obj_instance_variables): now returns an array of
variable names, as described in the reference.
* eval.c (rb_attr): honors default method visibility of the
current scope.
Fri Mar 27 13:49:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_05.
* ruby.c (ruby_prog_init): `site_ruby' added to load_path.
* ruby.c (ruby_prog_init): load-path order changed. Paths in
the RUBYLIB environment variable comes first in non-tainted
mode.
Thu Mar 26 11:51:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_call): new feature: `protected' methods.
* string.c (str_dump): new method.
* eval.c (block_pass): block argument can be nil, which means no
block is supplied for the method.
Wed Mar 25 21:20:13 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* string.c (str_reverse_bang): string copied to wrong place.
Wed Mar 25 08:12:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (flo_modulo): caused SEGV if left operand is not a
float value.
* eval.c (f_eval): optional third and fourth argument to specify
file-name and line-number.
* eval.c (eval): file-name and line-number set properly.
* parse.y (assign_in_cond): literal assignment is now warning, not
compile error.
* error.c (Warn): Warn() always print message, OTOH Waring()
prints when verbose flag is set.
Tue Mar 24 12:50:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_prog_init): `.' should come last in the load-path.
* eval.c (Init_eval): `__send__', alias for `send'.
Mon Mar 23 12:44:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_chomp_bang): now takes `rs' as an argument.
* eval.c (thread_free): main_thread should not be freed.
Fri Mar 20 16:40:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_chomp_bang): chomp! (and other ! methods) returns
nil if it does not modify the string.
* string.c (str_sub_iter_s): should check last pattern since it
may be matched to null.
Thu Mar 19 13:48:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_04.
* parse.y (yylex): `10e0.9' should cause syntax error.
Wed Mar 18 17:46:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): new file object constant DATA. Only
available for the script from the file.
* regex.c (re_match): forwarding failure point popped too much.
Tue Mar 17 18:23:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* math.c (math_frexp): newly added.
* math.c (math_ldexp): ditto.
* bignum.c (bigdivmod): calculates modulo.
* numeric.c (fix_remainder): returns reminder, formerly introduced
as modulo.
* numeric.c (fix_modulo): calculates proper `modulo'.
* bignum.c (bigdivmod): wrong sign for reminder.
Mon Mar 16 17:07:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_03.
Mon Mar 16 16:33:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (pipe_finalize): needed to add pipe_finalize to pipes on
cygwin32.
Mon Mar 16 14:11:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (ins_methods_i): needed to consider NOEX_UNDEF.
Mon Mar 16 13:23:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_check_closed): check for `fptr->f2 == NULL'.
* io.c (io_fptr_close): ditto.
Mon Mar 16 11:49:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (pipe_atexit): free()ing referencing pipe_list.
* range.c (range_length): returns zero, if the first is greater
than the last.
* signal.c (trap_restore_mask): restore signal mask before raising
exceptions and throws.
Fri Mar 13 13:49:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_02.
* object.c (mod_clone): need to dups constants and instance
variables.
* eval.c (rb_eval): forgot to initialize body for NODE_DEFS.
* eval.c (rb_eval): retrieve self from calling frame, since self
changes sometimes.
* env.h (FRAME): need to save self in the calling frame.
* io.c (f_gets_method): rs should be initialized by RS.
Thu Mar 12 15:33:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* experimental release 1.1b9_01.
* range.c (range_s_new): check values by `first <= last'.
* parse.y (lastline_set): fixed offset for $_ and $~ in the local
variable space.
Wed Mar 11 02:14:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_gets): handle normal case specially for speed.
* eval.c (rb_disable_super): function to disable superclass's
method explicitly.
* eval.c (rb_eval): inherits previous method definition's
NOEX_UNDEF-ness, if exists.
* class.c (rb_define_method): disables superclass's overriding
method by default.
Wed Mar 11 01:40:48 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* numeric.c (flo_gt,etc.): do not depend on `<=>', to handle NaN.
Tue Mar 10 00:03:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (load_file): understands multiple options in #! line.
* regex.c (re_compile_pattern): support for [:alpha:] etc.
Mon Mar 9 16:53:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.h (GetOpenFile): embed io_check_closed in GetOpenFile.
* sprintf.c (f_sprintf): zero padding failed for negative
integers.
* sprintf.c (remove_sign_bits): failed to remove some bits.
Sat Mar 7 21:51:46 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* class.c (ins_methods_i): body may be NULL for some case.
Fri Mar 6 17:23:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (mbcinit): table driven mbchar detection.
* object.c (obj_alloc): check for allocating instance for the
primitive classes (mostly perfect).
* ext/curses/curses.c (curses_finalize): restore original state at
interpreter termination.
* ext/curses/curses.c (curses_addstr): forgot to check argument
type (caused SEGV). now uses STR2CSTR() macro.
Thu Mar 5 13:47:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (block_pass): accepts method object as block args.
* eval.c (f_missing): use any_to_s() for stringify.
Wed Mar 4 01:39:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (block_arg): new syntax - block argument in the
calling arglist.
* eval.c (rb_call): no module search. simplified a lot.
* eval.c (rb_eval): block arg support.
* parse.y (f_block_arg): new syntax - block argument in the
formal arglist.
Tue Mar 3 14:20:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (obj_method): returns bound method object.
* eval.c (rb_call): argument check for empty methods.
* ruby.h (NUM2CHR): new macro, originally from curses module.
Tue Mar 3 13:03:35 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* io.c (io_putc): new method.
Tue Mar 3 11:21:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_inspect): more strict charcode detection.
* eval.c (thread_stop): stopping only thread raises ThreadError
exception.
Tue Mar 3 08:04:56 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
* struct.c (struct_alloc): incomplete struct initialization made
GC to access unallocated addresses.
Mon Mar 2 16:28:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (thread_stop_method): remove Thread#stop.
Fri Feb 27 18:16:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b9 released.
Fri Feb 27 09:36:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (hash_delete_nil): needed to compare value to nil, since
nil is the valid key for hashes.
* hash.c (hash_foreach_iter): rehashing causes IndexError.
* hash.c (hash_foreach_iter): rehash check by pointer comparison.
Thu Feb 26 17:22:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (fname): convert reswords into symbols.
* parse.y (reswords): reserved words are now embedded in the
syntax (sigh).
* parse.y: now reserved words can be method names safely.
Wed Feb 25 15:50:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (mod_module_eval): clear the_scope's PRIVATE flag before
calling eval().
* gc.c (gc_call_finalizer_at_exit): run finalizers before any data
object being freed.
* eval.c (rb_eval): needed to keep prot_tag->retval before
evaluating the ensure clause.
Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): reserved words can be appear as method names at
right after 'def' and `.'(dot), like foo.next.
* eval.c (return_check): checks for return out of thread (formerly
done in return_value).
* eval.c (POP_TAG): copy retval to outer level.
* eval.c (return_value): just set retval, no check, no unwinding.
* parse.y (nextc): line continuation by backslash at end of line.
* regex.c (re_compile_pattern): forgot to clear pending_exact on
closing parentheses.
* parse.y (assignable): should not assign dyna_var to true, if it
is already defined.
Mon Feb 23 14:35:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (obj_is_kind_of): no longer accepts true/false/nil.
* object.c ({true,false,nil}_to_i): can be converted into integers.
Mon Feb 23 12:11:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_s_quote): needed to be mbchar aware.
* eval.c (proc_s_new): wrong iter mark.
Sat Feb 21 22:59:30 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* io.c (f_syscall): no argument check.
Fri Feb 20 10:17:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b8 released.
* ext/kconv/kconv.c (kconv_kconv): default output code now be
determined according to the value of $KCODE.
* re.c (rb_get_kcode): can retrieve $KCODE from C code.
* parse.y (stmt): if/unless modifiers returns nil, if condition is
not established.
Thu Feb 19 11:06:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/kconv/kconv.c (kconv_kconv): charcode can be specified by
code name (JIS, SJIS, EUC like value of $KCODE).
* regex.c (re_compile_pattern): forgot to fixup_jump for (?:..).
* regex.c (re_compile_pattern): needed to clear pending_exact on
non-registering grouping (?:...).
Wed Feb 18 19:54:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (here_document): needed to set lex_state to EXPR_END.
Wed Feb 18 18:45:10 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* patches for cygwin32 applied.
Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_sub_s): needed to be mbchar aware to increment one
character.
* regex.c (re_match): \Z matches newline just before the end of
the string.
Tue Feb 17 00:04:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_arg): Time.gm and Time.local now understands
Time#to_a format.
* string.c (str_sub_s): replace happened twice for null pattern.
* regex.c (re_search): null pattern should not match after newline
at the end of string.
* time.c (time_isdst): now returns boolean value.
* error.c (rb_check_type): treat special constants in messages.
* parse.y (yylex): new form `::Const' to see toplevel constants.
* parse.y (cond): SEGV on `if ()'.
* gc.c (obj_free): some data needed explicit free().
Mon Feb 16 23:55:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (blk_free): release duplicated block informations.
* eval.c (blk_copy_prev): duplicate outer block information into
the heap, when proc/binding created.
Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_mon): now 1 for January and so on.
* time.c (time_year): year in 19xx (no + 1900 needed anymore).
Mon Feb 16 13:28:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): need to fetch mbchar's second byte
without translation.
Mon Feb 16 12:29:27 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
* eval.c (f_pass_block): pass iterator block to other method.
Fri Feb 13 08:16:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (parse_regx): handle \s before read_escape().
* parse.y (read_escape): `\s' in strings as space.
Tue Feb 10 17:29:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b7 released.
* string.c (str_aset): string insertion by `str[n] = str2'.
* string.c (str_oct): does recognize `0x'.
* sprintf.c (f_sprintf): use base 10 for conversion from string to
integer.
Mon Feb 9 14:51:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* numeric.c (do_coerce): proper error message.
* string.c (str_sum): bug - masked by wrong value. (sigh..)
Sat Feb 7 15:11:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_empty): new method
Fri Feb 6 01:42:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c (time_asctime): use asctime(3), not strftime(3).
Thu Feb 5 18:58:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_fptr_close): do not free path on close().
* array.c (ary_filter): new method.
* enum.c (enum_each_with_index): new method.
Thu Feb 5 14:10:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (primary): singleton class def can be appeared inside
method bodies.
* hash.c (hash_replace): replace content.
* string.c (str_replace_method): replace content.
* array.c (ary_replace_method): replace elements.
* string.c (str_succ_bang): String#succ!
Thu Feb 5 18:20:30 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_upcase_bang): multi byte character support.
Wed Feb 4 13:55:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (ary_reverse): SEGV on empty array reverse.
Tue Feb 3 12:24:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (match_to_a): non matching element should be nil.
* ruby.c (ruby_load_script): load script after all initialization.
* bignum.c (str2inum): need to interpret prefix `0' of `0x'.
Tue Feb 3 10:00:18 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* numeric.c (fix_rshift): use `sizeof(INT)*8' instead of 32.
Mon Feb 2 14:09:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (set_arg0): grab environment region too.
Thu Jan 29 18:36:25 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* process.c (rb_proc_exec): check `sh' to be exist.
Thu Jan 29 18:18:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_stdio_set): assignment to $stdin or $stdout does
reopen() as well as $stderr.
Thu Jan 29 14:18:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (mod_ancestors): should not include singleton classes.
* object.c (obj_type): should not return internal class.
* io.c (io_reopen): unwillingly closes stdio streams.
Thu Jan 29 11:50:35 1998 Toshihiko SHIMOKAWA <toshi@csce.kyushu-u.ac.jp>
* ext/socket/socket.c (udp_addrsetup): forgot to use htons().
Tue Jan 27 23:15:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* keywords: __FILE__, __LINE__ are available again.
Fri Jan 23 14:19:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b6 released.
* object.c (mod_to_s): need to duplicate classpath.
* error.c (exc_inspect): need to duplicate classpath.
Thu Jan 22 00:37:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (STR2CSTR): new macro to retrieve char*.
* class.c (rb_define_method): `initialize' should always be
private, even if it defined by C extensions.
* eval.c (rb_eval): `initialize' should always be private.
Thu Jan 22 16:21:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): some singleton class def cause SEGV.
* eval.c (TMP_ALLOC): replace ALLOCA_N, where thread context
switch may happen.
Wed Jan 21 01:43:42 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (PUSH_FRAME): do not use ALLOCA_N(). crash on some
platforms that use missing/alloca.c.
* regex.c (re_compile_pattern): too many pops for non register
subexpr.
* parse.y (yylex): open parentheses after identifiers are argument
list, even if whitespaces have seen.
Tue Jan 20 15:19:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (terms): quoted word list by %w(a b c).
* ext/tcltklib/extconf.rb: more accurate check for tcl/tk libs.
* file.c (rb_stat): most of the FileTest methods (and function
`test') accept File objects as the argument.
Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/extmk.rb.in (install): there should be no newline after install:
* re.c (MIN): renamed from min(). there's a local variable named
min in the file, so that some cpp will raise an error.
Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b5 released.
* process.c (rb_syswait): no exception raised.
Fri Jan 16 00:43:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.h (CLONESETUP): copies its singleton classes too.
* class.c (singleton_class_attached): saves binded object in the
singleton classes.
* eval.c (rb_eval): calls singleton_method_added even in the
singleton class clauses.
Fri Jan 15 23:22:43 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (proc_options): -S does not recognize PATH.
Thu Jan 15 02:03:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_clear_cache_by_id): clear only affected cache
entries.
Wed Jan 14 02:14:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c: new UDP/IP socket classes.
Tue Jan 13 10:00:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_cmp): ignorecase($=) works wrong.
Fri Jan 9 13:19:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b4 released.
* eval.c (f_missing): class name omitted from the error message.
* error.c (exc_inspect): description changed.
* string.c (Init_String): GlobalExit's superclass did not filled,
since GlobalExit created earlier than String.
Thu Jan 8 12:10:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (aryset): expr in the brackets can be null.
Wed Jan 7 21:13:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_reopen): keep stderr unclosed.
* io.c (io_errset): keep stderr unclosed.
Tue Jan 6 00:27:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y: syntax modified for `while expr do .. end' etc.
* process.c (f_exec,f_system): can supply arbitrary name for the
new process.
Mon Jan 5 16:59:13 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* file.c (file_s_basename): removes any extension by ".*".
Sun Jan 4 19:36:22 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* parse.y (yylex): needed to update lex_p (reading point).
Sat Jan 3 19:14:14 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* class.c,object.c: duplicate defines mKernel and cFinxnum.
Fri Jan 2 20:38:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/curses/curses.c (NUM2CHAR): uses the first character for
string arguments.
* array.c (ary_fill): did not extend array for ranges.
* array.c (beg_len): did not return end pos bigger than size.
Fri Jan 2 02:09:16 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* dir.c (dir_s_chdir): bug in nil check.
* array.c (ary_fill): bug in nil check.
Tue Dec 30 11:46:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* hash.c (env_path_tainted): checks directories in PATH
environment variable are not world writable.
* ruby.c (load_file): invoke specified interpreter if the #! line
does not contain the word `ruby'.
Fri Dec 26 03:26:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (uscore_get): type information included in the error
message.
* variable.c (f_untrace_var): does not free trace-data within
trace procedure.
Thu Dec 25 02:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b3 released.
* ruby.h: inlining some functions on gcc 2.x
Tue Dec 23 02:47:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): public/private information kept in the current
scope, to remove undesired state from the class/module.
* time.c (time_strftime): remove hidden limit of 100 bytes of
result string, using malloc'ed buffer.
* hash.c (hash_update): merges the contents of another hash,
overriding existing keys.
* regex.c (must_instr): totally re-written.
* io.c (read_all): try to allocate proper sized buffer using
fstat(2) for speedup.
Sat Dec 20 00:27:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (must_instr): need to skip 2 bytes for mbchars.
Fri Dec 19 01:18:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b2 released.
* eval.c (check_errat): check and convert (if necessary) traceback
information before assigning to the variable $@.
* eval.c (f_raise): optional third argument to specify traceback
information.
* io.c (f_open): prevent infinite recursive call.
Thu Dec 18 19:33:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_rindex): now accepts regexp as index.
Thu Dec 18 18:42:50 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/socket/extconf.rb: modified to detect win32 socket lib.
Thu Dec 18 00:25:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* re.c (reg_equal): checks for source and casefold and kcode matching.
* marshal.c: became built-in module.
* ext/marshal/marshal.c (r_object): displays struct name for
non-compatible struct.
* string.c (str_index_method): now searches character (fixnum) in
the string.
* string.c (str_include): redefine `include?'.
* regex.c (re_match): start_nowidth saves current stack position
to stop_nowidth.
* regex.c (re_compile_pattern): add space to stop_nowidth to save
runtime stack position.
Tue Dec 16 14:57:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (scan_once): wrong exception for regexp that match with
null string (use substr instead of subseq).
Sat Dec 13 00:13:32 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (expr): remove bare assocs from expr rule.
* rbconfig.rb: renamed from config.rb (it was too generic name).
Fri Dec 12 00:50:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (expr): warns if BEGIN or END appear in the method
bodies.
* string.c (str_match): calls y =~ x if y is neither String nor
Regexp so that eregex.rb works.
* eval.c (f_at_exit): to register end proc.
* class.c (rb_define_module_function): define 'function' method
for the Module, not private method.
* class.c (rb_define_function): function to define `function' method.
* eval.c (rb_eval): inherit visibility from superclass's method
except when it is set to `function'
* eval.c (rb_eval): new visibility status `function'.
* parse.y (yycompile): do not clear eval_tree. thus enable multiple
command line script by option `-e'.
* eval.c (rb_eval): END execute just once.
* parse.y (expr): BEGIN/END built in the syntax.
Thu Dec 11 13:14:35 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (mod_le): Module (or Class) comparison.
* eval.c (rb_remove_method): raises NameError if named method does
not exist.
* ext/curses/curses.c: remove CHECK macro for BSD curses.
Thu Dec 11 12:44:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* pack.c: sun4 cc patch
Wed Dec 10 15:21:36 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/marshal/marshal.c (marshal_load): can supply evolution proc
object as optional second argument.
* re.c (reg_source): get source string of the regular expression.
Tue Dec 9 10:05:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b1 released.
* parse.y (tokadd): token buffer overrun.
* ruby.c (ruby_prog_init): forgot to protect rb_argv0 from gc.
* eval.c (ruby_run): call finalizers at process termination.
* gc.c (gc_call_finalizer_at_exit): call free proc for every Data
Wrapper, and finalizer for specified objects at termination.
* version.c (show_version): version format changed.
* regex.c (re_match): wrong match with non-greedy if they appear
more than once in regular expressions.
* sample/ruby-mode.el (ruby-expr-beg): forgot to handle modifiers.
Mon Dec 8 19:00:15 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_puts): just put a newline if no argument given.
* ext/tcltklib/tcltklib.c (lib_mainloop): thread-aware tk handle
when $tk_thread_safe is set.
* ext/tcltklib/tcltklib.c (lib_mainloop): use Tcl_DoOneEvent()
instead of Tk_MainLoop().
Mon Dec 6 07:11:16 1997 MAEDA shugo <shugo@po.aianet.ne.jp>
* io.c (io_puts): core dumped without any argument.
Fri Dec 5 18:17:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (mod_remove_method): remove (not undef) a method from the
class/module.
* variable.c (obj_remove_instance_variable): method to remove
instance variables.
Thu Dec 4 13:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1b0 released.
* string.c (str_aref): called str_index for regexp.
Mon Dec 1 15:24:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* compar.c (cmp_between): wrong comparison made.
Wed Nov 26 18:18:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* lib/mkmf.rb: generate Makefile for extension modules out of ruby
source tree. use like `ruby -r mkmf extconf.rb'.
* numeric.c (fix2str): enlarge buffer to prevent overflow on some
machines.
* parse.y (here_document): wrong line number generated after here-doc.
Fri Nov 21 13:17:12 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (yylex): skip multibyte characters in comments.
Wed Nov 19 17:19:20 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (nil_to_a): nil.to_a => [].
* parse.y (call_args): wrong node generation.
Tue Nov 18 10:13:08 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* array.c (Init_Array): Array#=== works as Array#include?
* regex.c (re_compile_pattern): insert initialize code for jump_n,
before entering loops.
* re.c (reg_search): does not save registers unless $& etc appear
in the script.
Mon Nov 17 13:01:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (is_defined): add defined? check for receivers and
arguments for calls.
* re.c (reg_search): cache last match object.
* re.c (match_aref): $[0] etc. are available.
Sat Nov 15 00:11:36 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_s_popen): "rb" detection
Fri Nov 14 18:28:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (scan_once): returns whole match if the pattern does
not contain any parentheses.
Thu Nov 13 14:39:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (str_sub): returns copy of the receiver string, even if
any substitution occurred.
* regex.c (re_compile_pattern): no-width match by (?=..), (?!..).
Wed Nov 12 13:44:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* time.c: remove coerce from Time class.
* regex.c (re_match): non-greedy match by ??, *? +?, {n,m}?.
Mon Nov 10 11:24:51 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): non-registering parens (?:..).
* regex.c (re_compile_pattern): new meta character \< (wordbeg)
and \> (wordend).
* regex.c (re_compile_pattern): embedded comment for regular
expression by (?#...).
Fri Nov 7 16:58:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* regex.c (re_compile_pattern): perl5 regxp \A and \Z available.
* regex.c (re_compile_pattern): can expand compile stack dynamically.
* regex.c (PUSH_FAILURE_POINT): wrong compare condition.
Wed Nov 2 16:00:00 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_sub_s): "".sub! "", "" => "\000"
Fri Oct 31 15:52:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assoc): keyword assoc like {fg->"black"}.
Thu Oct 30 17:33:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_println): print with newline, which is not affected by
the values of $/ and $\.
Thu Oct 30 16:54:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* string.c (str_chop_bang): "".chop caused SEGV.
* string.c (str_chomp_bang): method to chop out last newline.
Mon Oct 27 13:49:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/extmk.rb.in: library may have pathname contains `.'
* eval.c (rb_rescue): should not protect SystemError.
Fri Oct 24 10:58:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_s_with_open_stream): ensures to close stream.
Thu Oct 23 11:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_errset): value of $stderr can be changed (to any IO
object).
* io.c (next_argv): $< can be anything that responds to `write'.
* file.c (file_s_with_open_file): ensures to close file.
* error.c (exception): create error under the current class/module.
* range.c (range_eqq): fixnum check for last needed too.
Wed Oct 22 12:52:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/socket/socket.c: Socket::Constants added.
* file.c: File::Constants added for inclusion.
* array.c (ary_join): call ary_join() recursively for the 1st
array element.
Mon Oct 20 12:18:29 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ruby.c (load_file): wrong condition for #! check with -x.
* file.c (file_s_dirname): did return "" for "/a".
Fri Oct 17 14:29:09 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c: now works on alpha-linux.
* bignum.c (bigadd): some undefined side effect order assumed.
Wed Oct 15 17:49:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* intern.h: function prototypes added.
Mon Oct 13 16:54:18 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (rb_define_class_id): call superclass's `inherited'
method when making subclasses.
* parse.y (nextc): clear lex_lastline at the end of file.
* object.c (Init_Object): need to undef Class#append_features.
* eval.c (rb_eval): no warning on extending classes or modules.
Thu Oct 9 11:17:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (error_print): the exception name follows after the error
message.
* eval.c (compile_error): error message slightly changed.
* parse.y (nextc): script parsing will be terminated by __END__ at
beginning of line.
* eval.c (compile_error): `__END__' is no longer a keyword.
* parse.y (nextc): protect lastline read from script stream.
Tue Oct 7 14:06:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha9 released.
* eval.c (mod_append_features): renamed from extend_class.
* eval.c (rb_eval): defining method calls `method_added'.
* eval.c (ruby_options): exception while processing options must
terminate the interpreter.
* error.c (Init_Exception): wrong method configuration. `new'
should have been a singleton method.
Mon Oct 6 18:55:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/kconv/kconv.c (kconv_guess): code to guess character code
from string.
Mon Oct 6 18:38:17 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* pack.c: now encode/decode base64 by `m' template.
Fri Oct 3 10:51:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* MANIFEST: needed to include lex.c in the distribution.
* eval.c (ruby_options): f_require() called too early.
* eval.c (rb_provide): module extensions should always be `.o'.
Thu Oct 2 11:38:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha8 released.
* ext/marshal/marshal.c (r_object): remove temporal regist for
structs. (caused problem if structs form cycles.)
* parse.y (match_gen): static binding for match(=~) calls
with regexp literals.
Wed Oct 1 15:26:55 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c: protect retval in struct tag from GC for C_ALLOCA.
* eval.c: no more pointer value from setjmp/longjmp.
Wed Oct 1 14:01:49 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/marshal/marshal.c (w_byte): argument must be char.
Wed Oct 1 10:30:22 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (mod_const_at): global constants now belongs to the
class Object.
* object.c (Init_Object): new global constant NIL.
* ext/marshal/marshal.c (marshal_dump): try to set binmode.
* ext/marshal/marshal.c (r_object): forgot to re-regist structs in
the object table.
* eval.c (ruby_options): call Init_ext() before any require()
calls by `-r'.
Fri Sep 30 14:29:22 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/marshal/marshal.c (w_object): marshal dumped core.
Tue Sep 30 10:27:39 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* sample/test.rb: bignum test suits added.
* eval.c (rb_eval): new pseudo variable `true' and `false'.
* parse.y: new keywords `true' and `false' added.
Mon Sep 29 13:37:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (forbid_setid): forbid some options in suid mode.
* ruby.h (NUM2DBL): new macro to convert into doubles.
Mon Sep 27 09:53:48 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
* bignum.c: modified for speeding.
Fri Sep 26 18:27:59 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* sample/from.rb: some extensions.
Mon Sep 29 13:15:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (lhs): no more syntax error on `obj.CONSTANT = value'.
Fri Sep 26 14:41:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (ruby_run): deferred calling Init_ext() just before eval_node.
Fri Sep 26 13:27:24 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* io.c (io_isatty): forgot to return TRUE value.
Fri Sep 25 11:10:58 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
* eval.c: use _setjmp/_longjmp instead of setjmp/longjmp on some
platforms.
Wed Sep 24 17:43:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* string.c (Init_String): String#taint and String#taint? added.
* class.c (mod_ancestors): ancestors include the class itself.
Wed Sep 24 00:57:00 1997 Katsuyuki Okabe <HGC02147@niftyserve.or.jp>
* X68000 patch.
Tue Sep 23 20:42:30 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
* parse.y (node_newnode): SEGV on null node setup.
Mon Sep 22 11:22:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_prog_init): wrong safe condition check.
Sun Sep 21 14:46:02 1997 MAEDA shugo <shugo@po.aianet.ne.jp>
* error.c (exc_inspect): garbage added to classpath.
Fri Sep 19 11:49:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (newtok): forgot to adjust buffer size when shrinking
the token buffer.
* enum.c (enum_find): rb_eval_cmd() does not return value.
* io.c (pipe_open): close fds on pipe exec. fcntl(fd, F_SETFD, 1)
no longer used.
Tue Sep 16 17:54:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* file.c (f_test): problem if wrong command specified.
* ruby.c (ruby_prog_init): close stdaux and stdprn for MSDOS.
* ruby.c (ruby_prog_init): should not add path from environment
variable, if ruby is running under setuid.
* process.c (init_ids): check suid check for setuid/seteuid etc.
Mon Sep 15 00:42:04 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* regex.c (re_compile_pattern): \w{3} and \W{3} did not work.
Thu Sep 11 10:31:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha7 released.
* ext/socket/socket.c (sock_new): no setbuf() for NT.
* io.c (rb_fopen,rb_fdopen): set close-on-exec for every fd.
Wed Sep 10 15:55:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ext/marshal/marshal.c (r_bytes0): extra big length check.
Tue Sep 9 16:27:14 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (pipe_fptr_atexit): clean up popen()'ed fptr.
* error.c (set_syserr): some system has error code that is bigger
than sys_nerr. grrr.
Mon Sep 8 18:33:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* io.c (io_s_new): dereferenced nil for optional mode.
Fri Sep 5 10:26:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (class_instance_methods): do not include methods which
are changed to private in subclasses.
Thu Sep 4 12:38:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* variable.c (f_global_variables): list name of the global
variables.
* object.c (obj_id): returns unique integer.
Wed Sep 3 14:05:16 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha6 released.
* eval.c (mod_s_constants): context sensitive constant list.
* variable.c (mod_constants): no more `all' option.
* variable.c (mod_const_of): the values for autoload classes are
their name strings.
* class.c (class_instance_methods): no special treatment for
singleton classes.
* object.c (obj_singleton_methods): returns list of singleton
method names.
* parse.y (yylex): no here document after `class' keyword.
* eval.c (f_load): expand path if fname begins with `~'.
Tue Sep 2 13:19:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (ins_methods_i): do not list undef'ed methods.
Mon Sep 1 13:42:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha5 released.
* object.c (mod_attr_reader): create methods to define attribute
reader/write/accessor.
* class.c (rb_define_attr): always defines accessors.
* eval.c (rb_call): alias occurred in the module body caused SEGV.
* parse.y: did not generate here document strings properly.
Mon Sep 1 11:43:57 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* parse.y (yylex): heredoc dropped an extra character.
Fri Aug 29 11:10:21 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (class_instance_methods): same method names should not
appear more than once.
* parse.y (yylex): spaces can follow =begin/=end.
* variable.c (find_class_path): look for class_tbl also for
unnamed fundamental classes, such as Object, String, etc.
* variable.c (rb_name_class): can't name class before String class
is initialized.
* inits.c (rb_call_inits): unrecognized dependency from GC to
Array.
* variable.c (find_class_path): could not find class if Object's
iv_tbl is NULL.
Thu Aug 28 13:12:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha4 released.
* variable.c (mod_constants): wrong condition for singleton
class.
* parse.y (yylex): revised `=begin' skip code.
* parse.y (here_document): forgot to free(eos).
* parse.y (yylex): spaces after `<<' prohibited for here
documents to avoid confusing with operator `<<'.
* eval.c (is_defined): separated from rb_eval().
Wed Aug 27 11:32:42 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha3 released.
* variable.c (mod_name): returns name of the class/module.
* parse.y (here_document): finally here document available now.
* variable.c (fc_i): some classes/modules does not have iv_tbl.
* variable.c (find_class_path): avoid infinite loop.
Tue Aug 26 13:43:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (rb_eval): undef'ing non-existing method will raise
NameError exception.
* object.c (class_s_new): needed to create metaclass too.
* eval.c (error_print): no class name print for anonymous class.
* eval.c (rb_longjmp): proper exception raised if raise() called
without arguments, with $! or $@ set.
* object.c (Init_Object): superclass()'s method argument setting
was wrong again.
* class.c (mod_ancestors): list superclasses and included modules
in priority order.
Mon Aug 25 11:53:11 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha2 released.
* sample/ruby-mode.el (ruby-parse-region): auto-indent now
supports "\\" in the strings.
* struct.c (struct_getmember): new API to get member value from C
language side.
Sat Aug 23 21:39:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* parse.y (assignable): remove unnecessary local variable
initialize by nil.
Fri Aug 22 14:26:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (error_print): modified exception print format.
Thu Aug 21 16:10:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* sample/ruby-mode.el (ruby-calculate-indent): wrong indent level
calculated with keyword operators.
Thu Aug 21 11:36:58 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* parse.y (arg): ary[0] += 1 cause SEGV
Wed Aug 20 17:28:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* ruby.c (ruby_process_options): require() all modules after
processing all options
* process.c (rb_proc_exec): more security checks added.
* process.c (rb_proc_exec): insecure path on exec.
* hash.c (f_getenv): PATH modification security check.
Tue Aug 19 00:15:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha1 released.
* eval.c (mod_eval): work as normal eval() if second binding
argument given.
* eval.c (rb_call): did not raise ArgumentError if too many
arguments more than optional arguments (without rest arg).
* eval.c (rb_eval): did not work well for op_asgn2 (attribute
self assignment).
* eval.c (Init_Thread): returns main thread.
Mon Aug 18 09:25:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* object.c (inspect_i): did not display T_DATA instance variables.
* parse.y: provides more accurate line number information.
* eval.c (thread_value): include value's backtrace information in
the variable `$@'.
* eval.c (f_abort): print backtrace and exit.
Sat Aug 16 00:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (class_new_instance): do not make instance from virtual
classes.
* object.c (class_s_new): do not make subclass of singleton class.
Fri Aug 15 15:49:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* eval.c (call_trace_func): block context switch in the trace
function.
* eval.c (rb_eval): clear method cache at class extension.
* object.c (obj_type): returns object's class even if it defines
singleton methods.
Fri Aug 15 19:40:43 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* ext/socket/socket.c (Init_socket): small typo caused SEGV.
Wed Aug 13 17:51:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.1 alpha0 released.
|