summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 37160ed748d0e6ed26df881876b28972c5fb3375 (plain)
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
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
Mon Mar 27 01:41:37 2017  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: improve ICC (Intel C Compiler) support.

	* configure.in (CXX): The name of icc's c++ compiler is `icpc`.

	* configure.in (warnings): Add `-diag-disable=2259` to suppress
	  noisy warnings: "non-pointer conversion from "..." to "..." may
	  lose significant bits".

	* configure.in (optflags): Add `-fp-model precise` like -fno-fast-math.

	* lib/mkmf.rb: icc supports -Werror=division-by-zero
	  and -Werror=deprecated-declarations, but doesn't support
	  -Wdivision-by-zero and -Wdeprecated-declarations.

Sun Mar 26 17:24:02 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* thread.c (rb_thread_fd_close): unintentionally removed at r58094.

Sun Mar 26 16:24:02 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):
	  may fix the test failure on some platforms introduced at r58108.

Sun Mar 26 16:22:03 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	envutil.rb: timeout_error argument to invoke_ruby

	* test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional
	  keyword argument, the exception class to be raised if the target
	  process timed out.  if it is nil, no exception will be raised at
	  timeout but the terminated output, error, and status will be
	  returned.  defaulted to Timeout::Error.

	* test/lib/envutil.rb (assert_separately): check outputs and
	  status (including diagnostic reports) of timed-out process.

Sun Mar 26 13:07:21 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* thread.c (rb_thread_sleep_deadly_allow_spurious_wakeup): need to
	  mark as exported.  this may fix the load error introduced at r58115.

Sun Mar 26 03:55:45 2017  Marcus Stollsteimer  <sto.mar@web.de>

	docs for creating arrays

	* array.c: [DOC] add example for Array.new with block and index.
	  Reported by Don Cruickshank.  [ruby-core:68442] [Bug #10944]

Sun Mar 26 03:55:01 2017  Marcus Stollsteimer  <sto.mar@web.de>

	date_core.c: fix error in DateTime docs

	* ext/date/date_core.c: [DOC] fix format string for DateTime#rfc3339.
	  Reported by Andreas Rayo Kniep.  [ruby-core:68418] [Bug #10936]

	* ext/date/date_core.c: [DOC] ditto for DateTime#iso8601 and
	  DateTime#xmlschema; other small improvements.

Sun Mar 26 03:54:16 2017  Marcus Stollsteimer  <sto.mar@web.de>

	io.c: improve docs

	* io.c: [DOC] improve and harmonize docs for IO#read and ARGF#read;
	  fix invalid example code for IO#read to make it syntax highlighted.

	* io.c: [DOC] various improvements for docs of IO, ARGF, and Kernel:
	  fix indent to ensure correct code block detection; sync "outbuf"
	  paragraph for {IO,ARGF}#read, {IO,ARGF}#readpartial, and IO#sysread;
	  fix formatting of call-seq's; improve Kernel#open example to use nil?;
	  fix RDoc markup and typos.

Sun Mar 26 03:42:37 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	vm_method.c: resolve refined method to undef

	* vm_method.c (rb_undef): resolve the method entry which refines a
	  prepended method entry.  [ruby-core:78944] [Bug #13096]

Sun Mar 26 03:36:29 2017  Marcus Stollsteimer  <sto.mar@web.de>

	date_core.c: expand docs for Date shifting

	* ext/date/date_core.c: [DOC] expand docs for Date shifting

	  * add examples for Date#>> and Date#<< that clarify some edge cases
	  * add examples for Date#next_year and Date#prev_year
	  * add cross references to Date#>> and Date#<<

	  [ruby-core:79584] [Bug #13225]

Sun Mar 26 03:35:09 2017  Marcus Stollsteimer  <sto.mar@web.de>

	lib/ostruct.rb: [DOC] revise docs for OpenStruct

	* update paragraph on implementation:
	  define_singleton_method is used, not define_method
	* add call-seq with return values for each_pair
	* adopt description of dig from Array and Hash
	* fix description of the hash method
	* :nodoc: initialize_copy, respond_to_missing?
	* other small improvements, e.g. use the term `attribute' in the docs
	  (instead of `member'), which is clearer for users of the class
	* improve code examples: e.g. use more consistent style (always use
	  double quotes, drop `p' and `puts', ...), update inspect output,
	  use example data that is not prone to change (like population)
	* add more code examples
	* fix some small errors and grammar

	[ruby-core:79265] [Bug #13159]

Sun Mar 26 03:31:18 2017  Eric Wong  <normalperson@yhbt.net>

	doc: improve documentation for Binding [ci skip]

	* remove explicit return from code examples
	* grammar fixes
	* other small fixes

	Patch by: Marcus Stollsteimer <sto.mar@web.de>

	[ruby-core:79082] [Bug #13132]

Sun Mar 26 03:28:27 2017  Marcus Stollsteimer  <sto.mar@web.de>

	nodoc OptParse

	* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
	  to avoid leaking of its documentation (OptionParser's docs) into
	  the class documentation of Object.  [ruby-core:79909] [Bug #13281]

Sun Mar 26 03:26:56 2017  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	rational.c: fix rdoc

	* rational.c: [DOC] fix wrong indentations and comment out some lines
	  in code examples to make them valid Ruby code and syntax highlighted
	  on the rendered page.

	[ci skip] [ruby-core:79607] [Bug #13233]
	Author:    Marcus Stollsteimer <sto.mar@web.de>

Sun Mar 26 03:24:28 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	fileutils.rb: do not make root

	* lib/fileutils.rb (FileUtils#mkdir_p): no need to make root
	  directory which should be exist and cannot be made with mkdir
	  recent Cygwin can make a directory contains a colon.
	  [Bug #13214]

Sun Mar 26 03:22:34 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	win32/resolv.rb: ad hoc workaround

	* ext/win32/lib/win32/resolv.rb (Win32::Resolv::SZ): an ad hoc
	  workaround for broken registry.  SearchList and other registry
	  values must be REG_SZ, or Windows ignores anything in those
	  values otherwise.  [ruby-dev:49924] [Bug #13081]
	  https://github.com/rubygems/rubygems/issues/1700
	win32/registry.rb: registry type names

	* ext/win32/lib/win32/registry.rb (Win32::Registry#read): show
	  registry type names instead of numeric values.

Sun Mar 26 03:19:17 2017  Eric Wong  <normalperson@yhbt.net>

	doc: Add example for Symbol#to_s

	* string.c: add example for Symbol#to_s.

	The docs for Symbol#to_s only include an example for
	Symbol#id2name, but not for #to_s which is an alias;
	the docs should include examples for both methods.

	From: Marcus Stollsteimer <sto.mar@web.de>

Sun Mar 26 03:16:16 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	rational.c: infinity in power

	* rational.c (nurat_expt): return Infinity due to overflow.
	  [ruby-core:79686] [Bug #13242]:
	rational.c: infinity in power

	* rational.c (nurat_expt): return 0 due to overflow.
	  [ruby-core:79686] [Bug #13242]:

Sun Mar 26 03:13:17 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	vm.c: check type of hash to merge

	* vm.c (core_hash_merge): check the type of the target hash to
	  merge.  [ruby-core:78536] [Bug #13015]

Sun Mar 26 03:07:08 2017  Koichi Sasada  <ko1@atdot.net>

	use TRUE/FALSE.

	define rb_thread_sleep_deadly_allow_spurious_wakeup().

	* thread.c, thread_sync.c: define new function
	  rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
	  using sleep_forever() directly.

	allow Queue operation in trap.

	* thread_sync.c: allow spurious wakeup to check Queue status just after trap.
	  [Bug #12405]

	* test/thread/test_queue.rb: add a test for it.

	test_queue.rb: fix portability

	* test/thread/test_queue.rb (test_queue_with_trap): fix
	  portability.  use SIGINT instead of SIGUSR2 which is supported
	  on not all platforms.

Sun Mar 26 02:44:16 2017  Akinori MUSHA  <knu@iDaemons.org>

	* doc/syntax/literals.rdoc (Strings): [DOC] Revise the character
	  literal part.

Sun Mar 26 02:44:16 2017  Akinori MUSHA  <knu@iDaemons.org>

	* doc/syntax/literals.rdoc (Strings): [DOC] Document the full list
	  of supported escape sequences in string literals.

Sun Mar 26 02:44:16 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* doc/syntax/literals.rdoc (Strings): mention about ?a literal.

Sun Mar 26 02:37:23 2017  Eric Wong  <normalperson@yhbt.net>

	doc: restore class documentation for Struct

	* struct.c: restore class documentation for Struct
	  that disappeared with r46663.

	Due to r46663, the class documentation for Struct disappeared.
	(The revision inserted the definition of `InitVM_Struct` between
	the rdoc and the definition of `Init_Struct`.)

	The docs are rendered for 2.1: <https://docs.ruby-lang.org/en/2.1.0/Struct.html>,
	but not for later versions, see: <https://docs.ruby-lang.org/en/2.2.0/Struct.html>
	(Same for `ri` pages).

	[ruby-core:79416] [Bug #13189]

Sun Mar 26 02:36:34 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	Enumerable#{min,min_by,max,max_by} [ci skip]

	* enum.c: [DOC] Enumerable#{min,min_by,max,max_by} return a sorted
	  array when +n+ argument is used.

	* enum.c: Small typo : minimum -> maximum

	[Bug #13161]
	Author:    Eric Duminil <eric.duminil@gmail.com>

Sun Mar 26 02:35:17 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (process_options): convert -e script to the encoding
	  given by a command line option on Windows.  assume it is the
	  expected encoding.  [ruby-dev:49461] [Bug #11900]

Sun Mar 26 02:34:13 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	rational.c: fix rdoc [ci skip]

	* rational.c (rb_rational_plus): [DOC] fix an example.
	  A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
	  [ruby-core:71755].  [Bug #11752]

Sun Mar 26 02:32:12 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (poll_child_status): rb_w32_wait_events_blocking() sets
	  errno internally, then should not set it here.

Sun Mar 26 02:27:37 2017  Koichi Sasada  <ko1@atdot.net>

	check thread deadness correctly.

Sun Mar 26 02:13:04 2017  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_exception.rb: fix thread issues.
	  * use Queue instead of a local variable for synchronization.
	  * join created thread to soleve leaking threads warning.

Sun Mar 26 02:13:04 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_threadptr_raise): set cause from the called thread,
	  but not from the thread to be interrupted.
	  [ruby-core:77222] [Bug #12741]

Sun Mar 26 02:11:47 2017  Marcus Stollsteimer  <sto.mar@web.de>

	io.c: documentation for puts

	* io.c: [DOC] clarify that the 'record separator' between
	  arguments passed to 'puts' is always a newline.
	  Based on a patch by Mark Amery. [ruby-core:65801] [Misc #10403]
	* 2017-03-13

Sun Mar 26 02:08:06 2017  Marcus Stollsteimer  <sto.mar@web.de>

	proc.c: documentation for Proc#{call,yield,[]}

	* proc.c: [DOC] fix and improve docs for Proc#{call,yield,[]}:

	  * change order of Document-method directives as workaround for an
	    RDoc rendering problem where the documentation for Proc#call displays
	    a "Document-method: []" code block.  [ruby-core:79887] [Bug #13273]
	  * add missing call-seq and example for Proc#yield
	  * remove pointless cross reference to Proc#yield
	  * update description for handling of extra or missing arguments,
	    improve examples and add cross reference to #lambda?

Sun Mar 26 02:03:06 2017  Marcus Stollsteimer  <sto.mar@web.de>

	docs for IO#print

	* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
	  delete duplicate sentence, fix call-seq.
	  Based on a patch by Dario Daic. [ruby-core:78291] [Bug #12975]

Sun Mar 26 02:01:54 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	fix UTF-32 valid_encoding?

	* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
	  [ruby-core:79966] [Bug #13292]

	* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.

	* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
	  Unicode codepoints.
	fix UTF-32 valid_encoding?

	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
	  not use invalid codepoint.  [ruby-core:79966] [Bug #13292]

Sun Mar 26 01:58:03 2017  NAKAMURA Usaku  <usa@ruby-lang.org>

	* regcomp.c (set_bm_skip): Need to check the end of the string.
	  this patch is from https://github.com/k-takata/Onigmo/commit/e5c0e6c36187898bb27960cd66d591f172558848 .
	  [Backport #12997]

Sun Mar 26 01:48:05 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	date_core.c: [DOC] revise docs [ci skip]

	* fix malformed rdoc for Date#today, Date._strptime,
	  and DateTime._strptime
	* add code examples for Date#<< and Date#>> to demonstrate
	  that different dates can result in the same return value
	* use Date::ITALY in call-seq instead of only ITALY
	* fix some copy/paste mistakes where Date should be DateTime
	* fix various errors and grammar
	* fix cross references and formatting

	[ruby-core:79433] [Bug #13193]
	Author:    Marcus Stollsteimer <sto.mar@web.de>

Sun Mar 26 01:35:25 2017  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	lib/ostruct.rb: Fix returned value of each_pair.

	From a patch by Marcus Stollsteimer. [Fixes #13169]

Sun Mar 26 01:31:54 2017  Benoit Daloze  <eregontp@gmail.com>

	fix optimization for hash aset/aref with fstring

	Patch by Eric Wong [ruby-core:78797].
	I don't like the idea of making insns.def any bigger to support
	a corner case, and "test_hash_aref_fstring_identity" shows
	how contrived this is.

	[ruby-core:78783] [Bug #12855]
	adjust indent [ci skip]

Sun Mar 26 01:29:17 2017  Shugo Maeda  <shugo@ruby-lang.org>

	string.c: rindex(//) should set $~.

	This seems a bug introduced by r520 (1.4.0).  [ruby-core:79110] [Bug #13135]

Sun Mar 26 01:15:34 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	disable critical-error-handler

	* win32/win32.c (rb_w32_sysinit): disable critical-error-handler
	  message box even on mswin, regardless of runtime DLL version.
	  [ruby-dev:49988] [Bug #13254]

Sun Mar 26 01:14:19 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	broken mingw

	* configure.in: check whether frexp and modf are broken.

	* include/ruby/win32.h (frexp, modf): ignore bad declarations when
	  compiling as C++.  [ruby-core:79859] [Bug #13267]

Sun Mar 26 01:13:11 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	parallel.rb: fix intervention

	* test/lib/test/unit/parallel.rb (_report): send a response and a
	  newline atomically, to get rid of intervention with "p" which
	  runs in a separate thread.

Sun Mar 26 01:03:27 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	io.c: close before wait

	* io.c (io_close_fptr): notify then close, and wait for other
	  threads before free fptr.  [ruby-core:79262] [Bug #13158]

Sun Mar 26 00:47:52 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	io.c: fix race between read and close

	* io.c (io_fillbuf): fix race between read and close, in the case
	  the IO gets closed before the reading thread achieve the lock.
	  [ruby-core:78845] [Bug #13076]
	thread.c: fix race between read and close

	* thread.c (rb_thread_fd_close): wait until all threads using the
	  fd finish the operation, not to free the buffer in use.
	  [ruby-core:78845] [Bug #13076]
	revert a part of r57199

	* io.c (io_fillbuf): revert a part of r57199 because it broke IO#getch.
	  see also [Bug #13076]

	io.c: fix race between read and close

	* io.c (io_fillbuf): fix race between read and close and bail out
	  in the case the IO gets closed before the reading thread achieve
	  the lock.  [ruby-core:78845] [Bug #13076]

Sun Mar 26 00:39:40 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	class.c: non-keyword hash class

	* class.c (rb_extract_keywords): keep the class of non-keyword
	  elements hash as the original.  [ruby-core:77813] [Bug #12884]

Sun Mar 26 00:36:01 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	string.c: block for scrub with ASCII-incompatible

	* string.c (rb_enc_str_scrub): honor the given block with
	  ASCII-incompatible encoding.  [ruby-core:79039] [Bug #13120]
	string.c: yield invalid part

	* string.c (rb_enc_str_scrub): yield the invalid part only with
	  ASCII-incompatible.  [ruby-core:79039] [Bug #13120]
	string.c: replacement and block

	* string.c (rb_enc_str_scrub): only one of replacement and block
	  is allowed.  [ruby-core:79038] [Bug #13119]

Sun Mar 26 00:30:36 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	compile.c: check err_info

	* compile.c (iseq_setup): bail out if any errors found.
	  [ruby-core:76531] [Bug #12613]

Sun Mar 26 00:19:09 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	rational.c: memory leak in gcd

	* rational.c (rb_gcd_gmp): fix memory leak.  patched by KISHIMOTO,
	  Makoto <ksmakoto AT dd.iij4u.or.jp> in [ruby-dev:49934].
	  [Bug #13089]

Sun Mar 26 00:16:04 2017  Kazuki Yamaguchi  <k@rhe.jp>

	pack.c: avoid returning uninitialized String

	Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an
	uninitialized String to Ruby before filling the content bytes.
	Fixes r11175 ("pack.c (pack_unpack): execute block if given with
	unpacked value instead of creating an array", 2006-10-15).
	[ruby-core:78841] [Bug #13075]
	test/ruby/test_pack.rb: fix test case added by r57187

	The test case for String#unpack added by r57187 is not properly testing
	because the String will be filled after the block invocation.
	[ruby-core:78841] [Bug #13075]

	Thanks to nagachika for pointing this out:

	  http://d.hatena.ne.jp/nagachika/20161226/ruby_trunk_changes_57184_57194#r57187

Sun Mar 26 00:09:48 2017  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	ruby-lex.rb: fix for label

	* lib/irb/ruby-lex.rb (identify_identifier): treat identifier just
	  followed by a colon as a lable.  this is not a precise solution
	  but enough for the time being.  [ruby-core:78526] [Bug #13012]

Tue Dec 27 20:43:54 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* time.c (usec2subsecx): fix return type, which is a numeric object but
	  not a long int. [Bug #13066]

Tue Dec 27 20:13:12 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* re.c (match_{names,hash,equal}): consider the case of RMatch::regexp
	  is nil.

	  Don't assume RMatch::regexp always contains a valid Regexp instance;
	  it will be Qnil if the MatchData is created by
	  rb_backref_set_string(). [Bug #13054]

Tue Dec 27 20:02:43 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* array.c (rb_ary_{repeated_,}combination): check array length every
	  time after yielding.

	  Since the Array may be modified during rb_yield(), the length before
	  invoking the block can't be trusted. Fix possible out-of-bounds read
	  in Array#combination and Array#repeated_combination.

	  It may better to make a defensive copy of the Array, but for now let's
	  follow what Array#permutation does. [Bug #13052]

Tue Dec 27 19:57:51 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): fix memory corruption by width underflow.
	  https://github.com/mruby/mruby/issues/3347

Tue Dec 27 19:55:10 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	 * re.c (rb_reg_regsub): other than regexp has no name references.
	  [Bug #13042]

Tue Dec 27 19:51:43 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* encoding.c (rb_enc_ascget): handle needmore error from
	  rb_enc_precise_mbclen().

	  rb_enc_ascget() erroneously reports success even if the given byte
	  sequence is incomplete, for non-ASCII compatible encoding strings.

	  rb_enc_precise_mbclen() may return a negative value on error, and thus
	  rb_enc_ascget() must not store the return value in 'unsigned int';
	  otherwise the subsequent MBCLEN_CHARFOUND_P() check won't catch the
	  error. [Bug #13034]

Tue Dec 27 19:49:01 2016  Shugo Maeda  <shugo@ruby-lang.org>

	* cont.c, eval.c, eval_error.c, thread.c, vm_eval.c, vm_trace.c: add
	  clang volatile fixes from FreeBSD and NetBSD.

	  Use volatile instead of optnone to avoid optimization which causes
	  segmentation faults.
	  Patch by Dimitry Andric. [Bug #13014]

Tue Dec 27 19:40:09 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* README.EXT{.ja,}: [DOC] optional keyword arguments are defaulted to
	  Qundef. ignored keys are kept in the hash but a new Hash is not
	  created. [Bug #13004]

	* class.c (rb_get_kwargs): when values are stored, corresponding keys
	  have been remove from the keyword hash, and the hash should be empty
	  in that case. [Bug #13004]

Tue Dec 27 19:34:47 2016  Aaron Patterson <tenderlove@ruby-lang.org>

	* variable.c (rb_ivar_count): stop reading past the end of ivptr array.
	  [Bug #12988]

Tue Dec 27 19:32:03 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
	  [DOC] the raised exception will be re-raised in the main thread,
	  and then follows the ordinary exception sequence, exit status is
	  not 0. [Bug #12991]

	* thread.c (rb_thread_abort_exc_set): ditto.

Tue Dec 27 19:29:54 2016  Akinori MUSHA  <knu@iDaemons.org>

	* configure.in: reverse compatibility_version and current_version for
	  Darwin.

Tue Dec 27 19:10:09 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (dump_funcall, dump_check_funcall, load_funcall):
	  function calls with reentrant check.  always show names
	  corresponding to the called methods.

	* marshal.c (check_userdump_arg): marshal_dump should not return an
	  instance of the same class, otherwise it causes infinite recursion.
	  [Bug #12974]

Tue Dec 27 18:34:04 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (setup_args): duplicate splatting array if more
	  arguments present to obey left-to-right execution order.
	  [ruby-core:77701] [Bug# 12860]

Tue Dec 27 18:28:20 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dln.c (dln_load): raise LoadError instead of fatal error on
	  recent OSX, dlclose seems fixed in El Capitan or later.
	  [ruby-core:78200] [Bug #12956]

Tue Dec 27 18:17:23 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/misc/test_ruby_mode.rb (assert_indent): since write-region
	  in Emacs 25.1 no longer displays the "Wrote file" message, shows
	  the explicit message to check if successfully finished.
	  [ruby-core:77355] [Bug #12785]

Tue Nov 15 15:29:36 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): fix parsing
	  protocol list.
	  The protocol list from OpenSSL is not null-terminated.
	  patched by Kazuki Yamaguchi [Bug #11810] [ruby-core:72082]

Tue Nov 15 03:55:45 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/-test/file/fs.c (get_atime_p): Updating of file access times
	  is enabled or not.

Tue Nov 15 03:55:45 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/test_file.rb (TestFile#test_stat): fix noatime case.
	  [ruby-core:77943] [Bug #12903]

Tue Nov 15 03:54:14 2016  Shugo Maeda  <shugo@ruby-lang.org>

	* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast,
	  test_make_socket_ipv6_multicast_hops): skip if IPv6 multicast 
	  address is not available.

Tue Nov 15 03:39:07 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http.rb (transport_request): other than HTTPContinue
	  in 1xx (HTTPInformation) also needs to continue. [Bug #12890]

Sat Nov 12 07:48:07 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (mnew_internal): follow the original class, not to loop
	  the prepended module.  [ruby-core:77591] [Bug #12832]

Sat Nov 12 07:47:19 2016  Shugo Maeda  <shugo@ruby-lang.org>

	* cont.c (cont_new): disable optimization if clang's version is
	  3.8.0.  [ruby-core:77894] [Bug #12893]

Sat Nov 12 07:37:30 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): format exact number more exactly.

Sat Nov 12 07:34:03 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* ext/openssl/ossl.c (Init_openssl): register an ex_data index for
	  X509_STORE and X509_STORE_CTX respectively. Since they don't share
	  the ex_data index registry, we can't use the same index.
	  (ossl_verify_cb): use the the correct index.

	* ext/openssl/ossl_ssl.c (ossl_ssl_verify_callback): ditto.

	* ext/openssl/ossl_x509store.c (ossl_x509store_set_vfy_cb): ditto.
	  (ossl_x509stctx_verify): ditto.

	* ext/openssl/ossl.h (void ossl_clear_error): add extern declarations
	  of ossl_store_{ctx_,}ex_verify_cb_idx.

	* ext/openssl/openssl_missing.c: remove X509_STORE_set_ex_data and
	  X509_STORE_get_ex_data.

	* ext/openssl/openssl_missing.h: implement X509_STORE_get_ex_data,
	  X509_STORE_set_ex_data and X509_STORE_get_ex_new_index as macros.

Sat Nov 12 07:32:23 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
	  before initialization.

	* thread.c (thread_raise_m, rb_thread_kill): uninitialized thread
	  cannot interrupt.  [ruby-core:72732] [Bug #11959]

Thu Oct 27 16:47:57 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* eval_intern.h (TH_PUSH_TAG): Initialize struct rb_vm_tag::tag with
	  Qundef rather than 0 which is equal to Qfalse. Since Kernel#throw(obj)
	  searches a tag with rb_vm_tag::tag == obj, throw(false) can
	  accidentally find an unrelated tag which is not created by
	  Kernel#catch.  [ruby-core:77229] [Bug #12743]

	* test/ruby/test_exception.rb (test_throw_false): Add a test case for
	  this.

Thu Oct 27 16:39:56 2016  Aurelien Jacobs  <aurel@gnuage.org>

	* lib/logger.rb (Logger::Period#next_rotate_time): fix monthly log
	  rotate when DST is applied during a month of 31 days.
	  [Fix GH-1458]

Thu Oct 27 16:27:06 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* object.c: Improve documentation for Float conversion.
	  [ruby-core:71661][Bug #11736][ci skip]

Fri Oct  7 02:44:57 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/rubygems/ssl_certs/GlobalSignRootCA.pem: add for RubyGems.org.

Sat Oct  1 01:02:22 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_const_search): raise with the actual class/module
	  name which defines the private constant.

Sat Oct  1 00:57:54 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* vm_dump.c (backtrace): use rip in the saved context for the case
	  the SIGSEGV is received when the process is in userland.
	  Note that ip in the stack should be used if the signal is received
	  when it is in kernel (when it is calling syscall) [Bug #12711]

Sat Oct  1 00:56:19 2016  Aaron Patterson <tenderlove@ruby-lang.org>

	* lib/uri/generic.rb (def check_password): don't include bad password
	  in URI exception output

	* test/uri/test_generic.rb (def test_set_component): test for behavior

Sat Oct  1 00:55:19 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the
	  fd is associated to non-disk device.  if call fsync and/or fdatasync
	  with such fds, it causes Errno::EBADF exception and the behavior is
	  incompatible with ruby 2.1 and earlier unintentionally introduced.

Sat Oct  1 00:53:28 2016  Kazuki Tsujimoto  <kazuki@callcc.net>

	* array.c (flatten): use rb_obj_class instead of rb_class_of
	  because rb_class_of may return a singleton class.
	  [ruby-dev:49781] [Bug #12738]

Sat Oct  1 00:52:34 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* man/irb.1: remove useless -width option.
	  [ruby-dev:49767] [Bug #12692]

Sat Oct  1 00:49:40 2016  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (Init_win32ole): should not use atexit to
	  free allocated hash table to avoid error on Cygwin.

Sat Oct  1 00:43:11 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* test/fiddle/test_pointer.rb (test_to_str, test_to_s, test_aref_aset):
	  Attempt to use independent strings for destructive tests that
	  directly modify values on memory by using Fiddle::Pointer.
	  [Bug #12537] [ruby-dev:49700]

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c (str_buf_cat): Fix capa size for embed string.
	  Fix bug in r55547. [Bug #12536]

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c (rb_str_change_terminator_length): New function to change
	  termlen and resize heap for the terminator. This is split from
	  rb_str_fill_terminator (str_fill_term) because filling terminator
	  and changing terminator length are different things. [Bug #12536]

	* internal.h: declaration for rb_str_change_terminator_length.

	* string.c (str_fill_term): Simplify only to zero-fill the terminator.
	  For non-shared strings, it assumes that (capa + termlen) bytes of
	  heap is allocated. This partially reverts r55557.

	* encoding.c (rb_enc_associate_index): rb_str_change_terminator_length
	  is used, and it should be called whenever the termlen is changed.

	* string.c (str_capacity): New static function to return capacity
	  of a string with the given termlen, because the termlen may
	  sometimes be different from TERM_LEN(str) especially during
	  changing termlen or filling terminator with specific termlen.

	* string.c (rb_str_capacity): Use str_capacity.

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c: Partially reverts r55547 and r55555.
	  ChangeLog about the reverted changes are also deleted in this file.
	  [Bug #12536] [ruby-dev:49699] [ruby-dev:49702]

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c (str_fill_term): When termlen increases, re-allocation
	  of memory for termlen should always be needed.
	  In this fix, if possible, decrease capa instead of realloc.
	  [Bug #12536] [ruby-dev:49699]

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c: Specify termlen as far as possible.
	  Additional fix for [Bug #12536] [ruby-dev:49699].

	* string.c (str_new_static): Specify termlen from the given encoding
	  when creating a new String object is needed.

	* string.c (rb_tainted_str_new_with_enc): New function to create a
	  tainted String object with the given encoding. This means that
	  the termlen is correctly specified. Currently static function.
	  The function name might be renamed to rb_tainted_enc_str_new
	  or rb_enc_tainted_str_new.

	* string.c (rb_external_str_new_with_enc): Use encoding by using the
	  above rb_tainted_str_new_with_enc().

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX
	  is used, TERM_LEN(str) should be considered with it because
	  embedded strings are also processed by TERM_FILL.
	  Additional fix for [Bug #12536] [ruby-dev:49699].

Sat Oct  1 00:06:03 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* string.c: Fix memory corruptions when using UTF-16/32 strings.
	  [Bug #12536] [ruby-dev:49699]

	* string.c (rb_str_new_with_class): Use TERM_LEN of the "obj".

	* string.c (rb_str_plus, rb_str_justify): Use str_new0 which is aware
	  of termlen.

	* string.c (str_shared_replace): Copy +termlen bytes instead of +1.

	* string.c (rb_str_times): termlen should not be included in capa.

	* string.c (RESIZE_CAPA_TERM): When using RSTRING_EMBED_LEN_MAX,
	  termlen should be counted with it because embedded strings are
	  also processed by TERM_FILL.

	* string.c (rb_str_capacity, str_shared_replace, str_buf_cat): ditto.

	* string.c (rb_str_drop_bytes, rb_str_setbyte, str_byte_substr): ditto.

Sat Oct  1 00:00:13 2016  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_write_internal):
	  avoid undefined behavior
	* test/openssl/test_pair.rb (test_write_zero): new test
	  [ruby-core:76751] [Bug #12660]

Tue Aug 16 21:12:07 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (ADD_TRACE): ignore trace instruction on non-positive
	  line.

	* parse.y (coverage): get rid of ArgumentError when the starting
	  line number is not positive.  [ruby-core:76141] [Bug #12517]

Tue Aug 16 21:12:07 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/coverage/test_coverage.rb: ignored test when enabled to coverage.
	  It lead to crash with `make test-all`.

Tue Aug 16 21:01:55 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/mailto.rb (initialize): RFC3986_Parser#split sets opaque
	  only if the URI has path-rootless, not path-empty.
	  [ruby-core:76055] [Bug #12498]
	  patched by Chris Heisterkamp <cheister@squareup.com>

Tue Aug 16 20:59:35 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/date/date_strftime.c (date_strftime_with_tmx): reject too
	  large precision to get rid of buffer overflow.
	  reported by Guido Vranken <guido AT guidovranken.nl>.

Tue Aug 16 20:58:11 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* regcomp.c (noname_disable_map): don't optimize out group 0
	  Ruby's Regexp doesn't allow normal numbered groups if the regexp
	  has named groups. On such case it optimizes out related NT_ENCLOSE.
	  But even on the case it can use \g<0>.
	  This fix not to remove NT_ENCLOSE whose regnum is 0.
	  [ruby-core:75828] [Bug #12454]

Tue Aug 16 20:56:30 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* missing/crypt.c: fix size macros to use configured values
	  for platforms long is larger than 32bit.
	  [ruby-core:75792] [Bug #12446]

Tue Aug 16 20:40:36 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
	  GetBNPtr(). This doesn't raise exception but returns NULL on error.
	  (GetBNPtr): Raise TypeError if conversion fails.
	  (ossl_bn_eq): Implement BN#==.
	  (ossl_bn_eql): #eql? should not raise TypeError even if the argument
	  is not compatible with BN.
	  (ossl_bn_hash): Implement BN#hash.

	* ext/openssl/ossl_bn.c (Init_ossl_bn): Define #== and #hash.

	* test/openssl/test_bn.rb: Test BN#eql?, #== and #hash

Tue Aug 16 20:34:22 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (str_transcode0): scrub in the given encoding when
	  the source encoding is given, not in the encoding of the
	  receiver.  [ruby-core:75732] [Bug #12431]

Tue Aug 16 20:30:53 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* ext/openssl/ossl_pkey_dh.c (ossl_dh_compute_key): Check that the DH
	  has 'p' (the prime) before calling DH_size(). We can create a DH with
	  no parameter but DH_size() does not check and dereferences NULL.
	  [ruby-core:75720] [Bug #12428]

	* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_sign): Ditto. DSA_size() does
	  not check dsa->q.

	* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,
	  ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,
	  ossl_rsa_private_decrypt): Ditto. RSA_size() does not check rsa->n.

Tue Aug 16 20:28:24 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (enc_arg, str_transcode_enc_args, econv_args):
	  remove volatile, and add GC guards in callers.
	  [ruby-core:75664] [Bug #12411]

Tue Aug 16 14:58:50 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (build-ext), ext/extmk.rb: use variable EXTENCS
	  different than ENCOBJS, to get rid of circular dependency.
	  build libencs when linking encodings statically.
	  [ruby-core:75618] [Bug #12401]

Tue Aug 16 14:54:14 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_local_constants_i): exclude private constants
	  when excluding inherited constants too.  [Bug #12345]

Tue Aug 16 14:43:00 2016  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>

	* lib/drb/timeridconv.rb: don't use keeper thread. [Bug #12342]

	* test/drb/ut_timerholder.rb: ditto.

Tue Aug 16 14:07:18 2016  Marcus Stollsteimer  <sto.mar@web.de>

	* ext/json/lib/*.rb: Removed some comments. Because these are unnecessary
	  class description. [ci skip][Bug #12255][ruby-core:74835]

Tue Aug 16 14:06:04 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* pack.c (pack_pack): use union instead of bare variable to ease
	  optimizations and avoid assigning x87 floating point number.
	  [ruby-core:74496] [Bug #12209]

	* pack.c (pack_unpack): ditto.

Tue Aug 16 13:59:34 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/option.c, ext/socket/rubysocket.h (inet_ntop): share
	  the fallback definition.  [ruby-core:76646] [Bug #12645]

Tue Aug 16 13:52:42 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (vm_set_main_stack): remove unnecessary check.  toplevel
	  binding must be initialized.  [Bug #12611] (N1)

	* string.c (rb_str_split_m): simplify the condition.
	  [Bug #12611](N4)

Tue Aug 16 13:42:42 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* thread.c (rb_wait_for_single_fd): Clean up fds.revents every time
	  before calling ppoll(2). [Bug #12575] [ruby-dev:49725]

Tue Aug 16 13:40:26 2016  Eric Wong  <e@80x24.org>

	* lib/webrick/httpservlet/cgihandler.rb (do_GET): delete HTTP_PROXY
	* test/webrick/test_cgi.rb (test_cgi_env): new test
	* test/webrick/webrick.cgi (do_GET): new endpoint to dump env
	  [ruby-core:76511] [Bug #12610]

Tue Aug 16 13:38:36 2016  Kouhei Sutou  <kou@cozmixng.org>

	* lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong
	  entry reference name of double quote.
	  [Bug #12609][ruby-core:76509]
	  Patch by Joseph Marrero. Thanks!!!

Tue Aug 16 13:36:00 2016  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_roots): should mark the VM object itself to mark
	  singleton class of the VM object.
	  Before this patch, we only set mark bit for the VM object and
	  invoke mark function separately.
	  [Bug #12583]

	* test/ruby/test_gc.rb: add a test.

Tue Aug 16 13:29:25 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/rubygems/package.rb: Fixed potential perms issue unpacking of
	  gems on NFS.  [Backport #12579]

	* lib/rubygems.rb: bump version.

Fri Aug 12 11:48:27 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* vm_args.c (setup_parameters_complex): don't raise ArgumentError
	  if an array is given for instance_exec with optional argument.
	  [ruby-core:76300] [Bug #12568]
	  https://github.com/rails/rails/pull/25699

Fri Aug 12 11:45:02 2016  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/http/generic_rquest.rb (write_header): A Request-Line must
	  not contain CR or LF.

Fri Aug 12 11:41:41 2016  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (putline): raise an ArgumentError when
	  CR or LF is included in a line.

Fri Aug 12 11:21:24 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (tr_trans): consider terminator length and fix heap
	  overflow.  reported by Guido Vranken <guido AT guidovranken.nl>.

Tue Jul 12 00:17:36 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/fake.rb: don't fake libdir.  use libdirname instead.

Thu Jul  7 00:05:00 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* bignum.c (Init_Bignum): revert a part of previous commit (r55598),
	  because the implementation of Object#hash is a little difference from
	  trunk.  cf. [Backport #12391]

Wed Jul  6 23:02:03 2016  Kenta Murata  <mrkn@mrkn.jp>

	* bignum.c (rb_big_hash): make it public function to be available in
	  other source files, and remove documentation comment for Bignum#hash.

	* bignum.c (Bignum#hash): remove its definition because it is unified
	  with Object#hash.

	* include/ruby/intern.h (rb_big_hash): add a prototype declaration.

	* hash.c (any_hash): treat Bignum values directly.

Fri Jun 10 17:48:51 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/optparse.rb (OptionParser::Completion.candidate): get rid of
	  nil as key names.  [ruby-core:75773] [Bug #12438]

	* lib/optparse.rb (OptionParser#make_switch): char class option
	  cannot be NoArgument, default to RequiredArgument.

Fri Jun 10 17:44:59 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* re.c (unescape_nonascii): scan hex up to only 3 characters.
	  [Bug #12420] [Bug #12423]

Fri Jun 10 17:44:59 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* regparse.c (fetch_token_in_cc): raise error if given octal escaped
	  character is too big. [Bug #12420] [Bug #12423]

Fri Jun 10 17:34:09 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (rb_exec_getargs): honor the expected argument types
	  over the conversion method.  the basic language functionality
	  should be robust.  [ruby-core:75388] [Bug #12355]

Fri Jun 10 16:30:16 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
	  if/elsif statements.  [ruby-core:67720] [Bug #10763]

Fri Jun 10 16:24:29 2016  Marcus Stollsteimer  <sto.mar@web.de>

	* ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
	  documentation to RDoc from Markdown.
	  [ruby-core:75136] [Bug #12311]

Fri Jun 10 16:12:58 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_local_constants_i): exclude hidden constants.
	  [ruby-core:75575] [Bug #12389]

Fri Jun 10 16:10:23 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* regcomp.c (compile_length_tree): return error code immediately
	  if compile_length_tree raised error [Bug #12418]

Fri Jun 10 16:06:25 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/missing.h (isfinite): move from numeric.c.

Fri Jun 10 16:06:25 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
	  cygwin. [Bug #12417][ruby-core:75691]

Fri Jun 10 16:06:25 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (isfinite): isfinite does not always
	  exist.  fixed build error on Windows introduced at r55123.

Fri Jun 10 16:06:25 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): consider
	  non-finite float values not to raise FloatDomainError.
	  [ruby-core:75682] [Bug #12414]

Fri Jun 10 16:00:27 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* thread.c (recursive_list_access): a object id may be a Bignum.  so,
	  the list must be a objhash, instead of a identhash.
	  this fixes many test errors on mswin64 CI.

Fri Jun 10 15:56:24 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_modify_expand): check integer overflow.
	  [ruby-core:75592] [Bug #12390]

Fri Jun 10 15:54:05 2016  Benoit Daloze  <eregontp@gmail.com>

	* insns.def (defineclass): Also raise an error when redeclaring the
	  superclass of a class as Object and it has another superclass.
	  [Bug #12367] [ruby-core:75446]

	* test/ruby/test_class.rb: test for above.

Fri Jun 10 15:46:24 2016  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* bignum.c: [DOC] Update result of 123456789 ** -2.
	  [ruby-dev:49606] [Bug #12339]

Fri Jun 10 15:37:25 2016  Yuichiro Kaneko  <yui-knk@ruby-lang.org>

	* internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
	  instead of duplicated undef RCOMPLEX_SET_REAL.

Fri Jun 10 15:37:25 2016  Yuichiro Kaneko  <yui-knk@ruby-lang.org>

	* complex.c (rb_complex_set_imag): Fix to properly set imag
	  of complex.

Fri Jun 10 15:05:41 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c, include/ruby/win32.h (rb_w32_utruncate): implements new
	  truncate alternative which accepts UTF-8 path.

	* file.c (truncate): use above function.
	  [Bug #12340]

Fri Apr 29 20:11:38 2016  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
	  to avoid test failures due to the tzdata change.
	  https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95
	  Found by naruse.

Wed Apr 27 22:16:04 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* compile.c (new_label_body): missed backporting r54548 in r54698.
	  this fixes randomly test failure introduced by r54698.
	  cf. [Bug #12082]

Tue Apr 26 13:38:31 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* README.EXT{,.ja}: `nul` should be uppercase.
	  change 'nul' => 'NUL'.  [Fix GH-1172]
	  derived from a patch by craft4coder <yooobuntu@163.com>

	* doc/extension.rdoc: Improvements to english grammers.
	  [Bug #12246][ruby-core:74792][ci skip]
	  derived from a patch by Marcus Stollsteimer <sto.mar@web.de>

Tue Apr 26 13:25:25 2016  Marcus Stollsteimer  <sto.mar@web.de>

	* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
	  [Bug #12313][ruby-core:75147][ci skip]
	* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`

Tue Apr 26 13:22:45 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* configure.in: add missing -lm for AIX.

Tue Apr 26 13:22:45 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* configure.in: don't use the system-provided round(3) on AIX.
	  In AIX, round(0.49999999999999994) returns 1.0.
	  Use round() in numeric.c instead.

Tue Apr 26 13:18:59 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c: cygwin does not use w32_cmdvector, command line can be
	  other than UTF-8.  [ruby-dev:49519] [Bug #12184]

Tue Apr 26 13:16:41 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval_jump.c (exec_end_procs_chain): restore previous error info
	  for each end procs.  [ruby-core:75038] [Bug #12302]

Fri Apr 22 18:36:15 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (new_label_body): initialize bit fields, since
	  compile_data_alloc does not clear the memory.  [Bug #12082]

Fri Apr 22 18:36:15 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_optimize): disable tail call optimization in
	  rescued, rescue, and ensure blocks.
	  [ruby-core:73871] [Bug #12082]

Fri Apr 22 18:34:31 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
	  comments.  [ruby-core:74838] [Bug #12256]

Fri Apr 22 18:30:50 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
	  Renamed files, wrong method names or argument types; the example
	  GetDBM macro is now updated to the current version of the actual
	  code.
	  patches are derived from Marcus Stollsteimer in [ruby-core:74690].
	  [Bug #12228]

Fri Apr 22 18:22:15 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
	  [Bug #12202] [ruby-core:74802]

Fri Apr 22 18:22:15 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
	  patched by Anton Sivakov [Bug #12201] [Bug #12202]

Fri Apr 22 18:16:51 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/securerandom.rb (gen_random): to avoid blocking on Windows.
	  On Windows OpenSSL RAND_bytes (underlying implementation is
	  RAND_poll in crypto/rand/rand_win.c) may be blocked at
	  NetStatisticsGet.
	  https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues
	  Instead of this, use Random.raw_seed directory (whose implementation
	  CryptGenRandom is one of the source of
	  entropy of RAND_poll on Windows).
	  https://wiki.openssl.org/index.php/Random_Numbers
	  Note: CryptGenRandom function is PRNG and doesn't check its entropy,
	  so it won't block. [Bug #12139]
	  https://msdn.microsoft.com/ja-jp/library/windows/desktop/aa379942.aspx
	  https://tools.ietf.org/html/rfc4086#section-7.1.3
	  https://eprint.iacr.org/2007/419.pdf
	  http://www.cs.huji.ac.il/~dolev/pubs/thesis/msc-thesis-leo.pdf

Fri Apr 22 18:13:22 2016  Hiroshi Shirosaki  <h.shirosaki@gmail.com>

	* lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
	  https://github.com/rubygems/rubygems/pull/1554
	  [Bug #12193][ruby-core:74431]

Fri Apr 22 16:37:14 2016  multisnow  <infinity.blick.winkel@gmail.com>

	* ext/openssl/extconf.rb: check RAND_edg to support libressl.

	* ext/openssl/ossl_rand.c (ossl_rand_egd): define only if RAND_edg
	  is available.  [Fix GH-829]

Fri Apr 22 16:24:00 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_lgamma_r_m0): fix the condition for
	  lgamma_r(-0.0).  [Bug #12249]

Fri Apr 22 16:24:00 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0)
	  returns negative infinity.  [Bug #12249]

	* math.c (ruby_lgamma_r): define by the configured result.

Fri Apr 22 16:24:00 2016  cremno phobia  <cremno@mail.ru>

	* math.c (ruby_lgamma_r): missing/lgamma_r.c is used on Windows,
	  since msvcrt does not provide it.

	* missing/lgamma_r.c (lgamma_r): fix lgamma(-0.0).
	  [ruby-core:74823] [Bug #12249]

Fri Apr 22 16:24:00 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.
	  cf. [Bug #12249]

Fri Apr 22 16:24:00 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
	  [ruby-core:74817] [Bug #12249]

Fri Apr 22 16:00:50 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* defs/keywords (alias, undef): symbol literals are allowed.

	* parse.y (parse_percent): should parse symbol literals for alias
	  and undef.  [ruby-dev:47681] [Bug #8851]

Fri Apr 22 15:47:58 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* struct.c (struct_make_members_list): extract making member name
	  list from char* va_list, with creating symbols without
	  intermediate IDs.

Fri Apr 22 15:19:01 2016  Joe Swatosh  <joe.swatosh@gmail.com>

	* ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
	  API names.  [ruby-core:74863] [Bug #12264]

Fri Apr 22 15:13:39 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_core.h (rb_vm_struct): make at_exit a single linked list but
	  not RArray, not to mark the registered functions by the write
	  barrier.  based on the patches by Evan Phoenix.
	  [ruby-core:73908] [Bug #12095]

Fri Apr 22 15:08:27 2016  Benoit Daloze  <eregontp@gmail.com>

	* thread.c (update_coverage): Do not track coverage in loaded files
	  after Coverage.result. Avoids out-of-bounds access. [Bug #12237]

	* ext/coverage/coverage.c (coverage_clear_result_i): document.

Fri Apr 22 14:56:46 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
	  of DateTime.  [ruby-core:74729] [Bug #12233]

Fri Apr 22 14:48:09 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parse_ident): allow keyword arguments just after a
	  method where the same name local variable is defined.
	  [ruby-core:73816] [Bug#12073]

Fri Apr 22 14:34:27 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (setup_exception): set the cause only if it is explicitly
	  given or not set yet.  [Bug #12068]

Fri Apr 22 14:13:28 2016  sorah (Shota Fukumori)  <her@sorah.jp>

	* lib/forwardable.rb: Convert given accessors to String.

	  r53381 changed to accept only Symbol or String for accessors, but
	  there are several rubygems that pass classes (e.g. Array,
	  Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
	  returns its class name. After r53381 given accessors are checked
	  with define_method, but it accepts only Symbol or String, otherwise
	  raises TypeError.

	      def_delegator Foo, :some_method

	  This change is to revert unexpected incompatibility. But this behavior
	  may change in the future.

Fri Apr 22 14:13:28 2016  Elliot Winkler  <elliot.winkler@gmail.com>

	* lib/forwardable.rb (def_instance_delegator) fix delegating to
	  'args' and 'block', clashing with local variables in generated
	  methods.  [ruby-core:72579] [Bug #11916]

	* lib/forwardable.rb (def_single_delegator): ditto.

Fri Apr 22 13:41:38 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (compile_massign_lhs): when index ends with splat,
	  append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
	  splats the last argument only.  [ruby-core:72777] [Bug #11970]

Thu Mar 31 05:06:02 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): fix buffer overflow, length must be
	  greater than precision.  reported by William Bowling <will AT
	  wbowling.info>.

Thu Mar 31 04:49:05 2016  Kimura Wataru  <kimuraw@i.nifty.jp>

	* test/ruby/test_io.rb: handled rlimit value same as r52277
	  [Bug #11852][ruby-dev:49446]

Wed Mar 30 06:37:56 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/extlibs.rb (do_patch): let "patch" command change the
	  working directory and open the patch file there, instead of
	  spawn options, so that proper error message will be shown by the
	  command not just "chdir" or "open".

Wed Mar 30 06:11:36 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* thread_pthread.c (reserve_stack): fix reserving position where
	  the stack growing bottom to top. [Bug #12118]

Wed Mar 30 06:04:18 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* .travis.yml: removed commented-out code.

Wed Mar 30 06:04:18 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* .travis.yml: removed osx code. follow up with r53517

Wed Mar 30 06:04:18 2016  Aaron Patterson <tenderlove@ruby-lang.org>

	* .travis.yml: update libssl before running tests. 
	  Thanks to Chris Sinjakli <chris@sinjakli.co.uk> for figuring out the
	  travis settings!

Wed Mar 30 06:04:18 2016  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: removed Ruby 1.9.3 build on Travis CI

Wed Mar 30 06:04:18 2016  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: Remove redundant configuration option.
	  [fix GH-809] Patch by @gxworld

Wed Mar 30 05:15:04 2016  Kazuki Yamaguchi  <k@rhe.jp>

	* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
	  function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
	  even if it is disabled by OpenSSL configuration.
	  [ruby-core:74384] [Bug #12182]

	* ext/openssl/ossl_ssl.c: update #ifdef(s) as above.

	* test/openssl/test_ssl.rb: skip NPN tests if NPN is disabled.

Wed Mar 30 05:13:25 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
	  missing mandatory arguments.  [ruby-core:74540] [Bug #12215]

Tue Mar 29 02:22:35 2016  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* lib/uri/mailto.rb: raising URI::InvalidComponentError instead
	  of failing with undefined method `split' for nil:NilClass for
	  mailto: URIs without opaque part. [Bug #10738]
	* test/uri/testuri.rb: Test for above

Tue Mar 29 02:08:40 2016  Koichi Sasada  <ko1@atdot.net>

	* signal.c: should also clear ruby_disable_gc.
	  [Bug #11692]

Tue Mar 29 02:04:18 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, "+...+"
	  cannot enclose non-identifier characters.
	  a patch by Sebastian S in [ruby-core:74278].  [Bug#12170]

Tue Mar 29 02:02:53 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/-ext-/float/test_nextafter.rb: In AIX,
	  nextafter(+0.0,-0.0)=+0.0, and nextafter(-0.0,+0.0)=-0.0,
	  but they should return -0.0 and +0.0, respectively. This is
	  a known bug in nextafter(3) on AIX, so skip related tests.

Tue Mar 29 01:56:24 2016  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* lib/rubygems/installer.rb: merge partially r49511.
	  cherry picking https://github.com/rubygems/rubygems/commit/f9232680
	  [Bug #12066]

Tue Mar 29 01:41:10 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (enc_succ_alnum_char): try to skip an invalid character
	  gap between GREEK CAPITAL RHO and SIGMA.
	  [ruby-core:74478] [Bug #12204]

Tue Mar 29 01:27:52 2016  Victor Nawothnig  <Victor.Nawothnig@gmail.com>

	* parse.y (parse_numvar): NTH_REF must be less than a half of
	  INT_MAX, as it is left-shifted to be ORed with back-ref flag.
	  [ruby-core:74444] [Bug#12192] [Fix GH-1296]

Tue Mar 29 01:24:55 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* enc/trans/JIS: update Unicode's notice. [Bug #11844]

Tue Mar 29 01:22:39 2016  Eric Hodel  <drbrain@segment7.net>

	* marshal.c (r_object0):  raise ArgumentError when linking to undefined
	  object.

Tue Mar 29 01:22:39 2016  Eric Hodel  <drbrain@segment7.net>

	* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

Tue Mar 29 01:20:37 2016  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe
	  [ruby-core:73803] [Bug #12069]

Tue Mar 29 01:07:36 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* insns.def (opt_mod): show its method name on ZeroDivisionError.
	  [Bug #12158]

Tue Mar 29 01:05:28 2016  Anthony Dmitriyev  <antstorm@gmail.com>

	* net/ftp.rb: add NullSocket#closed? to fix closing not opened
	  connection.  [Fix GH-1232]

Tue Mar 29 01:02:49 2016  Koichi ITO  <koic.ito@gmail.com>

	* variable.c: Added documentation about order of `Module#constants`
	  [ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]

Tue Mar 29 00:56:10 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/ruby/test_process.rb (test_execopts_gid): Skip a test
	  that is known to fail on AIX. AIX allows setgid to
	  a supplementary group, but Ruby does not allow the "-e"
	  option when setgid'ed, so the test does not work as intended.

Tue Mar 29 00:53:26 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
	  IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
	  on AIX, so skip related tests.

Tue Mar 29 00:44:55 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
	  The fifth argument to getsockopt(2) should be modified to
	  indicate the actual size of the value on return,
	  but not in AIX. This is a know bug. Skip related tests.
	* test/rinda/test_rinda.rb (test_ring_server_ipv4_multicast):
	  ditto.
	* test/rinda/test_rinda.rb (test_make_socket_unicast): ditto.
	* test/socket/test_basicsocket.rb (test_getsockopt): ditto.
	* test/socket/test_sockopt.rb (test_bool): ditto.

Tue Mar 29 00:43:40 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
	  Skip two tests on AIX because zconf.h in zlib does not correctly
	  recognize _LARGE_FILES in AIX. The problem was already reported
	  to zlib, and skip these tests until it is fixed.

Tue Mar 29 00:42:10 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip
	  this test on AIX. The issue is the same as on Solaris.
	  [ruby-dev:47631]

Tue Mar 29 00:33:06 2016  Rei Odaira  <Rei.Odaira@gmail.com>

	* thread_pthread.c (getstack): __pi_stacksize returned by
	  pthread_getthrds_np() is wrong on AIX. Use
	  __pi_stackend - __pi_stackaddr instead.

Tue Mar 29 00:06:58 2016  Alex Boyd  <alex@opengroove.org>

	* lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
	  [fix GH-1205][ruby-core:72773][Bug #11969]

Tue Mar 29 00:00:27 2016  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
	  [ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda.


Mon Mar 28 23:58:27 2016  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
	  [ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda.


Mon Mar 28 23:57:33 2016  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
	  [ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.


Mon Mar 28 23:56:17 2016  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
	  [Bug #11886] The patch provided by Akira Matsuda.

	* ext/tk/sample/*.rb: ditto.

Mon Mar 28 23:20:12 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty
	  which is always a shared object and is not used by others.
	  [ruby-dev:48629] [Bug #10384]

Mon Mar 28 23:15:54 2016  Kenta Murata  <mrkn@mrkn.jp>

	* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
	  and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
	  [ruby-core:72736] [Bug #11962]

Thu Mar 24 20:39:58 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/option.c (inspect_tcpi_msec): more accurate condition
	  for TCPI msec member inspection function.
	  [ruby-core:74388] [Bug #12185]

Thu Mar 10 00:22:25 2016  Naotoshi Seo  <sonots@gmail.com>

	* lib/logger.rb: Remove block from Logger.add as it's not needed
	  patch provided by Daniel Lobato Garcia [fix GH-1240] [Bug #12054]

Thu Mar 10 00:17:57 2016  Zachary Scott  <zzak@ruby-lang.org>

	* re.c: Remove deprecated kcode argument from Regexp.new and compile
	  patch provided by Dylan Pulliam [Bug #11495]

Thu Mar 10 00:17:57 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* re.c: Update documentation for Regexp class.
	  [fix GH-937][ci skip] Patch by @davydovanton

Thu Mar 10 00:04:34 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/socket.c (sock_gethostname): support unlimited size
	  hostname.

Wed Mar  9 22:59:43 2016  Kouhei Sutou  <kou@cozmixng.org>

	* lib/xmlrpc/client.rb: Support SSL options in async methods of
	  XMLRPC::Client.
	  [Bug #11489]
	  Reported by Aleksandar Kostadinov. Thanks!!!

Wed Mar  9 22:46:56 2016  NARUSE, Yui  <naruse@ruby-lang.org>

	* marshal.c (r_object0): honor Marshal.load post proc
	  value for TYPE_LINK.  by Hiroshi Nakamura <nahi@ruby-lang.org>
	  https://github.com/ruby/ruby/pull/1204 fix GH-1204

Wed Mar  9 22:26:38 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/option.c (sockopt_bool): relax boolean size to be one
	  too not only sizeof(int).  Winsock getsockopt() returns a single
	  byte as a boolean socket option.  [ruby-core:72730] [Bug #11958]

Wed Mar  9 05:14:20 2016  Eric Wong  <e@80x24.org>

	* io.c (io_getpartial): remove unused kwarg from template
	* test/ruby/test_io.rb (test_readpartial_bad_args): new
	  [Bug #11885]

Wed Mar  9 05:14:20 2016  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal):
	  do not process kwargs in blocking mode
	* test/openssl/test_ssl.rb: test sysread

Wed Mar  9 04:21:02 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* process.c (rb_execarg_parent_start1): need to convert the encoding to
	  ospath's one.

Wed Mar  9 04:21:02 2016  NAKAMURA Usaku  <usa@ruby-lang.org>

	* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
	  reported by naruse via twitter.

	* process.c (rb_execarg_addopt): need to convert the encoding to
	  ospath's one.

Wed Mar  9 04:15:20 2016  Eric Wong  <e@80x24.org>

	* ext/stringio/stringio.c (strio_binmode): implement to set encoding
	* test/stringio/test_stringio.rb (test_binmode): new test
	  [ruby-core:72699] [Bug #11945]

Wed Mar  9 03:53:37 2016  Tadashi Saito  <tad.a.digger@gmail.com>

	* compile.c, cont.c, doc, man: fix common misspelling.
	  [ruby-core:72466] [Bug #11870]

Wed Mar  9 03:51:48 2016  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (rsock_init_sock): reject reserved FDs
	  [ruby-core:72445] [Bug #11862]

Wed Mar  9 03:41:27 2016  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (rsock_init_sock): check FD after validating
	* test/socket/test_basicsocket.rb (test_for_fd): new
	  [ruby-core:72418] [Bug #11854]

Wed Mar  9 03:34:54 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (reg_names_iter): should consider encoding of regexp.
	  [ruby-core:72185] [Bug #11825]

Wed Feb 24 08:18:18 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* enc/windows_1250.c: Should not use C++ style comments (C99 feature).
	  [Bug #11843]

Tue Feb 23 03:43:23 2016  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* enc/iso_8859_2.c, enc/windows_1250.c: separate Windows-1250
	  from ISO-8859-2 to fix 0x80..0x9e range (from Kimihito Matsui)

Tue Feb 23 03:43:23 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/windows_1252.c: separate from ISO-8859-1 to fix 0x80..0x9e
	  range.  [ruby-core:64049] [Bug #10097]

Tue Feb 23 03:43:23 2016  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* enc/iso_8859_13.c: Added three missing lower/upper-case
	  character pairs (from Kimihito Matsui)

Tue Feb 23 03:43:23 2016  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* enc/iso_8859_4.c: Added missing lower/upper-case character
	  pair (U+014A and U+014B, LATIN CAPITAL/SMALL LETTER ENG)
	  (from Kimihito Matsui)

Mon Feb 15 02:05:13 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_scrub): the result should be infected by the
	  original string.

Mon Feb 15 02:05:13 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (rb_econv_substr_append, econv_primitive_convert):
	  the result should be infected by the original string.

Mon Feb 15 02:05:13 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h: add raw FL macros, which assume always the
	  argument object is not a special constant.

	* internal.h (STR_EMBED_P, STR_SHARED_P): valid only for T_STRING.

	* string.c: deal with taint flags directly across String instances.

Mon Feb 15 01:20:08 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
	  instead of nd_state.  [ruby-core:72638] [Bug #11932]

Tue Jan 26 21:52:16 2016  Joseph Tibbertsma  <josephtibbertsma@gmail.com>

	* gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name.
	  [Fix GH-1221]

Mon Jan 18 00:34:41 2016  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_call_method): should not set fastpath
	  with keyword arguments for VM_METHOD_TYPE_ATTRSET type methods.

	  Normally, we can not use keyword arguments for this kind of methods,
	  (obj.foo = 1), but we can set alias names for them.
	  [Bug #11657]

	* test/ruby/test_keyword.rb: add a test for this fix.

Wed Dec 23 06:05:50 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_yylex): allow here documents in labeled
	  argument.  [ruby-core:72396] [Bug #11849]

Wed Dec 23 05:52:06 2015  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* test/ruby/test_syntax.rb: fix typo in test

Wed Dec 23 05:52:06 2015  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* parse.y (parse_percent): Allow %-literals in labeled arg as
	  r51624 did for parentheses.
	  Fixes [ruby-core:72084] [Bug #11812].

Mon Dec 21 05:05:54 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* cont.c: fix a double word typo.
	  [Bug #11313][ruby-core:69749]

Mon Dec 21 05:04:18 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/tk/lib/multi-tk.rb: fix typos.
	  [Bug #11764][ruby-core:71800]

Wed Dec 16 21:10:19 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/fiddle/handle.c: check tainted string arguments.
	  Patch provided by tenderlove and nobu.

	* test/fiddle/test_handle.rb (class TestHandle): add test for above.

Wed Dec 16 02:38:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (parse_mode_enc): fix buffer overflow.

Sat Dec 12 17:19:27 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* doc/NEWS-0.2.2: add description about incompatible change in Hash
	  duplicated key overriding policy. [Bug #10315] [Bug #11501]

Fri Dec 11 22:41:15 2015  Eric Wong  <e@80x24.org>

	* insns.def (opt_case_dispatch): avoid converting Infinity
	* test/ruby/test_optimization.rb (test_opt_case_dispatch_inf): new
	  [ruby-dev:49423] [Bug #11804]'

Thu Dec 10 00:23:07 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* configure.in: pthread_getattr_np is broken on AIX.
	  More specifically, the stack address and size returned are
	  not correct.

Thu Dec 10 00:19:18 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk (update-gems): use BASERUBY instead of RUNRUBY.

Wed Dec  9 01:49:13 2015  Eric Wong  <e@80x24.org>

	* insns.def (opt_case_dispatch): check Float#=== redefinition
	* test/ruby/test_optimization.rb (test_opt_case_dispatch): new
	  [ruby-core:71920] [Bug #11784]

Wed Dec  9 01:46:23 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of
	  InterlockedCompareExchange64.  new value and then old value is
	  the last.

Wed Dec  9 01:28:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (enc_m_loader): defer finding encoding object not to
	  be infected by marshal source.  [ruby-core:71793] [Bug #11760]

	* marshal.c (r_object0): enable compatible loader on USERDEF
	  class.  the loader function is called with the class itself,
	  instead of an allocated object, and the loaded data.

	* marshal.c (compat_allocator_table): initialize
	  compat_allocator_tbl on demand.

	* object.c (rb_undefined_alloc): extract from rb_obj_alloc.

Wed Dec  9 01:24:57 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* ext/-test-/file/fs.c: need to include sys/statvfs.h
	  to use statvfs().

	* ext/-test-/file/extconf.rb: check the existence of
	  sys/statvfs.h

Fri Dec  4 04:46:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): fix wrong shifting position in
	  Rational conversion when not at the beginning of the result.
	  [ruby-core:71806] [Bug #11766]

Fri Dec  4 02:42:37 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* range.c (range_to_s): should be infected by the receiver.
	  str2 infects by appending.  [ruby-core:71811] [Bug #11767]

Wed Dec  2 03:17:01 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/readline/extconf.rb: call dir_config("libedit")
	  if --enable-libedit is spcified. [Bug #11751]
	  patched by John Hein

Wed Dec  2 02:59:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_here_document): store dispatched result of
	  on_tstring_content at the last fragment of a here document.

Tue Dec  1 02:52:17 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* test/ruby/test_gc.rb: merge partially r52391 to get rid of CI error.

Tue Dec  1 02:27:41 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_each_codepoint): raise an exception at incomplete
	  character before EOF when conversion takes place.  [Bug #11444]

Sun Nov 29 18:02:44 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* io.c (argf_getpartial): should not resize str if the second
	  argument is not given.
	  [ruby-core:71668] [Bug #11738]

Sun Nov 29 17:48:39 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (local_var_list_add): skip internal local variable
	  name by its type but not if it has a name.  internal local
	  variable names are just unique per frame, not globally.
	  [ruby-core:71437] [Bug #11674]

Sun Nov 29 17:13:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_each_codepoint): read more data when read partially.
	  [ruby-core:70379] [Bug #11444]

Sun Nov 29 16:46:25 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/net/http.rb: set hostname before call ossl_ssl_set_session.
	  [Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek

Sun Nov 29 16:33:30 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (rb_econv_open0): rb_econv_t::source_encoding_name
	  and rb_econv_t::destination_encoding_name should refer static
	  strings always or NULL.  [ruby-core:70247] [Bug #11416]

Sun Nov 29 16:11:32 2015  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_data_to_ary): dump kw_arg as symbol
	* test/-ext-/iseq_load/test_iseq_load.rb: test kw_arg roundtrip
	  [ruby-core:69891] [Bug #11338]

Sun Nov 29 02:55:56 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* gc.c (__has_feature): move into internal.h.

	* internal.h (__has_feature): ditto.

	* internal.h (__has_extension): new macro.

	* internal.h (STATIC_ASSERT): use _Static_assert with
	  clang. [ruby-core:69931] [Bug #11343]

Sat Nov 28 06:28:55 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
	  encoding beginning with an interpolation same as the source file
	  encoding.  [ruby-core:70703] [Bug #11519]

Sat Nov 28 06:12:32 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error
	  in ext/openssl instead of OpenSSL itself because LibreSSL
	  silently truncate the selected protocol name by casting the length
	  from int to unsigned char. [Bug #11369]
	  Patch by Jeremy Evans <merch-redmine@jeremyevans.net>

Sat Nov 28 05:50:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (send_internal): set method_missing_reason before
	  invoking overriding method_missing method so that the default
	  method_missing can achieve it properly.
	  [ruby-core:68515] [Bug #10969]

Sat Nov 28 05:47:27 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/ruby/test_symbol.rb (test_symbol_fstr_leak): add a warm-up
	  code and check RSS to avoid false positive on AIX and false
	  negative on Mac OS X. [Bug #10686]

Sat Nov 28 05:47:27 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/ruby/test_symbol.rb: avoid a false positive in AIX.

Sat Nov 28 05:35:28 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* test/objspace/test_objspace.rb
	  (test_trace_object_allocations_start_stop_clear): clear object
	  allocation table first to get rid of erroneous detection for obj3.
	  [ruby-dev:49095] [Bug #11271]

Sat Nov 28 05:21:06 2015  Koichi Sasada  <ko1@atdot.net>

	* insns.def (defined): skip respond_to_missing? when
	  a method is available.
	  [Bug #11211]

	* test/ruby/test_defined.rb: add a test for this fix.

Wed Nov 25 01:05:29 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/digest/sha1/sha1ossl.c: fix defs.h path to catch up changes in
	  r52739.[Bug #3231]

	* ext/digest/rmd160/rmd160ossl.c: ditto.

Wed Nov 25 00:54:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (kwd_append): fix segv after invalid keyword argument,
	  preceding keyword list is NULL when syntax error is there.
	  [ruby-core:71356] [Bug #11663]

Wed Nov 25 00:47:07 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained
	  EOL string. Patch by @kachick [fix GH-942][Bug #11513]

Wed Nov 25 00:32:44 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_build_from_ary_body): register cdhash to the
	  iseq constant body instead of compile time mark array, not to
	  get GCed.  [ruby-core:70708] [Feature #8543]

Wed Nov 25 00:14:28 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
	  includeing ext/digest/extconf.h. [Bug #3231]
	  https://msdn.microsoft.com/library/36k2cdd4.aspx

	* ext/digest/*/extconf.rb: remove ext/digest from include search path
	  to avoid confusion of cl.exe.

	* ext/digest/*/*.[ch]: explicitly specify def.h's path.

Wed Nov 25 00:03:42 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* Added missing reference of GitHub

Wed Nov 25 00:03:42 2015  Trevor Rowe  <trevorrowe@gmail.com>

	* lib/net/http.rb: Fixed regression for Net::HTTP::PUT with "Expect-100"
	  header. [fix GH-949]
	* test/net/http/test_http.rb: added test.

Mon Nov 23 00:19:51 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_invoke_block): we should not expect ci->argc is
	  stable after invoking a block. [Bug #11451]

	* test/ruby/test_yield.rb: add a test. This test script is given by
	  Alex Dowad.

Thu Nov 19 01:06:07 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (rb_load_internal0): stop separating exits at loading
	  from exits from execution.  TAG_FATAL is the only case that
	  `errinfo` is a Fixnum, and should continue to exit by JUMP_TAG
	  but not raising as an ordinary exception.
	  [ruby-core:70169] [Bug #11404]

Thu Nov 19 01:06:07 2015  Alex Dowad  <alexinbeijing@gmail.com>

	* load.c (rb_load_internal0): extra check before returning
	  TAG_RAISE when a non-local transfer of control happens while
	  loading and parsing a Ruby source file.
	  [ruby-core:70169] [Bug #11404]

Thu Nov 19 01:06:07 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (rb_load_internal0): do not raise any exceptions but
	  return the result tag state.

	* load.c (rb_load_protect): reduce nested EXEC_TAGs.

Thu Nov 19 00:41:09 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
	  and if invalid, return 1. [Bug #11486]

Thu Nov 19 00:15:23 2015  Zachary Scott  <zzak@ruby-lang.org>

	* ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735]

Thu Nov 19 00:01:14 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (argf_next_argv): check ARGV element type, and try
	  conversion if necessary.  [ruby-core:71140] [Bug #11610]

Wed Nov 18 23:29:32 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_method_tab): Only add SSLv3 support
	  if the SSL library supports it.  Thanks Kurt Roeckx <kurt@roeckx.be>
	  [Bug #11376]

	* ext/openssl/extconf.rb: check for SSLv3 support in the SSL
	  implementation.

	* test/openssl/test_ssl.rb (class OpenSSL): Skip tests that need SSLv3
	  if there is no support.

Mon Nov 16 03:39:59 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* tool/runruby.rb: rubyspec now requires other FDs not to be closed
	  since 7b6ce1fee.

Sun Nov  8 23:30:56 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
	  maintain trace_running counter on internal events.

	  This patch is made by Takashi Kokubun <takashikkbn@gmail.com>.
	  [Bug #11603] https://github.com/ruby/ruby/pull/1059

Sun Nov  1 03:52:41 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* test/openssl/test_ssl_session.rb: Fix tests so that they take in to
	  account OpenSSL installations that have SSLv3 disabled by default.
	  Thanks Jeremy Evans <code@jeremyevans.net> for the patches.
	  [Bug #11366] [Bug #11367]

Sun Nov  1 03:40:43 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
	  fix test failure with OpenSSL disabled SSLv3 protocol.
	  [ruby-core:63772] [Bug #10046]

Tue Oct 27 23:58:32 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c (hook_before_rewind): prevent kicking :return event while
	  finishing vm_exec func because invoke_block_from_c() kick a :return
	  event for bmethods.
	  [Bug #11492]

	* test/ruby/test_settracefunc.rb: add a test.

Tue Oct 27 23:38:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: check for libunwind.h, which is not available in
	  very old OS X SDK.  [ruby-core:71080] [Bug #11591]

Tue Oct 27 23:32:51 2015  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>

	* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
	  patch by voxik.

	* test/rinda/test_rinda.rb: ditto

Tue Oct  6 01:29:02 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (IS_BEG): include labeled argument state, which was
	  EXPR_LABELARG.  [ruby-dev:49221] [Bug #11456]

Tue Oct  6 01:29:02 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y: fix syntax error at do-block after a conditional
	  operator.  separate label-allowed and after-a-label states from
	  others as bit flags.  [ruby-dev:48790] [Bug #10653]

Mon Oct  5 03:29:23 2015  Tanaka Akira  <akr@fsij.org>

	* enum.c (nmin_filter): Fix limit value.
	  patch by Helder Pereira.
	  [Bug #11471] [ruby-core:70477]

Wed Sep 30 03:44:36 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
	  digits.  [ruby-core:70667] [Bug #11509]

Wed Sep 30 03:34:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (rb_memsearch_wchar, rb_memsearch_qchar): test matching
	  till the end of string.  [ruby-core:70592] [Bug #11488]

	* test/ruby/test_m17n.rb (test_include?, test_index): add tests by
	  Tom Stuart.

Wed Sep 30 03:24:29 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* thread_pthread.c (reserve_stack): ensure the memory is really
	  allocated. [Bug #11457]

Tue Aug 25 01:01:01 2015  Koichi Sasada <ko1@atdot.net>

	* insns.def (defineclass): introduce an ad-hoc patch to avoid
	  an issue reported on [Bug #10871].

	  This patch does not fix completely. For example, method definition
	  in a block (like 1.times{def ...; end}) still causes same issue.
	  To solve all, we need a huge patch and it seems difficult for
	  stable branch.

	  Use Ruby 2.3 and later to solve this issue completely.
	  (See [Bug #10943])

Tue Aug 18 22:52:50 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/downloader.rb: support old versions of ruby.

	* tool/downloader.rb: now can download gems by http if openssl is not
	  available (this may be danger!)

Tue Aug 18 20:10:13 2015  Tanaka Akira  <akr@fsij.org>

	* numeric.c (Init_Numeric): Fix document for Float::MIN and
	  Float::EPSILON.

Mon Aug 17 23:07:47 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems.rb: bump version to 2.4.5.1. this version fixed
	  CVE-2015-3900.
	* lib/rubygems/remote_fetcher.rb: ditto.
	* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900

Mon Aug 17 23:00:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/win32/lib/win32/registry.rb (API#SetValue): data size should
	  be in bytes, not in chars.  [ruby-core:70365] [Bug #11439]

Mon Aug 17 23:00:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/win32/lib/win32/registry.rb (API#SetValue): add terminator
	  size, not 1 byte.  [ruby-core:70365] [Bug #11439]

Sun Aug 16 03:14:04 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (rb_memsearch): should match only char boundaries in wide
	  character encodings.  [ruby-core:70220] [Bug #11413]

Sun Aug 16 03:00:44 2015  Eric Wong  <e@80x24.org>

	* symbol.h (struct RSymbol): add hashval field
	* symbol.c (dsymbol_alloc): setup hashval field once
	* hash.c (rb_any_hash): return RSymbol->hashval directly
	* common.mk: hash.o depends on symbol.h
	  Thanks to Bruno Escherl <bruno@escherl.net> for the bug report
	  [ruby-core:70129] [Bug #11396]

Fri Aug 14 16:30:43 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (rb_econv_set_replacement): target encoding name can
	  be empty now.  [ruby-core:69841] [Bug #11324]

Fri Aug 14 15:24:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_any_hash): fix Float hash.  rb_dbl_hash() returns a
	  Fixnum, but not a long.  [Bug #9381]

Fri Aug 14 15:09:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/json/parser/parser.rl: raise with messages in UTF-8
	  encoding.  [ruby-core:67386] [Bug #10705]

Fri Aug 14 00:44:34 2015  Eric Wong  <e@80x24.org>

	* io.c (rb_io_oflags_modestr): handle O_TRUNC correctly
	* test/ruby/test_io.rb (test_reopen_stdio): new test
	  Patch-by: cremno phobia <cremno@mail.ru>
	  [ruby-core:69779] [Bug #11319]

Thu Aug 13 01:25:26 2015  Benoit Daloze  <eregontp@gmail.com>

	* lib/net/ftp.rb (makeport): close the TCPServer
	  when sending the port fails.

	* test/net/ftp/test_ftp.rb: test for above.

Thu Aug 13 01:03:13 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish):
	  fix a bug that empty gzipped response body causes Zlib::BufError.
	  [ruby-core:68846] [Bug #11058]

	* test/net/http/test_httpresponse.rb: tests for the above.

Thu Aug 13 01:03:13 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* lib/net/http/response.rb (Net::HTTPResponse#inflater):
	  fix TypeError. An exception object might be nil.
	  [ruby-core:68846] [Bug #11058]

Thu Aug 13 00:03:24 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* .travis.yml: update libssl before running tests. 
	  Thanks to Chris Sinjakli <chris@sinjakli.co.uk> for figuring out the
	  travis settings!

Thu Aug 13 00:03:24 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): raise a more
	  helpful exception when verifying the peer connection and an
	  anonymous cipher has been selected. [ruby-core:68330] [Bug #10910]
	  Thanks to Chris Sinjakli <chris@sinjakli.co.uk> for the patch.

	* test/openssl/test_ssl.rb (class OpenSSL): test for change

Wed Aug 12 23:57:01 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
	  ruby itself (including numeric.c) is built with strict compile
	  options including -std=iso9899:1999, but ext/date is not.
	  By the way -std=iso9899:1999 is not only a warning option but also
	  changes behavior like MACRO definitions for example INFINITY.
	  gcc on Solaris affect this.

Wed Aug 12 23:53:39 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (waitpid): return immediately if interrupted.
	  reported by <takkanm AT gmail.com> [ruby-dev:49176] [Bug #11340]

Wed Aug 12 01:05:58 2015  Jeremy Evans  <merch-redmine@jeremyevans.net>

	* test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised
	  in OpenSSL tests. [ruby-core:70020][Bug #11368]

Wed Aug 12 00:54:29 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_repeated_permutation): fix buffer size, ALLOCV_N
	  already multiplies element size.

Tue Aug 11 01:51:53 2015 CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* lib/timeout.rb (ExitException): leave Timeout::ExitException as an
	  alias of Timeout::Error for backward compatibility in stable branch.
	  [ruby-dev:49179] [Bug #11344]

Tue Aug 11 01:51:53 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/timeout.rb (ExitException): removed internal exception class
	  and use Timeout::Error instead, as using throw/catch to isolate
	  each timeouts now.  [ruby-dev:49179] [Bug #11344]

Tue Aug 11 01:37:28 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* test/net/http/test_httpresponse.rb
	(HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase):
	fix a failure without zlib.

Tue Aug 11 01:37:28 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/response.rb (inflater): CONTENT_ENCODING can be upper
	  case. [ruby-core:69670] [Bug #11285] patched by Andy Chu

Tue Aug 11 01:21:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (m_core_hash_merge_ptr): copy the arguments to the machine
	  stack before rewinding the control frame pointer and leaving the
	  arguments outside valid region of the value stack.
	  [ruby-core:69969] [Bug #11352]

	* vm.c (REWIND_CFP): keep the arguments region inside the valid
	  value stack.  [ruby-core:69969] [Bug #11352]

Tue Aug 11 01:11:02 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_reverse): reversed string is not a substring,
	  and should not set coderange of the original string.
	  [ruby-dev:49189] [Bug #11387]

Tue Aug 11 00:42:53 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (lambda_body): pop cmdarg stack for lookahead
	  token.  [ruby-core:70067] [Bug #11380]

Tue Aug 11 00:21:56 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
	  but it is a dummy.

	* ext/socket/option.c: Solaris 11 doesn't have u_intN_t.

	* ext/socket/option.c: Solaris 11 needs inspect_tcpi_msec.

	* ext/socket/raddrinfo.c: Solaris 11 has AF_PACKET but doesn't have
	  related macros.

Tue Aug  4 04:11:34 2015  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (strptime): Support %s.%N.
	  [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.

Tue Aug  4 03:43:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* transcode.c (load_transcoder_entry): fix transcoder loading race
	  condition, by waiting in require.  [ruby-dev:49106] [Bug #11277]

Tue Aug  4 03:13:59 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (ary_ensure_room_for_push): check if array size will
	  exceed maximum size to get rid of buffer overflow.
	  [ruby-dev:49043] [Bug #11235]

	* array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto.

Sat Jul  4 23:08:32 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_file_load_ok): try opening file without gvl not to
	  lock entire process.  [Bug #11060]

Sat Jul  4 05:00:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/mkmf.rb (pkg_config): split --libs if --libs-only-l option
	  is not available.  patch in [ruby-core:69428] by Hans Mackowiak.
	  [ruby-core:69421] [Bug #11201]

Sat Jul  4 04:46:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_compile_each): out of range NTH_REF is always
	  nil.

	* parse.y (parse_numvar): check overflow of NTH_REF and range.
	  [ruby-core:69393] [Bug #11192]

	* util.c (ruby_scan_digits): make public and add length parameter.

Sat Jul  4 04:35:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_method_call_status): resolve refined method entry
	  to check if undefined.  [ruby-core:69064] [Bug #11117]

Sat Jul  4 04:35:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_method_call_status): undefined refined method is
	  not callable unless using.  [ruby-core:69064] [Bug #11117]

Wed Jul  1 04:16:56 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem.
	  [fix GH-929] Patch by @voxik
	* ext/io/console/io-console.gemspec: ditto.

Wed Jul  1 04:15:38 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/zlib/zlib.c: Fix indentation for rdoc.
	  [Bug #11221][ruby-core:69465]

Sat Jun 27 22:51:59 2015  Shota Fukumori  <her@sorah.jp>

	* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
	  passed object is a special const, instead of SEGV.
	  Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #11291]

	* test/objspace/test_objspace.rb(test_dump_special_consts): Test for above fix.


Wed Jun 17 02:53:59 2015  Koichi Sasada  <ko1@atdot.net>

	* test/objspace/test_objspace.rb (test_dump_flags): relax pattern
	  because long_lived flag and marked flag can be false at major GC.
	  [Bug #10852]

Mon Jun 15 03:24:23 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (lep_svar_set): add WBs.

Fri Jun 12 01:39:49 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
	  [ruby-core:69419] [Feature #11198]

Fri Jun 12 01:16:13 2015  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
	  ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile
	  [ruby-core:69371] [Bug #11185]

Fri Jun 12 01:14:00 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/win32.c (setup_overlapped): seek to the file end only when
	  writing (mode:a), not reading (mode:a+, read).

Fri Jun 12 01:11:52 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* load.c (loaded_feature_path): stop returning false negatives for
	  filenames which are trailing substrings of file extensions.  For
	  example, 'b', which a trailing substring of ".rb" should not return
	  false. [Bug #11155][ruby-core:69206]

	* test/ruby/test_autoload.rb: test for fix

Sun May 24 03:56:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (r_symreal): register symbol names as strings first so
	  that r_symlink always returns valid names.
	  [ruby-core:68587] [Bug #10991]

	* marshal.c (r_ivar, r_object0): now need to intern symbol names.

	* marshal.c (r_object0): compare with symbol names.

Sun May 24 03:53:07 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
	  [Bug #11123]

Sun May 24 03:44:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* range.c (linear_object_p, range_include): test if covered for
	  linear objects.  [ruby-core:69052] [Bug #11113]

Sun May 24 03:41:45 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
	  is omitted.  [ruby-core:69093] [Bug #11128]

Sun May 24 03:37:14 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* string.c: added documentation for character sequence \' with String#sub
	  [Bug #11132][ruby-core:69121][fix GH-900][ci skip] Patch by @shishir127

Sun May 24 03:32:53 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* rational.c: Added documentation for rational literal.
	  [Bug #11075][fix GH-885][ci skip] Patch by @shishir127

Sun May 24 03:06:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
	  before other library calls and use rb_syserr_fail.
	  [ruby-core:68531] [Bug #10975]

Sun May 24 03:01:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
	  conflict on cygwin.  [ruby-core:68877] [Bug #11065]

Sun May 24 02:44:53 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c (vm_exec): check other events when RETURN is thrown.
	  [Bug #10724]

	* test/ruby/test_settracefunc.rb: add a test.

Sun May 24 02:21:47 2015  Masahiro Tomita  <tommy@tmtm.org>

	* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
	  addrinfo.  [ruby-dev:48923] [Bug #11051]

Sun May 24 02:17:05 2015  Kenta Murata  <mrkn@cookpad.com>

	* bigdecimal: conform to ruby's license.  [ruby-core:68466] [Bug #10952]

Sun May 24 02:06:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/-test-/file/fs.c (get_fsname): try magic number only if
	  f_type is included.  [ruby-dev:48913] [Bug #11000]

Sun May 24 02:06:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/-test-/file/fs.c (get_fsname): return filesystem name by
	  statfs/statvfs.  [ruby-core:68624] [Bug #10998]

Sun May 24 02:02:00 2015  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_symbol.rb: fix syntax error.

Sun May 24 02:02:00 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_any_hash): Symbols are compared by the identities
	  always.  [ruby-core:68767] [Bug #11035]

Sun May 24 02:01:07 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_any_hash): use same hash values with Float#hash so
	  that -0.0 and +0.0 will be identical.
	  [ruby-core:68541] [Bug #10979]

Thu May 21 01:34:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (id2ref): prohibit from accessing internal objects.
	  [ruby-core:68348] [Bug #10918]

Thu May 21 01:32:02 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* ext/pty/pty.c: AIX supports autopush.
	  Patch by Perry Smith [ruby-core:58539] [Bug #9144]

Thu May 21 01:07:41 2015  Misumi Rize  <r@ayase-e.li>

	* vm_insnhelper.c (vm_throw_start): search the target to break
	  from a block with nested rescue, from the nested blocks.
	  [ruby-core:67765] [Bug #10775] [Fix GH-820]

Thu May 21 00:55:45 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_args.c: protect value stack from calling other methods
	  during complex parameter setting process (splat, kw, and so on).
	  [Bug #11027]

	* vm_core.h: remove rb_thead_t::mark_stack_len.
	  With this modification, we don't need to use th->mark_stack_len.

	* test/ruby/test_keyword.rb: add a test.

	* cont.c (cont_capture): catch up this fix.

	* vm.c (rb_thread_mark): ditto.

Thu May 21 00:07:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
	  symbols to just instance_eval/exec, except for definition of
	  singletons.  [ruby-core:68961] [Bug #11086]

Wed May 20 04:33:50 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
	  embedded strings no longer refer static strings.
	  [ruby-core:68436] [Bug #10942]

Wed May 20 03:46:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (need_normalization): use getattrlist() if fgetattrlist()
	  is unavailable, on OSX 10.5.  [ruby-core:68829] [Bug #11054]

Wed May 20 03:25:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (proc_binding): replicate env from method object, and
	  allocate the local variable area for the iseq local table.
	  [ruby-core:68673] [Bug #11012]

Wed May 20 03:25:34 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c: use RUBY_VM_IFUNC_P() to recognize IFUNC or not.

	* vm.c: ditto.

	* vm_dump.c: ditto.

	* vm_insnhelper.c: ditto.

	* vm_core.h: use RB_TYPE_P() instead of BUILTIN_TYPE().

Wed May 20 03:10:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* benchmark/bm_hash_aref_flo.rb: make more realistic data.
	  [ruby-core:68632] [[Bug #10999]

Wed May 20 02:49:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (respond_to_missing_p): check if the receiver responds to
	  the given method by respond_to_missing?.

	* proc.c (mnew_missing): create Method object for method_missing.
	  [ruby-core:68564] [Bug #10985]

Wed May 20 02:16:05 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* dir.c (replace_real_basename): need to check the return value of
	  GLOB_REALLOC().

Wed May 20 02:16:05 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* dir.c (replace_real_basename): shouldn't create Ruby object before
	  the object system is loaded.
	  [ruby-core:68430] [Bug #10941]

Wed May 20 01:58:12 2015  Tanaka Akira  <akr@fsij.org>

	* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
	  (Resolv::DNS::Name#initialize): Normalize labels as
	  Resolv::DNS::Label::Str objects.

Wed May 20 01:47:23 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* iseq.c (rb_iseq_compile_with_option): check source type, must be
	  an IO or a String.  [ruby-core:69219] [Bug #11159]

Fri May 15 05:01:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
	  as the keys are unique fstrings, to get rid of running hash and
	  compare methods and causing new object allocation during garbage
	  collection phase.  [ruby-dev:48891] [Bug #10933]

Thu May 14 00:50:40 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (lambda): push and reset cmdarg_stack in lambda body.
	  [ruby-core:69017] [Bug #11107]

Thu May 14 00:39:29 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dln.c (dln_load): check if a different libruby is loaded by the
	  extension library, and then bail out to get rid of very frequent
	  reported stale bug reports.

Thu May 14 00:29:44 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/fileutils.rb (FileUtils#mv): show the exact target path in
	  the error message instead of the destination parent directory
	  name.  patched by Joao Britto <jabcalves AT gmail.com> at
	  [ruby-core:68706].  [Bug #11021]

Thu May 14 00:19:04 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
	  of crash by -fstack-check.  [ruby-core:68740] [Bug #11030]

Tue Apr 14 23:33:39 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: check also procstat_getvmmap, which is not
	  available on FreeBSD 9.  [ruby-core:68468] [Bug #10954]

	* vm_dump.c (procstat_vm): use kinfo_getvmmap instead if
	  procstat_getvmmap is not available.

Mon Apr 13 22:11:21 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
	  following RFC 6125. with the patch provided by Tony Arcieri and
	  Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
	* test/openssl/test_ssl.rb: add tests for above.

Mon Apr 13 13:03:33 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* lib/securerandom.rb: skip Win32 libraries in SecureRandom if
	  OpenSSL::Random is available.
	  https://github.com/ruby/ruby/pull/848 [Bug #10948] [Bug #10995]

Mon Apr 13 00:49:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (arg): fix segfault by null caused by syntax error.
	  [ruby-core:68851] [Bug #10957]

Mon Apr 13 00:49:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (primary): empty parentheses at cmdarg can be null.
	  [ruby-core:68477] [Bug #10957]

Mon Apr 13 00:44:12 2015  Eric Wong  <e@80x24.org>

	* ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
	  Thanks to Yura Sokolov <funny.falcon@gmail.com>
	  [ruby-core:68369] [Bug#10923]
	* test/io/wait/test_io_wait.rb (test_nread_buffered):
	  fix broken test

Mon Apr 13 00:16:32 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (vm_call_super): search next super class from the
	  original class, to get rid of infinite recursion with
	  prepending.  a patch by Seiei Higa <hanachin AT gmail.com> at
	  [ruby-core:68434].  [ruby-core:68093] [Bug #10847]

Mon Apr 13 00:09:48 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (rb_prepend_module): need a WB for klass -> origin.

Sun Apr 12 23:53:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/extconf.rb: needs --enable-shared when linked to
	  libruby or fiddle.so.  since --with-static-linked-ext does no
	  longer link extensions to ruby program with --enable-shared, the
	  only combination needs --enable-static is --disable-shared and
	  --with-static-linked-ext.  [ruby-dev:48901] [Bug #10960]

Sun Apr 12 23:53:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/extconf.rb: make PIC objects if it will be linked as
	  a shared object eventually.  [ruby-core:67128]

Sun Mar 22 12:39:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* spec/default.mspec: use default configuration file name.
	  https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf

Sun Mar 22 12:39:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* spec/default.mspec: remove specific version number.
	  https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714

Sun Mar 22 12:39:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* common.mk: use ruby organization for rubyspec.

Thu Feb 26 15:48:41 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/win32/Win32API.rb (initialize): accept both a string and an array
	  for the arguments of the imported function.
	  reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]

Wed Feb 25 15:36:26 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/merger.rb: support 2.1+ versioning scheme.

Tue Feb 24 17:41:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
	  otherwise locale encoding.  [ruby-core:68230] [Bug #10887]

Tue Feb 24 17:41:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
	  otherwise locale encoding.  [ruby-core:68230] [Bug #10887]

Tue Feb 24 17:41:27 2015  Benoit Daloze  <eregontp@gmail.com>

	* time.c: Zone encoding should be US-ASCII if all 7-bits. Fix r46907.

	* test/ruby/test_time.rb, test/ruby/test_time_tz.rb: Update tests.

Tue Feb 24 16:37:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (chompped_length): enable smart chomp for all non-dummy
	  encoding strings, not only default_rs.
	  [ruby-core:68258] [Bug #10893]

Tue Feb 24 16:31:53 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_split_m): raise ArgumentError at broken string
	  not RegexpError, as Regexp is not involved in.
	  [ruby-core:68229] [Bug #10886]

Tue Feb 24 14:00:46 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_objspace_call_finalizer): control GC execution during
	  force firnalizations at the end of interpreter process.
	  [Bug #10768]

	  1) Prohibit incremental GC while running Ruby-level finalizers
	     to avoid any danger.
	  2) Prohibit GC while invoking T_DATA/T_FILE data structure
	     because these operations break object relations consistency.

	  This patch can introduce another memory consuming issue because
	  Ruby-level finalizers can run after (2), GC is disabled.
	  However, basically object consistency was broken at (2) as I
	  described above. So that running Ruby-level finalizers contains
	  danger originally. Because of this point, I need to suggest to
	  remove these 3 lines (invoking remaining finalizers). And add a
	  rule to add that finalizers should not add new finalizers, or
	  say there is no guarantee to invoke finalizers that added by
	  another finalizer.

Tue Feb 24 14:00:46 2015  Aman Gupta <ruby@tmm1.net>

	* gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress
	  during rb_objspace_free. Adds extra protection for r46340.
	  Patch by Vicent Marti. [Bug #10768] [ruby-core:67734]
	* gc.c (rb_objspace_call_finalizer): Ensure GC is completed after
	  finalizers have run. We already call gc_rest() before invoking
	  finalizers, but finalizer can allocate new objects and start new GC
	  cycle, so we call gc_rest() again after finalizers are complete.

Tue Feb 24 10:30:59 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
	  of original crefs. It fixes segmentation fault when calling
	  refined method in duplicate module. [ruby-dev:48878] [Bug #10885]

	* vm_core.h, class.c: change accordingly.

	* test/ruby/test_refinement.rb: add a test for above.

Sun Feb 22 21:20:37 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (match_aref): RMatch::regexp is Qnil after matching by a
	  string since r45451.  [ruby-core:68209] [Bug #10877]

Sun Feb 22 17:11:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* Makefile.in (probes.stamp): rebuild dtrace dependent objects
	  only when `dtrace -G` modifies its input files.

Sun Feb 22 17:11:25 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* common.mk (ruby-glommed.o): dependency on $(OBJ) should be written
	  in common.mk (in which OBJ is defined) because of Makefile include
	  and parse order. This partly reverts r49419.
	  [ruby-dev:48849] [Bug #10808]

	* Makefile.in (ruby-glommed.o): ditto.

	* Makefile.in (ruby-glommed.o): remove excess $(DTRACE_OBJ) because
	  it is included in $(OBJS) since r49451.

	* Makefile.in (probes.o): should depend on $(DTRACE_DEPENDENT_OBJS)

Sun Feb 22 02:16:40 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_file_identical_p): fix handle leak, ensure to close
	  the handle of the first argument.

Sat Feb 21 13:48:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (different_device_p): compare by volume serial
	  numbers, not by path names.  [ruby-core:68162] [Bug #10865]

Sat Feb 21 13:48:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (wrename): return EXDEV if moving a directory to
	  another drive, since MoveFileExW does not set proper error code.
	  [ruby-core:68162] [Bug #10865]

Sat Feb 21 12:46:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/file.c (rb_file_expand_path_internal): neither the drive
	  of base directory nor the current drive are involved in the
	  result if different than the drive of path.
	  [ruby-core:68130] [Bug #10858]

Sat Feb 21 12:46:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/file.c (rb_file_expand_path_internal): do not make invalid
	  (or ADS) path if the path has a drive letter, the result also
	  should have be under it.  [ruby-core:68130] [Bug #10858]

Sat Feb 21 12:45:54 2015  Matt Hoyle  <matt@deployable.co>

	* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
	  to 'exponent'.  [ruby-core:67980] [Bug #10823] [Fix GH-825]

Fri Feb 20 17:47:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols
	  list to get rid of inadvertent creation by variable keyword
	  arguments.  [ruby-core:68031] [Bug #10831]

Fri Feb 20 15:08:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (has_magic): always get long path name on Windows even if
	  no tilde is there.  [ruby-core:68011] [Bug #10819]

	* dir.c (replace_real_basename): FindFirstFile ignore redirection
	  character, check if exists before call it.  cf. [Bug #8597]

Fri Feb 20 15:08:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): obtain real name with FindFirstFile API
	  instead of matchin all entries, on Windows.
	  [ruby-core:67954] [Bug #10819]

Fri Feb 20 14:32:14 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (dir_initialize): workaround of opendir failure at symlink
	  directories on Windows via CIFS.

Thu Feb 19 17:05:47 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* class.c (rb_obj_singleton_methods): should use RTEST() to convert
	  VALUE to int.

Thu Feb 19 16:14:04 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* class.c (method_entry_i, class_instance_method_list,
	  rb_obj_singleton_methods): should not include methods of
	  superclasses if recur is false. [ruby-dev:48854] [Bug #10826]

Thu Feb 19 16:14:04 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* vm_method.c (remove_method): When remove refined
	  method, raise a NameError if the method is not
	  defined in refined class.

	  But if the method is defined in refined class,
	  it should keep refined method and remove original
	  method.

	  Patch by Seiei Higa. [ruby-core:67722] [Bug #10765]

Thu Feb 19 16:07:03 2015  Seiei Higa  <hanachin@gmail.com>

	* proc.c (rb_obj_singleton_method): Kernel#singleton_method should
	  not use refinements, as well as Kernel#method.
	  [ruby-core:67603] [Bug #10744]

Thu Feb 19 15:32:26 2015  Dave Stevens  <dave@crowdlab.com>

	* string.c (str_make_independent_expand): terminate String when
	  moved from heap to embedded.  [Fix GH-821].

Thu Feb 19 13:35:21 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
	  macro `DEBUG` is defined.  based on the patch by Owen Rodley in
	  [ruby-core:67987]. [Bug #10825]

Tue Feb 17 18:57:13 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements
	  returned by Kernel#instance_variables are Symbols now.
	  [ruby-core:68128] [Bug #10857]

Tue Feb 17 15:39:01 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide
	  versions of RegDeleteValue and RegDeleteKey.
	  [ruby-core:67958] [Bug #10820]

Tue Feb 17 11:50:06 2015  Yusuke Endoh  <mame@tsg.ne.jp>

	* string.c (str_discard): does not free for STR_NOFREE string.
	  [Bug #10853][ruby-core:68110]

	* bootstraptest/test_string.rb: test for above.

Sun Feb 15 13:15:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/getaddrinfo.c (get_addr): reject too long hostname to
	  get rid of GHOST vulnerability on very old platforms.

	* ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic
	  check for the canonnical name.

Sat Feb 14 13:27:41 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (send_internal), vm_insnhelper.c (vm_call_opt_send):
	  convert String method name into a Symbol, as method_missing
	  method expects its first argument to be a Symbol.  [Bug #10828]

	* vm_insnhelper.c (ci_missing_reason): return the reason of method
	  missing in call info.

	* vm_insnhelper.c (vm_call_opt_send): re-apply r49500 with the
	  proper missing reason.  [Bug #10828]

Sat Feb 14 13:27:41 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* vm_insnhelper.c: Fix symbol leak with +send+ [Bug #10828]

Sat Feb 14 08:53:50 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* class.c (method_entry_i, class_instance_method_list,
	  rb_obj_singleton_methods): should not include methods of
	  superclasses if recur is false. [ruby-dev:48854] [Bug #10826]

Fri Feb 13 13:59:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of
	  interference by modifying global variables in have_devel? method.
	  [ruby-core:67962] [Bug #10821]

Fri Feb 13 03:13:05 2015  Scott Francis  <scott.francis@shopify.com>

	* thread_pthread.c (reserve_stack): fix intermittent SIGBUS on
	  Linux, by reserving the stack virtual address space at process
	  start up so that it will not clash with the heap space.
	  [Fix GH-822]

Fri Feb  6 12:05:13 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* thread.c: Improve documentation for Thread#value
	  [Bug #10694][ruby-core:67324][ci skip]

Fri Feb  6 12:02:05 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
	  workaround of a bug of VC12 ml, by unak at [ruby-core:67792].
	  [ruby-core:67789] [Bug #10780]

Fri Feb  6 01:03:38 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (w_object, marshal_dump): use indetity tables for
	  arbitrary VALUE keys, because of performance of FLONUM.
	  [Bug #10761]

	* marshal.c (obj_alloc_by_klass, marshal_load): ditto.

Fri Feb  6 01:03:38 2015  Eric Wong  <e@80x24.org>

	* benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]

Fri Feb  6 01:03:38 2015  Eric Wong  <e@80x24.org>

	* st.c (st_numhash): mix float value for flonum
	* hash.c (rb_any_hash): ditto
	* benchmark/bm_hash_aref_flo.rb: new benchmark
	* benchmark/bm_hash_ident_flo.rb: ditto
	  [Bug #10761]

Thu Feb  5 16:30:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (gettable_gen): disable warnings of possible reference
	  to a local variable defined in a past scope.
	  [ruby-core:67162] [Bug #10661]

Mon Jan 26 15:35:16 2015  Seiei Higa  <hanachin@gmail.com>

	* vm_method.c (check_definition): Module#public_method_defined?,
	  Module#private_method_defined?, Module#protected_method_defined?
	  should not use refinements. [ruby-core:67656] [Bug #10753]

Thu Jan 22 11:47:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* doc/syntax/literals.rdoc (Symbols): now Symbols created by
	  interpolation can be garbage collected.  patch by Yihang Ho in
	  [ruby-core:67194].  [Bug #10671]

Thu Jan 22 11:45:32 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
	  change throw mechanism (not save target ep, but save target cfp).
	  It fixes `unexpected break' bug that occurs when
	  TracePoint#binding is called.
	  [ruby-dev:48797] [Bug #10689]

	* test/ruby/test_settracefunc.rb: add a test.

Tue Jan 20 14:05:08 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_invoke): avoid SEGV when VT_RECORD
	  variable is passed by reference. [ruby-dev:48803] [Bug #10697] 

Mon Jan 19 15:45:33 2015  Seiei Higa  <hanachin@gmail.com>

	* vm_method.c (rb_method_entry): if no super class, no original
	  method entry.  [ruby-core:67389] [Bug #10707]

Mon Jan 19 12:03:59 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_dump.c (rb_vm_bugreport): check by configured result instead
	  of system name for old FreeBSD.  based on a patch by Steve Wills
	  at [ruby-core:67655].  [Bug #10752]

Mon Jan 19 12:00:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: get rid of pattern substitution, which is not
	  supported by ash, and ash on NetBSD parses whole source first
	  and fails to start.  [ruby-dev:48823] [Bug #10750]

Mon Jan 19 11:57:14 2015  Vit Ondruch  <vondruch@redhat.com>

	* configure.in (RUBY_SETJMP_TYPE): Remove superfluous semicolon
	  which causes a syntax error with autoconf 2.63.
	  [ruby-core:67429] [Bug #10716]

Mon Jan 19 11:44:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with
	  CR.  should check if substitution occurred too.
	  [ruby-dev:48813] [Bug #10732]

Sun Jan 18 00:59:41 2015  Eric Wong  <e@80x24.org>

	* numeric.c (bit_coerce): use original value for error message
	  [ruby-core:67405] [Bug #10711]
	* test/ruby/test_numeric.rb (test_coerce): check error message

Sun Jan 18 00:53:38 2015  Seiei Higa  <hanachin@gmail.com>

	* vm_method.c (rb_alias): raise a NameError when creating alias to
	  a refined method if the original method of the refined method is
	  not defined.  [ruby-core:67523] [Bug #10731]

Sat Jan 17 22:25:50 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (need_normalization): not only HFS+, CIFS (SMB) is also
	  decomposed.  [Bug #10704]

	* dir.c (NORMALIZE_UTF8PATH): Unicode decomposition seems to
	  perform in an upper layer than file systems on OSX, as all path
	  names are always decomposed regardless of file system types.

Sat Jan 17 17:56:45 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (assocs, assoc): eliminate splatting empty literal
	  hashes.  [ruby-core:67446] [Bug #10719]

	* compile.c (compile_array_): supprt splatted hash in hash type.

Sat Jan 17 16:49:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/readline/readline.c (readline_s_refresh_line): initialize
	  before rl_refresh_line(), as some function make the internal
	  state non-clean but rl_refresh_line() does not re-initialize it.
	  [ruby-core:43957] [Bug #6232]

Sat Jan 17 16:47:20 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* eval_error.c (error_print): pos and len parameters of rb_str_substr()
	  are counted by characters, not bytes.  use rb_str_subseq() instead.
	  [Bug #10727] [ruby-core:67473]

Sat Jan 17 16:35:59 2015  Seiei Higa  <hanachin@gmail.com>

	* vm_method.c (rb_export_method): bail out if the original method
	  is undefined when the method is refined.
	  [ruby-core:67387] [Bug #10706]

Sat Jan 17 16:16:14 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): match in case-folding only if the directory
	  resides on a case-insensitve file system, on OSX.
	  [ruby-core:67364] [Bug #10700]

Sat Jan 17 02:04:01 2015  Eric Wong  <e@80x24.org>

	* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
	  [ruby-core:67411] [Bug #10712]

Sat Jan 17 01:57:57 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/zlib/zlib.c: fix document of method signatures.
	  [Bug #10668][ruby-core:67186][ci skip]

Sat Jan 17 01:52:42 2015  Tanaka Akira  <akr@fsij.org>

	* time.c (timelocalw): Set tm_isdst field -1 if vtm->isdst is
	  VTM_ISDST_INITVAL.  This bug is introduced at packing struct
	  vtm (r45155).
	  [ruby-core:67345] [Bug #10698] Reported by Boris Ruf.

Fri Jan 16 21:17:34 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_io.rb: added timeout for AIX environment.
	  [ruby-core:62983][Bug #9917]

Fri Jan 16 18:25:57 2015  Tanaka Akira  <akr@fsij.org>

	* lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str
	  objects.  Label#Str#== is case-insensitive.

Fri Jan 16 18:25:57 2015  Ben Miller  <bmiller@rackspace.com>

	* lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the
	  comparison should be case-insensitive as well.
	  [ruby-core:66498] [Bug #10550]

Fri Jan 16 18:25:57 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/resolv.rb (Resolv::DNS::Name): names with different dots
	  should be different.

Fri Jan 16 17:34:57 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (f_label): return tLABEL value as it is.
	  [ruby-core:67315] [Bug #10693]

Fri Jan 16 16:49:04 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/http.rb (Net::HTTP#send_request): there is no response body
	  with HEAD request. Patch by @rodrigosaito [fix GH-520]

Fri Jan 16 16:49:04 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/net/http/test_http.rb (_test_send_request__HEAD): Added
	  failing test for send_request with HEAD method.

Fri Jan 16 14:56:08 2015  Eric Wong  <e@80x24.org>

	* symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
	* test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
	  [ruby-core:67268] [Bug #10686]

Fri Jan 16 14:20:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_args.c (keyword_hash_p): fix non-symbol keys hash.
	  rb_extract_keywords() returns 0 not Qnil when no symbol keys is
	  included.

Fri Jan 16 11:06:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/unicode_normalize.rb: typo fix. [ci skip]
	  [ruby-dev:48794][misc #10675]
	  included.  [ruby-core:67264] [Bug #10685]
Fri Jan 16 11:04:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (unescape_nonascii): append excape sequence as-is not
	  unescaped character, to get rid of unexpected meta-character.
	  [ruby-core:67193] [Bug #10670]

Sat Jan  3 21:17:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_thread_variable_get): fix dynamic symbol keys.
	  rb_check_id() returns non-zero only for static symbols, whereas
	  thread local variable keys can be dynamic symbols.
	  [ruby-core:67185] [Bug #10667]

Thu Jan  1 08:29:55 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
	  always.  [ruby-core:67153] [Bug #10657]

Wed Dec 31 15:26:46 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
	  keywords bits arguments should be unique.  since internal IDs
	  depend on the local variable index in the current scope, new ID
	  should be made before popping those vtables.
	  [ruby-core:67157] [Bug #10659]

Wed Dec 31 14:11:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
	  of tcllib. Patch by @zalt50 [fix GH-787]

Wed Dec 31 13:26:22 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_vm_living_threads_insert): preserve order
	  [Bug #10660] [ruby-core:67154] [ruby-core:67159]

Fri Dec 26 15:42:27 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.
	  [Bug #10647] [ruby-dev:48787]

Thu Dec 25 17:42:01 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/io/console/console.c (console_dev): send the given arguments
	  to the opened console.  as a special case, do nothing if :close
	  is given.

	* test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if
	  console.

Thu Dec 25 17:37:47 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
	  Fix SEGV during finilize of WeakRef on Solaris (though the SEGV
	  could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646]

Thu Dec 25 17:31:51 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (NET_LUID): include winsock2.h instead of windows.h.
	  patch by Jon Forums in [ruby-core:67125].  [Bug #10640]

Thu Dec 25 16:01:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_file_expand_path_internal): drop characters ignored
	  by filesystem on Mac OS X.

Thu Dec 25 15:36:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (replace_real_basename): get the real name and replace the
	  base name with it by getattrlist(2) if available.
	  suggested by Matthew Draper at [ruby-core:67116].  [Bug #10015]

	* dir.c (glob_helper): get the real name of the whole path, not
	  only the last name.

Thu Dec 25 13:59:17 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (NET_LUID): include also ifdef.h as a workaround of
	  a bug in mingw-w64 header.  [ruby-core:67103] [Bug #10640]

Thu Dec 25 12:47:44 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (gettable_gen): warn possible reference to a local
	  variable defined in a past scope.

Thu Dec 25 10:09:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/io/console/console.c (console_dev): id_console is not a
	  constant name, use rb_const_remove() to get rid of NameError.

Thu Dec 25 09:18:55 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
	  set timeout for recvfrom because if client thread is crashed, it
	  waits infinity.

Thu Dec 25 08:42:11 2014  Eric Wong  <e@80x24.org>

	* lib/uri/generic.rb (split_userinfo): fstring for 1-byte split
	  (set_port): reduce bytecode size
	  (check_path): reduce garbage via opt_str_freeze
	  (query=): ditto
	  (fragment=): ditto
	  [misc #10628]
	* lib/uri/rfc3986_parser.rb (regexp): cache as attr
	  (initialize): setup and freeze regexp attr once
	  (split): reduce bytecode size, use opt_str_freeze
	  (parse): minor bytecode and garbage reduction
	  (default_regexp): rename for initialize

Wed Dec 24 20:38:16 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_make_pattern): restrict searching case-insensitive
	  name from the filesystem to only last part, for the performance.
	  [ruby-core:63591] [Bug #10015]

Wed Dec 24 18:21:27 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start.

Wed Dec 24 13:25:22 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/redmine-backporter.rb: require view_changesets permission.

Wed Dec 24 13:00:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/downloader.rb (Downloader.download): fix the exception to
	  re-raise.  initialize methods of subclasses of Exception may
	  have different parameters.  [ruby-core:67086] [Bug #10639]

Wed Dec 24 12:16:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.h (rb_data_type_t): revert r48647 and revise parent member.
	  [ruby-core:66969] [Bug #10621]

Wed Dec 24 05:40:52 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/downloader.rb: use config.guess in gcc repo.

Wed Dec 24 11:50:19 2014  Koichi Sasada  <ko1@atdot.net>

	* hash.c (rb_hash_delete): return Qnil if there are no corresponding
	  entry. [Bug #10623]

	* hash.c (rb_hash_delete_entry): try delete and return Qundef if there
	  are no corresponding entry.

	* internal.h: add rb_hash_delete_entry()'s declaration.

	* symbol.c: use rb_hash_delete_entry().

	* thread.c: use rb_hash_delete_entry().

	* ext/-test-/hash/delete.c: use rb_hash_delete_entry().

Wed Dec 24 09:35:11 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/fiddle/extconf.rb: remove ffitarget.h generated by configure on
	  mswin, because it's not normal file (cygwin's symlink) and have
	  system attribute.

Wed Dec 24 05:40:52 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/downloader.rb: support ruby 1.8.

Wed Dec 24 02:44:06 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/response.rb (Net::HTTPResponse): require one or more
	  spaces [Bug #10591].
	  by leriksen <leif.eriksen.au@gmail.com>
	  https://github.com/ruby/ruby/pull/782 fix GH-782
	  NOTE: graph.facebook.com returns without SP Reason-Phrase.

Wed Dec 24 02:12:22 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/make-snapshot (package): VCS#branch_list expects glob a
	  pattern string but not a regexp.  based on the patch by Vit
	  Ondruch.  in [ruby-core:67064].  [Bug #10636]

	* tool/vcs.rb (VCS::SVN#branch_list): strip newlines.

	* tool/vcs.rb (VCS::GIT.get_revisions): retrieve modified time
	  from toplevel log too.

	* tool/vcs.rb (VCS::GIT#branch_list): yield for each lines.

Wed Dec 24 00:23:13 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/extlibs.rb (do_extract): the pipe should be binmode.

Wed Dec 24 00:21:44 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* Makefile.in, common.mk: move common-srcs to Makefile.in because
	  it breaks build on mswin.

Wed Dec 24 00:04:45 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/open-uri.rb (OpenURI.open_http): accept multiple certs path in
	  ssl_ca_certs.

	* tool/downloader.rb: use certs of rubygems for downloading gems.

Tue Dec 23 22:39:11 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.

Tue Dec 23 22:04:38 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI::Generic#query=): don't escape [\]^
	  on both rfc2396 and rfc3986. [Bug #10619]

Tue Dec 23 16:03:35 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
	  try en_US message if the default message cannot be encoded to
	  locale.  [ruby-core:65295] [Bug #10300]

Tue Dec 23 11:42:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
	  data gradually not to exceed INT_MAX.  workaround of OpenSSL API
	  limitation.  [ruby-core:67043] [Bug #10633]

Mon Dec 22 21:30:16 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_event.rb: some tests are
	  executed on standard Windows OS without ADO.

Mon Dec 22 14:08:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (received_signal): fix condition to define.
	  [ruby-core:67032] [Bug #10629]

Sun Dec 21 10:51:51 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_event.rb: test_s_new_exception is
	  executed on standard Windows OS without ADO.

Sun Dec 21 08:35:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (jemalloc): fix option argument, should use
	  `$withval` but not `yes` always.  [ruby-core:66994] [Bug #10625]

	* configure.in (jemalloc): defer adding the liner option to get
	  rid of linking contest against jemalloc, so that it works
	  without runtime dynamic load path.

Sat Dec 20 17:49:03 2014  Tanaka Akira  <akr@fsij.org>

	* lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
	  [ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.

Sat Dec 20 11:22:58 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/depend, ext/fiddle/extconf.rb: try to build bundled
	  libffi if existing.

Sat Dec 20 05:21:00 2014  Eric Wong  <e@80x24.org>

	* test/test_weakref.rb (test_repeated_object_leak): increase timeout
	  [Bug #10618]

Fri Dec 19 22:33:13 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Use $(hdrdir) if possible.

Fri Dec 19 22:10:00 2014  Kenta Murata  <mrkn@cookpad.com>

	* ext/bigdecimal/depend: Fix dependencies to make bigdecimal
	  installable by rubygems.

	* ext/bigdecimal/bigdecimal.gemspec: version 1.2.6.

Fri Dec 19 20:00:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (PRIsVALUE): put a space after string
	  literals not to be confused with C++11 string literal suffix.
	  https://github.com/ruby/ruby/commit/a9f3eb7#commitcomment-9040169

Fri Dec 19 15:36:02 2014  Simon Genier  <simon.genier@shopify.com>

	* hash.c (hash_equal): prefer true than the result of implicit
	  conversion from int returned by rb_eql() to VALUE.  [Fix GH-789]

Thu Dec 18 17:45:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_binary_elf): get rid of -e option of cat
	  which is not available on BusyBox, use tr instead.
	  [ruby-core:64824] [Bug #10210]

Thu Dec 18 14:25:17 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
	  should be treated before calling signal(3).
	  [Bug #10615]

Wed Dec 17 12:20:56 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
	  move from iseq.c to build from node instead of arrays.

Wed Dec 17 10:50:09 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/gdbm/test_gdbm.rb: Added test for each_key called without a block.
	  Patch by @joeyates [fix GH-783]

Wed Dec 17 10:18:42 2014  Koichi Sasada  <ko1@atdot.net>

	* compile.c (iseq_compile_each): check
	  iseq->compile_data->option->specialized_instruction for opt_* insn.

	* test/ruby/test_iseq.rb: check no specialized_instructions option.

Wed Dec 17 09:48:57 2014  Eric Wong  <e@80x24.org>

	* compile.c (iseq_compile_each): only emit opt_str_freeze,
	  opt_aref_with, and opt_aset_with insn when no block is given
	  [Bug #10557] [ruby-core:66595]
	* test/ruby/test_optimization.rb (test_block_given_aset_aref):
	  new test for bug thanks to Bartosz Kopinski.
	  (test_string_freeze): additional assertion for object_id

Wed Dec 17 01:06:47 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/win32/lib/Win32API.rb (Win32API#call): need to splat.  hmm, when
	  was this broken?

Tue Dec 16 15:18:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): call
	  accessor functions directly, not to be affected by [] and []=
	  methods.  [ruby-core:66846] [Bug #10601]

	* struct.c (define_aref_method, define_aset_method): ditto.

	* vm_insnhelper.c (rb_vm_opt_struct_aref, rb_vm_opt_struct_aset):
	  direct accessors of Struct.

Tue Dec 16 12:01:29 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  extend timeout seconds to 60 for RGENGC_CHECK_MODE > 0 environment.

Tue Dec 16 08:53:12 2014  Eric Wong  <e@80x24.org>

	* tool/vcs.rb: fix Ruby 1.8 compatibility harder

Tue Dec 16 07:37:18 2014  Eric Wong  <e@80x24.org>

	* gc.c (GC_HEAP_FREE_SLOTS): move definition to match use order
	  (RUBY_GC_HEAP_GROWTH_SLOTS): s/factor/number of slots/

	* man/ruby.1: add section for GC environment variables
	  [Feature #10197]

Tue Dec 16 05:41:46 2014  Eric Wong  <e@80x24.org>

	* tool/vcs.rb: fix Ruby 1.8 compatibility

Mon Dec 15 17:51:28 2014  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returns
	  with sizeof(RVALUE). [Bug #8984]

	* gc.c (obj_memsize_of): ditto.

	* NEWS: add a NEWS entry.

	* test/objspace/test_objspace.rb: catch up this fix.

	* test/ruby/test_file_exhaustive.rb: ditto.

Mon Dec 15 16:19:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_enc_str_coderange): dummy wchar, non-endianness
	  encoding string cannot be ascii only.
	  [ruby-core:66835] [Bug #10598]

Sun Dec 14 20:11:42 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (primary): restore current_arg so that circular
	  reference after a method definition is also warned.
	  [ruby-core:61299] [Bug #9593]

Sat Dec 13 20:41:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_trace.c (rb_postponed_job_flush): mask signal trap interrupt
	  too to defer handling after finalizers finished.
	  [ruby-core:66825] [Bug #10595]

Sat Dec 13 18:33:25 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL.

Sat Dec 13 18:01:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (check_stack_overflow): check sp also on i386/x86_64
	  FreeBSD.

Sat Dec 13 09:58:41 2014  Eric Wong  <e@80x24.org>

	* gc.c (define_final0): avoid duplicate blocks
	  [Bug #10537]
	* test/test_weakref.rb (test_repeated_object_leak): new test

Sat Dec 13 04:59:20 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* bin/erb (ERB::Main#run): get rid of shadowing outer local
	  variables.  [ruby-core:65772] [Feature #10395]

Fri Dec 12 21:56:44 2014  Kouhei Sutou  <kou@cozmixng.org>

	* gems/bundled_gems: Upgrade to test-unit 3.0.8. assert_throw and
	  assert_nothing_thrown in test-unit 3.0.7 were broken by
	  UncaughtThrowError change introduced in Ruby 2.2.0
	  preview2. These assertions in test-unit 3.0.8 work well with
	  UncaughtThrowError in Ruby 2.2.0 preview2.

Fri Dec 12 19:48:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set
	  from the command line.  [ruby-core:65772] [Feature #10395]

Fri Dec 12 19:31:44 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/erb.rb (ERB#lineno): accessor for line number to eval.

	* lib/erb.rb (ERB#location=): setter of file name and line number.

Fri Dec 12 13:09:13 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_latest_gc_info): return :state field to show current
	  GC state (none/marking/sweeping).
	  [Feature #10590]

Fri Dec 12 10:49:18 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_crypt): check arguments more strictly.
	  * crypt() is not for wide char strings
	  * salt bytes should not be NUL

Fri Dec 12 08:16:01 2014  Matt Hoyle  <matt@deployable.co>

	* io.c (io_read) Fix spelling in docco for read.  [Fix GH-781]
	  try > tries

Thu Dec 11 19:06:01 2014  Koichi Sasada  <ko1@atdot.net>

	* class.c (class_alloc): Start from age == 2.
	  Class and Module objects can be living long life.

	* iseq.c: Same for ISeq objects.

	* gc.c (RVALUE_AGE_RESET): added.

	* gc.c (newobj_of): allow to generate (age != 0) objects.

	* gc.c (rb_copy_wb_protected_attribute): reset age for wb unprotected
	  objects.

	* include/ruby/ruby.h: add RUBY_TYPED_PROMOTED1 as an unrecommended
	  flag.

Thu Dec 11 05:37:52 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Remove useless loop and block capture.
	  See [#10354]

Thu Dec 11 04:27:24 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: introduce new field
	  rb_thread_t::local_storage_recursive_hash_for_trace to store
	  recursive hash to avoid creating new recursive (nested) hashes
	  for each trace events.
	  [Bug #10511]

	* vm_trace.c (rb_threadptr_exec_event_hooks_orig): use it.

	* cont.c: catch up this fix.

	* vm.c (rb_thread_mark): ditto.

Wed Dec 10 13:39:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* struct.c (define_aref_method, define_aset_method): use iseq
	  VALUE instead of rb_iseq_t to prevent from GC, as RB_GC_GUARD
	  makes sense only for local variables.  [Feature #10575]

Wed Dec 10 09:38:40 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (exec_recursive): use the same last method name as
	  recursive_push in the error message when recursive_pop failed.
	  [ruby-core:66742] [Bug #10579]

Wed Dec 10 02:48:46 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/net/http/test_https.rb
	  (TestNetHTTPS#test_certificate_verify_failure): on Windows,
	  Errno::ECONNRESET will be raised when the verify is failure at the
	  client side, and it'll be eaten by WEBrick.

	* test/open-uri/test_ssl.rb (TestOpenURISSL#test_validation_failure):
	  ditto.

Wed Dec 10 00:42:13 2014  Eric Wong  <e@80x24.org>

	* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset):
	  new methods to generate bytecode for struct.c
	  [Feature #10575]
	* struct.c (rb_struct_ref, rb_struct_set): remove
	  (define_aref_method, define_aset_method): new functions
	  (setup_struct): use new functions
	* test/ruby/test_struct.rb: add test for struct >10 members
	* benchmark/bm_vm2_struct_big_aref_hi.rb: new benchmark
	* benchmark/bm_vm2_struct_big_aref_lo.rb: ditto
	* benchmark/bm_vm2_struct_big_aset.rb: ditto
	* benchmark/bm_vm2_struct_small_aref.rb: ditto
	* benchmark/bm_vm2_struct_small_aset.rb: ditto

Tue Dec  9 20:24:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* string.c: [DOC] Add missing documentation around String#chomp.
	  Patch by @stderr [ci skip][fix GH-780]

Tue Dec  9 18:20:02 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c: [DOC] Revise documentation by Marcus Stollsteimer at
	  [ruby-core:66368].  [Bug #10526]

	  * #inspect: be more specific about generated string, remove
	    obsolete example.
	  * #nil?: use code examples instead of different call-seq's.
	  * #tap: clarify what is yielded.
	  * Integer(): be more specific about to_int and to_i, remove
	    reference to Ruby 1.8.
	  * Array(): fix error.
	  * Class: fix variable name style and indentation in example.
	  * improve consistency, fix typos and formatting.

Tue Dec  9 12:48:32 2014  Josef Simanek  <josef.simanek@gmail.com>

	* vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
	  documentation.  It is referencing `require` instead of `load`.
	  The former does not have the optional argument.  [Fix GH-779]

Tue Dec  9 10:16:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (rb_frame_last_func): return the most recent frame method
	  name.

	* thread.c (recursive_list_access): use the last method name,
	  instead of the current method name which can be unset in some
	  cases, not to use a symbol by the invalid ID.
	  [ruby-core:66742] [Bug #10579]

Sun Dec  7 19:36:12 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* ext/socket/basicsocket.c, ext/socket/sockssocket.c:
	  remove code for $SAFE=4.

Sun Dec  7 10:20:55 2014  Eric Hodel  <drbrain@segment7.net>

	* lib/rdoc:  Update to RDoc 4.2.0.
	* test/rdoc:  ditto.

Sun Dec  7 09:52:30 2014  Eric Hodel  <drbrain@segment7.net>

	* lib/rubygems:  Update to RubyGems 2.4.5.
	* test/rubygems:  ditto.

Sat Dec  6 10:05:08 2014  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/imap.rb: Fix undefined variable usage & refactor/DRY
	  code.  Patch by @aledovsky. [Fixes GH-770]

	* test/net/test_imap.rb: related test.

Sat Dec  6 10:09:44 2014  Eric Wong  <e@80x24.org>

	* thread.c (do_select): rename parameters to avoid shadowing

Sat Dec  6 09:22:45 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rake:  Update to rake 10.4.2
	* test/rake: ditto.

Sat Dec  6 06:48:03 2014  Eric Wong  <e@80x24.org>

	* compile.c (rb_iseq_build_from_ary): remove misc handling

Sat Dec  6 06:14:23 2014  Vit Ondruch  <vondruch@redhat.com>

	* configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version
	  configuration option.  get rid of quoting in config.status.

	* template/verconf.h.tmpl: quote RUBY_LIB_VERSION here.
	  [ruby-core:66724] [Bug #10572]

Sat Dec  6 04:33:52 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/pp.rb (File::Stat#pretty_print): some platforms (such as Windows)
	  does not have major/minor parts of device.

Fri Dec  5 22:43:04 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/psych/lib/psych.rb: bump version to 2.0.8
	* ext/psych/psych.gemspec: ditto.
	* ext/psych/psych_emitter.c: ditto.
	* ext/psych/psych_parser.c: ditto.

Fri Dec  5 17:09:09 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/socket/option.c (inet_ntop): link aliased inet_ntop in
	  libruby on mswin not rb_w32_inet_ntop which fails to link for
	  unknown reason.

Fri Dec  5 11:09:54 2014  Eric Wong  <e@80x24.org>

	* iseq.c (prepare_iseq_build): remove unused block_opt param
	  (rb_iseq_new_with_bopt_and_opt): remove
	  (rb_iseq_new_with_opt): inline removed function
	  (rb_iseq_new_with_bopt): remove
	  (iseq_load): adjust prepare_iseq_build call
	  [Feature #10565]

Fri Dec  5 09:46:05 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_yylex): fix lex_state after tLABEL_END, should
	  be EXPR_LABELARG to be followed by "paren with arg".
	  [ruby-core:66705] [Feature #4935]

Fri Dec  5 02:27:47 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/extmk.rb: as all extension objects including initializations
	  of ext and enc should be linked to libruby if enable-shared,
	  EXTOBJS should not be linked to main programs.
	  [ruby-core:66675] [Bug #10566]

Thu Dec  4 07:06:02 2014  Eric Wong  <e@80x24.org>

	* compile.c (rb_iseq_build_from_exception): entry->sp is unsigned
	  (iseq_build_callinfo_from_hash): account for kw_arg
	  (iseq_build_from_ary_body): update for r35459
	  (CHECK_STRING, CHECK_INTEGER): remove unused checks
	  (int_param): new function for checking new `params' hash
	  (iseq_build_kw): new function for loading rb_iseq_param_keyword
	  (rb_iseq_build_from_ary): account for `misc' entry and general
	   structure changes
	  [Feature #8543]
	* iseq.c (CHECK_HASH): new macro (for `misc' and `param' entries)
	  (iseq_load): account for `misc' and `params' hashes
	  (iseq_data_to_ary): add final opt to arg_opt_labels,
	   fix kw support, account for unsigned entry->sp
	* ext/-test-/iseq_load/iseq_load.c: new ext for test
	* ext/-test-/iseq_load/extconf.rb: ditto
	* test/-ext-/iseq_load/test_iseq_load.rb: new test

Thu Dec  4 06:56:57 2014  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_free): avoid segfault on incomplete iseq
	* test/ruby/test_syntax.rb (test_invalid_next): new test
	  for syntax error, not segfault

Thu Dec  4 04:20:34 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (ruby_require_internal): ignore error detail, just return
	  an error.

Wed Dec  3 17:13:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (load_encoding): use rb_require_internal instead of
	  calling rb_require_safe with protection.

Wed Dec  3 16:47:35 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (register_init_ext, ruby_init_ext): defer running the
	  registered initialization function until required, not to enable
	  extensions which have global effects just by loading, e.g.,
	  mathn/complex and mathn/rational.  fix `make test` with
	  --with-static-linked-ext.

	* enc/encinit.c.erb (Init_enc): initialize encdb and transdb
	  directly.

Wed Dec  3 14:51:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (ruby_require_internal): separate from rb_require_safe,
	  not to raise exceptions.

	* ruby.c (process_options): remove unnatural encoding search.

Wed Dec  3 14:34:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (setup_fake_str): fake string does not share another
	  string, but just should not free.

Wed Dec  3 11:14:14 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (w32_spawn): `v2` is used not only for `shell` but also
	  `cmd`, so must not free before using `cmd`.
	  [ruby-core:66648] [Bug #10563]

Wed Dec  3 09:48:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/racc/cparse/cparse.c (cparse_params_type): use typed data.

Tue Dec  2 21:33:56 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: use typed data for com_hash.

Tue Dec  2 15:30:30 2014  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* array.c (rb_ary_plus): in documentation, added note about
	  inefficiency of repeated += operations.

Tue Dec  2 07:20:21 2014  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_data_to_ary): keep hidden variables
	  Thanks to wanabe [ruby-core:66566]

Tue Dec  2 06:46:57 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych.rb: bumping version

	* ext/psych/psych.gemspec: ditto

Tue Dec  2 06:34:08 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: support objects that are
	  marshalable, but inherit from basic object.
	  Thanks Sean Griffin <sean@thoughtbot.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto

	* test/psych/test_marshalable.rb: test for fix

Tue Dec  2 06:32:02 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (ripper_flush_string_content): preserve the dispatched
	  results at tSTRING_CONTENT.  [ruby-dev:48714] [Bug #10437]

	* parse.y (regexp_contents): check in ripper only if the whole
	  content is a single regexp without interpolation.
	  [ruby-dev:48714] [Bug #10437]

Tue Dec  2 06:30:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (rb_reg_region_copy): new function to try with GC if copy
	  failed and return the error.

Tue Dec  2 04:43:08 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when
	  memory exhausted but returns nothing, so check by if allocated.

Tue Dec  2 02:53:00 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (magic_comment_encoding): enable in ripper, since the
	  encoding is necessary to parse non-default encoding scripts.

Tue Dec  2 02:30:25 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI::Generic.build):
	  use hostname= to detect and wrap IPv6 hosts.
	  Build is accepting URI components and users may not expect
	  that a host component needs to be wrapped with square brackets
	  since it's not providing a URI.
	  Note: initialize with arg_check => true does not wrap IPv6 hosts.
	  by Joe Rafaniello <jrafanie@redhat.com>
	  https://github.com/ruby/ruby/pull/765 fix GH-765

	* test/uri/test_generic.rb: Add more tests

Mon Dec  1 20:01:12 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: use typed data for WIN32OLE.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_event.c: ditto.

Mon Dec  1 17:20:42 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/Makefile.sub (verconf.h): so depends on verconf.mk, which
	  is rebuilt by setup.mak.

Mon Dec  1 11:05:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]

Mon Dec  1 10:49:53 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* man/rake.1: Update latest man content by @aledovsky
	  [fix GH-771][ci skip]

Mon Dec  1 10:42:31 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/syntax/refinements.rdoc: refinements are no longer experimental.
	  patch by @gaurish [fix GH-775][ci skip]

Sun Nov 30 20:05:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (regexp_contents): fix a typo.  pointed out by wanabe.
	  [ruby-dev:48741] [Bug #10543]

Sun Nov 30 18:55:32 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  Don't raise Interrupt.

Sun Nov 30 17:11:05 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): Use
	  assert_separately.

Sun Nov 30 00:02:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (process_options, ruby_script): transcode script name and
	  program name to locale encoding as well as argv.
	  [ruby-dev:48752] [Bug #10555]

	* ruby.c (translit_char_bin): should not use code page dependent
	  CharNext on UTF-8 string.  [ruby-dev:48752] [Bug #10555]

Sat Nov 29 16:53:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (ruby_set_argv): convert argv from UTF-8.

	* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
	  wide char command line to UTF-8 argv, and glob in UTF-8 so that
	  metacharacters would match multibyte characters.
	  [ruby-dev:48752] [Bug #10555]

Sat Nov 29 10:49:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (win32_direct_conv, rb_w32_readdir): convert UTF-8
	  and filesystem code page by using Win32 API directly.

Sat Nov 29 09:37:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* error.c (syserr_initialize): simplify message building and get
	  rid of potential invalid byte sequence.

Sat Nov 29 06:09:44 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* eval_error.c (error_print): respect the encoding of the message.

	* io.c (rb_write_error_str): use rb_w32_write_console() on Windows
	  if stderr is a tty.

Fri Nov 28 05:10:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (--with-setup): add option to select ext/Setup file.

Fri Nov 28 05:02:29 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dmyenc.c (Init_enc): separate from dmyext.c for statically
	  linked extension excluding encoding libraries.

Thu Nov 27 21:58:30 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk (miniprelude.c): It does not depend on prelude.rb now.

Thu Nov 27 21:49:49 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: List up files built always in the source directory
	  and source files built always in the build directory.

Thu Nov 27 21:24:55 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* NEWS: add obsolete callcc.

Thu Nov 27 19:59:49 2014  Koichi Sasada  <ko1@atdot.net>

	* compile.c (iseq_compile_each): remove duplicated line event.
	  [Bug #10449]

	* test/ruby/test_settracefunc.rb: add and fix tests.

Thu Nov 27 19:04:50 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_args.c: fix backtrace location for keyword related exceptions.

	  For example, the following program
	    def foo(k1: 1); end # line 1
	    foo(k2: 2)          # line 2
	  causes "unknown keyword: k2 (ArgumentError)".

	  Before this patch, the backtrace location is only line 2.
	  However, error should be located at line 1 (over line 2 in
	  stack trace). This patch fix this problem.

	* class.c (rb_keyword_error_new): separate exception creation logic
	  from rb_keyword_error(), to use in vm_args.c.

	* vm_insnhelper.c (rb_arg_error_new): rename to rb_arity_error_new().

	* vm_args.c (argument_arity_error): rename to argument_arity_error().

	* vm_args.c (argument_kw_error): added to fix backtrace.

	* test/ruby/test_keyword.rb: add tests.

Thu Nov 27 17:31:58 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (prelude.c): no longer depends on miniruby, since not
	  depending on rbconfig.rb.

Thu Nov 27 17:12:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (miniprelude.c): miniruby needs no preludes.

Thu Nov 27 17:10:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/prelude.c.tmpl: no code if no prelude code is given.

Thu Nov 27 13:11:00 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (objspace_malloc_increase): enable lazy sweep on GC by malloc()
	  (malloc_increase) to make GC incrementally.

	  This change can increase memory consumption. Report us if you find
	  any problem.

Thu Nov 27 12:46:38 2014  Tanaka Akira  <akr@fsij.org>

	* time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form
	  doesn't examine wday, yday, isdst and tz.
	  (time_s_mktime): [DOC] Time.mktime's 10 arguments form
	  doesn't examine wday, yday and tz.
	  Suggested by naruse.

Thu Nov 27 11:45:33 2014  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_data_to_ary): add missing GC guard

Thu Nov 27 10:51:59 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: add rb_thread_t::local_storage_recursive_hash
	  to speed up Thread#[:__recursive_key__] access.
	  [Bug #10511]

	* thread.c (threadptr_local_aref): add fast path for
	  :__recursive_data__.

	* thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set):
	  add special accessor for recursive hash.

	* cont.c: store/restore local_storage_recursive_hash.

	* vm.c: init and mark local_storage_recursive_hash.

	* vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore
	  local_storage_recursive_hash directly.

Thu Nov 27 07:11:00 2014  Eric Wong  <e@80x24.org>

	* compile.c (iseq_calc_param_size): hoist out of iseq_set_arguments

Wed Nov 26 22:28:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (rb_get_kwargs, rb_extract_keywords): export
	  keyword argument functions.

Wed Nov 26 21:18:40 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/inlinetest.rb: removed unused test helper.

Wed Nov 26 20:47:28 2014  Masaya Tarui  <tarui@ruby-lang.org>

	* ext/continuation/continuation.c (Init_continuation): obsolete callcc.
	  first step of [Feature #10548].

Wed Nov 26 19:57:54 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb (test_latest_gc_info): do test separately
	  to avoid mysterious behavior.

Wed Nov 26 19:54:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (constat_reset): do nothing on non-standard
	  console emulators.  [ruby-core:66471] [Bug #10546]

Wed Nov 26 19:44:13 2014  Tanaka Akira  <akr@fsij.org>

	* lib/tsort.rb: Returns an enumerator if no block is given.
	  [ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko.

Wed Nov 26 17:25:45 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (f_label, f_kw, formal_argument_gen): ignore invalid
	  formal argument in keyword argument definition.
	  [ruby-dev:48742] [Bug #10545]

Wed Nov 26 15:32:06 2014  Koichi Sasada  <ko1@atdot.net>

	* compile.c (iseq_set_sequence): use "nop" insn instead of
	  "jump to next insn".
	  https://bugs.ruby-lang.org/issues/8543#change-50085

Wed Nov 26 11:01:35 2014  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_s_compile_file): close IO when done

Wed Nov 26 06:06:23 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk: encdb.h and transdb.h depends on $(PREP).
	  So prebuild files for them in tarball are useless.

Wed Nov 26 02:08:44 2014  Tanaka Akira  <akr@fsij.org>

	* tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.

Wed Nov 26 00:41:44 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk (prereq): Don't depends on prelude.c and golf_prelude.c.
	  Since they depend on $(PREP) which is miniruby, they are rebuilt
	  after miniruby is built, even if tarball contains them.

Wed Nov 26 00:20:48 2014  Tanaka Akira  <akr@fsij.org>

	* template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
	  It is not used now.

	* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.

Tue Nov 25 17:07:06 2014  Koichi Sasada  <ko1@atdot.net>

	* NEWS: add an "Implementation changes" section.

Tue Nov 25 16:09:28 2014  Eric Hodel  <drbrain@segment7.net>

	* lib/net/http.rb:  Do not attempt SSL session resumption when the
	  session is expired.  [Bug #10533]

Tue Nov 25 15:59:46 2014  Eric Hodel  <drbrain@segment7.net>

	* lib/rake:  Update to rake 10.4.0
	* test/rake:  ditto.
	* NEWS:  ditto.

	* test/lib/minitest/unit.rb:  Add compatibility shim for minitest 5.
	  This only provides minitest 5 unit test naming compatibility.

Tue Nov 25 15:26:33 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
	  which does not accept UTC offset, and offset manually for older
	  versions than 1.9.

Tue Nov 25 12:14:43 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (Init_process): initialize static IDs before constant
	  definitions.  [ruby-core:66445]

Tue Nov 25 10:32:23 2014  Eric Wong  <e@80x24.org>

	* compile.c (iseq_build_callinfo_from_hash): hoist out
	  (iseq_build_from_ary_body): shorten callinfo case

Mon Nov 24 23:03:21 2014  Kouhei Sutou  <kou@cozmixng.org>

	* gems/bundled_gems: Update to test-unit 3.0.7.

Mon Nov 24 12:44:35 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (check_exec_redirect_fd, check_exec_redirect),
	  (rb_execarg_addopt): get rid of inadvertent ID pindown.

Mon Nov 24 02:03:40 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_setter): preserve encoding of global variable
	  name in error message.

Mon Nov 24 02:03:30 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* iseq.c (rb_insn_operand_intern): preserve encoding of method
	  name in CALL_INFO at disassembling.

Mon Nov 24 02:02:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (must_respond_to): preserve encodings of variable name and
	  class name in warning message.

Sun Nov 23 10:46:23 2014  Eric Wong  <e@80x24.org>

	* internal.h (struct rb_execarg): 160 => 144 bytes on x86-64
	* ruby.c (struct load_file_arg): 48 => 40 bytes on x86-64
	* vm_args.c (struct args_info): ditto

Sun Nov 23 07:46:54 2014  Andy Maloney  <asmaloney@gmail.com>

	* io.c (rb_io_sysread): Remove redundant assignment of 'n'.
	  [Fix GH-767]

Sat Nov 22 09:48:33 2014  Tanaka Akira  <akr@fsij.org>

	* tool/make-snapshot: Specify PWD macro for make.
	  PWD environment variable may not exist.

Fri Nov 21 11:58:58 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* lib/resolv.rb: fall back if canonicalization fails.
	  Thanks Vit Ondruch for the patch!  [ruby-core:65836]

	* test/resolv/test_dns.rb: test for patch

Sat Nov 22 01:11:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (rb_mod_const_get, rb_mod_const_defined): ditto.

	* variable.c (rb_const_missing, rb_mod_const_missing): call
	  const_missing without new ID to get rid of inadvertent ID
	  creation.

Fri Nov 21 19:32:57 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c): revert about srcdir and top_srcdir.

	* common.mk (ext/ripper/ripper.c): use $(PWD) for Unix,
	  $(MAKEDIR) for Windows.

Fri Nov 21 18:12:37 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Refactored.

Fri Nov 21 14:25:40 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/Makefile.sub (top_srcdir): added because lacking this macro
	  causes build error at r48526.

Fri Nov 21 12:00:58 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps (in_makefile): Use FILES_NEED_VPATH and
	  FILES_CONFUSING.

	* ext/objspace/extconf.rb: Add VPATH for id.h

Fri Nov 21 09:10:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c): fix dependencies for the case
	  to make ripper.y and id.h under the build directory.

Fri Nov 21 08:42:21 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c): id.h in VPATH may exist in the build
	  directory.

	* common.mk (ext/ripper/ripper.c): $(RM) was not defined.

Fri Nov 21 00:36:09 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/openssl/lib/openssl/x509.rb
	  (OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false
	  positive assertion in ripper's test.

Fri Nov 21 00:29:51 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/net/imap.rb (Net::IMAP::ResponseParser::BEG_REGEXP): no need to
	  use embed string.

Fri Nov 21 00:19:17 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/uri/mailto.rb (URI::MailTo::EMAIL_REGEXP): should escape `#`.

Thu Nov 20 23:17:11 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Insert all dependencies found by compiler.

Thu Nov 20 15:51:01 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/nkf/depend (nkf.o): add nkf.c as dependency.
	  bsdmake tries to make nkf.o with nkf-utf8/nkf.c without this.

Thu Nov 20 08:54:56 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (struct parser_params): reduce size by reordering
	  members and an unused member.

Thu Nov 20 02:44:27 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Vector#independent? and associated class method
	  patch by gogo tanaka [#10451]

Thu Nov 20 02:32:34 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Vector#angle_with
	  Patch by Egunov Dmitriy [#10442]

Thu Nov 20 02:10:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (ripper_flush_string_content, parser_parse_string):
	  preserve parsed string content.  [ruby-dev:48714] [Bug #10437]

	* parse.y (ripper_new_yylval): abstract function to create ripper
	  wrapper, and make it able to hold another object.

Thu Nov 20 01:00:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (reg_named_capture_assign_gen): use predefined ID
	  instead of rb_intern.

Thu Nov 20 00:54:57 2014  Tanaka Akira  <akr@fsij.org>

	* internal.h (ruby_init_setproctitle): Declare here.

Thu Nov 20 00:26:37 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_here_document): append byte sequence directly to
	  the delayed content instead of creating an intermediate string
	  object.

Wed Nov 19 21:11:01 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk (ext/json/parser/parser.c): don't touch parse.c,
	  ruby repo is a downstream.

Wed Nov 19 20:38:11 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c): use $(PWD) to get
	  <build-directory>/ext/ripper.

Wed Nov 19 18:12:17 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/downloader.rb (RubyGems.download): Don't download gem if the
	  version is already downloaded. A gem file is versioned and
	  it must be identical if the version is the same.

Wed Nov 19 17:59:25 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c): pass build directory as VPATH.

	* ext/ripper/depend (.y.c): use VPATH for y.tab.c.

Wed Nov 19 10:07:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix
	  from prelude names, so that srcdir differences do not make the
	  generated code different.

Wed Nov 19 07:45:11 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_write): should set the error of
	  GetOverlappedResult()'s, not WriteFile()'s (it's always
	  ERROR_IO_PENDING, of course).

Tue Nov 18 14:16:47 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_record): add information for debug print.

Wed Nov 19 04:49:07 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* debug.c (set_debug_option): need the declaration.

	* debug.c (set_debug_option): use the same macro with the implementation
	  at win32/win32.c.

Wed Nov 19 04:16:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (symbol_list): fix the node type of literal symbol list
	  with no interpolation.  [ruby-core:66343]

Wed Nov 19 00:26:15 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Sort dependencies.

Wed Nov 19 00:24:18 2014  Tanaka Akira  <akr@fsij.org>

	* enc/encdb.c: Include internal.h.

Tue Nov 18 23:23:45 2014  Tanaka Akira  <akr@fsij.org>

	* internal.h: Gather declarations in non-header files.

Tue Nov 18 23:45:52 2014  Tanaka Akira  <akr@fsij.org>

	* debug.c (SET_WHEN): Don't declare debug variables here.
	  ruby_initial_gc_stress_ptr is changed int* to VALUE* at r41406.

	* internal.h (ruby_initial_gc_stress_ptr): Declared.
	  (ruby_enable_coredump): Ditto.

Tue Nov 18 18:06:43 2014  Tanaka Akira  <akr@fsij.org>

	* include/ruby/io.h (FMODE_WSPLIT): Removed.  The write() system call
	  is not required to split.  It was useful to avoid whole process
	  blocking in Ruby 1.8 but not useful since write() is invoked without
	  GVL.
	  (FMODE_WSPLIT_INITIALIZED): Ditto.

	* io.c (wsplit_p): Removed.
	  (io_writable_length): Removed.
	  (rb_fcntl): Don't update the removed flags.

Tue Nov 18 03:23:06 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (check_setter_id): show the original argument instead
	  of nil on TypeError.

Tue Nov 18 03:20:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.h (is_{local,global,instance,attrset,const,class,junk}_sym):
	  fix ID type names.

Mon Nov 17 20:17:59 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_event.c: use typed data.

Mon Nov 17 12:54:56 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/*, test/rubygems/*: Update to RubyGems 2.4.4
	  master (2f6e42e).

Mon Nov 17 06:13:06 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (proc_binding): use the original iseq on a binding from
	  proc from method object to get the location.

Sun Nov 16 19:38:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_current_receiver): new function to return the
	  receiver in the current control frame.  [Feature #10195]

Sun Nov 16 19:11:04 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/timeout.rb (Timeout::ExitException#exception): rescue
	  UncaughtThrowError which is specific for throw, instead of
	  ArgumentError.

Sun Nov 16 18:22:18 2014  Eric Wong  <e@80x24.org>

	* tool/update-deps: warning to disable ccache

Sun Nov 16 13:11:35 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk (CCAN_LIST_INCLUDES): Unused variable removed.
	  (ENCODING_H_INCLUDES): Ditto.
	  (PROBES_H_INCLUDES): Ditto.
	  (VM_CORE_H_INCLUDES): Ditto.

Sun Nov 16 11:07:25 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_io.rb (test_readpartial_locktmp):
	  remove unnecessary begin/end

Sun Nov 16 00:45:23 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk: Specify dependencies for generated C sources.

Sat Nov 15 23:10:45 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk: No need to declare dependencies which
	  will be detected by inference rules.

Sat Nov 15 20:34:23 2014  Tanaka Akira  <akr@fsij.org>

	* internal.h: Include ruby.h and ruby/encoding.h to be
	  includable without prior inclusion.

Sat Nov 15 20:46:44 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb
	  (REXMLTests::TestDocument::EntityExpansionLimitTest):
	  Group tests by general entity and parameter entity.

Sat Nov 15 20:43:31 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb
	  (REXMLTests::TestDocument::EntityExpansionLimitTest): Define
	  test XML in each test method because (1) each XML in used only
	  one test and (2) related data and code should be close.

Sat Nov 15 20:39:06 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb
	  (REXMLTests::TestDocument::EntityExpansionLimitTest): Use
	  one test method for one test.

Sat Nov 15 20:16:59 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb
	  (REXMLTests::TestDocument::EntityExpansionLimitTest): Use
	  setup and teardown instead of ensure in test.

Sat Nov 15 20:11:34 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb (REXMLTests::TestDocument): Group
	  entity expansion limit related tests.

Sat Nov 15 20:09:00 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):
	  Fix wrong parent class. It doesn't need inherit tests in
	  TestDocument class.

Sat Nov 15 19:48:59 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/mkmf.rb (depend_rules): support comments during a line.

	* lib/mkmf.rb (depend_rules): apply RULE_SUBST even if the dependency
	  file contains path.

Sat Nov 15 19:25:46 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk: Remove comments in Dependency lines.
	  Notified by usa.

	* enc/depend: Ditto.

	* ext/**/depend: Ditto.

Sat Nov 15 16:28:05 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_throw_obj): throw UncaughtThrowError instead of
	  ArgumentError.  [Feature #10480]

Sat Nov 15 14:13:38 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Extend to fix dependencies.

	* common.mk: Dependencies updated by tool/update-deps.

	* enc/depend: Ditto.

	* ext/**/depend: Ditto.

Fri Nov 14 17:36:48 2014  Tanaka Akira  <akr@fsij.org>

	* tool/update-deps: Support GNU Make 4.0.

Fri Nov 14 16:59:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (default_proc_for_compat_func): check arguments number and
	  type, and get rid of reentering this default proc.

Fri Nov 14 16:33:06 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): support compatible layer for
	  GC.stat(symbol) type access.

Fri Nov 14 16:19:08 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): add compatible layer.
	  From Ruby 2.2, keys of GC.stat are changed [Feature #9924].
	  To provide compatible layer, GC.stat add a default_proc
	  (if default_proc of given Hash object is not set).

	  At first use of this compatible layer of interpreter process,
	  show a warning message like that:
	  program: GC.stat[:total_allocated_object]
	  warning message: "warning: GC.stat keys were changed from Ruby
	  2.1. In this case, you refer to obsolete `total_allocated_object'
	  (new key is `total_allocated_objects').
	  Please check <https://bugs.ruby-lang.org/issues/9924>
	  for more information."

	  Please correct my English message :)

	* hash.c (rb_hash_set_default_proc): export (in internal).

	* internal.h: ditto.

Fri Nov 14 10:41:25 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: guard by #if/#endif with GC_ENABLE_INCREMENTAL_MARK
	  to hide unused codes.

	* gc.c: similar to GC_ENABLE_LAZY_SWEEP.

Fri Nov 14 10:23:35 2014  Eric Wong  <e@80x24.org>

	* vm_eval.c (rb_eval_cmd): use pre-defined idCall

Fri Nov 14 09:25:44 2014  Eric Wong  <e@80x24.org>

	* vm_eval.c (rb_yield_splat): add missing GC guard
	  [Bug #10509]

Fri Nov 14 08:12:40 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gc.c: fix build error caused by implicit conversion with clang.

Fri Nov 14 06:54:06 2014  Eric Wong  <e@80x24.org>

	* insns.def (opt_succ): remove Time#succ optimization
	  [Feature #10501]

Fri Nov 14 05:29:46 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: refactoring.

	* gc.c: use GC_ENABLE_INCREMENTAL_MARK instead of USE_RINCGC.

	* gc.c (gc_start): check FORCE_MAJOR_GC.

Fri Nov 14 04:51:18 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: Tuning RincGC parameters.

	  Before this patch, gc_marks_step() marks (white -> grey) fixed
	  number objects. However, this strategy does not fit practical
	  cases, for example too slow to make progress.

	  This patch changes this strategy how many objects the
	  gc_marks_step() should handle.

	  We can estimate how many times gc_marks_step() is called during
	  this major marking (== C) with the free slot number in pooled
	  pages. We also can estimate the living object number (== L)
	  using last marked_slots value. We can solve this problem (how
	  many objects should be process in gc_marks_step()) by L/C.

	* gc.c (rb_objspace_t): add rb_objspace_t::rincgc::pooled_slots and
	  step_slots.

Fri Nov 14 01:26:47 2014  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/imap.rb (search_response): parse MODSEQ in SEARCH
	  responses properly.  [ruby-core:64203] [Bug #10112]

Fri Nov 14 01:03:17 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/envutil.rb: Moved from test/ruby/.

	* test/lib/find_executable.rb: Ditto.

	* test/lib/memory_status.rb: Ditto.

	* test/lib/test/unit.rb: require envutil.

	* test/: Don't require envutil in test files.

Thu Nov 13 21:59:58 2014  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* lib/rexml/document.rb: add REXML::Document#document.
	  reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.

Thu Nov 13 21:51:56 2014  Tanaka Akira  <akr@fsij.org>

	* test/monitor/test_monitor.rb: Use assert_join_threads.

Thu Nov 13 21:45:13 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl: Don't specify port number.

Thu Nov 13 21:22:35 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/ssl_server.rb: Unused file removed.
	  It is not used since r16111, Ruby 1.9.1.

Thu Nov 13 18:50:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (rb_ensure): remove obsolete prot_tag comment.  patch by
	  Jack Danger at [ruby-core:66238].  [misc #10502]

Thu Nov 13 18:10:38 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (rb_vm_make_proc_lambda): similar to rb_vm_make_proc() with
	  is_lambda argument.

Thu Nov 13 12:11:18 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_fstat{,i64}): speed up.  adjusting
	  timestamps in this function is to get rid of the side effect of
	  ENV["TZ"].  then, if ENV["TZ"] is not set, no need to adjust.
	  this change makes File#stat about 60% faster.

Thu Nov 13 11:56:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* st.c: include "internal.h" for STATIC_ASSERT.

Thu Nov 13 03:56:38 2014  Eric Wong  <e@80x24.org>

	* gc.c (struct heap_page): trivial packing
	  304 => 296 bytes on x86-64

Wed Nov 12 22:50:12 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gems/bundled_gems: Update to test-unit 3.0.6 and minitest 5.4.3.

Wed Nov 12 22:30:52 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/*: Update to RubyGems 2.4.3 master (7b1f684).

Wed Nov 12 00:26:37 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_object.rb: Specify an exception class for rescue clause.

	* test/dbm/test_dbm.rb: Ditto.

	* test/gdbm/test_gdbm.rb: Ditto.

	* test/sdbm/test_sdbm.rb: Ditto.

Tue Nov 11 23:43:51 2014  Tanaka Akira  <akr@fsij.org>

	* test/fileutils/test_fileutils.rb: Use assert_join_threads.

Tue Nov 11 22:51:14 2014  Tanaka Akira  <akr@fsij.org>

	* test/resolv/test_dns.rb: Use assert_join_threads.

Tue Nov 11 22:33:08 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/pop/test_pop.rb: Use assert_join_threads.

Tue Nov 11 22:07:20 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/http/test_https_proxy.rb: Use assert_join_threads.

Tue Nov 11 18:09:11 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/prelude.c.tmpl: move from tool/compile_prelude.rb and
	  expand by generic_erb.rb.

Tue Nov 11 13:01:31 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/rubygems/commands/contents_command.rb (files_in_default_gem):
	  remove useless sort. show_files will sort the result and
	  another branch, files_in_gem, doesn't sort.
	  it should be removed for consistency.

	* test/rubygems/test_gem_commands_contents_command.rb
	  (test_execute_default_gem): adjust the sort algorithm with
	  Gem::Commands::ContentsCommand#show_files, which sort items
	  as array of [prefix, basename] not strings.

Tue Nov 11 10:37:09 2014  Koichi Sasada  <ko1@atdot.net>

	* string.c (sym_equal): use rb_obj_equal().
	  rb_obj_equal() is specially optimized in
	  opt_eq_func()@vm_insnhelper.c.

	  This fix is made from this discussion:
	  https://www.omniref.com/ruby/2.1.4/symbols/Symbol/%3D%3D#line=8361.

Tue Nov 11 09:38:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc/known_classes.rb: reverted regression changes of
	  rdoc known class.

Tue Nov 11 00:21:50 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/imap/test_imap.rb: Don't ignore exceptions on server
	  threads.

Mon Nov 10 23:34:13 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/ftp/test_ftp.rb (create_ftp_server): Don't ignore
	  exceptions on server thread.
	  Delete read_timeout method call to fix NoMethodError.

Mon Nov 10 20:20:53 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_read): retry with reduced length if cannot to
	  write any data but no error occurs.

Mon Nov 10 20:04:16 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb: Setup shutdown pipe in listen method.

Mon Nov 10 19:37:09 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new
	  function to support nonblock-mode of pipes.

	* win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA
	  if there is no data, but also returns it if remote-end is closed.

	* win32/win32.c (rb_w32_write): if cannot to write any data, it may be
	  blocking.

	* io.c (rb_io_set_nonblock): use rb_w32_set_nonblock for Windows.

	* ext/io/nonblock/nonblock.c (rb_io_nonblock_set): use ruby's API when
	  setting nonblock-mode.

	* test/ruby/test_io.rb: test nonblock pipes on Windows.

Mon Nov 10 17:24:34 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/etc/etc.c (etc_getlogin): set login name encoding properly.
	  [ruby-core:66163] [Bug #10493]

Mon Nov 10 16:20:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/*.rb: Update to RubyGems master(3e36528).

Mon Nov 10 16:09:43 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (rb_f_kill): [DOC] mention known signal list.
	  [ruby-core:66162] [Bug #10492]

Mon Nov 10 14:17:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c)

Mon Nov 10 12:44:39 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb: Less instance variables.

Mon Nov 10 12:19:43 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w to
	  notify readability on the read side of the pipe.
	  write_nonblock() is not usable for pipe on Windows.
	  (cleanup_shutdown_pipe): Rescue IOError for @shutdown_pipe_w.close.

Mon Nov 10 07:31:59 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb (initialize): Initialize shutdown pipe here
	  to avoid race condition.
	  (cleanup_shutdown_pipe): New private method.
	  (cleanup_listener): Extracted from shutdown method.
	  Call this method from start method to avoid race condition.

Mon Nov 10 05:57:53 2014  Tanaka Akira  <akr@fsij.org>

	* test/webrick/webrick.cgi: Don't use debug mode.

	* test/webrick/webrick_long_filename.cgi: Ditto.

Sun Nov  9 23:25:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (vm_call_super): allow bound proc method to call super
	  method.

	* vm_insnhelper.c (vm_yield_with_cfunc): push defined class and
	  bound proc method entry to the control frame.

Sun Nov  9 22:46:13 2014  Tanaka Akira  <akr@fsij.org>

	* test/open-uri: Test server log in server thread.

	* test/webrick: Ditto.

Sun Nov  9 22:28:34 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/httpstatus.rb: require webrick/accesslog for AccessLog.

Sun Nov  9 21:03:59 2014  Tanaka Akira  <akr@fsij.org>

	* test/webrick: Fix the argument order of assert_equal.

Sun Nov  9 20:29:01 2014  Tanaka Akira  <akr@fsij.org>

	* test/webrick: Store log in an array.

	* test/net/http: Ditto.

	* test/open-uri: Ditto.

Sun Nov  9 18:35:36 2014  Tanaka Akira  <akr@fsij.org>

	* test/xmlrpc: Refine log test.

Sun Nov  9 18:33:33 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Replaced if-else by
	  case in self.normalized? in parallel to r48309.

Sun Nov  9 18:07:00 2014  Tanaka Akira  <akr@fsij.org>

	* test/xmlrpc: Use assert_join_threads.

Sun Nov  9 14:06:13 2014  Tanaka Akira  <akr@fsij.org>

	* test/xmlrpc: Test webrick error log is empty.

Sun Nov  9 13:47:02 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (is_incremental_marking): use #if/#else because
	  rb_objspace_t::flags::during_incremental_marking is not defined
	  when GC_ENABLE_INCREMENTAL_MARK is 0.

	* gc.c (will_be_incremental_marking, is_full_marking): similar fix.

Sun Nov  9 12:16:22 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/securerandom.rb (SecureRandom.gen_random): separate
	  implementation details and select at the load time.

Sun Nov  9 12:09:38 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/win32/lib/win32/registry.rb (Win32::Registry::API#Enum{Value,Key):
	  ditto.

Sun Nov  9 11:48:40 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/http: Examine webrick log.

Sun Nov  9 11:45:19 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gems/bundled_gems: upgraded to test-unit 3.0.5.

Sun Nov  9 11:40:50 2014  Tanaka Akira  <akr@fsij.org>

	* defs/known_errors.def: More errors for FreeBSD.

Sun Nov  9 11:25:11 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* gems/bundled_gems: upgraded to power_assert 0.2.0.

Sun Nov  9 10:31:03 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/securerandom.rb: set the script encoding to make a string
	  literal in SecureRandom::Kernel32.last_error_message single byte
	  encoding so msg[] works in bytes, since FormatMessage() returns
	  the size in TCHARs, not in characters.

Sun Nov  9 09:50:22 2014  Tanaka Akira  <akr@fsij.org>

	* test/webrick: Refine log tests.

Sun Nov  9 08:58:05 2014  Tanaka Akira  <akr@fsij.org>

	* defs/known_errors.def (EHWPOISON): New errno symbol.
	  It is defined by glibc-2.16.

Sun Nov  9 05:00:23 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/securerandom.rb (initialize): call the special method for Win32
	  before checking `/dev/urandom` because we know windows doesn't have it.

Sun Nov  9 04:01:46 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/securerandom.rb (SecureRandom::AdvApi32): split from `initialize`.
	  thanks @zzak to remember it.

Sun Nov  9 02:05:33 2014  Tanaka Akira  <akr@fsij.org>

	* test/net/http/utils.rb: Don't connect to spawned server
	  before actual test.

Sun Nov  9 01:51:50 2014  Benoit Daloze  <eregontp@gmail.com>

	* object.c (Module#const_defined?): [DOC] Revise the documentation.
	  Patch by Xavier Noria.
	  [Fixes GH-754] https://github.com/ruby/ruby/pull/754

Sun Nov  9 00:37:44 2014  Tanaka Akira  <akr@fsij.org>

	* test/webrick: Examine log and use assert_join_threads.

Fri Nov  7 00:00:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/unicode_norm_gen.tmpl: expand kompatible_table so that
	  recursive expansion is not needed at runtime.

Thu Nov  6 23:58:40 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* pack.c (pack_pack): escape unprintable characters and preserve
	  the encoding of warning message.

Thu Nov  6 23:55:18 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (sym_printable): QUOTE() should not raise an exception
	  even on invalid byte sequence.

Thu Nov  6 21:44:36 2014  Tanaka Akira  <akr@fsij.org>

	* test/test_unicode_normalize.rb: Rename TestNormalize to
	  TestUnicodeNormalize.
	  Define constants under TestUnicodeNormalize.

Thu Nov  6 21:22:59 2014  Tanaka Akira  <akr@fsij.org>

	* test/open-uri/test_open-uri.rb: Check empty webrick log.

Thu Nov  6 19:27:34 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* re.c (unescape_nonascii): cast -1 for the case char is unsigned char.
	  If char is signed char, for example gcc for ARM or ppc64, it caused
	  infinite loop.
	  http://kmuto.jp/build-ruby/arm/ruby-trunk/log/20141106T013005Z.fail.html.gz
	  http://rubyci.blob.core.windows.net/f19p8/ruby-trunk/log/20141106T090217Z.fail.html.gz

Thu Nov  6 09:53:18 2014  Eric Wong  <e@80x24.org>

	* lib/uri/rfc2396_parser.rb (initialize): reduce bytecode size
	  2088 => 1332 bytes on 32-bit x86

Thu Nov  6 08:49:49 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Comment clarification.

Wed Nov  5 23:43:24 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* compile.c (compile_data_alloc): add padding when strict alignment
	  is required for memory access. Currently, the padding is enabled
	  only when the CPU is 32-bit SPARC and the compiler is GCC.
	  [Bug #9681] [ruby-core:61715]

	* compile.c (STRICT_ALIGNMENT): defined if strict alignment is required

	* compile.c (ALIGNMENT_SIZE, ALIGNMENT_SIZE_MASK, PADDING_SIZE_MAX):
	  new macros for alignment word size, bit mask, max size of padding.

	* compile.c (calc_padding): new function to calculate padding size.

Wed Nov  5 23:24:45 2014  Tanaka Akira  <akr@fsij.org>

	* test/open-uri/test_open-uri.rb: Don't ignore webrick's log.

Wed Nov  5 19:20:08 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb: Stop listener loop properly.
	  [ruby-core:66085] [Bug #10478] Fixed by Charles Nutter.

Wed Nov  5 17:20:29 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/intern.h (rb_disable_super, rb_enable_super): warn
	  as deprecated at build time, instead of ignoring silently or
	  warning at runtime only.

Wed Nov  5 16:55:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (rb_f_lambda): remove deprecated function, which has been
	  unavailable from extension libraries.

Wed Nov  5 16:26:58 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
	  only warnings at runtime.

Wed Nov  5 15:05:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_{,l,r}strip_bang): rb_str_subseq() will not
	  NUL-terminate the result string, in the future, so it will not
	  be needed in other cases.

Wed Nov  5 14:11:30 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (lib/unicode_normalize/tables.rb): do nothing unless
	  BASERUBY is available.  MINIRUBY cannot load extension libraries,
	  so cannot update Unicode data.

Wed Nov  5 12:13:54 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_lstrip, rb_str_strip): reduce memory copy by
	  copying necessary part only.

	* string.c (rb_str_strip_bang, rb_str_strip): ditto.

Wed Nov  5 12:13:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_lstrip, rb_str_strip): reduce memory copy by
	  copying necessary part only.

	* string.c (rb_str_strip_bang, rb_str_strip): ditto.

Wed Nov  5 10:54:19 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): terminate
	  wchar strings with wchar 0.

Tue Nov  4 21:23:22 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/win32/lib/Win32API.rb: Fiddle::Importer is defined in
	  fiddle/import.rb and it's not loaded implicitly.

	* ext/win32/lib/Win32API.rb (Win32API#initialize): `import` is a string.

	* ext/win32/lib/Win32API.rb (Win32API#initialize):
	  Fiddle::Importer::CALL_TYPE_TO_ABI is private constant.

Tue Nov  4 21:20:07 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/securerandom.rb (SecureRandom.random_bytes): use fiddle directly
	  instead of using Win32API.

Tue Nov  4 21:04:30 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/rubygems/test_gem_request_set_lockfile.rb
	  (test_relative_path_from): driveletter support.

Tue Nov  4 16:23:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/rubygems/test_gem_remote_fetcher.rb (RemoteFetcherCleanup):
	  close all pooled connections for each tests to fix leaked file
	  descriptors.

Tue Nov  4 12:51:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (PRIsVALUE), vsnprintf.c (BSD_vfprintf): add
	  RUBY_PRI_VALUE_MARK to reduce danger of accidental conflict with
	  plain "%i".  binary incompatible with extension libraries using
	  PRIsVALUE and built for 2.1 and earlier.  [EXPERIMENTAL]

Tue Nov  4 12:33:44 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* object.c: fix document of Kernel#String by @suzukaze
	  [fix GH-743][ci skip]

Tue Nov  4 12:21:45 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/csv.rb: added documentation for skip_blanks option by @decasia
	  [fix GH-744][ci skip]

Tue Nov  4 12:09:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/open3.rb: fix code formatting in documentation by @JoshCheek
	  [fix GH-747][ci skip]

Tue Nov  4 08:57:37 2014  Eric Wong  <e@80x24.org>

	* encoding.c (enc_memsize): remove unnecessary function
	  [ruby-core:65304]

Mon Nov  3 18:09:39 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/utils.rb: The default of :ignore_listener_error is
	  changed to false.

Mon Nov  3 14:42:37 2014  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (iseq_free): resolve memory leak.

Mon Nov  3 13:49:18 2014  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (iseq_memsize): catch up recent changes.

Mon Nov  3 13:38:28 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: change semantics of opt_num and opt_table.
	  `opt_num' was the number of optional parameters + 1.
	  `opt_table' has "opt_num" entries.

	  Change them to:
	  `opt_num' is the number of optional parameters.
	  `opt_table' has "opt_num + 1" entries.

	  This change simplify parameter fitting logics.

	* compile.c: catch up this change.

	* iseq.c: ditto.

	* proc.c: ditto.

	* vm_args.c: ditto.

Mon Nov  3 11:47:44 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* NEWS: added period into Matrix section. [ci skip]
	  [misc #10446][ruby-core:65987]

Mon Nov  3 09:43:30 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* vm_args.c: fixed build error with clang

Mon Nov  3 09:32:46 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/rfc3986_parser.rb (URI::RFC3986_Parser::RFC3986_URI):
	  allow '[' and ']' for URI input (and escape). [Bug #10402]

	* lib/uri/generic.rb (URI#query=): escape '[', '\', and ']'.

Mon Nov  3 07:49:34 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: change iseq parameter data structure.
	  https://bugs.ruby-lang.org/issues/10440#change-49694

	  * change terminology `arg' to `param'.
	  * move rb_iseq_t::arg_* to rb_iseq_t::param.
	  * move rb_iseq_t::arg_size to rb_iseq_t::param::size.
	  * move rb_iseq_t::argc to rb_iseq_t::param::lead_num.
	  * move rb_iseq_t::arg_opts to rb_iseq_t::param::opt_num.
	  * move rb_iseq_t::arg_rest to rb_iseq_t::param::rest_start.
	  * move rb_iseq_t::arg_post_num to rb_iseq_t::param::post_num.
	  * move rb_iseq_t::arg_post_start to rb_iseq_t::param::post_start.
	  * move rb_iseq_t::arg_block to rb_iseq_t::param::block_start.
	  * move rb_iseq_t::arg_keyword* to rb_iseq_t::param::keyword.
	    rb_iseq_t::param::keyword is allocated only when keyword
	    parameters are available.
	  * introduce rb_iseq_t::param::flags to represent parameter
	    availability. For example, rb_iseq_t::param::flags::has_kw
	    represents that this iseq has keyword parameters and
	    rb_iseq_t::param::keyword is allocated.
	    We don't need to compare with -1 to check availability.
	  * remove rb_iseq_t::arg_simple.

	* compile.c: catch up this change.

	* iseq.c: ditto.

	* proc.c: ditto.

	* vm.c, vm_args.c, vm_dump.c, vm_insnhelper.c: ditto.

	* iseq.c (iseq_data_to_ary): support keyword argument.

Mon Nov  3 03:39:04 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_method.rb: r48239 makes this test green.

Mon Nov 03 03:02:38 2014  Koichi Sasada  <ko1@atdot.net>

	* rewrite method/block parameter fitting logic to optimize
	  keyword arguments/parameters and a splat argument.
	  [Feature #10440] (Details are described in this ticket)

	  Most of complex part is moved to vm_args.c.

	  Now, ISeq#to_a does not catch up new instruction format.

	* vm_core.h: change iseq data structures.

	  * introduce rb_call_info_kw_arg_t to represent keyword arguments.
	  * add rb_call_info_t::kw_arg.
	  * rename rb_iseq_t::arg_post_len to rb_iseq_t::arg_post_num.
	  * rename rb_iseq_t::arg_keywords to arg_keyword_num.
	  * rename rb_iseq_t::arg_keyword to rb_iseq_t::arg_keyword_bits.
	    to represent keyword bitmap parameter index.
	    This bitmap parameter shows that which keyword parameters are given
	    or not given (0 for given).
	    It is referred by `checkkeyword' instruction described bellow.
	  * rename rb_iseq_t::arg_keyword_check to rb_iseq_t::arg_keyword_rest
	    to represent keyword rest parameter index.
	  * add rb_iseq_t::arg_keyword_default_values to represent default
	    keyword values.
	  * rename VM_CALL_ARGS_SKIP_SETUP to VM_CALL_ARGS_SIMPLE
	    to represent
	      (ci->flag & (SPLAT|BLOCKARG)) &&
	      ci->blockiseq == NULL &&
	      ci->kw_arg == NULL.

	* vm_insnhelper.c, vm_args.c: rewrite with refactoring.

	  * rewrite splat argument code.
	  * rewrite keyword arguments/parameters code.
	  * merge method and block parameter fitting code into one code base.

	* vm.c, vm_eval.c: catch up these changes.

	* compile.c (new_callinfo): callinfo requires kw_arg parameter.

	* compile.c (compile_array_): check the last argument Hash object or
	  not. If Hash object and all keys are Symbol literals, they are
	  compiled to keyword arguments.

	* insns.def (checkkeyword): add new instruction.
	  This instruction check the availability of corresponding keyword.

	  For example, a method "def foo k1: 'v1'; end" is compiled to the
	  following instructions.

	    0000 checkkeyword     2, 0  # check k1 is given.
	    0003 branchif         9     # if given, jump to address #9
	    0005 putstring        "v1"
	    0007 setlocal_OP__WC__0 3   # k1 = 'v1'
	    0009 trace            8
	    0011 putnil
	    0012 trace            16
	    0014 leave

	* insns.def (opt_send_simple): removed and add new instruction
	  "opt_send_without_block".

	* parse.y (new_args_tail_gen): reorder variables.
	  Before this patch, a method "def foo(k1: 1, kr1:, k2: 2, **krest, &b)"
	  has parameter variables "k1, kr1, k2, &b, internal_id, krest",
	  but this patch reorders to "kr1, k1, k2, internal_id, krest, &b".
	  (locate a block variable at last)

	* parse.y (vtable_pop): added.
	  This function remove latest `n' variables from vtable.

	* iseq.c: catch up iseq data changes.

	* proc.c: ditto.

	* class.c (keyword_error): export as rb_keyword_error().

	* common.mk: depend vm_args.c for vm.o.

	* hash.c (rb_hash_has_key): export.

	* internal.h: ditto.

Mon Nov  3 02:35:32 2014  Koichi Sasada  <ko1@atdot.net>

	* sample/simple-bench.rb: added to measure performance of simple
	  lines.

Mon Nov  3 02:33:43 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): show T_STRING more details.

Sun Nov  2 01:30:32 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/test_ssl.rb: Don't ignore errors on listener threads,
	  as much as possible.

	* test/openssl/test_ssl_session.rb: Ditto.

	* test/openssl/test_partial_record_read.rb: Ditto.

Sat Nov  1 23:11:05 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/utils.rb (start_server): Don't close sockets before
	  threads finished.

Sat Nov  1 22:06:24 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/test_ssl_session.rb (test_ctx_client_session_cb): Don't
	  ignore errors of SSL accept.
	  (test_ctx_server_session_cb): Ditto.

	* test/openssl/utils.rb (server_loop): Add ignore_ssl_accept_error
	  argument.
	  (start_server): Refine threads waits.

	* test/ruby/envutil.rb (assert_join_threads): Show a thread before
	  backtrace.

Sat Nov  1 20:40:18 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl/utils.rb (start_server, server_loop): Use a
	  pipe to stop server instead of shutdown/close a listening socket.

Sat Nov  1 19:24:59 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/envutil.rb (assert_join_threads): New assertion to
	  join multiple threads without exceptions.

Sat Nov  1 17:09:32 2014  Tanaka Akira  <akr@fsij.org>

	* bignum.c (bary_mul_balance_with_mulfunc): Fix free work area
	  location.
	  [ruby-dev:48723] [Bug #10464]
	  [ruby-core:66044] [Bug #10465]
	  Reported by Kohji Nishihama.

Sat Nov  1 15:45:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parse_atmark): mere atmark and two atmarks without
	  succeeding identifiers are invalid as instance/class variable
	  names.

Sat Nov  1 06:31:41 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_variant.c: use typed data.

Fri Oct 31 13:55:28 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/dl/*: remove DL as it is replaced by Fiddle.
	  [Feature #5458] Thanks to Jonan Scheffler <jonanscheffler@gmail.com>
	  for this patch

	* test/dl/*: ditto.

Fri Oct 31 15:26:02 2014  Charles Oliver Nutter  <headius@headius.com>

	* test/openssl/test_ssl.rb: Add certificate verification chain
	  test from JRuby community.

Fri Oct 31 18:58:02 2014  Charles Oliver Nutter  <headius@headius.com>

	* test/psych/test_emitter.rb: Fix line_width test...initial value
	  is impl-specific and attr assignment always returns LHS.

Fri Oct 31 22:19:30 2014  Akinori MUSHA  <knu@iDaemons.org>

	* ext/digest/lib/digest.rb (Digest()): This function should now be
	  thread-safe.  If you have a problem with regard to on-demand
	  loading under a multi-threaded environment, preload "digest/*"
	  modules on boot or use this method instead of directly
	  referencing Digest::*. [Bug #9494]
	  cf. https://github.com/aws/aws-sdk-ruby/issues/525

Fri Oct 31 21:33:17 2014  Akinori MUSHA  <knu@iDaemons.org>

	* test/digest/test_digest.rb: Drop #!.  This no longer runs
	  stand-alone because it depends on ruby/envutil.

Fri Oct 31 17:22:19 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/setup.mak: $(APPEND) with some arguments insert a space before
	  the arguments, so it causes error if the arguments are expected to be
	  a macro definition.  this fix resolve the build error introduced at
	  r48210.

Fri Oct 31 16:47:35 2014  Akinori MUSHA  <knu@iDaemons.org>

	* ext/syslog/lib/syslog/logger.rb (Syslog::Logger::VERSION): Bump
	  the VERSION to 2.1.0. [ruby-core:64483] [Bug #10159]

Fri Oct 31 16:33:46 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/net/imap.rb (Net::IMAP#fetch): [DOC] Document that
	  Net::IMAP#fetch will return nil instead of an empty array.

Fri Oct 31 12:54:43 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (.unicode-tables.time): needs Unicode files always,
	  and should update after downloading these files.
	  [ruby-core:66026] [Bug #10461]

Fri Oct 31 10:16:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: reverted r48199, it's unrelated configuration.

Fri Oct 31 09:58:14 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_unicode_normalize.rb: added unicode version number to
	  test data location.

Fri Oct 31 09:56:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .gitignore: ignored unicode data with version directories.

Fri Oct 31 09:35:30 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: tweak build scripts for unicode_normalize.rb.

Thu Oct 30 18:47:04 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* common.mk: fix for the case ALWAYS_UPDATE_UNICODE=no

Thu Oct 30 13:23:23 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: changed Unicode data download location
	  from latest Unicode version to Unicode 7.0.0.

Thu Oct 30 11:16:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_insnhelper.c (vm_callee_setup_arg{_complex,}): try conversion
	  by to_ary for a lambda, as well as a proc.
	  [ruby-core:65887] [Bug #9605]

Wed Oct 29 21:13:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (gettable_gen): warn circular argument reference, for
	  transition from 2.1 and earlier.  [ruby-core:65990] [Bug #10314]

Wed Oct 29 20:41:01 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_params): remove unused member `cur_mid`.
	  this has been taken over by `in_def` since 1.6.

Wed Oct 29 14:44:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (rb_f_load): path name needs to be transcoded to OS path
	  encoding.  [ruby-list:49994]

Wed Oct 29 11:48:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (__builtin_setjmp): disable with gcc/clang earlier
	  than 4.3 on Mac OS X.  [ruby-core:65174] [Bug #10272]

Wed Oct 29 11:43:43 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Generalize Vector#cross_product to arbitrary
	  dimensions
	  based on a patch by gogo tanaka [#10074]

Wed Oct 29 11:43:11 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Matrix#adjucate
	  patch by gogo tanaka [#10056]

Wed Oct 29 11:42:33 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add aliases for Vector#cross & dot
	  patch by gogo tanaka [#10352]

Wed Oct 29 10:00:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gems/bundled_gems: Update latest version of bundled gems.

Tue Oct 28 16:52:07 2014  Eric Wong  <e@80x24.org>

	* signal.c (install_sighandler): remove rb_disable_interrupt and
	  rb_enable_interrupt calls
	  (init_sigchld): ditto
	  (Init_signal): disable and enable interrupt once around all
	  install_sighandler and init_sigchld to reduce syscalls at start
	  [Feature #9345] [ruby-core:59480]

Tue Oct 28 16:22:41 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (process_options, load_file_internal2): should not
	  require other files when dump option is given.
	  [ruby-dev:48712] [Bug #10435]

Tue Oct 28 14:51:38 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: remove apple-gcc4.2 from CC candidates.

Mon Oct 27 20:13:37 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/rexml/entity.rb: keep the entity size within the limitation.
	  reported by Willis Vandevanter <will@silentrobots.com> and
	  patched by nahi.

Mon Oct 27 17:17:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (method_proc): the receiver of binding from method should
	  be same as the receiver of the method.
	  [ruby-core:65917] [Bug #10432]

Mon Oct 27 16:26:37 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_super.rb: add a test to check block passing.

Mon Oct 27 15:59:26 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: is_incremental_marking(), will_be_incremental_marking():
	  use `&&' with GC_ENABLE_INCREMENTAL_MARK instead of using
	  #if/#else/#endif.

Mon Oct 27 13:40:11 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (gc_sweep_rest): sweep rest pages regardless of whether
	  lazy sweep is enabled or not.  based on the patch by Masahiro
	  Ide at [ruby-dev:48706].  [Bug #10431]

Mon Oct 27 11:18:32 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  reduce garbage during forks

Sun Oct 25 12:26:26 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,
	  minsns.inc.tmpl: fixed path of generating script.

Sun Oct 26 12:24:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp, Ripper.sexp_raw):
	  return nil on error.  [ruby-dev:48678] [Bug #10405]

Sun Oct 25 11:24:24 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* string.c: improved comment.

Sun Oct 26 07:40:11 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.
	  use ole_variant2variant to convert WIN32OLE_VARIANT object to
	  VARIANT object.

	* ext/win32ole/win32ole_variant.c: refactoring. add
	  ole_variant2variant.
	* ext/win32ole/win32ole_variant.h: ditto.

Sat Oct 25 22:28:17 2014  Tanaka Akira  <akr@fsij.org>

	* io.c (io_binwrite_string): Test writev() failure.

Sat Oct 25 20:19:19 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: added test_us_ascii.

Sat Oct 25 20:09:09 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: added US_ASCII
	  as trivially supported encoding (is always normalized,
	  and may appear mixed in with UTF-8 or other Unicode
	  encodings).

Sat Oct 25 20:01:01 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: added
	  test_raise_exception_for_non_unicode_encoding.

Sat Oct 25 19:30:30 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: removed unused function.

Sat Oct 25 18:41:41 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* template/unicode_norm_gen.tmpl: Adjusted name of generating file.

Fri Oct 24 22:49:42 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_yylex): dispatch newline and space at fluent
	  interface, so that the following identifier does not include the
	  space.  [ruby-dev:48684] [Bug #10411]

Fri Oct 24 20:41:36 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* signal.c (check_reserved_signal_): fix write count since r47991.

Thu Oct 23 21:42:54 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_hash_delete): now does not call the block given to
	  the current method.  [ruby-core:65861] [Bug #10413]

Thu Oct 23 19:13:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_method.c (rb_method_entry_make): warn redefinition only for
	  already defined methods, but not for undefined methods.
	  [ruby-dev:48691] [Bug #10421]

Thu Oct 23 17:19:04 2014  Kouhei Sutou  <kou@cozmixng.org>

	* lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix a
	  bug that can't parse XML correctly when
	  Encoding.default_internal is different with XML
	  encoding. REXML::Source converts XML encoding on read. So IO
	  should not convert XML encoding.
	  Based on patch by NAKAMURA Usaku.
	  [ruby-dev:48686] [Bug #10418]

	* test/rexml/test_encoding.rb
	  (REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_internal):
	  Add the for the above case.

Thu Oct 23 16:29:02 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_encoding.rb
	  (REXMLTests::EncodingTester#test_parse_utf16): Use meaningful
	  test name. "ticket" in the old test name means the ticket in
	  REXML's issue tracker. The REXML's issue tracker was gone. So
	  "ticket" is meaningless.

	* test/rexml/data/ticket_110_utf16.xml: Rename to ...
	* test/rexml/data/utf16.xml: ... this.

Thu Oct 23 16:18:11 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_encoding.rb
	  (REXMLTests::EncodingTester#test_ticket_110): Fix expected and
	  actual order.
	  Patch by NAKAMURA Usaku. Thanks!!!

Thu Oct 23 10:47:16 2014  Eric Wong  <e@80x24.org>

	* insns.def (getlocal,setlocal): add comment to def/opt_operand.def

Thu Oct 23 10:22:41 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  use IO#wait_readable instead of timeout

Thu Oct 23 10:22:24 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  ensure exit! during fork failure

Thu Oct 23 10:21:21 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* NEWS: Added String#unicode_normalize(|!|d?) [ci skip]

Thu Oct 23 03:41:51 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* class.c (unknown_keyword_error): delete expected keywords
	  directly from raw table, so that the given block is not called.
	  [ruby-core:65837] [Bug #10413]

Thu Oct 23 02:33:01 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (update-unicode): invert dependency to run every times.
	  [ruby-core:65842] [Bug #10415]

	* common.mk (after-update): update files under source tree.
	  [ruby-core:65840] [Bug #10414]

Wed Oct 22 22:38:59 2014  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override
	  options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined.
	  this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424]

Wed Oct 22 21:31:56 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk (prelude.c): add dependency to LIB_SRCS because
	  enc/prelude.rb requires lib/unicode_normalize.rb, and it's also
	  requires lib/unicode_normalize/tables.rb (=LIB_SRCS).

Wed Oct 22 21:09:51 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* configure.in (nacl_cv_cpu_nick): fix typo in PNaCl.
	  (XCFLAGS) Add -isystem flag to pnacl and nacl-newlib
	  (CXX): added

	* nacl/GNUmakefile.in (CXX): Added
	  (PPROGRAM): Use clang++ instead of clang because libnacl_io
	  depends on c++ std lib.

Wed Oct 22 21:07:32 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* common.mk (build-ext): avoid trying to build dynamic libraries
	  if configured --with-static-linked-ext.

Wed Oct 22 20:33:33 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* common.mk: Fixed grammar in comment [ci skip]

Wed Oct 22 19:18:18 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb: Fixed escaping of backslash and
	  double quote ('\\\&' -> "\\\\\\\&"; double quoted string
	  is needed to make \& mean last match; double double
	  backslashes are needed because of two layers of escaping).

Wed Oct 22 18:13:29 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/test-unicode_normalize.rb: as often said, ruby is sometimes built
	  at non-srcdir.

Wed Oct 22 18:12:12 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: Adjusted path for test
	  data file (now ../enc/unicode/data/NormalizationTest.txt).

Wed Oct 22 18:07:07 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: Removed explicit require,
	  changed method names, adjusted copyright.

Wed Oct 22 18:00:00 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* test/test-unicode_normalize.rb: Importing from
	  https://github.com/duerst/eprun/blob/master/test/test_normalize.rb.
	  (removing trailing whitespace, fixing EOLs and adding EOL property)

Wed Oct 22 08:21:09 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* nacl/pepper_main.c (Instance_DidCreate): mount devfs and rebind fd 0
	  .. 2 so that stderr goes to the console of the browser.

Wed Oct 22 03:47:43 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* ext/etc/etc.c (etc_nprocessors_affin): maximum "n" should be 16384.

Wed Oct 22 03:37:00 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* ext/etc/etc.c (etc_nprocessors_affin): minor spell fix.

Wed Oct 22 03:33:58 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* ext/etc/etc.c (etc_nprocessors_affin): optimize memory usage a
	  bit. Typical rubyist never use 8k cpus machine.

Wed Oct 22 00:01:09 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* configure.in (XCFLAGS): Add include path for NaCl libraries.
	  (XLDFLAGS): ditto.
	  (NACL_LIB_PATH): new substitution

	* nacl/nacl-config.rb: support NACL_LIB_PATH

	* nacl/package.rb: ditto.

	* nacl/pepper_main.c: replace old implementations with nacl_io.

	* nacl/GNUmakefile.in: link nacl_io to pepper_ruby

	* ruby.c (rb_load_file): remove __attribute__((weak)) because the old
	  override hack was replaced with nacl_io.

	* file.c (rb_file_load_ok): ditto.

Tue Oct 21 17:32:32 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* common.mk: Adding explicit creation of directory
	  enc/unicode/data because git doesn't handle empty
	  directories. [patch by Masahiro Ide, filed with r48073]

Tue Oct 21 17:12:12 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/tables.rb: Committing to make version
	  update easier and more predictable, and reducing compilation
	  time.

Tue Oct 21 15:56:56 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Added comment to point to
	  relevant portion of Unicode standard for Hangul (de)composition
	  identifiers and algorithm.

Tue Oct 21 11:49:16 2014  Andreas Schwab  <schwab@suse.de>

	* gc.c (mark_current_machine_context) [__mc68000__]: Update stack
	  marking.
	  (rb_gc_mark_machine_stack) [__mc68000__]: Also handle it here.

Mon Oct 20 23:59:38 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* enc/prelude.rb: we sometimes run ruby without library path (especially
	  for test), so should permit to run ruby if unicode_normalize.rb is
	  missing.

Mon Oct 20 23:57:58 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk (lib/unicode_normalize/tables.rb): enable running (n)make
	  in non-srcdir.

Mon Oct 20 23:58:04 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/downloader.rb: add -a option to always download regardless
	  existing files.

Mon Oct 20 23:18:18 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/mkmf.rb: no need to convert path separator for COPY because it's
	  ruby -run cp and it can treat '/' on any platform.

Mon Oct 20 19:54:54 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* config.mk: Added missing data files as targets for
	  prerequisite update_unicode.

Mon Oct 20 19:06:06 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: revert r48046. The s in sIndex
	  is not hungarian notation. The variable name sIndex is
	  directly taken from the relevant part of the Unicode
	  Standard, where it is written SIndex and stands for
	  'syllable index'. See pp. 144/145 of
	  http://www.unicode.org/versions/Unicode7.0.0/ch03.pdf.

Mon Oct 20 12:46:46 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: removing unnecessary 'self'.

Mon Oct 20 12:37:37 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: change method names
	  in commented-out code. Followup to r48027.

Mon Oct 20 02:23:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_ivar_get), vm_insnhelper.c (vm_getivar): improve
	  instance variable retrieval performance by checking ruby_verbose
	  before call of rb_warning and evaluation of its argument.
	  [ruby-core:65786] [Feature #10396]

Sun Oct 19 23:31:29 2014  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* lib/unicode_normalize.rb: (unicode_normalize!): change method name.
	  catch up the method name change at r48014. [Feature #10084]

Sun Oct 19 20:05:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.

Sun Oct 19 18:39:39 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* enc/prelude.rb: Added automatic loading of
	  lib/unicode_normalize.rb. This makes sure that all
	  the methods that are available on String are
	  available without explicit require.

Sun Oct 19 18:35:35 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Added a missing
	  file extension in require statement.

Sun Oct 19 18:13:13 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* common.mk: Added a rule to generate
	  lib/unicode_normalize/tables.rb. This rule still
	  needs to be integrated into the overall make process.

Sun Oct 19 17:53:53 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Changed to dynamic
	  loading of actual normalization code and tables.

Sun Oct 19 17:37:37 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Small documentation fix.

Sun Oct 19 17:26:26 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Added documentation.

Sun Oct 19 11:09:09 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:
	  File name change from lib/unicode_normalize/normalize_tables.rb
	  to lib/unicode_normalize/tables.rb.

Sun Oct 19 10:12:12 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Changing method names, see
	  https://bugs.ruby-lang.org/issues/10084#note-7

Sun Oct 19 10:10:10 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Changing module name.

Sun Oct 19 10:08:08 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Changing require statement,
	  adjusting copyright.

Sun Oct 19 10:04:04 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize.rb: Importing from
	  https://github.com/duerst/eprun/blob/master/lib/string_normalize.rb.
	  (removing trailing whitespace, fixing EOLs and adding EOL property)

Sun Oct 19 09:56:56 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb: Changed module name.

Sun Oct 19 09:48:48 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Changed module name,
	  adjusted copyright.

Sun Oct 19 09:38:38 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize/normalize.rb: Importing from
	  https://github.com/duerst/eprun/blob/master/lib/normalize.rb.

Sat Oct 18 20:40:52 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* vm_core.h, proc.c, vm_backtrace.c, vm_trace.c:
	  remove rb_binding_new_with_cfp, and use rb_vm_make_binding instead.

Sat Oct 18 20:38:48 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
	  [ruby-dev:48616] [Bug #10368]

	* test/ruby/test_eval.rb: add a test code.

Fri Oct 17 22:47:11 2014  Tanaka Akira  <akr@fsij.org>

	* pack.c (pack_unpack): Add casts for char references for 'u'.
	  Fix line ending recognition algorithm.

Fri Oct 17 21:49:52 2014  Tanaka Akira  <akr@fsij.org>

	* pack.c (pack_unpack): Add casts for char references for 'b' and 'h'.

Fri Oct 17 17:50:10 2014  Tanaka Akira  <akr@fsij.org>

	* Avoid undefined behaviors found by gcc -fsanitize=undefined.
	  gcc (Debian 4.9.1-16) 4.9.1

	* string.c (rb_str_sum): Avoid undefined behavior.

Fri Oct 17 17:43:50 2014  Tanaka Akira  <akr@fsij.org>

	* Avoid undefined behaviors found by gcc -fsanitize=undefined.
	  gcc (Debian 4.9.1-16) 4.9.1

	* include/ruby/ruby.h (INT2FIX): Avoid undefined behavior.

	* node.h (nd_set_line): Ditto.

	* pack.c (encodes): Ditto.
	  (pack_unpack): Ditto.

	* regint.h (BIT_STATUS_AT): Ditto.
	  (BS_BIT): Ditto.

	* time.c (time_mdump): Ditto.
	  (time_mload): Ditto.

	* vm_core.h (VM_FRAME_MAGIC_MASK): Ditto.

	* vm_trace.c (recalc_add_ruby_vm_event_flags): Ditto.

Fri Oct 17 15:06:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (unescape_nonascii): make dynamically compiled US-ASCII
	  regexps ASCII-8BIT encoding if binary (hexadecimal, control,
	  meta) escapes are contained, as well as literal regexps.
	  [ruby-dev:48626] [Bug #10382]

Fri Oct 17 03:05:08 2014  Eric Wong  <e@80x24.org>

	* test/-ext-/bug_reporter/test_bug_reporter.rb
	  (test_bug_reporter_add): revert r47972
	* test/ruby/test_rubyoptions.rb (test_segv_test): revert r47971
	  [ruby-core:65764]

Thu Oct 16 23:17:40 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (rb_sigaltstack_size): double default size to get rid
	  of heap corruption by alternate stack overflow in SEGV handler.
	  typically happened at fprintf() in control_frame_dump().

Thu Oct 16 22:43:12 2014  Tanaka Akira  <akr@fsij.org>

	* vm_backtrace.c (id2str): Fix a variable name.
	  [ruby-dev:48642] [Bug #10389]

Thu Oct 16 20:01:26 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/envutil.rb (assert_pattern_list): Show number of matched
	  patterns and characters.

Thu Oct 16 16:26:09 2014  Eric Wong  <e@80x24.org>

	* cont.c (fiber_store): fix WIN32 fibers
	  [ruby-core:65745] [ruby-core:65758]

Thu Oct 16 15:05:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_here_document): do not append already appended
	  and disposed code fragment.  [ruby-dev:48647] [Bug #10392]

Thu Oct 16 10:35:33 2014  Eric Wong  <e@80x24.org>

	* test/-ext-/bug_reporter/test_bug_reporter.rb
	  (test_bug_reporter_add): fix race

Thu Oct 16 10:09:02 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_rubyoptions.rb (test_segv_test): fix race

Thu Oct 16 09:17:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* cont.c (rb_fiber_t): fix compile error caused by move to
	  vm_core.h at r47964.  [Feature #10341]

Thu Oct 16 08:58:11 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  avoid killing wrong parent

Thu Oct 16 08:40:04 2014  Eric Wong  <e@80x24.org>

	* cont.c (fiber_store): restore references to next_fib (fix typo)

Thu Oct 16 08:26:08 2014  Eric Wong  <e@80x24.org>

	* cont.c (fiber_store): remove references to nextfib
	  fix build when FIBER_USE_NATIVE is 0

Thu Oct 16 06:51:35 2014  Knut Franke  <Knut.Franke@gmx.de>

	* vm_core.h: declare rb_fiber_t typedef
	  (rb_thread_t): fiber and root_fiber become rb_fiber_t * (from VALUE)
	* vm.c (rb_thread_mark): use rb_fiber_mark_self
	* cont.c (rb_fiber_t): prev becomes rb_fiber_t * (from VALUE)
	  (cont_mark, cont_free): simplify conditions
	  (rb_fiber_mark_self): new function
	  (fiber_mark): use rb_fiber_mark_self
	  (cont_save_thread, cont_restore_thread): inline
	  (cont_restore_thread): simplify
	  (fiber_setcontext): simplify conditions
	  (rb_cont_call): remove dereference
	  (fiber_t_alloc): update for rb_fiber_t->prev type change
	  (rb_fiber_start): ditto
	  (fiber_current): extract from rb_fiber_current
	  (return_fiber): move, simplify type checks
	  (rb_fiber_current): use fiber_current
	  (fiber_store): simplify type checks
	  (fiber_switch): ditto, simplify call to fiber_setcontext,
	   use fiber_current
	  (rb_fiber_transfer): update for type changes
	  (rb_fiber_terminate): move, use fiber_switch
	  (rb_fiber_resume): update for type changes
	  (rb_fiber_reset_root_local_storage): ditto
	  (rb_fiber_yield): use rb_fiber_switch instead of rb_fiber_transfer
	  (rb_fiber_m_transfer): ditto
	  [ruby-core:65518] [Feature #10341]

Thu Oct 16 06:25:29 2014  Knut Franke  <Knut.Franke@gmx.de>

	* cont.c (rb_context_t): comment on saved_thread
	  (cont_save_thread): sparse copy
	  (cont_init): copy extra fields
	  (fiber_init): use current thread VM stack size
	  [ruby-core:65518] [Feature #10341]

Thu Oct 16 06:13:09 2014  Knut Franke  <Knut.Franke@gmx.de>

	* cont.c (cont_capture): remove unnecessary variable
	  [ruby-core:65518] [Feature #10341]

Thu Oct 16 05:02:31 2014  Knut Franke  <Knut.Franke@gmx.de>

	* cont.c (fiber_store, fiber_switch): simplify
	  [ruby-core:65518] [Feature #10341]

Thu Oct 16 04:28:41 2014  Knut Franke  <Knut.Franke@gmx.de>

	* cont.c (rb_fiber_t): remove prev_fiber/next_fiber
	  (fiber_link_join, fiber_link_remove): remove functions
	  (fiber_free, fiber_init, root_fiber_alloc):
	   remove references to removed fields and functions
	  [ruby-core:65518] [Feature #10341]

Wed Oct 15 22:08:37 2014  Tanaka Akira  <akr@fsij.org>

	* ext/etc/etc.c (etc_nprocessors_affin): Test CPU_ALLOC availability.
	  CentOS 5 don't have CPU_ALLOC().

Wed Oct 15 18:26:19 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* ext/etc/etc.c (etc_nprocessors_affinity): use sched_getaffinity
	  for getting precious number of available cpus.

	* ext/etc/etc.c (etc_nprocessors): use etc_nprocessors_affinity if
	  possible.

	  [Feature #10267] etc-nprocessors-kosaki2.patch

Wed Oct 15 17:53:28 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/envutil.rb (assert_pattern_list) Renamed from
	  assert_regexp_list.
	  Show multiline string in multi lines.

	* test/-ext-/bug_reporter/test_bug_reporter.rb: Use
	  assert_pattern_list.

Wed Oct 15 12:26:58 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/envutil.rb (assert_regexp_list): New assertion method.

	* test/ruby/test_rubyoptions.rb: Use assert_regexp_list.

Wed Oct 15 07:21:09 2014  Tanaka Akira  <akr@fsij.org>

	* enum.c: min(n) drops elements bigger than the n-th maximum element.
	  (struct nmin_data): New field to record the n-th maximum element, limit
	  (nmin_filter): Update limit field.
	  (nmin_i): Drop too big elements.
	  (nmin_run): Initialize limit field.

Wed Oct 15 07:00:14 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_optimization.rb (test_string_size): new test

Wed Oct 15 06:51:13 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_optimization.rb (test_string_eq_neq): new test
	  (test_string_ltlt): ditto

Wed Oct 15 06:50:29 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_optimization.rb (test_hash_aset_with):
	  assert assignment

Wed Oct 15 04:56:27 2014  Zachary Scott  <e@zzak.io>

	* gc.c (rb_obj_id): [DOC] Fix typo, clean up sentence, and wrap cols

Wed Oct 15 04:53:30 2014  Zachary Scott  <e@zzak.io>

	* error.c: [DOC] Fix case of type in exception message by @tricknotes
	  [Fixes GH-740] https://github.com/ruby/ruby/pull/740

	* object.c: ditto

Tue Oct 14 21:39:16 2014  Vit Ondruch  <vondruch@redhat.com>

	* tool/rbinstall.rb (gem): Fix permissions of bundled gems
	  specification files.  [ruby-core:65700] [Bug #10383]

Tue Oct 14 19:15:31 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_record.c: use typed data.

Tue Oct 14 16:23:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.c (global_symbols): make ids two-dimensional array of
	  strings and symbols, for write-barrier.

	* symbol.c (global_symbols): make IDs immortal always, instead
	  of treating dynamic symbols as IDs.

	* iseq.c, marshal.c, string.c: use rb_str_intern instead of
	  rb_str_dynamic_intern.

	* symbol.c (rb_str_intern): rename rb_str_dynamic_intern.

Tue Oct 14 10:19:10 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_optimization.rb (test_string_freeze): new test
	  (test_hash_aref_with): ditto
	  (test_hash_aset_with): ditto

Tue Oct 14 01:27:54 2014  Tanaka Akira  <akr@fsij.org>

	* enum.c (nmin_run): max(n) and max_by(n) returns an array in
	  descending order.
	  [ruby-core:65452] Suggested by David Grayson.

Mon Oct 13 20:44:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (update-gems): chdir to the target directory and then
	  add the tool directory to load paths, for older BASERUBY.
	  [Bug #10372][ruby-core:65630]

Mon Oct 13 17:53:01 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
	  [Feature #9379][ruby-core:59633]
	* lib/xmlrpc/config.rb: ditto.

Mon Oct 13 16:32:56 2014  Tanaka Akira  <akr@fsij.org>

	* lib/find.rb (Find.find): Call to_path for arguments to obtain
	  strings.
	  [ruby-core:63713] [Bug #10035] Reported by Herwin.

Mon Oct 13 15:42:25 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* common.mk: use relative load path for bundled_gems directory.
	  [Bug #10372][ruby-core:65630]

Mon Oct 13 08:44:06 2014  Zachary Scott  <e@zzak.io>

	* README.EXT: [DOC] fix example missing typedef with patch by
	  @steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739

	* README.EXT.ja: ditto.

Mon Oct 13 06:52:09 2014  Eric Wong  <e@80x24.org>

	* array.c (ary_recycle_hash): add RB_GC_GUARD
	  (rb_ary_diff): remove volatile
	  [Bug #10369]

Mon Oct 13 03:20:23 2014  Zachary Scott  <e@zzak.io>

	* ext/date/date_core.c: [DOC] Clean up whitespace, examples, and typos
	  in date_core based on a patch by @vipulnsward [Fixes GH-724]
	  https://github.com/ruby/ruby/pull/724

Mon Oct 13 02:39:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (remove_duplicate_keys): should not simply eliminate all
	  value nodes, which may have side effects.
	  [ruby-core:65625] [Bug #10315]

Sun Oct 12 10:39:16 2014  Zachary Scott  <e@zzak.io>

	* vm.c: [DOC] fix typo by @yui-knk [Fixes GH-738]
	  https://github.com/ruby/ruby/pull/738

Sun Oct 12 09:24:15 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/test/unit.rb: Hide skips by default.

Sun Oct 12 01:37:11 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* file.c: include sys/time.h only if HAVE_SYS_TIME_H

Sat Oct 11 22:29:40 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* file.c (HAVE_UTIMENSAT): disabled for NativeClient.
	  Fixes build error.

Sat Oct 11 22:11:58 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
	  extinit.$(OBJEXT) used to be generated by the builtin rule, thus
	  didn't accept custom $(CC) and caused linkage error for cross
	  compiling.

Sat Oct 11 18:46:50 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* include/ruby/intern.h (rb_fd_select): declare struct timeval, or the
	  struct gets local to the function in C99.

	* file.c (#include): add nacl/stat.h for PNaCl.
	  (utimes): added a declaration for PNaCl.
	  (stat_atimespec): stat::st_atimensec is long long but
	  timespec::tv_nsec is long in PNaCl.
	  (stat_mtimespec, stat_ctimespec): ditto.
	  (rb_group_member): disable getgroups unless HAVE_GETGROUPS.
	  (eaccess): unify the fallback to generic defined(USE_GETEUID).

	* io.c: include sys/time.h for struct timeval.
	  (rb_close_before_exec): nothing we can do if F_GETFD is not
	  available.
	  (ioctl): pnacl newlib actually doesn't have ioctl.

	* process.c (maxgroups): it is used iff
	   defined(_SC_NGROUPS_MAX) || defined(NGROUPS_MAX) but not
	   defined(HAVE_GETGROUPS) || defined(HAVE_SETGROUPS).
	  (obj2gid): fail unless the object is a Fixnum if getgrnam is not
	  available.
	  (disable_child_handler_fork_child): sigaction is not available in
	  PNaCl newlib.

	* configure.in (warnflags, strict_warnflags): avoid -ansi for strlcpy.
	  (rb_cv_gcc_atomic_builtins): also check
	  __atomic_or_etch because it is used in ruby_atomic.h.
	  (rb_cv_gcc_sync_builtins): ditto.
	  (HAVE_GETGRNAM): added.

Sat Oct 11 15:32:08 2014  Eric Wong  <e@80x24.org>

	* compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD
	  (iseq_build_from_ary_body): use PRIsVALUE instead of RB_GC_GUARD

Sat Oct 11 14:57:08 2014  Eric Wong  <e@80x24.org>

	* string.c (rb_str_intern): remove unnecessary RB_GC_GUARD

Sat Oct 11 13:47:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (remove_duplicate_keys): remove duplicate literal keys,
	  i.e., symbols and strings.  [ruby-core:65368] [Bug #10315]

	* vm.c (kwmerge_i): override existing keys by new keys.
	  [ruby-core:65368] [Bug #10315]

	* parse.y (assocs): concatenate splatted literal hashes.  the
	  former key has precedence even if duplicated literal keys
	  follow.  [ruby-core:65368] [Bug #10315]

Sat Oct 11 12:27:03 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* configure.in (RUBY_NACL): automatically locate pnacl-clang.
	  (RUBY_PLATFORM): pnacl instead of le32-nacl.

Sat Oct 11 11:27:14 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* io.c: fix issues in the last two commits. don't disable cloexec for
	  platforms other than NativeClient.

	* ChangeLog: ditto. add entries for the last two commits.

Sat Oct 11 11:12:00 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* signal.c (install_signalhandler, init_sigchld): allow failure because it
	  always fails with ENOSYS on NaCl.

Sat Oct 11 11:11:53 2014  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* configure.in (RUBY_NACL and others): merge patch from naclports. Supports PNaCl.

	* dln.c: ditto. replace the old hacky dynamic loading over HTTP with nacl_io.

	* file.c: ditto. tentatively use access(2) instead of eaccess.
	  (rb_file_load_ok): weaken with attribute but not by postprocess.

	* io.c: ditto.
	  (socket.h): now NaCl has socket.h
	  (flock): disable here instead of nacl/ioctl.h

	* nacl/GNUmakefile.in: ditto.
	  (CC, LD, NM, AR, AS, RANLIB, OBJDUMP, OBJCOPY):
	  respect path to them if they are absolute.
	  This helps naclports to build ruby in their source tree.
	  (PROGRAM_NMF, .SUFFIXES): support .pnexe for PNaCl.
	  (ruby.o, file.o): move the hack to attributes in ruby.c and file.c

	* nacl/ioctl.h: ditto. removed. move the hack to io.c.

	* nacl/nacl-config.rb: ditto. support arm, pnacl and others.

	* nacl/pepper_main.c: ditto. support build in a naclports tree.

	* ruby.c (rb_load_file): ditto. weaken with attribute but not by postprocess.

Sat Oct 11 09:32:00 2014  Zachary Scott  <e@zzak.io>

	* ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
	  properly, with a patch by @eval [Fixes GH-733]
	  https://github.com/ruby/ruby/pull/733

Sat Oct 11 04:14:41 2014  Kir Shatrov  <shatrov@me.com>

	* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
	* (def OpenURI.open_http): check :open_timeout option
	* (module OpenURI): rdoc for :open_timeout
	* test/open-uri/test_open-uri.rb (test_open_timeout): new test
	  [Feature #10361]

Fri Oct 10 11:27:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/io.h (rb_io_mode_flags, rb_io_modenum_flags):
	  deprecate old macros for compatibility for ruby 1.8 and older.

Thu Oct  9 23:31:47 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* bignum.c (absint_numwords_generic): set an array element after
	  definition of a variable to fix compile error with older version
	  of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on Sparc.
	  [Bug #10350] [ruby-dev:48608]

Thu Oct  9 16:15:26 2014  Eric Wong  <e@80x24.org>

	* ext/-test-/st/foreach/extconf.rb: new file
	* ext/-test-/st/foreach/foreach.c: ditto
	* test/-ext-/st/test_foreach.rb: ditto
	  [Feature #10321]

Thu Oct  9 12:40:28 2014  Eric Wong  <e@80x24.org>

	* benchmark/bm_hash_aref_sym*.rb: force static symbols

Thu Oct  9 12:38:28 2014  Eric Wong  <e@80x24.org>

	* hash.c (rb_any_hash): remove unnecessary dsym check

Thu Oct  9 07:20:30 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* missing/setproctitle.c: Avoid invalidating argv[1], argv[2],
	  etc. until the first call to Process.setproctitle, because
	  the ps command of AIX refers to the argv array.
	  [Bug #10090]

Thu Oct  9 00:53:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (dir_s_aref): fix rdoc.  `Dir.glob` allows an array but
	  `Dir[]` not.  the former accepts an optional parameter `flags`,
	  while the latter accepts arbitrary number of arguments but no
	  `flags`.  [ruby-core:65265] [Bug #10294]

Wed Oct  8 21:44:10 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_variable.c: use typed data.

Wed Oct  8 16:36:47 2014  gogo tanaka  <mail@tanakakazuki.com>

	* test/ruby/test_syntax.rb: added syntax tests of underscore
	  arguments.  [Feature #10340][ruby-core:65496]

Wed Oct  8 07:42:39 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI#inspect): remove Object id.
	  URI is considered that it doesn't require id.

Wed Oct  8 05:22:42 2014  Eric Wong  <e@80x24.org>

	* ext/etc/etc.c (etc_systmpdir): set default tmplen correctly
	  Fixup r47826

Wed Oct  8 05:16:32 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add @- and @+ for Matrix and Vector.
	  patch by gogo tanaka [#10068] [#10069]

Wed Oct  8 04:58:48 2014  John Bachir  <j@jjb.cc>

	* bootstraptest/test_io.rb (assert_finish):
	  normalize rescue for Timeout::Error
	* lib/net/ftp.rb (Net#read_timeout): ditto for doc
	* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
	* lib/webrick/httprequest.rb (_read_data): ditto for rescue
	* sample/timeout.rb (p timeout): ditto for call
	* test/drb/drbtest.rb (test_06_timeout): ditto
	* test/ruby/test_readpartial.rb (test_open_pipe): ditto
	* test/thread/test_queue.rb (test_queue_thread_raise): ditto
	* thread.c (rb_thread_s_handle_interrupt): ditto for doc
	  [ruby-core:65481] [misc #10339]

Wed Oct  8 04:38:29 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/ruby/test_process.rb (TestProcess#test_setsid): AIX
	  does not allow Process::getsid(pid) when pid is in a
	  different session.

Wed Oct  8 04:33:04 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding):
	  On AIX, locale_charmap is ISO-8859-1 with LANG=C.  This means
	  the source encoding of stdin is ISO-8859-1, so "invalid
	  multibyte char" error does not occur.

Wed Oct  8 04:30:29 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Matrix#laplace_expansion.
	  patch by gogo tanaka [#10073]

Wed Oct  8 04:29:21 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Vector.basis.
	  Based on patch by gogo tanaka [#10072]

Tue Oct  7 23:40:16 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (rb_f_kill): get rid of deadlock as unhandled and
	  discarded signals do not make interrupt_cond signaled.
	  based on the patch by Kazuki Tsujimoto at [ruby-dev:48606].
	  [Bug #9820]

Tue Oct  7 22:43:44 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_method.c: use typed data.

Tue Oct  7 21:47:05 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_param.c: refactoring.

Tue Oct  7 21:40:17 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_method.c: refactoring. add
	  olemethod_data_get_struct to wrap Data_Get_Struct.
	* ext/win32ole/win32ole_method.h: ditto.

	* ext/win32ole/win32ole_param.c (oleparam_ole_param):
	  call olemethod_data_get_struct instead of Data_Get_Struct.

Tue Oct  7 11:17:08 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/etc/etc.c (etc_systmpdir): try user temporary directory by
	  confstr() on Mac OS X.
	  c.f. http://www.opensource.apple.com/source/ruby/ruby-104/patches/ext_etc_etc.c.diff

Tue Oct  7 10:48:17 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (struct stat.st_size): prefer off_t over int, long,
	  and so on.  inspired by
	  http://www.opensource.apple.com/source/ruby/ruby-104/patches/config.h.ed

Tue Oct  7 10:37:39 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_UNIVERSAL_ARCH): fix missing quoting
	  brackets.  incorporated from
	  http://www.opensource.apple.com/source/ruby/ruby-104/patches/configure.diff

Mon Oct  6 23:34:42 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_param.c: use typed data.

Mon Oct  6 22:37:09 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.h (struct RSymbol): move from internal.h.

Mon Oct  6 21:43:03 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* error.c: update exception tree. [DOC]
	  reported by @hemge via twitter.

Mon Oct  6 18:43:03 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* configure.in: Fix typo. [Bug #9914]

Mon Oct  6 16:23:30 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (rb_f_kill): should not ignore signal unless the
	  default handler is registered.  [ruby-dev:48592] [Bug #9820]

Mon Oct  6 16:07:11 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/test_string.rb (test_LSHIFT_neary_long_max): enable
	  only on platforms where string size range is smaller than memory
	  space.  this test does not make sense but just wastes memory and
	  time on other platforms, as it is hardly possible that a string
	  size becomes neary LONG_MAX if long size equals pointer size.
	  [ruby-core:65410] [Bug #10325]

Mon Oct  6 11:21:21 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb: Adding/tweaking comments.

Mon Oct  6 10:57:57 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb: Adjusted directory paths.

Mon Oct  6 10:27:27 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/unicode_norm_gen.rb: Data generation script imported from
	  https://github.com/duerst/eprun/blob/master/lib/generate.rb

Mon Oct  6 10:15:15 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Adjust example in documentation for
	  Downloader.download.

Mon Oct  6 10:07:07 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* lib/unicode_normalize: New folder for Unicode normalization
	  functionality

Sun Oct  5 11:04:13 2014  Luiz Angelo Daros de Luca  <luizluca@gmail.com>

	* ext/digest/{md5,rmd160,sha1,sha2}/extconf.rb: configure OpenSSL
	  only if bundled libraries is not used, so that OpenSSL is not
	  linked unnecessarily.  [ruby-core:65404] [Bug #10324]

Sun Oct  5 10:39:11 2014  Luiz Angelo Daros de Luca  <luizluca@gmail.com>

	* ext/digest/rmd160/extconf.rb: fix transform function name to
	  check.  [ruby-core:65091] [Bug #10252]

Sun Oct  5 05:46:00 2014  Eric Wong  <e@80x24.org>

	* ext/zlib/zlib.c (zstream_mark, zstream_free): update signature
	  (gzfile_mark, gzfile_free): ditto
	  (zstream_memsize): new function for rb_data_type->dsize
	  (gzfile_memsize): ditto
	  (zstream_data_type, gzfile_data_type): new data types
	  (zstream_new): Data_Make_Struct => TypedData_Make_Struct
	  (gzfile_new): ditto
	  (get_zstream, get_gzfile): Data_Get_Struct => TypedData_Get_Struct
	  (rb_zstream_flush_next_in): ditto
	  (rb_zstream_flush_next_out): ditto
	  (rb_zstream_avail_out): ditto
	  (rb_zstream_avail_in): ditto
	  (rb_zstream_closed_p): ditto
	  (rb_deflate_initialize): ditto
	  (rb_deflate_init_copy): ditto
	  (rb_inflate_initialize): ditto
	  (gzfile_ensure_close): ditto
	  (rb_gzfile_closed_p): ditto
	  (rb_gzfile_path): ditto
	  (rb_gzwriter_initialize): ditto
	  (rb_gzreader_initialize): ditto
	  (rb_gzreader_unused): ditto
	  [ruby-core:65377] [Feature #10319]

Sat Oct  4 16:24:41 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/test_syslog.rb (TestSyslog#test_log): In AIX, each output
	  line of LOG_PERROR to stderr has an additional empty line appended,
	  so skip that line.

Sat Oct  4 16:05:49 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/socket/test_unix.rb (TestSocket_UNIXSocket#test_too_long_path):
	  sockaddr_un.sun_path in AIX is defined as char[1024],
	  so "a" * 300 is not too long. "a" * 3000 would be enough.

Sat Oct  4 09:12:03 2014  Zachary Scott  <e@zzak.io>

	* ext/win32ole/sample/example*.rb: Add wait input to quit for examples
	  with patch provided by @windwiny [Fixes GH-705]
	  https://github.com/ruby/ruby/pull/705

Sat Oct  4 09:08:18 2014  Zachary Scott  <e@zzak.io>

	* ext/win32ole/win32ole.c: [DOC] Fix typo in :nodoc: reported by
	  @windwiny to [Fix GH-705] https://github.com/ruby/ruby/pull/705

	* ext/pty/pty.c: ditto

Sat Oct  4 08:59:45 2014  Zachary Scott  <e@zzak.io>

	* ext/openssl/ossl_rand.c: [DOC] Add call signature for pseudo_bytes
	  and random_bytes, wrap lines at 80 chars, and remove useless
	  comments.

Sat Oct  4 08:49:34 2014  Zachary Scott  <e@zzak.io>

	* ext/openssl/ossl_rand.c: [DOC] Add rdoc for method descriptions
	  By @vipulnsward [Fixes GH-657] https://github.com/ruby/ruby/pull/657

Sat Oct  4 08:23:48 2014  Zachary Scott  <e@zzak.io>

	* ext/openssl/ossl_rand.c: Use rb_define_module_function instead of
	  macro. [Fixes GH-686] https://github.com/ruby/ruby/pull/686

Sat Oct  4 06:04:56 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_method.c(olemethod_set_member): remove
	  redundant NULL check.
	* ext/win32ole/win32ole_type.c(oletype_set_member): ditto.

Sat Oct  4 00:25:04 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: removed needless preparation for gcc.

Fri Oct  3 23:41:20 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: enabled gcc build with osx on travis.

Fri Oct  3 23:22:23 2014  Hiroshi Shirosaki  <h.shirosaki@gmail.com>

	* template/fake.rb.in: fix make install failure due to MSYS path
	  with mingw on MSYS environment.
	  [ruby-core:64965] [Bug #10230]

Fri Oct  3 21:02:32 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_io.rb (TestIO#test_advise): avoid to infinite loop.

Fri Oct  3 19:26:01 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: enabled test results of linux.

Fri Oct  3 18:52:16 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2)
	  with tmpfs and old linux kernel. [ruby-core:65355][Bug #10313]

Fri Oct  3 18:22:45 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: Disabled to generate document on travis.
	  Reduce test running time.

Fri Oct  3 12:42:15 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add hstack & vstack methods.
	  Based on a patch by creasywuqiong. [Fix GH-344]

Fri Oct  3 12:37:48 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Fix Matrix.rows copy bug.
	  Patch by Arron Mabrey. [Fix GH-707]

Fri Oct  3 06:06:28 2014  Eric Wong  <e@80x24.org>

	* st.c (next_pow2): new function (from old bignum.c)
	  (new_size): use next_pow2 function

Fri Oct  3 05:58:58 2014  Eric Wong  <e@80x24.org>

	* vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit

Thu Oct  2 18:41:45 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/etc/etc.c (etc_nprocessors): Windows support.
	  see [Feature #10267]

Thu Oct  2 12:21:52 2014  Tanaka Akira  <akr@fsij.org>

	* ext/etc/etc.c (etc_nprocessors): New method.
	  Accepted by matz at RubyKaigi 2014.
	  [ruby-core:65142] [Feature #10267]

Thu Oct  2 07:56:49 2014  Eric Wong  <e@80x24.org>

	* iseq.c (rb_iseq_line_trace_each): explicit cast
	  Fix https://travis-ci.org/ruby/ruby/jobs/36814282

Thu Oct  2 05:40:05 2014  Eric Wong  <e@80x24.org>

	* ruby.h: set rb_event_flag_t to uint32_t
	  [ruby-core:65315] [misc #10249]

Thu Oct  2 05:32:17 2014  Eric Wong  <e@80x24.org>

	* io.c (fptr_finalize): free memory before GC sweep
	  [ruby-core:65269] [Feature #10295]

Thu Oct  2 05:27:24 2014  Eric Wong  <e@80x24.org>

	* marshal.c (w_class): check dump_arg->compat_tbl before lookup
	  (w_object): lazy init ->compat_tbl before insert
	  (obj_alloc_by_class): ditto
	  (clear_dump_arg): free only non-NULL ->compat_tbl
	  (clear_load_arg): ditto for ->compat_tbl
	  (marshal_dump): ->compat_tbl defaults to zero
	  (marshal_load): ditto for ->compat_tbl
	  (r_entry0): check l->compat_tbl before lookup
	  (r_fixup_compat): ditto
	  [ruby-core:65305] [Feature #10302]

Wed Oct  1 21:14:34 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_type.c: use typed data.

Wed Oct  1 18:15:42 2014  Nolan Evans  <nolane@gmail.com>

	* compile.c: remove commented out code.

Wed Oct  1 17:38:53 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/fileutils/test_fileutils.rb: AIX does not allow
	  a sticky bit on a regular file.

Wed Oct  1 17:31:41 2014  Eric Hodel  <drbrain@segment7.net>

	* NEWS:  Add RubyGems update.

Wed Oct  1 17:28:58 2014  Eric Hodel  <drbrain@segment7.net>

	* lib/rubygems:  Update to RubyGems 2.4.2.
	* test/rubygems:  ditto.

Tue Sep 30 22:25:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_data_type): separate ripper data type for from
	  parser.

Tue Sep 30 18:46:31 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_typelib.c: use typed data.

Tue Sep 30 09:51:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* common.mk: fixed broken reference of update-config_files task

Mon Sep 29 22:54:51 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/file.c (append_wstr): set expanded length, not length of
	  appended string.  fix "probable buffer overflow" bug.
	  [ruby-core:65317] [Bug #10304]

	* string.c (str_make_independent_expand): drop NOFREE flag after
	  reallocation, static buffer is not pointed anymore.
	  [ruby-core:65317] [Bug #10304]

Sun Sep 28 23:59:17 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBERED
	  because GET_HEAP_REMEMBERSET_BITS is obsoleted.

Sun Sep 28 11:14:14 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* common.mk: Created new target update-unicode to download
	  some Unicode data files.

Fri Sep 26 15:03:19 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
	  uri doesn't respond to #to_str. [ruby-core:64453] [Bug #10150]

	* test/uri/test_parser.rb: test for above.

Sat Sep 27 10:31:48 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* gems/bundled_gems: upgraded to power_assert 0.1.4.

Fri Sep 26 12:52:36 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
	  should be writable any encoding strings, without conversion.
	  [ruby-core:65240] [Bug #10285]

Fri Sep 26 05:21:01 2014  Eric Wong  <e@80x24.org>

	* object.c (rb_class_real): do not dereference 0 VALUE

	* test/ruby/test_module.rb (test_inspect_segfault):
	  Test case and bug report by Thomas Stratmann.
	  [ruby-core:65214] [Bug #10282]

Fri Sep 26 05:12:10 2014  Eric Wong  <e@80x24.org>

	* man/ruby.1: document stack size env variables
	  [Feature #10197]

Thu Sep 25 19:37:34 2014  Eric Wong  <e@80x24.org>

	* io.c (free_io_buffer): new function for a common pattern
	  (clear_readconv): use free_io_buffer
	  (rb_io_fptr_finalize): ditto

Thu Sep 25 07:51:07 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* lib/matrix.rb: Fix docs. Patched by Ben Woodall. [GH-726]

Wed Sep 24 19:04:04 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* enc/unicode/data: New directory for downloaded Unicode
	  data files.

Wed Sep 24 18:59:59 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Adjusting example for
	  Downloader.download to implementation changes in r47693.

Wed Sep 24 18:06:06 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Removing unused method
	  Downloader.download_if_modified_since.
	  (if ever used, just replace with Downloader.download)

Wed Sep 24 17:59:59 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Fixing raise after return.

Wed Sep 24 17:55:55 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Made Unicode data file location available
	  via :unicode Symbol.

Wed Sep 24 10:45:45 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: Small fix to documentation comment.

Tue Sep 23 22:00:20 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parse_ident): just after a label, new expression should
	  start, cannot be a modifier.  [ruby-core:65211] [Bug #10279]

Tue Sep 23 16:07:07 2014  Martin Duerst <duerst@it.aoyama.ac.jp>

	* tool/downloader.rb: added Downloader.download_if_modified_since
	  to reduce downloads of large files that change only rarely.
	  [ruby-core:65164] [CommonRuby - Feature #10084]

Tue Sep 23 11:55:09 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: added rubyspec into travis tasks and eliminate to stdout.

Mon Sep 22 20:00:29 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_variant.rb
	  (test_conversion_time2date_with_msec): test by using only
	  assert_in_delta  to avoid to fail when converting Time object with
	  999999999 nanoseconds into VT_DATE Variant.

Mon Sep 22 19:49:12 2014  Zachary Scott  <e@zzak.io>

	* doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
	  [Fixes GH-662] https://github.com/ruby/ruby/pull/662

Mon Sep 22 18:21:35 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: Only osx build is enabled. linux builds is random failure
	  and test results of major linux is covered by rubyci.

Mon Sep 22 12:10:29 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
	  [ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.

Mon Sep 22 09:28:43 2014  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c ({send,recv}msg_args_struct): 24 => 16 bytes
	* ext/socket/init.c (connect_arg): ditto
	* ext/socket/raddrinfo.c (getnameinfo_arg): 56 => 48 bytes
	  (reductions only for 64-bit systems)

Mon Sep 22 02:04:25 2014  Tanaka Akira  <akr@fsij.org>

	* lib/drb/drb.rb: Support graceful shutdown.
	  (DRbTCPSocket#initialize): Create a pipe for shutdown notification.
	  (DRbTCPSocket#close): Invoke close_shutdown_pipe.
	  (DRbTCPSocket#close_shutdown_pipe): New private method.
	  (DRbTCPSocket#accept): Use accept_or_shutdown.
	  (DRbTCPSocket#accept_or_shutdown): New private method which returns
	  nil on shutdown.
	  (DRbServer#stop_service): Use shutdown instead of Thread#kill.
	  (DRbServer#run): Break infinite loop when main_loop returns nil.
	  (DRbServer#main_loop): @protocol.accept may return nil.

	* lib/drb/ssl.rb: Follow above change.

	* lib/drb/unix.rb: Ditto.

Sun Sep 21 13:54:36 2014  Masaki Matsushita <glass.saga@gmail.com>

	* time.c: raise exception when minutes of utc_offset is out of 00-59.
	  patch is from Kenichi Kamiya.
	  [ruby-dev:47539] [Bug #8679]

	* test/ruby/test_time.rb: test for above.
	  patch is from Kenichi Kamiya.

Sun Sep 21 19:04:08 2014  Narihiro Nakamura <authornari@gmail.com>

	* st.c (do_hash_bin): unused macro.

Sun Sep 21 18:45:01 2014  Narihiro Nakamura <authornari@gmail.com>

	* parse.y (parser_class_nest): unused variable after YARV
	  merged (r11439).

Sun Sep 21 18:14:03 2014  Narihiro Nakamura <authornari@gmail.com>

	* st.c (numberof): unused. internal.h has same macro.

	* node.c (F_CUSTOM2): unused.

Sun Sep 21 14:11:23 2014  Tanaka Akira  <akr@fsij.org>

	* thread_pthread.c (native_set_thread_name): New function to
	  set thread name visible with ps command on GNU/Linux.
	  Ex. ps -o %c -L

	* thread.c (thread_start_func_2): Call native_set_thread_name at
	  beginning.
	  (rb_thread_inspect_msg): Extract from rb_thread_inspect.

Sun Sep 21 12:49:11 2014  Eric Wong  <e@80x24.org>

	* iseq.c (rb_iseq_defined_string): trim redundant semi-colon

Sun Sep 21 12:19:29 2014  Eric Wong  <e@80x24.org>

	* file.c (rb_find_file_ext_safe): clear tmp buffer on failure
	  (rb_find_file_safe): ditto

Sat Sep 20 04:42:18 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/csv.rb: avoid unnecessary object allocations.
	  patch is from Andrew Vit. [ruby-core:63215] [Feature #9952]

Sun Sep 21 12:10:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rexml/**/*.rb: removed commented-out code.

Sat Sep 20 03:46:58 2014  Masaki Matsushita <glass.saga@gmail.com>

	* array.c: use rb_equal_opt() for performance improvement.
	  [ruby-core:64954] [Feature #10227]

Sun Sep 21 11:16:56 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
	  the bug in conversion of milliseconds. [Bug #10258]

	* test/win32ole/test_win32ole_variant.rb
	  (test_conversion_dbl2date_with_msec,
	  test_conversion_time2date_with_msec): use assert_in_delta instead
	  of assert_equal to treat an acceptable error range.

Sun Sep 21 11:03:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (ruby_signal): although "EINVAL from sigaction(2) is
	  not a bug", but even it is a failure.  pointed at toRuby/guRuby
	  in RubyHiroba.

Sat Sep 20 03:00:26 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/tempfile.rb: define parameters appropriately and some
	  refactoring.

	* lib/tmpdir.rb: ditto.

Sat Sep 20 23:58:21 2014  Tanaka Akira  <akr@fsij.org>

	* enum.c (enum_chunk): Deprecate the state management.
	  (enum_slice_before): Ditto.

Sat Sep 20 15:39:11 2014  Tanaka Akira  <akr@fsij.org>

	* enum.c (enum_slice_when): New method: Enumerable#slice_when.
	  (slicewhen_i): New function.
	  (slicewhen_ii): New function.

	* enumerator.c (InitVM_Enumerator): New method:
	  Enumerator::Lazy#slice_when.

	  [ruby-core:62499] [Feature #9826]

Sat Sep 20 11:55:19 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: added new configurations for osx on travis ci.
	  [fix GH-723]
	* test/ruby/test_object.rb: tweaked to memory leak limit for osx build.

Sat Sep 20 10:48:41 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (assoc): allow quoted ID as a key of a hash literal.
	  [ruby-core:34453] [Feature #4276]

Sat Sep 20 10:23:00 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_set_arguments): store local variable IDs in
	  temporary list as Symbols.  previously these are stored as
	  Fixnums to prevent from GC, but IDs of dynamic symbols can
	  exceed Fixnum range and cause RangeError at inverting from
	  Fixnum.  [ruby-dev:48564] [Bug #10266]

Sat Sep 20 10:02:51 2014  Tanaka Akira  <akr@fsij.org>

	* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#pretty_print):
	  New method.
	  (OpenSSL::X509::Certificate#pretty_print): Ditto.

	* ext/openssl/lib/openssl/bn.rb (OpenSSL::BN#pretty_print): Ditto.

Sat Sep 20 07:55:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (eval_string_with_cref): fix super from eval with
	  scope.  set klass in the current control frame to the class of
	  the receiver in the context to be evaluated, this class/module
	  must match the actual receiver to call super.
	  [ruby-core:65122] [Bug #10263]

Fri Sep 19 20:06:00 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.c (rb_str_dynamic_intern): check if the stem ID of
	  attrset ID is already registered as a static ID.
	  [ruby-dev:48559] [Bug #10259]

Fri Sep 19 15:48:09 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/Makefile.sub (VCSUP): nothing to do if this worktree is not
	  under any VCS (it means that the worktree may be from the release
	  package).

Fri Sep 19 10:47:03 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/test_math.rb (TestMath#assert_infinity): Float#finite?
	  returns true also for NaN, so use Float#infinite? instead.
	  [ruby-core:65117] [Feature #10261]

Fri Sep 19 05:36:16 2014  Eric Wong  <e@80x24.org>

	* NEWS: note --with-jemalloc option [ci skip]

Thu Sep 18 16:26:27 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/rubygems/test_gem_commands_setup_command.rb: @ui uses StringIO
	  as its streams, and Encoding.default_external does not effect to
	  StringIOs already exist.  so, we need to set external_encoding of
	  @ui.outs directly.  this problem (test failure) does not appear in
	  the environments default_external is us-ascii or utf-8.

Thu Sep 18 15:02:15 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/rubygems/test_gem_specification.rb: '/' is not always the root.

Thu Sep 18 09:36:37 2014  Scott Francis  <scott.francis@shopify.com>

	* vm_method.c (Init_Method): make global method cache size
	  configurable by environment variable
	  "RUBY_GLOBAL_METHOD_CACHE_SIZE"  [Fix GH-719]

Thu Sep 18 07:03:36 2014  Eric Wong  <e@80x24.org>

	* test/-ext-/string/test_modify_expand.rb: increase limit
	  for {je,tc}malloc [Bug #10236]

Thu Sep 18 06:41:18 2014  Eric Wong  <e@80x24.org>

	* ext/zlib/zlib.c (struct gzfile): pack (288 => 272 bytes) on 64-bit

Thu Sep 18 05:44:05 2014  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (rsock_connect): refactor for blocking
	  (wait_connectable): clear error before wait
	  [Bug #9356]

Wed Sep 17 23:12:36 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/rfc3986_parser.rb: specify a regexp for :OPAQUE; generic.rb
	  assumes it is present, and will refuse all values otherwise.
	  by Matthew Draper <matthew@trebex.net>
	  https://github.com/ruby/ruby/pull/718 fix GH-718

Wed Sep 17 16:22:58 2014  Eric Wong  <e@80x24.org>

	* ext/zlib/zlib.c (zlib_mem_alloc): check overflow

Wed Sep 17 11:33:35 2014  Laurent Arnoud  <laurent@spkdev.net>

	* test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof):
	  added test for long long [fix GH-716]

Wed Sep 17 11:09:21 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/rbinstall.rb: fixed invalid options with latest rubygems.
	  https://github.com/rubygems/rubygems/issues/1013

Tue Sep 16 19:19:00 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* benchmark/bm_app_aobench.rb: update outdated links to the
	  original program.  [ruby-dev:48550] [Feature #10247]

Tue Sep 16 01:06:40 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* reg*.c: Merge Onigmo 5.15.0 38a870960aa7370051a3544

Mon Sep 15 16:21:10 2014  Eric Wong  <e@80x24.org>

	* io.c (struct io_advise_struct): 32 => 24 bytes on 64-bit
	* io.c (struct io_internal_writev_struct): 24 => 16 bytes on 64-bit
	* process.c (struct waitpid_arg): ditto

Mon Sep 15 10:29:25 2014  Natalie Weizenbaum  <nweiz@google.com>

	* ext/pathname/lib/pathname.rb (SAME_PATHS):
	  Pathname#relative_path_from uses String#casecmp to compare strings
	  on case-insensitive filesystem platforms (e.g., Windows). This can
	  return nil for strings with different encodings, and the code
	  previously assumed that it always returned a Fixnum.  [Fix GH-713]

Mon Sep 15 09:43:18 2014  Sho Hashimoto  <sho.hsmt@gmail.com>

	* ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof): fix typo,
	  SIZEOF_LONG_LON.  [Fix GH-714]

Mon Sep 15 08:13:40 2014  Matthew Draper  <matthew@trebex.net>

	* sprintf.c (rb_str_format): rational 'f' format works for more
	  values.  [fix GH-717]

Sun Sep 14 16:57:27 2014  Eric Wong  <e@80x24.org>

	* template/vm.inc.tmpl: "insns.c" => "insns.def"
	* tool/instruction.rb: typo fix

Sun Sep 14 12:29:52 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_tracer.rb: fixed testcase for rubygems update.

Sun Sep 14 12:29:02 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems:  Update to RubyGems 2.4.1 master(713ab65)
	  Complete history at:
	  https://github.com/rubygems/rubygems/blob/master/History.txt#L3-L216

	* test/rubygems:  ditto.

Sun Sep 14 11:03:24 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych.rb: update version
	* ext/psych/psych.gemspec: ditto

Sun Sep 14 08:43:37 2014  Eric Wong  <e@80x24.org>

	* ccan/container_of/container_of.h (container_of_or_null): added
	  [ccan 7ec5b8e06b2fd5fa98b1fcde1158c286d2d429d8] (David Gibson)

Sun Sep 14 08:41:44 2014  Eric Wong  <e@80x24.org>

	* ccan/list/list.h (list_del_init, list_node_init): new functions
	  for multiple list_del() calls
	  [ccan ec8654d94d3c5c47aa5f82698f7e8048c79765b1] (Rusty Russell)

Sat Sep 13 22:19:26 2014  Bernard Potocki  <bernard.potocki@imanel.org>

	* hash.c (rb_hash_aset): fix misleading example which may suggest
	  that Hash.store will return self instead of value - Hash#store
	  is returning value and update itself, as well as Hash#[]=.
	  [Fix GH-715]

Sat Sep 13 15:16:31 2014  Eric Wong  <e@80x24.org>

	* class.c: use ALLOC(rb_subclass_entry_t)

Sat Sep 13 14:14:00 2014  Eric Wong  <e@80x24.org>

	* process.c (free_exec_arg): remove
	  (memsize_exec_arg): ptr is never NULL
	  (exec_arg_data_type): use RUBY_TYPED_DEFAULT_FREE

	* variable.c (autoload_i_free): remove
	  (autoload_data_i_type): use RUBY_TYPED_DEFAULT_FREE
	  (autoload_memsize): ptr is never NULL

	* vm_backtrace.c (location_free): remove
	  (location_mark): ptr is never NULL
	  (location_data_type): use RUBY_TYPED_DEFAULT_FREE
	  (backtrace_mark): ditto
	  (backtrace_free): ditto

Sat Sep 13 13:43:07 2014  Eric Wong  <e@80x24.org>

	* doc/NEWS-2.0.0: fix typo for default RUBY_FIBER_MACHINE_STACK_SIZE
	  [ci skip]

Sat Sep 13 11:16:58 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_event.c(ev_advise, ole_event_free,
	  fev_s_allocate, fev_unadvise): avoid segmentation fault when COM
	  server freed before calling Unadvise from WIN32OLE_EVENT object.
	* ext/win32ole/win32ole.c: ditto.

Sat Sep 13 09:47:44 2014  Eric Wong  <e@80x24.org>

	* man/ruby.1: use https for *.ruby-lang.org links

Sat Sep 13 06:31:23 2014  Eric Wong  <e@80x24.org>

	* vm.c (thread_alloc): remove needless volatile

Sat Sep 13 06:13:55 2014  Eric Wong  <e@80x24.org>

	* proc.c (proc_free): remove, use RUBY_TYPED_DEFAULT_FREE
	  (proc_mark, proc_memsize): remove needless branching

	* vm.c (env_free): remove, use RUBY_TYPED_DEFAULT_FREE
	  (env_mark, env_memsize): remove needless branching

Sat Sep 13 05:52:15 2014  Eric Wong  <e@80x24.org>

	* proc.c (rb_proc_alloc): inline and move to vm.c
	  (rb_proc_wrap): new wrapper function used by rb_proc_alloc
	  (proc_dup): simplify alloc + copy + wrap operation
	  [ruby-core:64994]

	* vm.c (rb_proc_alloc): new inline function
	  (rb_vm_make_proc): call rb_proc_alloc

	* vm_core.h: remove rb_proc_alloc, add rb_proc_wrap

	* benchmark/bm_vm2_newlambda.rb: short test to show difference

Sat Sep 13 04:40:04 2014  Eric Wong  <e@80x24.org>

	* process.c (Init_process): subclass Thread as Process::Waiter
	  (rb_detach_process): use Process::Waiter instead of singleton class
	  Thanks to headius and nobu. [Bug #10231]

	* test/ruby/test_process.rb (test_process_detach): new test

	* inits.c (rb_call_inits): call Init_Thread before Init_process to
	  ensure Process::Waiter may be a subclass of Thread

Fri Sep 12 18:14:28 2014  Eric Wong  <e@80x24.org>

	* vm.c (env_alloc): inline to avoid extra zeroing
	  tiny speedup [ruby-core:64980]

Fri Sep 12 17:13:29 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_method.c (rb_method_entry_make, remove_method): ditto.

Fri Sep 12 14:39:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gems/bundled_gems: Upgraded to test-unit-3.0.1 and minitest-5.4.1

Fri Sep 12 06:55:40 2014  Eric Wong  <e@80x24.org>

	* string.c (Init_frozen_strings): use st_init_table_with_size

Fri Sep 12 06:15:37 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (sym_find): remove Symbol.find because we have Symbol GC now.
	  https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20140904Japan
	  If you still want this, request again on Redmine. [Feature #7854]
	  https://bugs.ruby-lang.org/issues/7854

	* ext/-test-/symbol/init.c (sym_find): moved from string.c for tests.

Fri Sep 12 04:24:03 2014  Eric Wong  <e@80x24.org>

	* insns.def (once): define and use fake RUNNING_THREAD_ONCE_DONE
	  pointer to indicate is->once.running_thread is done.

	* vm_core.h (iseq_inline_storage_entry): remove done field,
	  allowing the union to be reduced from 24=>16 bytes on 64-bit
	  [Feature #10187]

Thu Sep 11 20:10:00 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (rb_thread_mark): use rb_gc_mark_values() to mark VM stack.

Thu Sep 11 19:50:57 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (rb_vm_register_special_exception): make new function to
	  make and register special exceptions.

	* vm.c (rb_vm_mark): do not need to mark special exceptions
	  because they are registered by rb_gc_register_mark_object().

	* eval.c (Init_eval): use rb_vm_register_special_exception().

	* gc.c (Init_GC): ditto.

	* proc.c (Init_Proc): ditto.

	* thread.c (Init_Thread): ditto.

Thu Sep 11 19:32:30 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_gc_mark_values): added.
	  This function is similar to rb_gc_mark_locations(), but not
	  conservative.

	* internal.h: ditto.

	* vm.c (env_mark): use rb_gc_mark_values() because env values should
	  be Ruby VALUEs.

Thu Sep 11 19:16:39 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_ptr): rename to gc_mark_set.

	* gc.c (gc_mark): add gc_mark_ptr() to skip is_markable_object()
	  check. gc_mark_maybe() can use gc_mark_ptr() directly because
	  passed pointer is checked by is_pointer_to_heap().

Thu Sep 11 18:40:16 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .gitignore: ignored temporary files and coverage results.

Thu Sep 11 18:15:30 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .gitignore: ignored only simplecov.
	* coverage/README: Added coverage docs.

Thu Sep 11 17:25:31 2014  Koichi Sasada  <ko1@atdot.net>

	* include/ruby/ruby.h, gc.c: add new internal events
	  RUBY_INTERNAL_EVENT_GC_ENTER and
	  RUBY_INTERNAL_EVENT_GC_EXIT.

	  When invoking GC process, GC_ENTER event is called.
	  When exiting from GC process, GC_EXIT event is called.

	  Incremental GC (incremental marking and lazy sweep) can call
	  these events many times.

	  For example (minor marking):
	  (1) GC_ENTER
	  - (2) GC_START (minor GC)
	    (minor marking)
	  - (3) GC_END_MARK
	    (start lazy sweep)
	  (4) GC_EXIT
	    (ruby process)
	  (5) GC_ENTER
	    (lazy sweep)
	  (6) GC_EXIT
	    (ruby process)
	    (... repeat (5), (6))
	  (7) GC_ENTER
	      (finish lazy sweep)
	    - (8) GC_END_SWEEP
	  (9) GC_EXIT

	  2nd example (incremental major marking):
	  (1) GC_ENTER
	  - (2) GC_START (minor GC)
	    (start incremental marking)
	  (3) GC_EXIT
	    (ruby process)
	  (4) GC_ENTER
	    (incremental marking)
	  (5) GC_EXIT
	     (ruby process)
	     (... repeat (4), (5))
	  (6) GC_ENTER
	    (finish incremental marking)
	  - (7) GC_END_MARK
	    (start lazy sweep)
	  (8) GC_EXIT
	    (ruby process)
	  (9) GC_ENTER
	    (lazy sweep)
	  (10) GC_EXIT
	    (ruby process)
	    (... repeat (9), (10))
	  (11) GC_ENTER
	    (finish lazy marking)
	  - (12) GC_STOP_SWEEP
	  (13) GC_EXIT

	  These internal events enable to measure GC pause time completely.

Thu Sep 11 17:04:54 2014  Eric Wong  <e@80x24.org>

	* lib/benchmark.rb: remove CLOCK_MONOTONIC_RAW support
	  Thanks to Vit Ondruch for reporting the issue on ARM.
	  [Bug #10202]

Thu Sep 11 14:31:57 2014  Koichi Sasada  <ko1@atdot.net>

	* include/ruby/ruby.h: freeze nil/true/false.
	  [Feature #8923]

	* gc.c (should_be_finalizable): check frozen after checkin FL_ABLE.

	* object.c (rb_obj_taint): check
	  OBJ_TAINTABLE(obj).

	* object.c (rb_obj_freeze): remove immediate_frozen_tbl
	  because all of immediate values are frozen. YAY!

	* object.c (rb_obj_frozen_p): ditto.

	* test/ruby/test_eval.rb: skip instance_variable_set for
	  frozen objects.

	* test/ruby/test_weakmap.rb: check ArgumentError instead of
	  RuntimeError.

Thu Sep 11 10:03:16 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(21b241a)

Wed Sep 10 17:52:25 2014  Koichi Sasada  <ko1@atdot.net>

	* compile.c (rb_vm_addr2insn): rename to rb_vm_insn_addr2insn
	  to clear what address.

Wed Sep 10 16:22:26 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb: fix condition.

Wed Sep 10 15:29:46 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_call_info_t): ci->flag becomes 32-bit unsigned int
	  ci->index becomes a 32-bit signed int (from signed long).
	  Reorder for better packing on 64-bit, giving an 8 byte reduction
	  from 104 to 96 bytes for each ci.
	  [Feature #10187]

	* compile.c (new_callinfo, setup_args, iseq_compile_each,
	  iseq_build_from_ary_body): adjust for type changes

	* vm_insnhelper.c (vm_getivar): ditto

Wed Sep 10 15:07:35 2014  Eric Wong  <e@80x24.org>

	* compile.c (rb_iseq_translate_threaded_code):
	  modify in-place w/o copy
	  (rb_vm_addr2insn): new function for debug
	  (rb_iseq_original_iseq): ditto
	  (iseq_set_sequence): assign iseq_encoded directly
	  [Feature #10185]

	* vm_core (rb_iseq_t): move original ->iseq to bottom

	* iseq.c (iseq_free, iseq_free): adjust for new layout
	  (rb_iseq_disasm): use original iseq for dump
	  (iseq_data_to_ary): ditto
	  (rb_iseq_line_trace_each): ditto
	  (rb_iseq_build_for_ruby2cext): use iseq_encoded directly

	* vm_dump.c (rb_vmdebug_debug_print_pre): use original iseq

Wed Sep 10 15:00:11 2014  Eric Wong  <e@80x24.org>

	* time.c (time_mark): remove NULL check
	  (time_memsize): ditto
	  (time_free): remove, use RUBY_TYPED_DEFAULT_FREE instead
	  [Feature #10219]

Wed Sep 10 14:14:57 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk (encs enc trans libencs libenc libtrans): force to run
	  enk.mk because common.mk does not know the dependency, but enk.mk
	  knows. [ruby-dev:48530] [Bug #10220]

Wed Sep 10 11:59:10 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat): update rdoc.

Wed Sep 10 11:52:08 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): rename:
	  * malloc_increase -> malloc_increase_bytes
	  * malloc_limit -> malloc_increase_bytes_limit
	  * oldmalloc_increase -> oldmalloc_increase_bytes
	  * oldmalloc_limit -> oldmalloc_increase_bytes_limit
	  ref: [Feature #9924]

Wed Sep 10 11:45:40 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): rename `heap_used' to `heap_allocated_pages'.
	  ref: [Feature #9924]

	* test/ruby/test_gc.rb: add constraints test for gc stat information.

Wed Sep 10 11:31:16 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): rename:
	  * remembered_shady_object -> remembered_wb_unprotected_objects
	  * remembered_shady_object_limit -> remembered_wb_unprotected_objects_limit
	  * old_object -> old_objects
	  * old_object_limit -> old_objects_limit
	  ref: [Feature #9924]

Wed Sep 10 11:12:25 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): support:
	  * total_allocated_pages
	  * total_freed_pages
	  ref: [Feature #9924]

Wed Sep 10 10:48:04 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb: catch up last fix.

Wed Sep 10 10:36:08 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (objspace_total_slot): rename objspace_available_slots.

	* gc.c (objspace_live_slot, objspace_free_slot): rename
	  ..._slot() to ..._slots().

	* gc.c (objspace_free_slot): should subtract heap_pages_final_slots.

	* gc.c (gc_stat_internal):
	  * add `heap_available_slots' field
	  * rename heap_live_slot to heap_live_slots
	  * rename heap_free_slot to heap_free_slots
	  ref: [Feature #9924]

Wed Sep 10 07:22:53 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: refactoring for RGENGC_PROFILE > 0.

	  * rename rb_objspace_t::profile::..._count
	    to rb_objspace_t::profile::total_..._count
	  * rename promote_infant_types to promote_types

	* gc.c (gc_remember_unprotected): count remembered shady objects here.

Wed Sep 10 03:12:12 2014  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* gc.c (init_mark_stack): MEMZERO() receive type as 2nd argument instead
	  of size.
	  Coverity Scan found this bug.

Tue Sep  9 21:55:39 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/sample/excel2.rb: remove some commented-out code.
	  rotate graph more slowly to see graph clearly.

Tue Sep  9 19:52:33 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename rb_objspace_t::marked_objects to marked_slots.

	* gc.c (gc_marks_start): should be clear first.

	* gc.c (gc_marks_start): remembered shady objects are also marked.

	* gc.c (gc_stat_internal): add heap_marked_slots.

Tue Sep  9 18:58:48 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename
	  * total_allocated_object_num -> total_allocated_objects
	  * total_allocated_object_num_at_gc_start -> total_allocated_objects_at_gc_start
	  * total_freed_object_num -> total_freed_objects

	* gc.c (gc_stat_internal):
	  * rename total_allocated_object -> total_allocated_objects
	  * rename total_freed_object -> total_freed_objects

Tue Sep  9 18:51:36 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): fix symbol names
	  * heap_final_slot -> heap_final_slots
	  * heap_swept_slot -> heap_swept_slots

Tue Sep  9 18:18:07 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_objspace_t::heap_pages): rename field names:
	  * used -> allocated_pages
	  * increment -> allocatable_pages
	  * length -> sorted_length
	  And remove unused `limit' field.

	* gc.c: rename macros:
	  * heap_pages_used -> heap_allocated_pages
	  * heap_pages_length -> heap_pages_sorted_length
	  * heap_pages_increment -> heap_allocatable_pages

	* gc.c (gc_stat_internal): fix symbol names
	  * heap_used -> heap_allocated_pages
	  * heap_eden_page_length -> heap_eden_pages
	  * heap_tomb_page_length -> heap_tomb_pages
	  * heap_increment -> heap_allocatable_pages
	  * heap_length -> heap_sorted_length

	  ref: [Feature #9924]
	  https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing
	  Yellow color fields in this table are changed.

	* test/ruby/test_gc.rb: catch up this change.

Tue Sep  9 14:56:03 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: continue layout changing.

	  newobj_of() also touch:
	  (4) increment total_allocated_object_num
	  (5) check hook_events

	  And gather fields related to marking phase.

Tue Sep  9 14:21:50 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: fix layout of rb_objspace_t to improve cache locality.

	  newobj_of() accesses:
	  (1) rb_objspace_t::flags
	  (2) rb_objspace_t::eden_heap::freelist
	  (3) and rb_objspace_t::eden_heap::free_pages if freelist is NULL.

Tue Sep  9 14:09:36 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: move rb_objspace_t::flags::gc_stressful after during_gc
	  to make accessing both parameters easy.

	* gc.c (heap_get_freeobj): add LIKELY() hint.

	* gc.c (heap_get_freeobj_from_next_freepage): ditto.

	* gc.c (newobj_of): check both parameters at once for exceptional
	  case.

Tue Sep  9 13:51:32 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: add rb_objspace_t::flags::gc_stressful and
	  ruby_gc_stressful macro.
	  Rename objspace->gc_stress to objspace->gc_stress_mode.

	  If objspace->gc_stress_mode is true (!nil and !false) then
	  ruby_gc_stressful becomes TRUE.

	  ruby_gc_stressful will speedup newobj_of() slightly.

	* gc.c: initialize ruby_gc_stress(full|_mode) by gc_params.gc_stress
	  even if ENABLE_VM_OBJSPACE is false.

Tue Sep  9 13:05:50 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: remove ruby_disable_gc_stress and add ruby_disable_gc
	  to speed-up newobj_of().

	* gc.c (ready_to_gc): check ruby_disable_gc.

	* signal.c: use ruby_disable_gc.

Tue Sep  9 12:11:41 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename gc_stat entries and check stat transition.

Tue Sep  9 12:06:03 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_sweep_rest): remove wrong modification of during_gc flag.

Tue Sep  9 11:39:41 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: pack boolean values into rb_objspace_t::flags with bit fields
	  to improve cache locality.

Tue Sep  9 11:11:05 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_object.rb: extend timeout.

Tue Sep  9 09:02:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
	  $CXXFLAGS, as they are often used by C++ compiler.
	  [ruby-core:54532] [Bug #8315]

Tue Sep  9 07:03:22 2014  Eric Wong  <e@80x24.org>

	* compile.c: remove needless SYM2ID <-> ID2SYM conversions
	  [misc #10207]

Tue Sep  9 05:48:42 2014  Eric Wong  <e@80x24.org>

	* symbol.c (rb_intern_cstr_without_pindown): check dsymbol on return
	  This is not a complete fix for bug 10206, but seems to reduce
	  that crash and also looks correct.

Tue Sep  9 04:36:24 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_env_t): use flexible array
	  This reduces allocations and speeds up the lambda calculus
	  fizzbuzz (bm_app_lc_fizzbuzz.rb) benchmark [ruby-core:64858]
	* proc.c (get_local_variable_ptr): deconst to adjust for flex array
	* vm.c (env_mark, env_free, env_memsize): remove check for env->env
	* vm.c (env_alloc): single allocation for flex array
	* vm.c (vm_make_env_each): adjust env_alloc call

Mon Sep  8 16:08:22 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/bm_app_lc_fizzbuzz.rb: should skip output on benchmark.

Mon Sep  8 16:04:02 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return
	  a string, but an array.

Mon Sep  8 13:18:37 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/bm_app_lc_fizzbuzz.rb: added.

	  This program is described closely in "Understanding Computation"
	  chapter 6 by Tom Stuart. <http://computationbook.com/>

	  Japanese translation will be published soon.
	  <http://www.oreilly.co.jp/books/9784873116976/>

Mon Sep  8 12:01:39 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: add incremental GC algorithm. [Feature #10137]

	  Please refer this ticket for details.

	  This change also introduces the following changes.

	  * Remove RGENGC_AGE2_PROMOTION and introduce object age (0 to 3).
	    Age can be count with FL_PROMOTE0 and FL_PROMOTE1 flags in
	    RBasic::flags (2 bit). Age == 3 objects become old objects.
	  * WB_PROTECTED flag in RBasic to WB_UNPROTECTED bitmap.
	  * LONG_LIVED bitmap to represent living objects while minor GCs
	    It specifies (1) Old objects and (2) remembered shady objects.
	  * Introduce rb_objspace_t::marked_objects which counts marked
	    objects in current marking phase. marking count is needed to
	    introduce incremental marking.
	  * rename mark related function and sweep related function to
	    gc_(marks|sweep)_(start|finish|step|rest|continue).
	  * rename rgengc_report() to gc_report().
	  * Add obj_info() function to get cstr of object details.
	  * Add MEASURE_LINE() macro to measure execution time of specific line.
	  * and many small fixes.

	* include/ruby/ruby.h: add flag USE_RINCGC.
	  Now USE_RINCGC can be set only with USE_RGENGC.

	* include/ruby/ruby.h: introduce FL_PROMOTED0 and add FL_PROMOTED1
	  to count object age.

	* include/ruby/ruby.h: rewrite write barriers for incremental marking.

	* debug.c: catch up flag name changes.

	* internal.h: add rb_gc_writebarrier_remember() instead of
	  rb_gc_writebarrier_remember_promoted().

	* array.c (ary_memcpy0): use rb_gc_writebarrier_remember().

	* array.c (rb_ary_modify): ditto.

	* hash.c (rb_hash_keys): ditto.

	* hash.c (rb_hash_values): ditto.

	* object.c (init_copy): use rb_copy_wb_protected_attribute() because
	  FL_WB_PROTECTED is moved from RBasic::flags.

	* test/objspace/test_objspace.rb: catch up ObjectSpace.dump() changes.

Sun Sep  7 12:47:06 2014  Tanaka Akira  <akr@fsij.org>

	* process.c: PTHREAD_CANCEL_DISABLE is not defined on Android.

Sat Sep  6 20:59:06 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (has_privilege): The gid zero is not a privilege.

Sat Sep  6 20:19:16 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (struct child_handler_disabler_state): cancelstate field
	  added.
	  (disable_child_handler_before_fork): Record cancelstate.
	  (disable_child_handler_fork_parent): Restore cancelstate.

Sat Sep  6 19:27:10 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (struct child_handler_disabler_state): Defined.

Sat Sep  6 18:31:32 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rake.rb, lib/rake/*, test/rake/*: Update latest rake master(e47d023)

Sat Sep  6 16:38:08 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_variant.c (ole_val2variant_err,
	  ole_val2variantdata, Init_win32ole_variant): support VT_ERROR
	  variant with error code. add WIN32OLE_VARIANT::NoParam.
	* test/win32ole/test_win32ole_variant.rb(test_c_noparam,
	  test_vt_error_noparam): ditto.
	* ext/win32ole/win32ole.c: ditto.

Sat Sep  6 11:08:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (arg_ambiguous_gen): fix warning message, "even" does
	  not mean the number of spaces here.  state the place to put a
	  space and the operator.  [ruby-core:64790] [Bug #10204]

Sat Sep  6 08:44:40 2014  Zachary Scott  <e@zzak.io>

	* lib/rdoc/generator/template/darkfish/js/jquery.js: Backport
	  rdoc/rdoc@74f60fcb04fee1778fe2694d1a0ea6513f8e67b7

Sat Sep  6 08:10:44 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_io.rb (test_readpartial_locktmp): use IO#nonblock=
	  Old fcntl invocation may drop necessary flags on some platforms.

Sat Sep  6 07:46:51 2014  Eric Wong  <e@80x24.org>

	* test/ruby/test_io.rb (test_readpartial_locktmp): avoid EBADF
	  [ruby-core:64773] [ruby-core:64775]

Sat Sep  6 01:34:31 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (rb_f_exec): Call before_exec_async_signal_safe and
	  after_exec_async_signal_safe around rb_exec_async_signal_safe.
	  (rb_exec_async_signal_safe): Don't call
	  before_exec_async_signal_safe and after_exec_async_signal_safe.
	  (rb_exec_without_timer_thread): Call before_exec and
	  after_exec.
	  (disable_child_handler_fork_child): Make SIGPIPE handler SIG_DFL.

Sat Sep  6 00:49:41 2014  Tanaka Akira  <akr@fsij.org>

	* signal.c (ruby_signal): Don't set SA_SIGINFO for SIG_IGN and
	  SIG_DFL.

Fri Sep  5 21:45:33 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (disable_child_handler_before_fork): New function.
	  (disable_child_handler_fork_parent): Ditto.
	  (disable_child_handler_fork_child): Ditto.
	  (retry_fork_async_signal_safe): Call above functions to disable
	  signal handlers in child process.

Fri Sep  5 21:02:54 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (handle_fork_error): Make try_gc_p argument volatile to
	  suppress "clobbered" warning.

Fri Sep  5 20:48:06 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (handle_fork_error): Don't need state_p argument.

Fri Sep  5 20:35:52 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (has_privilege): Fix a return value.

Fri Sep  5 19:00:40 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/shellwords.rb: proofreading documentation.
	  [Bug #10155][ruby-core:64471]

Fri Sep  5 18:34:33 2014  Laurent Arnoud  <laurent@spkdev.net>

	* test/csv/test_row.rb: Added some missing tests in CSV.
	  [fix GH-710]
	* test/csv/test_table.rb: ditto.

Fri Sep  5 12:57:52 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (has_privilege): Refine uid/gid check.

Fri Sep  5 12:40:55 2014  Tanaka Akira  <akr@fsij.org>

	* configure.in: Check sys/id.h, getuidx and getgidx for AIX.

	* process.c (getresuid): Defined for AIX.
	  (getresgid): Ditto
	  AIX don't have getresuid/getresgid but getuidx/getgidx.

Fri Sep  5 12:28:21 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (has_privilege): Fix assignments.

Fri Sep  5 11:10:13 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc/generator/pot/po.rb: fixed broken tests for trailing whitespace.
	* test/rdoc/test_rdoc_generator_pot.rb: ditto.
	* test/rdoc/test_rdoc_generator_pot_po.rb: ditto.

Fri Sep  5 10:41:07 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/rdoc/test_rdoc_rdoc.rb (TestRDocRDoc#test_parse_file_encoding):
	  typofix.

Fri Sep  5 10:39:14 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)

Fri Sep  5 06:04:22 2014  Eric Wong  <e@80x24.org>

	* vm.c: remove unused USE_THREAD_RECYCLE [misc #10198]

Fri Sep  5 00:29:08 2014  Tanaka Akira  <akr@fsij.org>

	* configure.in (dirfd): Check function.

	* dir.c (dir_fileno): New method.
	  [ruby-dev:48265] [Feature #9880]

Thu Sep  4 23:39:52 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (has_privilege): New function.
	  (retry_fork_async_signal_safe): Don't use vfork() for privileged
	  process.

	* configure.in (getresuid): Check function.
	  (getresgid): Ditto.

Thu Sep  4 20:22:14 2014  Laurent Arnoud  <laurent@spkdev.net>

	* test/pathname/test_pathname.rb: added testcase for Pathname#mountpoint?.
	  [fix GH-709]

Thu Sep  4 20:09:21 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* symbian/*: removed Symbian support.
	  [Feature #10199][ruby-core:64725]
	* dln.c: ditto.
	* include/ruby/defines.h: ditto.
	* thread_pthread.c: ditto.
	* vm.c: ditto.

Thu Sep  4 17:44:40 2014  Koichi Sasada  <ko1@atdot.net>

	* dir.c (glob_helper): use #ifdef instead of #if.
	  gcc's -Wundef option shows warning for undefined macro.

	* numeric.c (flo_is_finite_p): ditto.

	* vm_dump.c (rb_vmdebug_thread_dump_state): ditto.

	* vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0.

Thu Sep  4 03:57:46 2014  Eric Wong  <e@80x24.org>

	* man/ruby.1: spelling fix ("bellow" => "below") [ci-skip]

Thu Sep  4 03:52:16 2014  Eric Wong  <e@80x24.org>

	* man/ruby.1: add trailing slash to URLs [ci-skip]

Wed Sep  3 19:10:28 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (before_fork_ruby): Renamed from before_fork.
	  (after_fork_ruby): Renamed from after_fork.

Wed Sep  3 18:56:05 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (forked_child): Removed.

Wed Sep  3 16:56:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (rb_obj_copy_ivar): allocate no memory for empty
	  instance variables.  [ruby-core:64700] [Bug #10191]

Wed Sep  3 12:05:17 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (retry_fork_async_signal_safe): Use vfork() if available.
	  vfork() is still faster than fork() especially when the parent
	  process uses big memory.

	  ruby -rbenchmark -e 'a = "a" * 1_000_000_000; puts Benchmark.measure { system("true") }'
	  fork:   0.000000   0.010000   0.010000 (  0.014968)
	  vfork:  0.000000   0.000000   0.000000 (  0.000912)
	  on Debian sid.

Wed Sep  3 11:33:08 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
	  added timeout into testcase for low performance environment.
	  [Bug #9984][ruby-core:63367]

Wed Sep  3 07:50:15 2014  Tanaka Akira  <akr@fsij.org>

	* configure.in: Use AC_FUNC_FORK.

	* io.c: Use HAVE_WORKING_FORK instead of HAVE_FORK.

	* process.c: Ditto.

Wed Sep  3 00:12:44 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (retry_fork_async_signal_safe): Don't return on in child
	  process.

Tue Sep  2 23:47:35 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (retry_fork_async_signal_safe): Specialized version of
	  retry_fork respect to rb_fork_async_signal_safe.
	  (retry_fork_ruby): Specialized version of retry_fork respect to
	  rb_fork_ruby.
	  (rb_fork_ruby): Removed.

Tue Sep  2 23:26:26 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (send_child_error): Simplified.
	  (recv_child_error): Ditto.

Tue Sep  2 22:56:25 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (rb_fork_async_signal_safe): Inline rb_fork_internal.
	  (rb_fork_ruby): Ditto.
	  (rb_fork_internal): Removed.
	  (chfunc_protect): Removed.

Tue Sep  2 22:43:52 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_io.rb (test_new_with_block): Set autoclose to avoid
	  EBADF.

Tue Sep  2 22:01:51 2014  Kouhei Sutou  <kou@cozmixng.org>

	* Makefile.in (update-coverage): Remove a never executed line.

Tue Sep  2 19:48:26 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (handle_fork_error): Extracted from retry_fork.

Tue Sep  2 17:02:53 2014  Vit Ondruch  <v.ondruch@tiscali.cz>

	* tool/rbinstall.rb: fixed error of local installation.
	  [Bug #10192][ruby-core:64702]

Tue Sep  2 16:58:03 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/runner.rb: reporting test coverage for test-all with COVERAGE env.
	  [Feature #10189][ruby-core:64681][fix GH-708]
	* Makefile.in: added task for coverage report.
	* common.mk: added definition of forked simplecov url.
	* .gitignore: ignored coverage directory.

Mon Sep  1 20:11:02 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (rbtime2vtdate): try to convert millisecond
	  of Time object to millisecond of VT_DATE VARIANT.
	* test/win32ole/test_win32ole_variant.rb
	  (test_conversion_time2date_with_msec): ditto.

Sun Aug 31 16:58:49 2014  Tanaka Akira  <akr@fsij.org>

	* lib/benchmark.rb: Fix a syntax error.

Sun Aug 31 08:46:44 2014  Eric Wong  <e@80x24.org>

	* ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
	  [Bug #10101]

	* test/zlib/test_zlib.rb (test_rewind): test each_byte

Sat Aug 30 19:22:47 2014  Eric Wong  <e@80x24.org>

	* symbol.c (rb_sym2id): do not return garbage object

Sat Aug 30 06:39:48 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: fix NameError dumping and
	  loading. Fixes GH #85. Thanks @brentdax for the patch!
	* test/psych/test_exception.rb: test for fix

Sat Aug 30 06:23:40 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/scalar_scanner.rb: fix loading strings that
	  look like integers but have a newline. Fixes GH #189
	* test/psych/test_string.rb: test for fix

Sat Aug 30 06:10:39 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hash
	  should merge the hash in to the parent.
	* test/psych/test_merge_keys.rb: test for change. Fixes GH #202

Sat Aug 30 06:00:26 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" strings
	  should not be treated as merge keys.
	* ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys
	  containing "<<" should roundtrip.
	* test/psych/test_merge_keys.rb: test for change. Fixes GH #203

Fri Aug 29 17:56:44 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/net/imap/test_imap_response_parser.rb: removed needless code.

Fri Aug 29 17:36:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/rinda/test_rinda.rb: removed useless assignment variables.
	* test/rss/rss-assertions.rb: ditto.
	* test/rss/test_maker_itunes.rb: ditto.

Fri Aug 29 16:18:26 2014  Eric Wong  <e@80x24.org>

	* string.c: revert part of r47311, add rb_vm_fstring_table(),
	  remove vm_core.h dependency. [ruby-core:64627]

Fri Aug 29 15:17:13 2014  Eric Wong  <e@80x24.org>

	* string.c: remove static frozen_strings
	* string.c (Init_frozen_strings): new function
	* string.c (rb_fstring): remove check for frozen strings,
	  use per-VM table
	* string.c (rb_str_free): use per-VM table
	* string.c (Init_String): use per-VM table
	* vm_core.h (rb_vm_t): add frozen_strings table
	* internal.h (Init_frozen_strings): new function prototype
	* eval.c (ruby_setup): call Init_frozen_strings
	  [Feature #10182]

Wed Aug 27 23:10:24 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/tempfile.rb: remove "require 'thread'". its features are no
	  longer used.

Wed Aug 27 21:19:40 2014  gogo tanaka  <mail@tanakakazuki.com>

	* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
	  [Feature #10174][ruby-core:64584]
	* lib/erb.rb: ditto.
	* lib/observer.rb: ditto.
	* lib/rake/invocation_chain.rb: ditto.
	* lib/rubygems/command_manager.rb: ditto.
	* lib/rubygems/config_file.rb: ditto.
	* lib/uri/common.rb: ditto.

Wed Aug 27 21:08:20 2014  gogo tanaka  <mail@tanakakazuki.com>

	* lib/drb/drb.rb: use attr_reader instead of Module#attr.
	  [Feature #10172][ruby-core:64582]
	* lib/irb/ruby-token.rb: ditto.
	* lib/net/telnet.rb: ditto.
	* lib/rdoc/ruby_token.rb: ditto.
	* lib/thwait.rb: ditto.

Wed Aug 27 19:52:33 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (vtdate2rbtime): try to convert millisecond
	  of VT_DATE VARIANT to nsec of Time object.
	* test/win32ole/test_win32ole_variant.rb
	  (test_conversion_dbl2date_with_msec): ditto.

Wed Aug 27 09:57:29 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_complex.rb: removed unreachable code.
	* test/ruby/test_rational.rb: ditto.

Wed Aug 27 07:59:17 2014  Eric Wong  <e@80x24.org>

	* compile.c (iseq_set_sequence): check for multiplication overflow

Tue Aug 26 22:07:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_complex.rb: cherry-picked working assertions from r47251.
	* test/ruby/test_rational.rb: cherry-picked working assertions from r47263.

Tue Aug 26 21:07:56 2014  gogo tanaka  <mail@tanakakazuki.com>

	* lib/mathn.rb (Fixnum#**, Bignum#**, Float#**, Rational#**):
	  remove as these are now built-in.  [ruby-core:63973] [Bug #10086]

Tue Aug 26 20:46:55 2014  Tanaka Akira  <akr@fsij.org>

	* time.c (rb_time_unmagnify_to_float): Avoid double rounding.
	  Reported by Tsuyoshi Sawada.
	  https://bugs.ruby-lang.org/issues/10135#note-1

Tue Aug 26 17:12:47 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (io_close): ignore only "closed stream" IOError and
	  NoMethodError, do not swallow other exceptions at the end of
	  block.  [ruby-core:64463] [Bug #10153]

Tue Aug 26 13:46:33 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* template/fake.rb.in: fix failed to make install when @srcdir@ is
	  absolute path.

Tue Aug 26 13:43:50 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_range.rb: added workaround for VERBOSE message.

Tue Aug 26 12:38:02 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_mathn.rb: added workaround for VERBOSE messages.

Tue Aug 26 11:44:04 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/shell/process-controller.rb: removed commented-out code.

Tue Aug 26 11:39:01 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/thwait.rb (ThreadsWait): removed needless constant.

Tue Aug 26 09:27:10 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/mathn.rb: mathn library is deprecated on ruby 2.2.
	  [Feature #10169][ruby-core:64553]

Tue Aug 26 09:25:03 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/mathn.rb: removed commented-out code.

Mon Aug 25 20:15:50 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c(fole_s_connect, fole_initialize): raise a
	  security error with the tainted string object.
	* ext/win32ole/win32ole_event.c(ev_advise): ditto.
	* test/win32ole/test_win32ole.rb(test_s_new_exc_svr_tainted,
	  test_s_new_exc_host_tainted): ditto.
	* test/win32ole/test_win32ole_event.rb(test_s_new_exc_tainted): ditto.

Mon Aug 25 12:56:54 2014  Ivan Korunkov  <ivankorunkov@ya.ru>

	* lib/logger.rb (format_datetime): use "%6N" to show microsecond.
	  [Fix GH-704]

Mon Aug 25 11:02:07 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE
	* iseq.c (rb_iseq_build_for_ruby2cext): update based on argument

Sun Aug 24 16:14:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/e2mmap.rb: remove needless instance variables.
	* lib/irb.rb: ditto.
	* lib/irb/**/*.rb: ditto.
	* lib/shell.rb: ditto.

Sun Aug 24 12:44:26 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_complex.rb: removed needless conditions.
	* test/ruby/test_rational.rb: ditto.

Sun Aug 24 11:47:39 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_rational.rb: fixed indent.

Sun Aug 24 11:44:11 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_rational.rb: remove commented-out code.

Sun Aug 24 11:09:29 2014  Eric Wong  <e@80x24.org>

	* lib/benchmark.rb (measure): reduce allocations as in r47260

Sun Aug 24 10:35:54 2014  Pete Higgins  <pete@peterhiggins.org>

	* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK
	  (realtime): use Process.clock_gettime(BENCHMARK_CLOCK)
	  Reduces allocations to improve performance [Feature #10165]

	* test/benchmark/test_benchmark.rb (test_realtime_output): new test

Fri Aug 22 20:23:54 2014  Koichi Sasada  <ko1@atdot.net>

	* string.c (rb_fstring): fix condition (easy to cause infinite loop!).

Fri Aug 22 20:07:43 2014  Koichi Sasada  <ko1@atdot.net>

	* string.c (rb_fstring, fstr_update_callback): simply delete garbage
	  key first.

	  Garbage keys can be swept by lazy sweeping invoked by creating new
	  fstring.  So that simply do:
	  (1) delete garbage key and return `fstr_update_callback' immediately
	  (2) try again `fstr_update_callback()' to create a new fstr.

	  This bug can be cause memory corruption, reported by
	  http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140821T220302Z.fail.html.gz

Fri Aug 22 19:30:39 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_complex.rb: removed commented-out code.

Fri Aug 22 19:25:28 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_complex.rb: fixed broken tests. Math is not
	  compatible CMath now.

Fri Aug 22 15:36:09 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (Doxyfile): revert r43888, not to require preinstalled
	  ruby.  [ruby-core:64488] [Bug #10161]

Fri Aug 22 12:32:15 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/shell.rb: removed commented-out code.
	* lib/shell/builtin-command.rb: ditto.
	* lib/shell/command-processor.rb: ditto.

Fri Aug 22 12:21:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/complex.rb: removed deprecated library.
	* lib/rational.rb: ditto.

Fri Aug 22 11:38:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/prettyprint.rb: removed PrettyPrint#first?
	  because it is obsoleted method since Ruby 1.8.2

Thu Aug 21 17:10:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (constat_attr): manage reverse video internally
	  since Windows console window does not manage it.  based on the
	  patch by white leaf in [ruby-dev:48483].  [Bug #10158]

Thu Aug 21 14:45:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/e2mmap.rb: removed commented-out code.

Thu Aug 21 13:23:34 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rinda/ring.rb: split executable code into sample directory.
	* sample/rinda-ring.rb: ditto.

Thu Aug 21 13:21:45 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/drb/acl.rb: split executable code into sample directory.
	* sample/drb/acl.rb: ditto.

Thu Aug 21 12:55:35 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .gitignore: ignored temporary file for Changelog.
	  http://mkosaki.blog46.fc2.com/blog-entry-1284.html

Thu Aug 21 12:40:22 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/imap.rb: split executable code into sample directory.
	* sample/net-imap.rb: ditto.

Thu Aug 21 12:23:56 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/imap.rb: removed commented-out code.

Wed Aug 20 17:27:02 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
	  (RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
	  (RUBY_STACK_GROW_DIRECTION): quote defun names, for some
	  versions of autoconf possibly.  [ruby-core:64473] [Bug #10156]

Tue Aug 19 22:28:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): fix condition to round.
	  [ruby-core:64454] [Bug #10151]

Tue Aug 19 22:22:45 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
	  registered signs.  [ruby-core:64452] [Bug #10149]

Tue Aug 19 13:59:43 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compar.c (rb_cmperr): preserve encodings of arguments in the
	  message.

Tue Aug 19 10:13:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/thread/thread.c (get_array): check instance variables are
	  initialized properly.  [ruby-core:63826][Bug #10062]

Mon Aug 18 17:06:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (rb_str_format): support rational 'f' format.
	  [ruby-core:64382] [Bug #10136]

Mon Aug 18 08:03:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* spec/default.mspec: use 2.2 definition.

Sun Aug 17 19:41:40 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* gc.c (obj_memsize_of): don't calculate memsize of T_NODE
	  when called from check_gen_consistency. It fixes segmentation
	  fault on RGENGC_CHECK_MODE >= 1 introduced by r47188.

Sun Aug 17 17:08:12 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_invoke): use RHASH_SIZE instead of
	  calling Hash#length method.

Sat Aug 16 19:32:06 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_event.c (evs_length): use RARRAY_LEN instead
	  of calling Array#length method.

Sat Aug 16 10:20:17 2014  Eric Wong  <e@80x24.org>

	* time.c (time_timespec): fix tv_nsec overflow
	  [Bug #10144]

Fri Aug 15 20:34:17 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_EVENT src from
	  win32ole.c.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_event.c: ditto.
	* ext/win32ole/win32ole_event.h: ditto.
	* ext/win32ole/depend: ditto.

Fri Aug 15 19:38:00 2014  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (rb_iseq_clone): Should not insert write barrier from
	  non-RVALUE data (to non-RVALUE data, of course).

	  Ruby 2.1 also has a same problem.

Fri Aug 15 19:34:33 2014  Koichi Sasada  <ko1@atdot.net>

	* string.c (setup_fake_str): fake strings should not set class by
	  RBASIC_SET_CLASS() because it insert write barriers to fake
	  (non-RVALUE) structure.

	  It can cause unexpected behaviour.

	  Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).

	* symbol.c (setup_fake_str): ditto.

Fri Aug 15 19:27:25 2014  Koichi Sasada  <ko1@atdot.net>

	* array.c (rb_ary_tmp_new_fill): added.
	  This function creates internal use only array (which is completely
	  hided by ObjectSpace.each_object) with filling nil.

	  Otherwise, it can be includes strange VALUEs.

	* internal.h: added.

	* node.h: use rb_ary_tmp_new_fill() for MEMO.

Fri Aug 15 10:13:37 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/gserver.rb: removed unmaintained code.
	  [ruby-core:40313][Feature #5480]
	* lib/xmlrpc/httpserver.rb: ditto.

Fri Aug 15 09:22:12 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_thread_struct): reorder to pack
	* cont.c (rb_context_struct, rb_fiber_struct): ditto
	  On x86-64, these changes reduces:
	  rb_thread_struct to 1000 bytes (from 1016)
	  rb_context_struct to 1288 bytes (from 1312)
	  rb_fiber_struct to 2272 bytes (from 2304)

Fri Aug 15 09:06:31 2014  Eric Wong  <e@80x24.org>

	* thread_pthread.h: define RB_NATIVETHREAD_LOCK_INIT and
	  RB_NATIVETHREAD_COND_INIT macros

	* thread_pthread.c (native_mutex_lock, native_mutex_unlock,
	  native_mutex_trylock, native_mutex_initialize,
	  native_mutex_destroy, native_cond_wait):
	  use rb_nativethread_lock_t instead of pthread_mutex_t
	  [Feature #10134]

	* thread_pthread.c (native_mutex_debug): make argument type-agnostic
	  to avoid later cast.

	* thread_pthread.c (register_cached_thread_and_wait):
	  replace PTHREAD_COND_INITIALIZER with RB_NATIVETHREAD_COND_INIT,
	  use native_mutex_{lock,unlock}

	* thread_pthread.c (use_cached_thread):
	  use native_mutex_{lock,unlock}

	* thread_pthread.c (native_sleep):
	  use rb_nativethread_lock_t to match th->interrupt_lock,
	  use native_mutex_{lock,unlock}

	* thread_pthread.c (timer_thread_lock): use rb_nativethread_lock_t type

Fri Aug 15 08:10:29 2014  Eric Wong  <e@80x24.org>

	* cont.c (cont_mark): fix typo in unused path [ci skip]

Fri Aug 15 06:00:56 2014  Eric Wong  <e@80x24.org>

	* vm.c (rb_thread_mark): update comment about marking `me'
	  [ruby-core:64340] [ruby-core:64341]

Fri Aug 15 05:53:59 2014  Eric Wong  <e@80x24.org>

	* README.EXT: preliminary documentation for RB_GC_GUARD
	  [Bug #10100] [ruby-core:60741]

Thu Aug 14 00:26:19 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_RECORD src from
	  win32ole.c
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_record.c: ditto.
	* ext/win32ole/win32ole_record.h: ditto.
	* ext/win32ole/depend: ditto.

Wed Aug 13 21:41:04 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_VARIANT src from
	  win32ole.c.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_variant.c: ditto.
	* ext/win32ole/win32ole_variant.c: ditto.
	* ext/win32ole/depend: ditto.

Wed Aug 13 20:09:37 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: remove unused variable.

Wed Aug 13 19:31:27 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_search_handler_method, rescue_callback,
	  folerecord_inspect): use PRIsVALUE in rb_sprintf.

	* ext/win32ole/win32ole_param.c (foleparam_inspect): ditto.

	* ext/win32ole/win32ole_variable.c (folevariable_inspect): use
	  PRIsVALUE in rb_sprintf, use rb_inspect.

Wed Aug 13 11:54:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/irb/completion.rb: reverted r47163.
	  because another case can't be show completion target.

Wed Aug 13 11:17:00 2014  Shimpei Makimoto  <github@makimoto.org>

	* lib/irb.rb: Prevent irb from crashing when exception with
	  nil backtrace is raised.
	  [fix GH-434][ruby-core:58078][Bug #9063]
	* test/irb/test_raise_no_backtrace_exception.rb: ditto.

Wed Aug 13 11:08:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/irb/completion.rb: fixed broken completion list with
	  String including spaces. Contributed from @dunric. [fix GH-465]

Wed Aug 13 00:07:01 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_PARAM src from win32ole.c
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_param.c: ditto.
	* ext/win32ole/win32ole_param.h: ditto.
	* ext/win32ole/depend: ditto.

Tue Aug 12 23:17:47 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: refactoring. move some methods
	  into win32ole_type.c / win32ole_method.c
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_method.c: ditto.
	* ext/win32ole/win32ole_method.h: ditto.
	* ext/win32ole/win32ole_type.h: ditto.
	* ext/win32ole/win32ole_type.h: ditto.

Tue Aug 12 22:59:48 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: refactoring. move
	  ole_typelib_from_itypeinfo into win32ole_typelib.c.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_typelib.h: ditto.
	* ext/win32ole/win32ole_typelib.h: ditto.

Tue Aug 12 21:49:40 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_create_dcom): use the converted
	  result if the argument can be converted to a string, to get rid
	  of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]

Tue Aug 12 14:22:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* configure.in: ignored working directory same as prefix value.
	  [ruby-core:54999] [Bug #8409]

Tue Aug 12 13:34:25 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/fileutils.rb: enable to remove with non-owner directory.
	  [ruby-dev:45976] [Bug #6756]
	* test/fileutils/test_fileutils.rb: add testcase for #6756.

Tue Aug 12 12:57:28 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* vm_exec.c: improve performance in ppc64 arch.
	  [ruby-core:63437] [Feature #9997]

Tue Aug 12 12:14:52 2014  Akira Matsuda <ronnie@dio.jp>

	* lib/fileutils.rb: fix typo.
	  [ruby-dev:47831] [Bug #9180]

Tue Aug 12 10:10:42 2014  Eric Wong  <e@80x24.org>

	* vm_method.c (release_method_definition): use rb_free_method_entry

Tue Aug 12 06:16:09 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_METHOD src from
	  win32ole.c.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_method.c: ditto.
	* ext/win32ole/win32ole_method.h: ditto.
	* ext/win32ole/depend: ditto.

Mon Aug 11 22:19:15 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_variable.c (folevariable_inspect): refactoring.

Mon Aug 11 20:47:27 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_VARIABLE src from
	  win32ole.c
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_variable.c: ditto.
	* ext/win32ole/win32ole_variable.h: ditto.
	* ext/win32ole/depend: ditto.

Mon Aug 11 16:17:21 2014  Tony Miller  <mcfiredrill@gmail.com>

	* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
	  deprecated.  [ruby-core:64135] [Bug #10102]

Mon Aug 11 11:26:33 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/tempfile.rb: start rdoc parsing inside singleton class
	  definition to include the document there.
	  [ruby-core:64157] [Bug #10105]

Sun Aug 10 12:22:43 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_type.c: refactoring.

Sun Aug 10 10:34:00 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/cgi/session/pstore.rb: separated sample code.
	* lib/open3.rb: ditto.

Sun Aug 10 10:03:24 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/irb/ext/multi-irb.rb: removed commented-out code.

Sat Aug  9 11:02:07 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/irb.rb: removed commented-out code.
	* lib/irb/**/*.rb: ditto.

Sat Aug  9 10:35:30 2014  Laurent Arnoud  <laurent@spkdev.net>

	* lib/cmath.rb: fixed indent. [fix GH-696]
	* lib/drb/ssl.rb: ditto.
	* lib/irb/**/*.rb: ditto.

Sat Aug  9 10:28:03 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/minitest/test_minitest_unit.rb: removed obsoleted condition
	  for Ruby 1.8.
	* test/ruby/test_time_tz.rb: ditto.

Sat Aug  9 10:18:00 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/cgi/test_cgi_core.rb: removed obsoleted condition for Ruby 1.8.
	* test/cgi/test_cgi_header.rb: ditto.
	* test/cgi/test_cgi_multipart.rb: ditto.
	* test/cgi/test_cgi_tag_helper.rb: ditto.

Sat Aug  9 00:34:37 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE_TYPE src from win32ole.c.
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_type.c: ditto.
	* ext/win32ole/win32ole_type.h: ditto.
	* ext/win32ole/depend: ditto.

Fri Aug  8 01:53:37 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/securerandom.rb: use OpenSSL::BN for performance improvement.

	* benchmark/bm_securerandom.rb: benchmark script.

Fri Aug  8 17:19:57 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/open-uri.rb: remove needless condition for old ruby version.
	* test/open-uri/test_open-uri.rb: ditto.

Fri Aug  8 16:40:59 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/irb/init.rb: removed unreachable code.

Fri Aug  8 16:34:22 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/drb/drb.rb: removed unreachable code.

Fri Aug  8 14:33:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/webrick/httpproxy.rb: remove needless condition
	  for old ruby version.

Fri Aug  8 01:07:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_yylex): fix invalid char in eval, should raise
	  an syntax error too, as well as directly coded.
	  [ruby-core:64243] [Bug #10117]

Thu Aug  7 23:25:29 2014  Masaki Matsushita <glass.saga@gmail.com>

	* lib/open3.rb: avoid unnecessary write if stdin_data is empty.

Thu Aug  7 21:42:49 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole_typelib.c (foletypelib_version): return
	  version string.

	* test/win32ole/test_win32ole_typelib.rb (test_version): ditto.

Thu Aug  7 15:13:13 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/cgi.rb: remove needless condition for old ruby version.

Thu Aug  7 06:04:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_yyerror): preserve source code encoding in
	  syntax error messages.  [ruby-core:64228] [Bug #10114]

Wed Aug  6 20:56:02 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate src of WIN32OLE_TYPELIB from
	  win32ole.c

	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_typelib.c: ditto.
	* ext/win32ole/win32ole_typelib.h: ditto.
	* ext/win32ole/depend: ditto.

Wed Aug  6 20:44:07 2014  Akinori MUSHA  <knu@iDaemons.org>

	* enum.c (enum_one): [DOC] Move enum.one? documentation before the
	  relevant method.  Submitted by @vipulnsward. [Fixes GH-687]
	  https://github.com/ruby/ruby/pull/687

Wed Aug  6 20:25:47 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/set.rb (Set#replace): Check if an object given is enumerable
	  before clearing self.  Reported by yui-knk. [GH-675]
	  https://github.com/ruby/ruby/pull/675

Wed Aug  6 20:07:26 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (olerecord_ivar_set): remove rb_str_subseq.

Wed Aug  6 19:09:27 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/set.rb (Set): Implement Set#clone by splitting
	  initialize_copy into initialize_dup and initialize_clone.
	  Submitted by yui-knk. [Fixes GH-661]
	  https://github.com/ruby/ruby/pull/661

Wed Aug  6 18:42:58 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeError
	  from win32ole.c.

	* ext/win32ole/win32ole.h: ditto
	* ext/win32ole/depend: ditto.
	* ext/win32ole/win32ole_error.c: ditto.
	* ext/win32ole/win32ole_error.h: ditto.

Wed Aug  6 04:33:58 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
	  of parser to handle IPv6 address. [Bug #9129]

Wed Aug  6 04:16:05 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):
	  OPTIONS requests may have response bodies. [Feature #8429]
	  http://tools.ietf.org/html/rfc7231#section-4.3.7

Wed Aug  6 03:18:04 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
	  handle req['host'] in update_uri.

	* lib/net/http/generic_request.rb
	  (Net::HTTP::GenericRequest#update_uri):
	  use req['host'] if it is explicitly set. Even if URI is given,
	  it is already used for the initial value of req['host'].
	  Therefore overwritten value should be respected. [Bug #10054]

Wed Aug  6 03:17:34 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/generic_request.rb
	  (Net::HTTP::GenericRequest#update_uri):
	  handle scheme, host, and port to reflect connection to @uri.

	* lib/net/http.rb (Net::HTTP#begin_transport): move trivial handling
	  to Net::HTTP::GenericRequest#update_uri.


Wed Aug  6 02:16:43 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/generic_request.rb
	  (Net::HTTP::GenericRequest#initialize):
	  optimize object allocation.

Wed Aug  6 01:16:47 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI::Generic#path_query): remove a private method.

Wed Aug  6 01:15:47 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI::Generic#normalize!): use String#empty?

	* lib/uri/generic.rb (URI::Generic#path_query): optimized.

	* lib/uri/generic.rb (URI::Generic#to_s): optimized.

Wed Aug  6 00:15:10 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/http.rb (URI::HTTP#request_uri): optimized.
	  decrease object allocation, and ensure always create at least one new
	  object for return value.

Wed Aug  6 03:41:21 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: backwards compatibility for
	  hashes emitted by Syck. Github #198
	* test/psych/test_hash.rb: test for change.

Tue Aug  5 19:27:59 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_invoke): skip VariantClear when
	  argument is VT_RECORD variant.

Tue Aug  5 15:52:51 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gems/bundled_gems: Upgrade to test-unit-3.0.0 and minitest-5.4.0.

Mon Aug  4 21:50:09 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_record.rb: add for WIN32OLE_RECORD
	  test(need .NET Framework 3.5 to run test).

Mon Aug  4 19:49:34 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_invoke): call rb_hash_foreach instead
	  of rb_block_call.

	* ext/win32ole/win32ole.c: add comment for rdoc of WIN32OLE_VARIANT
	  class.

Mon Aug  4 09:12:47 2014  Eric Wong  <e@80x24.org>

	* variable.c: cleanup to use rb_const_lookup
	  [Feature #10107]

	* vm_insnhelper.c: ditto

Sun Aug  3 10:55:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/encoding.h (rb_check_symbol_cstr): ditto.

Sun Aug  3 10:43:08 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_insnhelper.c (vm_call_method): unusable super class should cause
	  method missing when BasicObject is refined but not been using.
	  [ruby-core:64166] [Bug #10106]

Sat Aug  2 23:47:45 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file
	  from win32ole.c
	* ext/win32ole/win32ole.h: ditto.
	* ext/win32ole/win32ole_variant_m.c: ditto.
	* ext/win32ole/win32ole_variant_m.h: ditto.
	* ext/win32ole/depend: ditto.
	* ext/.document: ditto.

Sat Aug  2 14:34:58 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: add comments for rdoc.

Sat Aug  2 10:26:57 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (rb_obj_itself): new method Object#itself.  based on the
	  patch by Rafael Franca in [ruby-core:64156].
	  [EXPERIMENTAL] this method may be renamed due to compatibilities.
	  [ruby-core:44704] [Feature #6373]

Fri Aug  1 22:30:40 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (folerecord_initialize): accept
	  only 2 arguments. The 2nd argument should be WIN32OLE object or
	  WIN32OLE_RECORD object.

Fri Aug  1 20:17:33 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_variant2val): call
	  folerecord_s_allocate instead of WIN32OLE_RECORD.new.

Fri Aug  1 18:39:57 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/date/test_date.rb: remove commented-out code.
	* test/date/test_date_arith.rb: ditto.
	* test/date/test_date_attr.rb: ditto.
	* test/date/test_date_parse.rb: ditto.

Fri Aug  1 16:35:32 2014  Evan Miller  <evan@squareup.com>

	* numeric.c (flodivmod): all results are NaN if divisor is NaN.
	  [fix GH-692]

Thu Aug 01 07:28:12 2014  Kenta Murata  <mrkn@mrkn.jp>

	* ext/bigdecimal/bigdecimal.c: [DOC] Add description of
	  `BigDecimal.new` exceptions.  Patched by @joker1007 and
	  @prathamesh-sonpatki [Fixes GH-690]
	  https://github.com/ruby/ruby/pull/690

Thu Jul 31 22:20:12 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: add WIN32OLE_RECORD#inspect.

Thu Jul 31 20:35:32 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: add
	  WIN32OLE_RECORD#ole_instance_variable_set and
	  WIN32OLE_RECORD#ole_instance_variable_get

Wed Jul 30 23:28:10 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* sprintf.c (rb_str_format): like r47006, get rid of
	  function calls in RSTRING_PTR().

Wed Jul 30 22:10:29 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* process.c (rlimit_resource_type, rlimit_resource_value):
	  get rid of inadvertent dynamic symbol pin-down.

	* re.c (match_backref_number): ditto.

	* signal.c (esignal_init, rb_f_kill, trap_signm): ditto.

	* transcode.c (econv_opts): ditto.

	* vm_trace.c (symbol2event_flag): ditto.

Wed Jul 30 21:29:39 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_invoke): pass WIN32OLE_RECORD variant
	  by reference when invoke OLE methods at first.

	* ext/win32ole/win32ole.c (olerecord_set_ivar): release
	  IRecordInfo interface before setting another IRecordInfo interface.

Wed Jul 30 13:17:35 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: remove unused macros.

Tue Jul 29 22:21:37 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (hash2olerec): ignore WIN32OLE_RECORD
	  instance variable if the variable is nil.

Tue Jul 29 19:43:27 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (folerecord_method_missing): refactoring.
	  divide functionality of folerecord_method_missing into
	  olerecord_ivar_set and olerecord_ivar_get.

Mon Jul 28 20:20:08 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win23ole.c (folerecord_method_missing): support
	  setter of member of WIN32OLE_RECORD object.

Mon Jul 28 06:37:19 2014  Zachary Scott  <e@zzak.io>

	* vm_eval.c: [DOC] Fix rdoc formatting of patch from [Bug #9551]

Mon Jul 28 06:34:43 2014  Zachary Scott  <e@zzak.io>

	* vm_eval.c: [DOC] [Bug #9551] Improve clarity of Kernel::catch
	  documentation, patch by Jesse Sielaff.

Mon Jul 28 06:24:54 2014  Zachary Scott  <e@zzak.io>

	* lib/uri/common.rb: [DOC] [Bug #9563] Recommend using URI.escape
	  before parsing a uri to avoid invalid characters. Reported by
	  Evgeniy Serykh.

Mon Jul 28 05:55:56 2014  Zachary Scott  <e@zzak.io>

	* time.c: [DOC] Clarify %Y in strftime, which can accept any digits
	  and will output at least 4 digits as the year. Reported by Yury
	  Trofimenko [Bug #10049]

	* lib/time.rb: ditto

Mon Jul 28 05:32:06 2014  Zachary Scott  <e@zzak.io>

	* lib/uri/common.rb: [DOC] [Bug #10075] Clarify how URI.join arguments
	  are handled by RFC3986, originally reported by John Feminella.

Mon Jul 28 05:21:41 2014  Zachary Scott  <e@zzak.io>

	* file.c: [DOC] Clarify how File.file? handles symbolic links. Also
	  cleaned up the rdoc style for this method, more to follow.
	  Originally reported by Michael Renner [Bug #10067]

Mon Jul 28 05:12:22 2014  Zachary Scott  <e@zzak.io>

	* time.c: [DOC] Remove dead link and old bug report, which hasn't been
	  reproduced in a few years. Reported by Federico Builes [Bug #10071]

Mon Jul 28 04:39:58 2014  Zachary Scott  <e@zzak.io>

	* ext/zlib/zlib.c: [DOC] Remove default value of Zlib constants, as
	  they may change in the implementation without notice. Patched by
	  @robin850 [Fixes GH-682] https://github.com/ruby/ruby/pull/682

Mon Jul 28 04:35:35 2014  Zachary Scott  <e@zzak.io>

	* ext/openssl/ossl_hmac.c: Fix NO_HMAC warning [Fixes GH-665]
	  Patched by @vipulnsward https://github.com/ruby/ruby/pull/665

Sun Jul 27 19:49:36 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/cgi/core.rb: remove unused variables.
	* lib/erb.rb: ditto.
	* lib/mkmf.rb: ditto.
	* lib/net/http/response.rb: ditto.
	* lib/optparse/version.rb: ditto.
	* lib/prime.rb: ditto.
	* lib/racc/parser.rb: ditto.
	* lib/rexml/document.rb: ditto.
	* lib/rexml/dtd/dtd.rb: ditto.
	* lib/rexml/element.rb: ditto.
	* lib/rexml/functions.rb: ditto.
	* lib/rexml/parsers/xpathparser.rb: ditto.

Sun Jul 27 05:11:21 2014  Zachary Scott  <e@zzak.io>

	* lib/irb.rb: [DOC] PROMPT_I cannot be nil, patch by @hgillane
	  Fixes documenting-ruby/ruby#37
	  https://github.com/documenting-ruby/ruby/pull/37

Sun Jul 27 02:41:50 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/shell/command-processor.rb: remove unused variable.
	* lib/shell/system-command.rb: ditto.
	* lib/tmpdir.rb: ditto.
	* lib/uri/generic.rb: ditto.

Sun Jul 27 02:08:31 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/weakref.rb: split executable code into sample directory.
	* sample/weakref.rb: ditto.

Sun Jul 27 02:06:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/delegate.rb: split executable code into sample directory.
	* sample/delegate.rb: ditto.

Sun Jul 27 01:46:34 2014  Zachary Scott  <e@zzak.io>

	* proc.c (method_super_method): [DOC] Method#super_method

Sun Jul 27 01:22:39 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (method_super_method): new method Method#super_method,
	  which returns a method object of the method to be called by
	  `super` in the receiver method object.
	  [ruby-core:62202] [Feature #9781]

Sat Jul 26 17:22:14 2014  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* ext/objspace/objspace_dump.c (dump_append): avoid fflush.

	  because dump_append_string_value() iterates over each chars,
	  fflush()-ing here effectively issues system calls on every single
	  bytes exist in a ruby process.

Sat Jul 26 16:55:18 2014  Eric Wong  <e@80x24.org>

	* iseq.h (struct iseq_compile_data_storage): reduce overhead
	  to 16 bytes (from 32) on 64-bit

Sat Jul 26 16:28:06 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (struct rb_iseq_struct): reduce to 280 bytes
	  (from 288 bytes) on 64-bit

Sat Jul 26 06:44:43 2014  Eric Wong  <e@80x24.org>

	* parse.y (struct parse_params): shrink to 320 to 304 bytes on 64-bit

Sat Jul 26 05:58:35 2014  Eric Wong  <e@80x24.org>

	* include/ruby/ruby.h (ZALLOC, ZALLOC_N): implement
	  (Data_Make_Struct, TypedData_Make_Struct):
	  ZALLOC replaces ALLOC+memset
	  [ruby-core:63951][Feature #10082]
	* compile.c (iseq_seq_sequence): ZALLOC_N replaces ALLOC_N+MEMZERO
	* cont.c (fiber_t_alloc): ZALLOC replaces ALLOC+MEMZERO
	* io.c (rb_io_reopen): ditto
	* iseq.c (prepare_iseq_build): ditto
	* parse.y (new_args_tail_gen, parser_new, ripper_s_allocate): ditto
	* re.c (match_alloc): ditto
	* variable.c (rb_const_set): ditto
	* ext/socket/raddrinfo.c (get_addrinfo): ditto
	* ext/strscan/strscan.c (strscan_s_allocate): ditto
	* gc.c (rb_objspace_alloc): calloc replaces malloc+MEMZERO

Sat Jul 26 05:54:54 2014  Eric Wong  <e@80x24.org>

	* symbol.c (dsymbol_check): remove unneeded semi-colon

Fri Jul 25 14:07:27 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: change objspace::rgengc::parent_object_is_old (boolean)
	  to objspace::rgengc::parent_object (VALUE).
	  Use Qfalse or RVALUE pointer instead of FALSE and TRUE.

	* gc.c (gc_marks_body): should clear parent_object just before
	  gc_mark_roots() because there are no parents objects
	  for root objects.

Fri Jul 25 13:45:39 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_gc_writebarrier_remember_promoted): should remember only
	  OLD objects on RGENGC_AGE2_PROMOTION.

Fri Jul 25 13:42:02 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_stacked_objects): fix error message.

Fri Jul 25 13:18:00 2014  Will Farrington  <wfarrington@digitalocean.com>

	* ext/socket/socket.c (sock_gethostname): Use NI_MAXHOST to support
	  hostnames longer than 64 characters if the system supports it.
	  [fixes GH-683]

Fri Jul 25 12:21:11 2014  Santiago Pastorino  <santiago@wyeworks.com>

	* compile.c (defined_expr): make the condition if the receiver
	  is explicit or implicit cleaner.  [fix GH-681]

Fri Jul 25 03:53:52 2014  Eric Hodel  <drbrain@segment7.net>

	* doc/keywords.rdoc:  [DOC] Describe each keyword.

Thu Jul 24 22:40:24 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_RECORD#initialize
	  method.

	* ext/win32ole/win32ole.c (ole_val2variant): convert WIN32OLE_RECORD
	  object to VT_RECORD variant.

Thu Jul 24 20:10:59 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: fix major GC flags.
	  * add GPR_FLAG_MAJOR_BY_FORCE, which indicates
	    major GC by METHOD, CAPI and so on (see GC_BY).
	  * remove GPR_FLAG_MAJOR_BY_RESCAN because not used.
	  * remove GPR_FLAG_MAJOR_BY_STRESS, use FORCE instead.

	* test/ruby/test_gc.rb: catch up.

Thu Jul 24 15:55:02 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not
	  be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED
	  should be used. [ruby-core:63988] [Bug #10088]

Thu Jul 24 04:42:13 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/benchmark.rb: split executable code into sample directory.
	* sample/benchmark.rb: ditto.

Thu Jul 24 04:36:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/tempfile.rb: split executable code into sample directory.
	* sample/tempfile.rb: ditto.

Thu Jul 24 04:29:36 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/pstore.rb: split executable code into sample directory.
	* sample/pstore.rb: ditto.

Wed Jul 23 23:50:11 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/defines.h, siphash.c, st.c (UNALIGNED_WORD_ACCESS):
	  add PowerPC64 too, which is capable to access unaligned words.
	  patched by Gustavo Frederico Temple Pedrosa in [ruby-core:63937].
	  [Feature #10081]

	* regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): ditto.

Wed Jul 23 04:04:38 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/drb/extserv.rb: remove duplicate code with sample directory.
	  contributed from @vipulnsward. [fix GH-679]

Tue Jul 22 12:56:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_count): fix wrong single-byte optimization.
	  7bit ascii can be a trailing byte in Shift_JIS.
	  [ruby-dev:48442] [Bug #10078]

Tue Jul 22 01:48:38 2014  Eric Wong  <e@80x24.org>

	* include/ruby/io.h (rb_io_buffer_t): fix packing on gcc
	  r46892 caused packing to be a no-op on gcc (4.7.2-5, Debian)
	  [Bug #10079][ruby-core:63912]

Mon Jul 21 15:55:42 2014  fuji70  <fujifuji70@gmail.com>

	* lib/optparse.rb (getopts): print default values and descriptions
	  in the help message.  [fix GH-676]

Sun Jul 20 14:26:27 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_proc_t): reduce to 64 bytes from 72 on 64-bit

Sun Jul 20 13:50:34 2014  Eric Wong  <e@80x24.org>

	* transcode.c (rb_econv_t): reduce to 184 bytes from 200 on 64-bit

Sun Jul 20 12:44:23 2014  Eric Wong  <e@80x24.org>

	* include/ruby/io.h (rb_io_buffer_t): pack structure
	  Reduces rb_io_t from 200 to 192 bytes, allowing rb_io_t to
	  occupy one less cache line.
	  [Feature #10050]

Sun Jul 20 12:41:53 2014  Eric Wong  <e@80x24.org>

	* include/ruby/io.h (rb_io_t): shrink to 200 bytes from 216 on 64-bit
	  This puts us within 8 bytes of being three cache lines instead of
	  four lines on x86-64.  This breaks the ABI.
	  [Feature #10050]

Sun Jul 20 12:36:46 2014  Eric Wong  <e@80x24.org>

	* include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448
	  bytes from 464 bytes on 64-bit.  This breaks the ABI.
	  [Feature #10034]

Sun Jul 20 01:06:06 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/openssl/ossl.c: use encryptor instead of encrypter in doc.
	  contributed from @vipulnsward. [fix GH-663]

Sun Jul 20 00:32:44 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_initialize): [DOC] fix rdoc of append mode.  it does
	  not move the pointer at open.  [ruby-core:63747] [Bug #10039]

Sat Jul 19 12:40:50 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_compile_each): allow to access private attribute
	  reader in op_assign.  [ruby-core:63817] [Bug #10060]

Sat Jul 19 11:56:36 2014  Grey Baker  <greysteil@gmail.com>

	* lib/time.rb (Time#apply_offset): Guards against a `nil` return
	  value from `Time.month_days` when offsetting date.  Out of range
	  values are then caught when `Time.utc` is called (as usual).

	  Previously a `nil` return value from `Time.month_days` would
	  have the `<` operator called on it, and raise `NoMethodError`.
	  [fix GH-667]

	* lib/rdoc/parser/changelog.rb (RDoc#parse_entries): fix dirty hack.

Sat Jul 19 06:19:01 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: refactoring.

Fri Jul 18 22:34:41 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (folevariant_initialize): WIN32OLE_VARIANT
	  does not support VT_RECORD. VT_RECORD should be supported in
	  WIN32OLE_RECORD.

	* test/win32ole/test_win32ole_variant.rb (test_s_new_vt_record_exc):
	  ditto.

Fri Jul 18 19:54:03 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary
	  code.

Fri Jul 18 19:11:03 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix/eigenvalue_decomposition: Style fix
	  Patch by Gogo Tanaka [#10058]

Fri Jul 18 19:03:53 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Avoid using `and`.
	  Patch by gogo tanaka [#10058]

Fri Jul 18 17:41:54 2014  GoGo tanaka  <qlli.illb@gmail.com>

	* test/matrix/test_matrix.rb: Add tests for Matrix class.
	  [Feature #10057][ruby-core:63809]

Fri Jul 18 10:14:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/fileutils.rb: added missing options of FileUtils.touch by @Domon.
	  [fix GH-669]

Thu Jul 17 19:57:27 2014  Herwin  <herwin@quarantainenet.nl>

	* ext/thread/thread.c (rb_szqueue_push): add optional parameter,
	  non_block defaulted to false.  [ruby-core:63794] [Feature #10052]

Wed Jul 16 23:01:43 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_variant2val): support array of
	  VT_RECORD variant.

Wed Jul 16 20:21:49 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* vm_core.h (struct rb_iseq_struct): stack_max is changed to int
	  because all calculations related to stack_max in compile.c
	  (iseq_set_sequence) and vm_insnhelper.c (vm_push_frame) are
	  conducted by using int. This partly reverts r23945.
	* vm_insnhelper.c (vm_push_frame): ditto. This reverts r42401.

Wed Jul 16 19:55:32 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].
	  Add padding on big-endian 64-bit architecture (e.g. sparc64).

Wed Jul 16 19:32:23 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (fole_record_method_missing): call
	  rb_hash_fetch instead of rb_hash_aref.

Wed Jul 16 18:08:47 2014  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (rb_iseq_defined_string): use rb_gc_mark_object() instead of
	  marking from vm_mark().

	* vm.c (rb_vm_mark): ditto.

Wed Jul 16 18:03:50 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_roots): call rb_vm_mark directly.

	* vm.c: remove mark function for RubyVM object because
	  RubyVM object marked manually.

Wed Jul 16 12:25:39 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
	  this includes Support for Unicode 7.0 [Bug #9092].

Tue Jul 15 23:59:27 2014  Jared Jennings  <jared.jennings.ctr@us.af.mil>

	* ext/digest: make built-in digest function implementations
	  indicate success or failure of init and final functions.
	  [ruby-core:61614] [Bug #9659]

	* ext/digest/digest.c: expect digest init and finish functions to
	  indicate success or failure; raise exception on failure.
	  [ruby-core:61614] [Bug #9659]

Tue Jul 15 20:31:40 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: modify document for WIN32OLE_RECORD.

Tue Jul 15 12:42:23 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* defs/default_gems: change version definition file of rake.

Tue Jul 15 12:00:03 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rake.rb, lib/rake/*.rb: Upgrade to rake-10.3.2
	  [fix GH-668]
	* test/rake/*.rb: ditto.

Mon Jul 14 19:14:51 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: modify WIN32OLE class document and
	  add comment for constants of WIN32OLE.

Mon Jul 14 16:38:45 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (struct rb_iseq_struct): reduce to 288 bytes
	  on x86-64 (from 296 bytes)

Mon Jul 14 16:07:25 2014  Eric Wong  <e@80x24.org>

	* iseq.h (struct iseq_catch_table_entry): shrink to 32 bytes
	  on x86-64 (from 48 bytes)

Mon Jul 14 16:04:41 2014  Eric Wong  <e@80x24.org>

	* iseq.h (struct iseq_catch_table): new flexible array struct
		 (iseq_catch_table_bytes): allocated size function
	* vm_core.h (struct rb_iseq_struct): update catch_table member
	  This reduces the struct from 304 to 296 bytes on x86-64.
	* compile.c (iseq_set_exception_table): update for struct changes
	* iseq.c (iseq_free): ditto
	* iseq.c (iseq_memsize): ditto
	* iseq.c (rb_iseq_disasm): ditto
	* iseq.c (iseq_data_to_ary): ditto
	* iseq.c (rb_iseq_build_for_ruby2cext): ditto (untested)
	* vm.c (vm_exec): ditto
	* vm_core.h (struct rb_iseq_struct): ditto
	* vm_insnhelper.c (vm_throw): ditto

Sun Jul 13 17:49:52 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/openssl/ossl_cipher.c: Fix call to ciphers class method and
	  spell out `encryption` by @vipulnsward [fix GH-664]

Sun Jul 13 17:31:51 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/gdbm/gdbm.c: fix wrong arguments in GetDBM2 macro.
	* ext/sdbm/init.c: ditto.

Sun Jul 13 17:25:50 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/dbm/dbm.c: fix wrong arguments in GetDBM2 macro by @v2e4lisp.
	  [fix GH-655]

Sun Jul 13 16:44:56 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (struct rb_call_info_struct): improve packing
	  This reduces the struct from 112 to 104 bytes on x86-64.

Sun Jul 13 15:53:25 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (struct rb_iseq_struct): stack_max is uint32_t
	  This reduces the struct from 312 to 304 bytes on x86-64.

Sun Jul 13 10:56:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_broken_backtrace): exit with failure
	  normally, no needs to abort.  [ruby-core:63678] [Bug #10008]

Sat Jul 12 15:10:22 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (fole_record_method_missing): correct
	  fields Hash key.

Sat Jul 12 04:17:40 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* lib/net/smtp.rb (Net::SMTP#data): enable buffering while
	  'data' send for optimizing Net::SMTP#send_message.
	  [ruby-dev:48329] [misc #9981]
	  patch by Masahiro Tomita.

Sat Jul 12 01:13:45 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later,
	  if possible, execute child ruby with environment variables
	  LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap". With these
	  variables, freed memory is immediately returned to the OS.
	  [Bug #10020] [ruby-dev:48391]

Fri Jul 11 20:49:10 2014  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c: add WIN32OLE_RECORD class to support
	  VT_RECORD OLE variables.

Fri Jul 11 17:15:08 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/abbrev.rb: remove executable.

Fri Jul 11 16:45:39 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/fileutils.rb: handle ENOENT error with symlink targeted to
	  non-exists file. [ruby-dev:45933] [Bug #6716]

Fri Jul 11 15:59:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* array.c: Clarify documentation for Array#insert.
	  [ruby-core:62934] [Bug #9901]

Fri Jul 11 15:39:36 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* io.c: Improve Documentation by @dapplebeforedawn.
	  [fix GH-658] [ruby-core:63579] [Bug #10012]

Fri Jul 11 14:19:14 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Fix sign for cross_product [#9499]

Fri Jul 11 11:11:50 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/prepare_so_k_nucleotide.rb: use require_relative.

	* benchmark/prepare_so_reverse_complement.rb: ditto.

Fri Jul 11 10:09:03 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* pack.c (encodes): fix buffer overrun by tail_lf.  Thanks to
	  Mamoru Tasaka and Tomas Hoger.  [ruby-core:63604] [Bug #10019]

Thu Jul 10 23:51:36 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9.
	  When name contains '=', ruby_setenv raises Errno::EINVAL.
	  That is the same behavior as Solaris 10.
	  NULL check for malloc return value is also added.

Thu Jul 10 15:02:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
	  pointer to get rid of overwriting splat arguments by arguments
	  for `to_hash` conversion.  [ruby-core:63593] [Bug #10016]

Thu Jul 10 01:09:57 2014  Koichi Sasada  <ko1@atdot.net>

	* symbol.c: remove rb_gc_mark_symbols().

	  fstrings referred by static symbols and pinned dynamic symbols
	  are registered by rb_gc_register_mark_object().

	  fstrings referred by dynamic symbols (not pinned symbols)
	  are referred from global_symbols.dsymbol_fstr_hash (Hash object).

	  Note that fstrings referred from dynamic symbols must live logger
	  than symbol objects themselves because rb_gc_free_dsymbol() uses
	  fstrings to remove from symbol tables.
	  This is why we can not mark fstrings from dynamic symbols.

	  This technique reduces root objects for GC marking.

	* gc.c (gc_mark_roots): ditto.

	* internal.h: ditto.

Thu Jul 10 00:24:18 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* common.mk (DTRACE_DEPENDENT_OBJS): fix build failure on Solaris
	  introduced in r46768. Object files containing dtrace probes should
	  be listed in DTRACE_DEPENDENT_OBJS.

Wed Jul  9 17:07:28 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* symbol.c, symbol.h: Symbol class implementation and internals,
	  split from parse.y.

Wed Jul  9 14:45:39 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: change Symbol <-> ID relationship to avoid
	  exposing IDs from collectable symbols.
	  [Bug #10014]

	  Now, rb_check_id() returns 0 if corresponding symbol is
	  pinned dynamic symbol.

	  There is remaining intern_cstr_without_pindown(), it can return
	  IDs from collectable symbols. We must be careful to use it
	  (only used in parse.y).  I think it should be removed if
	  it does not have impact for performance.

	* parse.y:
	  add:
	  * STATIC_SYM2ID()
	  * STATIC_ID2SYM()
	  rename:
	  * rb_pin_dynamic_symbol() -> dsymbol_pindown()

	* internal.h:
	  remove:
	  * rb_check_id_without_pindown()
	  * rb_sym2id_without_pindown()
	  add:
	  * rb_check_symbol()
	  * rb_check_symbol_cstr()

	* load.c: use rb_check_id() or rb_check_id_cstr().

	* object.c: ditto.

	* struct.c: ditto.

	* thread.c: ditto.

	* vm_method.c: ditto.

	* string.c (sym_find): use only rb_check_symbol().

	* sprintf.c (rb_str_format): use rb_check_symbol_cstr().

Wed Jul  9 12:21:55 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y (symbols_i): delete garbage symbols for Symbol.all_symbols.

Wed Jul  9 05:49:08 2014  Eric Wong  <e@80x24.org>

	* thread_pthread.h (struct rb_global_vm_lock_struct):
	  do not expose pthread type for lock

Wed Jul  9 05:41:40 2014  Eric Wong  <e@80x24.org>

	* thread_pthread.h: remove unneeded semaphore.h include

Wed Jul  9 00:12:28 2014  Keiju Ishitsuka  <keiju@ishitsuka.com>

	* lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.

Tue Jul  8 16:58:02 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
	  outputs expected result.  [ruby-dev:48370] [Bug #10010]

Tue Jul  8 14:45:17 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y (dsymbol_alloc): set global_symbols.minor_marked to 0.

	* parse.y (dsymbol_check): set RSYMBOL(sym)->fstr to 0
	  because we should not touch fstr after that.

	* parse.y (rb_gc_free_dsymbol): skip deleting str and sym
	  from tables if fstr == 0.

Mon Jul  7 14:31:52 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: remove global_symbols::pinned_dsym
	  (and ::pinned_dsym_minor_marked).

	  Mark pinned dsymbols by rb_gc_register_mark_object() because
	  they are immortal.

	* parse.y (rb_gc_free_dsymbol): rename parameter name `ptr' to `sym'.

Mon Jul  7 12:45:51 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: revert miss-commit.

Mon Jul  7 12:40:59 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: need to use updated (re-created) symbols.

Mon Jul  7 11:02:55 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb.

	* lib/rbconfig/obsolete.rb: removed.

Mon Jul  7 10:52:03 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: do not use rb_gc_resurrect(), but create a new dynamic
	  symbol for garbage dynamic symbol.

	* common.mk: use gc.h by parse.y.

Mon Jul  7 02:18:42 2014  Koichi Sasada  <ko1@atdot.net>

	* string.c (fstr_update_callback): do not use rb_gc_resurrect()
	  any more.

	  Make new frozen string and replace with garbage frozen string.

	* common.mk: use gc.h from string.c.

Mon Jul  7 00:36:13 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename is_dying_object() to is_garbage_object().

	* gc.h: rb_objspace_garbage_object_p() as an exported function.

Sun Jul  6 21:30:35 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (is_dying_object): fix missed condition.

	* gc.c (is_live_object): move frequent path first.

Sun Jul  6 21:00:11 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename is_dead_object() to is_dying_object().
	  This function is not opposite against is_live_object()
	  because is_dying_object() does *not* check object type.

	* gc.c (is_dying_object): change condition.

	* gc.c (is_live_object): use T_NONE instead of 0.

	* gc.c (rb_objspace_dying_object_p): added.

Sun Jul  6 13:37:27 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_gc_register_mark_object): change data structure.
	  From single array, to array of arrays. Each array only has 1024
	  entries.

	* vm.c (Init_vm_objects): change default capa from 1 to 128.

Sat Jul  5 05:05:53 2014  Vipul A M  <vipulnsward@gmail.com>

	* lib/irb/locale.rb (IRB::Locale#modifier): fix wrong attr_reader
	  `modifieer` => `modifier` from irb locale.  [fix GH-656]

Fri Jul  4 20:45:26 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: rename symbols::sym_id to symbols::str_id.
	  This table is not {Symbol => ID} table, but
	  {String => ID} table.

	* parse.y (lookup_sym_id): also rename lookup_sym_id() to
	  lookup_str_id() because key is not Symbol, but String.

Fri Jul  4 18:42:04 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y (must_be_dynamic_symbol): fix missed-condition.

Fri Jul  4 18:38:11 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y (rb_pin_dynamic_symbol): should be `static' function.

Fri Jul  4 18:03:35 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y (must_be_dynamic_symbol): refactoring.
	  * add `inline'.
	  * use UNLIKELY().
	  * check only DYNAMIC_SYM_P(), otherwise it is a bug.
	  * lookup_id_str() is not needed in second condition.

Fri Jul  4 11:53:56 2014  Koichi Sasada  <ko1@atdot.net>

	* parse.y: remove unused code
	  surrounded by `#if ENABLE_SELECTOR_NAMESPACE'

Fri Jul  4 10:08:24 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/rubygems/test_gem_package.rb: avoid tempfile leaks using Tempfile#close!
	* test/rubygems/test_gem_request_set.rb: ditto.
	* test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.

Fri Jul  4 04:42:05 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/response.rb (Net::Inflater#inflate_adapter):
	  prevent automatic encoding conversion.

Fri Jul  4 04:39:52 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http/response.rb (Net::HTTPResponse.each_response_header):
	  raise first exception even if inflate_body_io.finish raises error.
	  when begin block raises error, finish usually raises error too.

Fri Jul  4 02:56:04 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (URI::Generic#query=): remove validation, just
	  escape. [Feature #2542]

	* lib/uri/generic.rb (URI::Generic#fragment=): ditto.

	* lib/uri/generic.rb (URI::Generic#check_query): removed.

	* lib/uri/generic.rb (URI::Generic#set_query): ditto.

	* lib/uri/generic.rb (URI::Generic#check_fragment): ditto.

	* lib/uri/generic.rb (URI::Generic#set_fragment): ditto.

Thu Jul  3 12:40:22 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (--with-static-linked-ext): fix for extensions to
	  be linked statically.

	* Makefile.in, common.mk: use ENCSTATIC for enc directory.

	* ext/extmk.rb: supply dependencies of statically linked extension
	  libraries.

Wed Jul  2 15:45:49 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_heap_lazy_sweep): simplify logic.

	* gc.c (gc_page_sweep): return TRUE if empty slots are available.

Wed Jul  2 09:48:42 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* logger.rb: removed unmaintained code.
	  [Feature #9860][ruby-core:62724]
	* test/logger/test_application.rb: ditto.

Wed Jul  2 03:20:00 2014  Charlie Somerville  <charliesome@ruby-lang.org>

	* node.c (dump_node): handle nd_value == (NODE *)-1 to mean this
	  keyword argument is required

Wed Jul  2 02:57:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (rb_vm_env_local_variables): returns array of local
	  variable name symbols in the environment by envval.

	* proc.c (bind_local_variables): use rb_vm_env_local_variables.

Wed Jul  2 02:23:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (bind_receiver): new method to return the bound receiver
	  of the binding object.  [ruby-dev:47613] [Feature #8779]

Wed Jul  2 02:14:37 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (bind_local_variables): update env from envval for each
	  iterations.  [ruby-dev:48351] [Bug #10001]

Tue Jul  1 23:46:34 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* NEWS: [DOC] mention about Binding#local_variables, introduced at
	  r44392 (see [Feature #8773]).

Tue Jul  1 23:30:51 2014  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* numeric.c (num_step_scan_args): table argument of rb_get_kwargs() is
	  array of IDs, not Symbols. [ruby-dev:48353] [Bug #9811]

Tue Jul  1 16:18:22 2014  Akinori MUSHA  <knu@iDaemons.org>

	* ext/digest/lib/digest/hmac.rb, test/digest/test_digest_hmac.rb:
	  Digest::HMAC is finally removed as previously noticed.
	  [fix GH-648]

Tue Jul  1 11:13:43 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/date/lib/date/format.rb: removed empty file by @vipulnsward.
	* ext/date/lib/date.rb: removed needless require.
	  [fix GH-647]

Mon Jun 30 16:42:52 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_stat_internal): return size_t value instead of VALUE
	  and remove `out' parameter.

	* gc.c: add braces for `if' statements.

	* gc.c (gc_stat_internal): fix comment.

Mon Jun 30 15:07:34 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: support `USE_RGENGC == 0'.

	* test/ruby/test_gc.rb: ditto.

Mon Jun 30 11:36:04 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* file.c: [DOC] document File.join returns a string.
	  Contributed by @dapplebeforedawn. [fix GH-646]

Sat Jun 28 22:57:01 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/pathname/pathname.c (path_birthtime): Windows support.
	  see [Feature #9857] [ruby-dev:48339]

Sat Jun 28 22:44:16 2014  Tanaka Akira  <akr@fsij.org>

	* ext/pathname/pathname.c (path_birthtime): New method,
	  Pathname#birthtime.
	  Proposed by Kazuhiro NISHIYAMA.  [ruby-dev:48232] [Feature #9857]

Sat Jun 28 20:29:03 2014  Simon Baird  <simon.baird@gmail.com>

	* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#PI): change error
	  message about zero or negative precision for clarity and
	  consistency with other methods.  [GH-644]

Sat Jun 28 15:32:57 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/utils.rb (create_listeners): Close socket objects.

Sat Jun 28 13:58:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (setup_exception): should not overwrite SystemStackError
	  backtrace if set already.  [ruby-core:63377] [Feature #6216]

	* eval.c (setup_exception): get rid of method calls before raising
	  stack overflow, not to cause stack overflow again.

	* defs/id.def: add IDs for backtraces.

Sat Jun 28 04:08:22 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5.

	* lib/uri/mailto.rb (HEADER_PATTERN): removed.

	* lib/uri/mailto.rb (HEADER_REGEXP): use RFC 6068 hfields.

	* lib/uri/mailto.rb (EMAIL_REGEXP): use HTML5 email regexp.

	* lib/uri/mailto.rb (URI::MailTo.build): support multiple to addresses.

	* lib/uri/mailto.rb (URI::MailTo#initialize): Support multiple to
	  addresses. Don't check with regexp, only split.

	* lib/uri/mailto.rb (URI::MailTo#check_to): verify by matching
	  URI path-rootless and HTML5 email regexp with unescaped one.

	* lib/uri/mailto.rb (URI::MailTo#check_headers): verify only by
	  HEADER_REGEXP.

	* lib/uri/mailto.rb (URI::MailTo#set_headers): don't check by
	  HEADER_REGEXP, only split it.

Sat Jun 28 00:35:10 2014  Lauri Tirkkonen  <lotheac@iki.fi>

	* tool/mkconfig.rb: fix empty RbConfig::CONFIG["prefix"] when
	  configured --with-rubyarchprefix, remove prefix from rubyarchdir
	  after expansion for the case it does not start with '$(prefix)'.
	  [fix GH-643]

Fri Jun 27 15:20:12 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
	  because it's effected by removing minitest from stdlib.

Fri Jun 27 12:29:37 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/specification.rb: fixed broken condition caused
	  by removing YAML::ENGINE.
	* lib/rubygems/package/old.rb: ditto.

Fri Jun 27 05:33:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (env_shift): fix memory leak on Windows, free environment
	  strings block always.  [ruby-dev:48332] [Bug #9983]

Fri Jun 27 03:41:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* sprintf.c (GETASTER): should not use the numbered argument to be
	  formatted, raise ArgumentError instead.
	  [ruby-dev:48330] [Bug #9982]

Thu Jun 26 18:18:28 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/with_different_ofs.rb: move into test library directory.
	* test/csv/base.rb: fix require path for with_different_ofs.rb.
	* test/digest/test_digest_extend.rb: ditto.

Thu Jun 26 18:06:50 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/profile_test_all.rb: move into test library directory.
	* test/runner.rb: fix require path for profile_test_all.rb.

Thu Jun 26 17:57:57 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/webrick/httpproxy.rb: remove useless assigned variables.
	* lib/webrick/httpservlet/cgihandler.rb: ditto.
	* lib/webrick/httpservlet/erbhandler.rb: ditto.
	* lib/webrick/server.rb: ditto.

Thu Jun 26 08:28:01 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (env_select): fix memory leak and crash on Windows, make
	  keys array first instead of iterating on environ directly.
	  [ruby-dev:48325] [Bug #9978]

Thu Jun 26 02:45:04 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval_error.c (error_print): put a newline after an anonymous
	  exception class name.

Wed Jun 25 22:31:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (ruby_setenv): fix memory leak on Windows, free
	  environment strings block after check for the size.
	  [ruby-dev:48323] [Bug #9977]

Wed Jun 25 15:44:12 2014  Eric Wong  <e@80x24.org>

	* ccan/container_of/container_of.h (container_off_var):
	  avoid warning with -Wcast-qual
	  [ccan ba5ad771af4aa9e085498de6c3c665c52694460f (Rusty Russell)]

Wed Jun 25 10:19:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (env_aset, env_has_key, env_assoc, env_has_value),
	  (env_rassoc, env_key): prohibit tainted strings if $SAFE is
	  non-zero.  [Bug #9976]

Tue Jun 24 14:46:17 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/gserver.rb: remove redundant use of to_s in interpolation.
	* lib/logger.rb: ditto.
	* lib/optparse.rb: ditto.
	* lib/rbconfig/obsolete.rb: ditto.
	* lib/resolv.rb: ditto.
	* lib/webrick/httpresponse.rb: ditto.

Tue Jun 24 10:50:06 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (env_path_str_new): make PATH environment variable
	  string, to be frozen.

Tue Jun 24 10:40:52 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/make-snapshot: download bundle gems when package making.
	  [Feature #9852][ruby-core:62676]
	* gems/bundled_gems: listed bundled gems for Ruby 2.2.

Tue Jun 24 10:20:35 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/downloader.rb: make Downloader class to general download utility.
	  It can be used without config.guess and config.sub.
	* tool/get-config_files: ditto.
	* tool/make-snapshot: ditto.

Tue Jun 24 06:17:52 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* eval.c (setup_exception): "mesg == sysstack_error" and
	  sysstack_error_p(mesg) are duplicated.
	  r46502 seems to want to use latter.

Tue Jun 24 06:15:36 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/tk/tcltklib.c: fix format specifiers for VALUE and
	  Tcl_Interp*.  [ruby-core:63283] [Bug #9972]

Tue Jun 24 05:40:41 2014  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* nacl/nacl-config.rb: Use File.exist? instead of executable?
	  for irt_core. Recent nacl_sdk has non-executable irt_core.
	  Patch by Shinichiro Hamaji.
	  [Fixes GH-529] https://github.com/ruby/ruby/pull/529

Mon Jun 23 18:44:45 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/config_files.rb: rename class ConfigFiles to Downloader.
	* tool/get-config_files: ditto.
	* tool/make-snapshot: ditto.

Mon Jun 23 18:03:13 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/rbinstall.rb: support to install bundle gems.

Mon Jun 23 17:33:11 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/net/imap.rb (Net::IMAP#fetch): [DOC] Describe how a range in
	  +set+ is interpreted, and mention -1 which can be used for '*'.

Mon Jun 23 16:22:50 2014  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* include/ruby/ruby.h (struct RHash): no longer. [Feature #9889]

	* include/ruby/ruby.h (RHASH): ditto.

	* include/ruby/ruby.h (RHASH_ITER_LEV): deprecated.  Will be deleted later.

	* include/ruby/ruby.h (RHASH_IFNONE): ditto.

	* internal.h (struct RHash): moved here.

	* internal.h (RHASH): ditto.

	* hash.c (rb_hash_iter_lev): do not use this.

	* hash.c (rb_hash_ifnone): ditto.

Mon Jun 23 13:30:11 2014  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* include/ruby/ruby.h (struct RComplex): no longer. [Feature #9888]

	* include/ruby/ruby.h (RCOMPLEX): ditto.

	* include/ruby/ruby.h (RCOMPLEX_SET_REAL): deprecated.  Will be deleted later.

	* include/ruby/ruby.h (RCOMPLEX_SET_IMAG): ditto.

	* internal.h (struct RFloat): moved here.

	* internal.h (RCOMPLEX): ditto.

	* complex.c (rb_complex_set_real): do not use this.

	* complex.c (rb_complex_set_imag): ditto.

Mon Jun 23 13:10:15 2014  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* include/ruby/ruby.h (struct RFloat): no longer.  [Feature #9863]

	* include/ruby/ruby.h (RFLOAT): ditto.

	* internal.h (struct RFloat): moved here.

	* internal.h (RFLOAT): ditto.

Mon Jun 23 12:01:42 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb (check_port): allow strings for port= as
	  described in rdoc.

	* lib/uri/rfc3986_parser.rb (regexp): implementation detail of above.

Mon Jun 23 11:35:01 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (setup_exception): set backtrace in system stack error
	  other than the pre-allocated sysstack_error.  [Feature #6216]

	* proc.c (Init_Proc): freeze the pre-allocated sysstack_error.

	* vm_insnhelper.c (vm_stackoverflow): raise new instance for each
	  times without calling any methods to keep the backtrace with no
	  further stack overflow.

	* object.c (rb_obj_copy_ivar): extract function to copy instance
	  variables only for T_OBJECT from init_copy.

Mon Jun 23 11:11:16 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (check_stack_overflow): drop the last tag too close to
	  the fault page, to get rid of stack overflow deadlock.
	  [Bug #9971]

Sun Jun 22 09:11:15 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/generic.rb: remove registry.
	  'registry' is not used and RFC3986 doesn't use it.

Sun Jun 22 09:10:09 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/rfc3986_parser.rb: raise exception when given a URI string
	  has non ASCII in order to keep the regexp compiled for US-ASCII.

Sun Jun 22 09:05:42 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/common.rb (URI::REGEXP): move to lib/uri/rfc2396_parser.rb.

	* lib/uri/common.rb (URI::Parser): ditto.

	* lib/uri/common.rb (URI.split): use RFC3986_Parser. [Feature #2542]

	* lib/uri/common.rb (URI.parse): ditto.

	* lib/uri/common.rb (URI.join): ditto.

	* lib/uri/common.rb (URI.extract): deprecated.

	* lib/uri/common.rb (URI.regexp): ditto.

	* lib/uri/rfc2396_parser.rb: added.

	* lib/uri/rfc3986_parser.rb: added.

Sun Jun 22 09:04:50 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/mailto.rb (initialize): as previous commit, fix arg_check

Sun Jun 22 09:01:47 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/ftp.rb (initialize): argument checking flag is arg_check,
	  but arg[-1] is fragment.

	* lib/uri/ftp.rb (initialize): explicitly specify arguments.

Sat Jun 21 12:50:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
	  with 3-digit.  libffi 3.1 returns just 2-digit.
	  [ruby-core:62920] [Bug #9897]

Sat Jun 21 07:06:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (enc_find): [DOC] never accepted a symbol.
	  [ruby-dev:48308] [Bug #9966]

Fri Jun 20 17:15:43 2014  Koichi Sasada  <ko1@atdot.net>

	* test/lib/tracepointchecker.rb: add to check TracePoint healthiness.

	* test/runner.rb: use it.

Fri Jun 20 07:26:44 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_settracefunc.rb: rewrite tests with
	  assert_consistent_call_return().

	  assert_consistent_call_return() is also modified to check
	  consistency.

Fri Jun 20 07:07:28 2014  Koichi Sasada  <ko1@atdot.net>

	* compile.c (rb_iseq_compile_node): put start label of block after
	  trace (b_call).
	  [Bug #9964]

	* test/ruby/test_settracefunc.rb: add a test.

	  added assert_consistent_call_return() method check call/return
	  consistency.

Fri Jun 20 05:26:27 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_eval.c (rb_catch_protect): fix same problem of [Bug #9961].

	* vm_eval.c (rb_iterate): ditto.

Thu Jun 19 21:41:30 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
	  with invoking RUBY_EVENT_C_RETURN.
	  [Bug #9961]

	* vm_core.h: ditto.

	* eval.c (rb_protect): use it.

	* eval.c (rb_rescue2): ditto.

	* vm_eval.c (rb_iterate): ditto.

	* test/ruby/test_settracefunc.rb: add a test.

	* vm_core.h (rb_vm_rewind_cfp): add the prototype declaration.

Thu Jun 19 19:47:21 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (invoke_block_from_c): move call/return event timing for
	  bmethod. It can invoke inconsistent call event if this call raises
	  argument error.
	  [Bug #9959]

	* vm_insnhelper.c (vm_call_bmethod_body): ditto.

	* test/ruby/test_settracefunc.rb: add a test.

Thu Jun 19 18:14:47 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
	  rescue clause.

	* vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.

	* test/ruby/test_settracefunc.rb: should not invoke b_return at rescue
	  clause.
	  [Bug #9957]

	* vm_dump.c (control_frame_dump): check VM_FRAME_MAGIC_RESCUE.

	* vm_dump.c (vm_stack_dump_each): ditto.

Thu Jun 19 13:39:11 2014  Arne Brasseur  <arne@arnebrasseur.net>

	* proc.c (rb_method_curry): Implement Method#curry, which delegates
	  to to_proc.curry.  [ruby-core:62212] [Feature #9783]

Tue Jun 17 16:41:49 2014  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (gets, readline): read lines without LF properly.
	  [ruby-core:63205] [Bug #9949]

	* test/net/ftp/test_buffered_socket.rb: related test.

Tue Jun 17 12:35:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (extract_raise_opts): pass unknown options to the
	  exception, so that exception class can receive a hash argument.
	  [ruby-core:63203] [Feature #8257]

Tue Jun 17 12:24:57 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_memsize_of): memsize_of(T_ZOMBIE) returns 0, not a rb_bug.
	  ObjectSpace.count_objects_size() uses memsize_of(T_ZOMBIE).

	  This bug introduced at r46348.

Mon Jun 16 19:00:11 2014  Koichi Sasada  <ko1@atdot.net>

	* test/runner.rb: failure message should be passed as an argument.

Mon Jun 16 18:42:57 2014  Koichi Sasada  <ko1@atdot.net>

	* test/runner.rb: capture TracePoint stat before setup and compare
	  it after teardown.

Mon Jun 16 14:33:56 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (open): use UTF-8 version function to support
	  non-ascii path properly.  [ruby-core:63185] [Bug #9946]

Sat Jun 14 10:54:08 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rcombinate0): remove recursion, by looping with indexes
	  stored in `p`.

	* array.c (rpermute0): remove recursion, by looping with indexes
	  stored in `p`.

	* array.c (permute0): remove recursion, by looping with indexes
	  stored in `p`.  [ruby-core:63103] [Bug #9932]

Sat Jun 14 10:52:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_resize): update capa only when buffer get
	  reallocated.
	  http://d.hatena.ne.jp/nagachika/20140613/ruby_trunk_changes_46413_46420#r46413

Sat Jun 14 08:28:59 2014  Zachary Scott  <e@zzak.io>

	* man/rake.1: [DOC] Update links for Rake, patch by @hsbt [Bug #9904]
	  [Fixes GH-628] https://github.com/ruby/ruby/pull/628

Fri Jun 13 17:58:58 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_trace.c: add new method TracePoint.stat to debug
	  TracePoint mechanism.

	  Ruby users should not use this method. So I don't note this method
	  in the NEWS file.

	* test/runner.rb: detect zombie active TracePoints with
	  TracePoint.stat.

Fri Jun 13 17:46:31 2014  Koichi Sasada  <ko1@atdot.net>

	* vm_trace.c: clear and restore recursive checking thread local data
	  to avoid unexpected throw from TracePoint.
	  [Bug #9940]

	* test/ruby/test_settracefunc.rb: add a test.

	* thread.c: added
	  * rb_threadptr_reset_recursive_data(rb_thread_t *th);
	  * rb_threadptr_restore_recursive_data(rb_thread_t *th, VALUE old);

	* vm_core.h: ditto.

Fri Jun 13 17:33:14 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_combination): iterate on a shared copy, and use
	  array of indexes instead of array of chosen objects.
	  [ruby-core:63149] [Bug #9939]

	* array.c (yield_indexed_values): extract from permute0(),
	  rpermute0(), and rcombinate0().

Fri Jun 13 13:42:58 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_permutation): `p` is the array of size `r`, as
	  commented at permute0().  since `n >= r` here, buffer overflow
	  never happened, just reduce unnecessary allocation though.

Thu Jun 12 20:32:28 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_resize): should consider the capacity instead
	  of the old length, as pointed out by nagachika.

Thu Jun 12 18:31:01 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/http/responses.rb: added Net::HTTPPermanentRedirect(308)
	  Contributed by @yorkie [fix GH-638]

Thu Jun 12 13:27:38 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_freeze): shrink the buffer before freezing, as
	  pointed out by Eric Wong at [ruby-core:63119].

Thu Jun 12 13:09:03 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (expand_path): shrink expanded path which no longer needs
	  rooms to append.  [ruby-core:63114] [Bug #9934]

Wed Jun 11 17:37:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_scalar_pthread_t): pthread_t is not required
	  to be a scalar type.

	* thread.c (fill_thread_id_string, thread_id_str): dump pthread_t
	  in hexadecimal form if it is not a scalar type, assume it can be
	  represented in a pointer form otherwise.  based on the patch by
	  Rei Odaira at [ruby-core:62867].  [ruby-core:62857] [Bug #9884]

	* thread_pthread.c (Init_native_thread, thread_start_func_1),
	  (native_thread_create): set thread_id_str if needed.

	* vm_core.h (rb_thread_t): add thread_id_string if needed.

Wed Jun 11 01:53:22 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: invoke GC before memory allocation (xmalloc/xrealloc)
	  when GC.stress = true.
	  [Bug #9859]

	* test/ruby/test_gc.rb: add a test.

Tue Jun 10 13:20:14 2014  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>

	* lib/cgi/core.rb: Provide a mechanism to specify the
	  max_multipart_length of multipart data.
	  [Feature #8370] patch by Leif Eriksen <leif.eriksen.au@gmail.com>

Tue Jun 10 10:57:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/csv.rb (CSV#<<): honor explicitly given encoding.  based on
	  the patch by DAISUKE TANIWAKI <daisuketaniwaki AT gmail.com> at
	  [ruby-core:62113].  [Bug #9766]

Mon Jun  9 20:40:48 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: change full GC timing to keep lower memory usage.

	  Extend heap only at
	  (1) after major GC
	  or
	  (2) after several (two times, at current) minor GC

	  Details in https://bugs.ruby-lang.org/issues/9607#note-9
	  [Bug #9607]

Mon Jun  9 16:01:41 2014  Masahiro Ide  <imasahiro9@gmail.com>

	* gc.c (gcdebug_sentinel): fix typo, "sentinel" not "sential".
	  [fix GH-634]

Mon Jun  9 00:04:25 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (posix_fadvise): disable use of posix_fadvise
	  itself on 32-bit AIX.  [ruby-core:62968] [Bug #9914]

Sun Jun  8 23:28:00 2014    <kanemoto@ruby-lang.org>

	* io.c (rb_io_advise): AIX currently does not support a 32-bit call to
	  posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
	  [ruby-core:62968] [Bug #9914]

Sun Jun  8 04:52:40 2014  Jun Hiroe  <Jun.Hiroe@gmail.com>

	* string.c (rb_str_slice_bang): [DOC] update return value against
	  a fixnum, which has changed because of M17N.  [fix GH-631]

Sat Jun  7 22:13:42 2014  Benoit Daloze  <eregontp@gmail.com>

	* numeric.c (do_coerce): Add a warning when an exception is raised
	  or an invalid value is returned in #coerce called by
	  numeric comparison operators and the exception
	  thrown by the caller has no information on the failure.
	  In the next release such exception should not be rescued or
	  should be the cause of the caller exception. nil is accepted
	  as the "no possible coercion" return value. See #7688.

	* test/ruby/test_numeric.rb: Add corresponding test.

Sat Jun  7 18:15:33 2014  Benoit Daloze  <eregontp@gmail.com>

	* numeric.c (bit_coerce): remove constant parameter `err'
	  (always TRUE) of bit_coerce().

Sat Jun  7 16:01:57 2014  Yutaka Kanemoto  <kanemoto@ruby-lang.org>

	* cont.c (rb_fiber_struct): keep context.uc_stack.ss_sp and context.uc_stack.ss_size
	  for later use. Patch by Rei Odaira. [ruby-core:62945] [Bug #9905]

Sat Jun  7 12:51:51 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (read_all): truncate the buffer before appending read data,
	  instead of truncating before reading.
	  [ruby-core:55951] [Bug #8625]

Sat Jun  7 12:28:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/digest/digest.c (rb_digest_instance_equal): no need to call
	  `to_s` twice.  [Bug #9913]

Sat Jun  7 11:35:01 2014  Tanaka Akira  <akr@fsij.org>

	* object.c (rb_mod_initialize_clone): Override Kernel#initialize_clone
	  to avoid an exception on Class.new.freeze.clone.to_s.
	  Reported by Andrew Grimm.  [ruby-core:41858] [Bug #5828]

Sat Jun  7 06:03:11 2014  Benoit Daloze  <eregontp@gmail.com>

	* ext/digest/digest.c (rb_digest_instance_equal):
	  fix #== for non-string arguments. [ruby-core:62967] [Bug #9913]

	* test/digest/test_digest.rb: add test for above.

Fri Jun  6 22:19:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (private_recv_p): check by node type, instead of a
	  magic number.

	* node.h (NODE_PRIVATE_RECV), parse.y (attrset_gen): remove

Fri Jun  6 17:07:08 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_compile_each), parse.y (new_attr_op_assign_gen):
	  allow op assign to a private attribute.
	  [ruby-core:62949] [Bug #9907]

Fri Jun  6 13:39:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (io_setstrbuf, io_read): should not shorten the given buffer until
	  read succeeds.  [ruby-core:55951] [Bug #8625]

Fri Jun  6 07:41:41 2014  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: dump empty symbols with a
	  tag so that they can be parsed on input. [Bug #9873] [ruby-core:62825]
	* test/psych/test_symbol.rb: test for change

Thu Jun  5 16:08:39 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_page_sweep): refactoring.

	* gc.c (gc_page_sweep): should not set, but add final_slots into
	  sweep_page->final_slots.

Thu Jun  5 14:36:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (jemalloc): check for the header regardless drop-in
	  libjemalloc is found, for `malloc_conf` declaration.

	* version.c (ruby_show_version): show `malloc_conf` if set.
	  [Feature #9113]

	* configure.in (with-jemalloc): also check for header, for ABIs
	  which JEMALLOC_MANGLE is needed, i.e., Mach-O and PE-COFF
	  platforms.  [ruby-core:62939] [Feature #9113]

	* include/ruby/missing.h: include alternative malloc header to
	  replace memory management functions.

	* dln.c, io.c, parse.y, st.c: undef malloc family before
	  re-definition to suppress warnings.

Thu Jun  5 12:52:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* man/ruby.1: remove rubyforge entry.

Thu Jun  5 12:45:32 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* misc/README: use github link instead of rubyforge.

Thu Jun  5 10:03:29 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_free): check also FL_PROMOTED bit by RVALUE_OLD_P().

Thu Jun  5 03:45:28 2014  Eric Wong  <e@80x24.org>

	* configure.in: add --with-jemalloc option
	  [ruby-core:62912]

Wed Jun  4 22:28:14 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: introduce RZombie to manage zombie objects.
	  Rewrite finalizing logics with this type.

	* gc.c (gc_verify_internal_consistency): verify zombie (finalizing)
	  objects count.

Wed Jun  4 22:09:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (match_aref, rb_reg_regsub): consider encoding of captured
	  names, encoding-incompatible should not match.
	  [ruby-dev:48278] [Bug #9903]

Wed Jun  4 21:23:52 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (match_aref): should not ignore name after NUL byte.
	  [ruby-dev:48275] [Bug #9902]

Wed Jun  4 04:08:37 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (core_hash_merge_kwd): should return the result hash, which
	  may be converted from and differ from the given argument.
	  [ruby-core:62921] [Bug #9898]

Tue Jun  3 23:32:34 2014  Tanaka Akira  <akr@fsij.org>

	* ruby.c (load_file_internal2): Extracted from load_file_internal.
	  (load_file_internal): Invoke load_file_internal2 using rb_protect.
	  Close an opened FD if load_file_internal2 raises an exception.

Tue Jun  3 19:11:45 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_objspace_free): should not rest_sweep() here.
	  Some data structures are already freed.

Tue Jun  3 18:43:51 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb: allocate more objects to invoke GC by newobj.
	  GC allows extending pages depends on heap_increment.

Tue Jun  3 18:01:27 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_gc_call_finalizer_at_exit): add
	  gc_verify_internal_consistency() when RGENGC_CHECK_MODE >= 2.

Tue Jun  3 17:54:21 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: change the counting method for young objects.
	  clear counter at the beginning of every GC and
	  count promoted (infant->young) objects.

	  Some promotions (infant->young) are transition of promoting to old
	  objects. We should not count such promotions.

	  With this technique, we don't need to check young objects
	  at obj_free().

Tue Jun  3 16:38:19 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: add verifying counters code in gc_verify_internal_consistency().
	  gc_verify_internal_consistency() counts all
	  - live objects
	  - young objects (if age2 promotion)
	  - old objects
	  in all pages and compares with objspace managing counters.

	* gc.c (gc_after_sweep): do gc_verify_internal_consistency()
	  when RGENGC_CHECK_MODE >= 2.

Tue Jun  3 13:14:04 2014  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
	  type as "MIXED" followed immediately by params
	  [ruby-core:62864] [Bug #9885]
	  Patch by @rayners (David Raynes). [Fixes GH-622]
	  https://github.com/ruby/ruby/pull/622

Tue Jun  3 13:18:24 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (objspace_live_slot): live slot count should not include final
	  slot (contains T_ZOMBIE) count.

Tue Jun  3 13:03:21 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_free): fix spacing.

Tue Jun  3 12:59:32 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (check_gen_consistency): fix error message.

Tue Jun  3 12:40:23 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: count old/young objects more correctly.

	* gc.c (RVALUE_DEMOTE_FROM_OLD): decrement old object count.

	* gc.c (RVALUE_DEMOTE_FROM_YOUNG): decrement young object count.

	* gc.c (rb_gc_resurrect): increment old object count.

	* gc.c (gc_marks_body): should not add old object count.
	  This code is completely my misunderstanding.

	* gc.c (rb_gc_force_recycle): decrement young or old object count
	  correctly.

Tue Jun  3 12:26:47 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/memory_status.rb: add $LOAD_PATH to load test/unit
	  correctly for fiddle/import unavailable environments.

Tue Jun  3 09:45:13 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
	  shouldn't use same server for respective tests, because the 1st
	  test sometimes kills the server main loop silently.
	  [Bug #9881] [ruby-dev:48266]

Tue Jun  3 01:34:59 2014  Zachary Scott  <e@zzak.io>

	* README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
	  [Fixes GH-623] https://github.com/ruby/ruby/pull/623

Mon Jun  2 17:14:49 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (ruby_vm_destruct): remove useless call of
	  rb_gc_force_recycle().

	  At this line, a VM object is already freed
	  (is changed to T_NONE) by rb_gc_call_finalizer_at_exit().

Mon Jun  2 15:50:24 2014  Koichi Sasada  <ko1@atdot.net>

	* eval.c (rb_using_refinement): add write-barriers for
	  cref->nd_refinements.

Mon Jun  2 12:26:08 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* CONTRIBUTING.md: added contributing guide for github. [fix GH-625]

Mon Jun  2 07:30:33 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/envutil.rb (default_warning): New method.

	* test/ruby/test_autoload.rb: Use EnvUtil.default_warning.

Mon Jun  2 07:05:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/encoding.h: constify `rb_encoding` arguments.

	* include/ruby/oniguruma.h: constify `OnigEncoding` arguments.

Sun Jun  1 12:05:10 2014  Tanaka Akira  <akr@fsij.org>

	* test/drb: Wrap tests definitions by DRbTests module.  This makes
	  several tests (ACLEntryTest, TestBug4409, etc.) easier to understand
	  that they are tests for DRb.

Sun Jun  1 11:36:25 2014  Tanaka Akira  <akr@fsij.org>

	* lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on
	  exception.

Sun Jun  1 06:55:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (intern_str): dynamic attrset ID is registered by
	  `rb_id_attrset()` already, so no further registration is needed.
	  [ruby-core:62861]

Sun Jun  1 04:52:47 2014  Zachary Scott  <e@zzak.io>

	* lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
	  Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
	* doc/globals.rdoc: Added $LOADED_FEATURES to list

Sat May 31 22:30:14 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/leakchecker.rb: Leak checker extracted from
	  test/lib/minitest/unit.rb.

Sat May 31 21:15:43 2014  URABE Shyouhei  <shyouhei@ruby-lang.org>

	* thread.c (rb_thread_atfork_internal): My compiler complains
	  about this variable being used before initialized. I looked at
	  the code and expanded the macro and turned out it was actually
	  USED for pointer arithmetic, not dereferenced.  So this was
	  never a serious bug.  But is annoying indeed to see warnings
	  every time.  I added `=0` and all went healthy.

	* configure.in: Also, I found that the problematic macro expansion
	  only happens when we lack __typeof__ C extension, which shall
	  not be the case of my compiler.  I added AC_C_TYPEOF to kick ass.

Sat May 31 16:32:50 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/ipaddr.rb: extracted inline tests into test dir.
	* test/test_ipaddr.rb: ditto.

Sat May 31 16:29:21 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/digest/lib/digest/hmac.rb: extracted inline tests into test dir.
	* test/digest/test_digest_hmac.rb: ditto.

Sat May 31 16:02:03 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_syslog.rb: remove executable.

Sat May 31 08:58:32 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/unicode.c (init_case_fold_table): no longer need to
	  initialize tables at runtime.

	* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
	  lookup case unfolding table 3.

	* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
	  lookup case unfolding table 2.

	* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
	  lookup case unfolding table 1.

	* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
	  lookup case folding table.

	* enc/unicode/case-folding.rb (print_table): merge non-locale and
	  locale tables, and reduce initializing loops.

	* enc/unicode/case-folding.rb (CaseFolding): modularize, and add
	  --output-file option.

	* enc/unicode/case-folding.rb: script to convert CaseFolding.txt,
	  translated from CaseFolding.py.

Sat May 31 08:31:41 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Check Tempfile leaks for each test method
	  again.

Sat May 31 03:50:50 2014  Zachary Scott  <e@zzak.io>

	* lib/delegate.rb: [DOC] Document raise in Delegator class
	  Patch by @lucasmazza. [Fixes GH-621]
	  https://github.com/ruby/ruby/pull/621

Fri May 30 21:23:26 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb: Use a pipe to detect server shutdown.
	  shutdown() or close() for listening socket is not a reliable.
	  Actually, both doesn't work (doesn't wake up select()) on
	  DragonFly BSD 3.6.2.

	* test/webrick/utils.rb: :ShutdownSocketWithoutClose is not required
	  now to immediate server shutdown detection.
	  This fixes fd leaks.

	* test/net/http/utils.rb: Ditto.

Fri May 30 20:58:37 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
	  objects list for a FD.

Fri May 30 18:06:55 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
	  FDs.

Fri May 30 12:05:59 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nil
	  though I don't know the reason.

Fri May 30 11:33:35 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_substr): need to reset code range for shared
	  string too, not only copied string.
	  [ruby-core:62842] [Bug #9882]

Fri May 30 10:22:21 2014  Mark Lorenz  <mlorenz@covermymeds.com>

	* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
	  Kernel.eval does not.  [fix GH-619]

Fri May 30 07:25:46 2014  Tanaka Akira  <akr@fsij.org>

	* ext/-test-/dir: Dir#fileno implemented.

	* test/lib/minitest/unit.rb (find_fds): Don't return the fd used to
	  scan /proc/$$/fd.

Fri May 30 04:48:00 2014  Eric Wong  <e@80x24.org>

	* parse.y (rb_gc_mark_parser): remove, empty since r8758
	* internal.h: ditto, not usable from extensions since 2.0.0
	* gc.c (gc_mark_roots): remove checkpoint for parser

Thu May 29 23:27:50 2014  Rei Odaira  <Rei.Odaira@gmail.com>

	* signal.c (ruby_signal): should return either `old.sa_sigaction`
	  or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
	  `old.sa_flags`, because they may not be a union.
	  [ruby-core:62836] [Bug #9878]

Thu May 29 23:11:20 2014  Tanaka Akira  <akr@fsij.org>

	* io.c (pipe_open): Close pipes when rb_execarg_fixup() raises
	  an exception.
	  (rb_execarg_fixup_v): New function.

Thu May 29 22:18:57 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb (capture_subprocess_io): Close fds.

Thu May 29 19:47:08 2014  Tanaka Akira  <akr@fsij.org>

	* io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an
	  exception.
	  (io_encoding_set_v): New function.

Thu May 29 19:42:49 2014  Tanaka Akira  <akr@fsij.org>

	* lib/csv.rb (CSV.open): Close the opened file when an exception
	  occur.

Thu May 29 19:31:10 2014  Tanaka Akira  <akr@fsij.org>

	* ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): Close a socket
	  if any exception occur.

Thu May 29 05:05:29 2014  Eric Wong  <e@80x24.org>

	* include/ruby/ruby.h: Hide Symbol internals.
	  (struct RSymbol): moved to internal.h
	  (RSYMBOL): ditto

Thu May 29 00:28:56 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket
	  after path length check.
	  This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path.

Wed May 28 23:04:35 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_io.rb (test_flush_in_finalizer1): Use
	  ObjectSpace.each_object to close files.
	  GC.start is not reliable.

Wed May 28 19:00:31 2014  Tanaka Akira  <akr@fsij.org>

	* lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when
	  any exception occur.
	  This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
	  which start_tls_session() raises an exception.

Wed May 28 18:06:13 2014  Tanaka Akira  <akr@fsij.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_close): Fix sync_close to work
	  when SSL is not started.
	  This fix the fd leak by test_https_proxy_authentication in
	  test/net/http/test_https_proxy.rb.

Wed May 28 10:29:28 2014  Eric Wong  <e@80x24.org>

	* vm.c (rb_vm_living_threads_foreach): remove function
	  [ruby-core:62745]
	* thread.c (terminate_i): remove
	* thread.c (terminate_all): implement (inlines old terminate_i)
	* thread.c (rb_thread_terminate_all): use terminate_all
	* thread.c (rb_thread_fd_close_i): remove
	* thread.c (rb_thread_fd_close): iterate inline
	* thread.c (thread_list_i): remove
	* thread.c (rb_thread_list): iterate inline
	* thread.c (rb_thread_atfork_internal): iterate inline
	* thread.c (terminate_atfork_i): update types to remove casts
	* thread.c (terminate_atfork_before_exec_i): ditto
	* thread.c (struct thgroup_list_params): remove definition
	* thread.c (thgroup_list_i): remove
	* thread.c (thgroup_list): iterate inline
	* thread.c (check_deadlock_i): remove
	* thread.c (debug_deadlock_check): implement (inlines check_deadlock_i)
	* thread.c (debug_i): remove
	* thread.c (rb_check_deadlock): iterate inline
	* vm.c (vm_mark_each_thread_func): remove
	* vm.c (rb_vm_mark): iterate inline
	* vm_core.h (rb_vm_living_threads_remove): remove
	* vm_trace.c (clear_trace_func_i): remove
	* vm_trace.c (rb_clear_trace_func): iterate inline

Wed May 28 09:30:51 2014  Eric Wong  <e@80x24.org>

	* signal.c (signal_exec): ignore immediate cmd for SIG_IGN
	* signal.c (trap_handler): set cmd to true for SIG_IGN
	* signal.c (trap): handle nil and true values for oldcmd
	  [Bug #9835]

Wed May 28 01:02:54 2014  Tanaka Akira  <akr@fsij.org>

	* lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfile
	  is closed.

Wed May 28 00:38:09 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Use Tempfile#close! instead of
	  Tempfile#unlink to close file descriptors.

	* test/openssl/test_config.rb: Ditto.

	* test/ruby/test_io.rb: Ditto.

Wed May 28 00:06:18 2014  Tanaka Akira  <akr@fsij.org>

	* lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
	  exception occur.

Tue May 27 23:50:07 2014  Tanaka Akira  <akr@fsij.org>

	* lib/cgi/core.rb: Use Tempfile#close! instead of Tempfile#unlink
	  to close file descriptors.

Tue May 27 23:06:46 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_number_literal_suffix): refine error message for
	  extra dot and digits.

Tue May 27 22:44:20 2014  Tanaka Akira  <akr@fsij.org>

	* test/rexml: Avoid fd leaks.

Tue May 27 22:24:25 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb: Indent.

Tue May 27 22:15:29 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_document.rb: Wrap by REXMLTests module.

Tue May 27 22:11:10 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_encoding_2.rb: Remove a needless file.

Tue May 27 22:10:30 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_contrib.rb: Indent.

Tue May 27 21:28:16 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX.

Tue May 27 21:03:03 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/: Use REXMLTests as wrapping module for REXML tests.
	  I avoid using the same module for library in test because
	  it provides "include REXML" environment in test. Normally,
	  users don't use REXML on "include REXML" environment. So I
	  don't want to write tests on "include REXML" environment.

Tue May 27 20:59:37 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/rexml/test_comment.rb: Remove needless REXML module wrapping.

Tue May 27 20:56:49 2014  Kouhei Sutou  <kou@cozmixng.org>

	* test/openssl/test_pkcs7.rb: Fix inverted expected and actual values.

Tue May 27 20:26:06 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_io.rb (test_flush_in_finalizer1): some opened fds are
	  remain before GC, so unlink the tempfile is failed.

Tue May 27 19:07:26 2014  Tanaka Akira  <akr@fsij.org>

	* io.c (rb_io_autoclose_p): Don't raise on frozen IO.

	* test/lib/minitest/unit.rb: IO#autoclose? may raise IOError.

Tue May 27 19:01:49 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_pair.rb: Modify TestSSL#test_read_and_write
	  to handle partial sysreads. [Bug #7398][ruby-core:49563]
	* test/openssl/test_ssl.rb: ditto.

Tue May 27 18:46:23 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.
	  [Feature #7399][ruby-core:49565]

Tue May 27 17:45:09 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_hmac.rb (test_binary_update): Added Test for
	  HMAC signing with UTF-8 String. [Bug #7512][ruby-core:50559]

Tue May 27 17:10:14 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/runner.rb: fixed randomly test failure.
	  [Bug #6573][ruby-core:45563]

Tue May 27 16:58:12 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_timeout.rb (test_timeout): inverted test condition.
	  [Bug #8523]

Tue May 27 12:24:22 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Show leaked file descriptors.

Tue May 27 11:12:56 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_fileno, rb_io_inspect): non-modification does not
	  error on frozen IO.  [ruby-dev:48241] [Bug #9865]

Tue May 27 00:00:21 2014  yui-knk  <spiketeika@gmail.com>

	* insns.def (defineclass): fix typo in the instruction comment.
	  [fix GH-618]

Mon May 26 16:33:15 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_file.rb: skip the test of atime on Windows, because
	  Windows delays updating atime about 1 hour.
	  see more details:
	    http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx

Mon May 26 12:25:36 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/optionparser.rb, lib/optparse.rb (OptParse): aliases.
	  [ruby-core:62751] [Feature #9864]

Mon May 26 07:59:34 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Show Finished threads line-by-line.

Mon May 26 01:39:02 2014  Zachary Scott  <e@zzak.io>

	* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.
	  [Fixes GH-580] https://github.com/ruby/ruby/pull/580

Mon May 26 01:07:51 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Show leaked threads and tempfiles
	  line-by-line.

Sun May 25 23:02:06 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Remove
	  tempfiles.

Sun May 25 22:42:27 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Check tempfile leak for each test class.

Sun May 25 20:31:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (ac_cv_func_{getcontext,setcontext}): do not
	  disable ucontext.h entirely, but disable use of functions only.
	  `ucontext_t` is necessary in the signal handler now.

Sun May 25 20:00:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (check_stack_overflow): revert part of r46100, the
	  previous condition was correct, and fix compilation error on
	  other architecture linux.  [ruby-core:62746] [Bug #9862]

Sun May 25 17:09:13 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)
	  invocation.

Sun May 25 16:54:06 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Use Thread.list instead of
	  ObjectSpace.each_object(Thread).

Sun May 25 15:53:54 2014  Tanaka Akira  <akr@fsij.org>

	* lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed
	  threads.

Sun May 25 15:26:17 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/utils.rb: Override the inspect method of the thread
	  used in WEBrick::Utils::TimeoutHandler.

Sun May 25 14:22:30 2014  Tanaka Akira  <akr@fsij.org>

	* test/openssl: Join threads.

Sun May 25 12:46:47 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* error.c (rb_bug_context): new function to report bug with
	  context.

	* vm_dump.c (rb_vm_bugreport): accepts `ucontext_t` argument to
	  dump machine registers.  based on [GH-584].

	* signal.c (sigbus, sigsegv): dump machine registers if available.

Sun May 25 12:32:42 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Sort leaked threads and tempfiles.

Sun May 25 12:15:30 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (check_stack_overflow): fix condition to use ucontext
	  register, mcontext_t dereference, and its member names, on Mac
	  OS X.

Sun May 25 11:58:26 2014  Zachary Scott  <e@zzak.io>

	* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
	  Patch by Erik Hollembeak [Bug #9814]

Sun May 25 11:56:33 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vsnprintf.c (BSD_vfprintf): fix string width when precision is
	  given.  as the result of `memchr` is NULL or its offset from the
	  start cannot exceed the size, the comparison was always false.
	  [ruby-core:62737] [Bug #9861]

Sun May 25 11:32:42 2014  Zachary Scott  <e@zzak.io>

	* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]
	* test/psych/*: ditto.

Sun May 25 10:34:15 2014  Zachary Scott  <e@zzak.io>

	* doc/regexp.rdoc: [DOC] Clarify whitespace matching by @allolex
	  [Fixes GH-606] https://github.com/ruby/ruby/pull/606

Sun May 25 10:19:34 2014  Zachary Scott  <e@zzak.io>

	* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
	  Patch submitted via documenting-ruby/ruby#34

Sun May 25 10:16:43 2014  Zachary Scott  <e@zzak.io>

	* cont.c: [DOC] Fix rdoc in example for Fiber#transfer by @majjoha
	  Patch submitted via documenting-ruby/ruby#33

Sun May 25 10:01:11 2014  Zachary Scott  <e@zzak.io>

	* lib/irb.rb: [DOC] Fixed syntax error in example by @jasdeepsingh.
	  Patch submitted via documenting-ruby/ruby#32

Sun May 25 09:58:02 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/fileutils/test_fileutils.rb (test_chown_R): Add tests for
	  chown_R. [Feature #9383][ruby-core:59641]

Sun May 25 09:57:09 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/fileutils/test_fileutils.rb: Added recursively chown tests.
	  [Feature #9303][ruby-core:59325]

Sun May 25 09:41:56 2014  Zachary Scott  <e@zzak.io>

	* class.c: [DOC] Fixed grammar and examples of instance_methods.
	  By @alex-frost via documenting-ruby/ruby#31

Sun May 25 09:40:44 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb: Show leaked threads and tempfiles.

Sun May 25 08:54:38 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/openssl/test_partial_record_read.rb: Testing read_nonblock on
	  a partial TLS record results in IO::WaitReadable by @mohamedhafez.
	  [fix GH-547]

Sun May 25 08:43:16 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/logger.rb: refactored to include Logger::Period.

Sun May 25 06:50:19 2014  Zachary Scott  <e@zzak.io>

	* vm_eval.c: [DOC] Improve instance_eval description when given a
	  block or String arguments. By @nathanl via documenting-ruby/ruby#28

Sun May 25 06:29:39 2014  Zachary Scott  <e@zzak.io>

	* array.c: [DOC] Clarify default argument for Array.new.
	  By @Elffers [Fixes GH-610]

Sat May 24 22:37:20 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* array.c: [DOC] Add more documents to shuffle! and shuffle.
	  Contributed by @JuanitoFatas [ci skip][fix GH-612]

Sat May 24 22:28:55 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/lib/minitest/.document: removed unused configuration.

Sat May 24 19:08:47 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/spec.rb: Unused file removed.

	* test/lib/minitest/autorun.rb: Don't require minitest/spec.

	* test/lib/minitest/benchmark.rb: Ditto.

Sat May 24 18:45:30 2014  Tanaka Akira  <akr@fsij.org>

	* test/benchmark/test_benchmark.rb: Use test/unit.

Sat May 24 16:20:59 2014  Eric Wong  <e@80x24.org>

	* process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
	  [Bug #9856]

Sat May 24 15:49:39 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/unit.rb (parallelize_me!): Removed.
	  This fixes the line-by-line structure of the test result in verbose
	  mode.  [ruby-core:54905]

	* test/lib/minitest/parallel_each.rb: Removed.

	* test/minitest/test_minitest_mock.rb: Don't call parallelize_me!.

	* test/minitest/test_minitest_spec.rb: Ditto.

	* test/minitest/test_minitest_unit.rb: Ditto.
	  Tests for parallel feature removed.

Sat May 24 15:29:10 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest/hell.rb: Unused file removed.

	* test/lib/minitest/pride.rb: Ditto.

Sat May 24 15:05:32 2014  yui-knk  <spiketeika@gmail.com>

	* enumerator.c (yielder_yield_push): Insert a break after the
	  method return value.  [fix GH-617]

Sat May 24 14:59:12 2014  Tanaka Akira  <akr@fsij.org>

	* test/lib/minitest: Remove comments not appropriate now.

	* test/minitest: Ditto.

Sat May 24 14:02:04 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* NEWS: added minitest changes.

Sat May 24 13:42:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/lib/test/unit/test-unit.gemspec: removed needless gemspec file.

Sat May 24 09:39:06 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* defs/default_gems: removed minitest entry.

Sat May 24 06:17:33 2014  Ryan Davis  <ryand-ruby@zenspider.com>

	*  lib/minitest: minitest 4.7.5 removed. Need to support proper
	  gem packaging / installation before minitest 5 can be added.

Sat May 24 05:54:06 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/mkconstants.rb: More constants

Sat May 24 00:25:34 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* NEWS: add information of incompatibility about Prime.prime?
	* lib/prime.rb: fix docs.

Fri May 23 21:36:28 2014  Josh Goebel  <dreamer3@gmail.com>

	* net/protocol.rb (using_each_crlf_line): fix SMTP dot-stuffing
	  for messages not ending with a new-line.
	  [ruby-core:61441] [Bug #9627] [fix GH-616]

Fri May 23 03:48:08 2014  Eric Wong  <e@80x24.org>

	* gc.c (rb_free_m_tbl): mark function as static

	* method.h (rb_free_m_tbl): remove prototype

Thu May 22 22:58:27 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/mkconstants.rb: More TCP option constants.
	  Describe Linux and glibc versions.

Thu May 22 20:38:10 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c (stat_birthtime): add birthtime support [Feature #9647]

	* file.c (rb_stat_birthtime): add File::Stat.birthtime

	* file.c (rb_file_s_birthtime): add File.birthtime

	* file.c (rb_file_birthtime): add File#birthtime

	* configure.in: check struct stat.st_birthtimespec.

Thu May 22 19:38:14 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c: remove IO::Statfs because of reject. [Feature #9772]

Thu May 22 14:02:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/jis/props.kwd: constify character property tables of JIS
	  based encodings by perfect hash.

	* enc/euc_jp.c, enc/shift_jis.c: use character property functions.

Wed May 21 12:21:10 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/option.c: Fix compilation error on Android.
	  Bionic doesn't define TCP state constants.

Wed May 21 11:42:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: workaround for Info.plist to get rid of `dsymutil`
	  crash by wrong files in parent directories.
	  [ruby-core:62594] [Bug #9840]

Tue May 20 20:57:34 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_dir.rb (test_glob): added testcase of double
	  slash path.

Tue May 20 04:58:54 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/extconf.rb: Don't check fields of struct tcp_info if the
	  structure is not available.

Mon May 19 23:13:33 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/option.c (inspect_tcp_info): Permit longer data.  (glibc
	  2.7 adds tcpi_rcv_rtt, tcpi_rcv_space and tcpi_total_retrans to
	  struct tcp_info.)

Mon May 19 20:49:07 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/option.c (inspect_tcp_info): New function to inspect
	  struct tcp_info.
	  (sockopt_inspect): Use inspect_tcp_info.

	* ext/socket/extconf.rb: Check tcp_info related things.

	* ext/socket/rubysocket.h: Include netinet/tcp_fsm.h if available.

Mon May 19 19:36:39 2014  Tanaka Akira  <akr@fsij.org>

	* test/dbm/test_dbm.rb: Use Etc.uname.

	* test/gdbm/test_gdbm.rb: Ditto.

Mon May 19 16:54:22 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/etc/etc.c (etc_uname): add support for Windows using
	  GetVersionExW(), GetSystemInfo(), and GetComputerNameExW() with
	  `ComputerNameDnsHostname`.  [Feature #9842]

Mon May 19 16:29:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_pat_search): advance by byte offset but not by char
	  offset.  [ruby-core:62669] [Bug #9849]

Mon May 19 14:06:18 2014  Shota Fukumori  <her@sorah.jp>

	* bin/testrb: Removed. Forgot to remove in r45971.
	  [Feature #9711] [ruby-core:62620]

Sun May 18 16:42:08 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_m17n_comb.rb (test_str_crypt): Use Etc.confstr to
	  detect the glibc version.
	  libc.so is not an executable on Debian GNU/kFreeBSD 7.0 (wheezy).

Sun May 18 12:15:54 2014  Jonathan Mukai-Heidt  <johnnymukai@gmail.com>

	* io.c (argf_each_line, argf_inplace_mode_set): [DOC] Update ARGF
	  documentation examples.  `ARGF.lines` has been deprecated in
	  favor of `ARGF.each_line`.  [Fixes GH-615]

Sun May 18 11:59:25 2014  Tanaka Akira  <akr@fsij.org>

	* missing/nextafter.c: Include ruby/missing.h.

Sun May 18 11:09:28 2014  Tanaka Akira  <akr@fsij.org>

	* win32/Makefile.sub: Add nextafter.obj to MISSING.

Sun May 18 10:46:04 2014  Tanaka Akira  <akr@fsij.org>

	* ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.

	* ext/etc/extconf.rb: Check sysconf(), confstr() and fpathconf().

	* ext/etc/mkconstants.rb: New file.

	   [ruby-core:62600] [Feature #9842]

Sun May 18 09:58:17 2014  Tanaka Akira  <akr@fsij.org>

	* ext/etc/etc.c: Etc.uname method implemented.

	* ext/etc/extconf.rb: Check uname() function.

	  [ruby-core:62139] [Feature #9770]

Sun May 18 09:16:33 2014  Tanaka Akira  <akr@fsij.org>

	* configure.in: Check nextafter() availability.

	* include/ruby/missing.h (nextafter): New optional declaration.

	* missing/nextafter.c: New file.

	* numeric.c: Float#next_float and Float#prev_float implemented.

	   [ruby-core:62562] [Feature #9834]

Sun May 18 09:02:17 2014  Tanaka Akira  <akr@fsij.org>

	* enum.c: Enumerable#slice_after implemented.

	* enumerator.c: Enumerator::Lazy#slice_after implemented.

	  Requested by Tsuyoshi Sawada.  [ruby-core:58123] [Feature #9071]

Sun May 18 08:22:25 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (io_setstrbuf): always check if the buffer is modifiable.
	  [ruby-core:62643] [Bug #9847]

Sun May 18 01:21:23 2014  Tanaka Akira  <akr@fsij.org>

	* include/ruby/ruby.h: Hide Rational internal.
	  (RRational): Moved to internal.h
	  (RRATIONAL): Ditto.
	  (RRATIONAL_SET_NUM): Moved to rational.c.
	  (RRATIONAL_SET_DEN): Ditto.

	* rational.c (rb_rational_num): New function.
	  (rb_rational_den): Ditto.

	* include/ruby/intern.h (rb_rational_num): Declared.
	  (rb_rational_den): Ditto.

	* ext/bigdecimal/bigdecimal.c: Follow the above change.

	* ext/date/date_core.c: Ditto.

	  [ruby-core:60665] [Feature #9513]

Sat May 17 17:04:32 2014  Shota Fukumori  <her@sorah.jp>

	* NEWS: Add news about removal of lib/test/**/*.rb.

Sat May 17 16:57:33 2014  Shota Fukumori  <her@sorah.jp>

	* lib/test: Removed because ruby's test cases now independent to
	  lib/test by r45970. [Feature #9711] [ruby-core:62620]

	  I'm still considering about the future of lib/minitest, lib/test.
	  (bundling gems?)

Sat May 17 15:06:40 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/runner.rb: remove dependency test-unit and minitest
	  from stdlib when running with test-all.
	  [Feature #9711][ruby-core:61890]
	* test/testunit/*.rb: ditto.
	* test/lib: ditto.

Sat May 17 11:02:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): try match PLAIN as well as ALPHA, which are
	  separated by previous commits.  [ruby-core:61552] [Bug #9648]

	* dir.c (glob_make_pattern): set PLAIN for non-magical path to
	  skip parts which not need to glob.
	  [ruby-core:61552] [Bug #9648]

	* dir.c (has_magic): return ALPHA at alphabetical name regardless
	  FNM_CASEFOLD flag.

	* dir.c (glob_helper): fix conditions for ALPHA.
	  [ruby-core:61552] [Bug #9648]

Sat May 17 01:49:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): reduce matching at non-magical path on
	  Windows.

Sat May 17 01:49:23 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_pattern_type): separate names with alphabet but no
	  magical from plain.

	* dir.c (glob_helper): match plain names as-is to treat super-root
	  same as the root.  [ruby-core:61552] [Bug #9648]

Fri May 16 17:38:22 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_marks, gc_marks_body): increase the counter of young objects
	  at the major GC because AGE2Promotion changes all old objects into
	  young objects at major GC.

Fri May 16 17:26:24 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_before_sweep): heap_pages_swept_slots should contains
	  heap_pages_increment.

	  For example, GC by exceeding malloc_limit can remain
	  heap_pages_increment.

Thu May 15 21:18:43 2014  Hiroshi Shirosaki  <h.shirosaki@gmail.com>

	* configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
	  [ruby-core:62095] [Bug #8358]

Thu May 15 21:04:06 2014  Hiroshi Shirosaki  <h.shirosaki@gmail.com>

	* lib/test/unit/parallel.rb: fix test-all parallel failure if a test
	  is skipped after raise.
	  DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
	  But it causes Marshal.load failure due to undefined class/module
	  DL::DLError when doing test-all parallel and test-all doesn't
	  complete. We create new MiniTest::Skip object to avoid Marshal.load
	  failure.
	  [ruby-core:62133] [Bug #9767]

	* test/testunit/test_parallel.rb (TestParallel): add a test.

	* test/testunit/tests_for_parallel/ptest_forth.rb: ditto.

Thu May 15 18:57:23 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (garbage_collect_body): move gc_heap_prepare_minimum_pages()
	  from gc_sweep().

Thu May 15 18:51:25 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (heap_extend_pages): calculate next growing heap size.

	* gc.c (heap_set_increment): accept addition pages instead of
	  minimum pages.

	* gc.c (gc_after_sweep): use heap_etend_pages().

	* gc.c (gc_heap_prepare_minimum_pages): add only 1 page.

	* gc.c (heap_ready_to_gc): add only 1 page.

Thu May 15 18:42:49 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: introduce macros to remove magic number.

	  GC_HEAP_FREE_SLOTS_MIN_RATIO = 0.3: guarantee minimum empty slots
	                                      ratio after sweep.
	  GC_HEAP_FREE_SLOTS_MAX_RATIO = 0.8: allow to free pages 0.2 (= 1-0.8)
	                                      of current existing slots.

Thu May 15 17:32:51 2014  Hiroshi Shirosaki  <h.shirosaki@gmail.com>

	* thread_win32.c (rb_w32_stack_overflow_handler): use Structured
	  Exception Handling by AddVectoredExceptionHandler() for machine
	  stack overflow on mingw.
	  This would be equivalent to the handling using __try and __except
	  on mswin introduced by r43748.

Wed May 14 19:31:03 2014  Koichi Sasada  <ko1@atdot.net>

	* ext/openssl/depend: remove dependency from internal headers.
	  [Feature #9612]

	* ext/openssl/ossl.c (ossl_fips_mode_set): ditto.

	* ext/coverage/depend: ditto.

	* include/ruby/thread_native.h: added.

	  This header file only provides wrapper functions to control
	  native threads. These wrapper functions are used by MRI
	  implementation.

	* vm_core.h: use include/ruby/thread_native.h.

	* thread.c: ditto.

	* thread_pthread.h: ditto.

	* thread_win32.h: ditto.

	* thread_native.h: removed.

Wed May 14 18:03:28 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: enable RGENGC_AGE2_PROMOTION.

Wed May 14 18:02:30 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rgengc_rememberset_mark): promote remembered object earlier.

Mon May 12 23:57:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_atan2_inf_c99): check whether runtime atan2
	  handles Inf as C99. [ruby-core:62536] [Bug #9831]

Mon May 12 20:33:01 2014  Tanaka Akira  <akr@fsij.org>

	* configure.in: Invoke AC_REPLACE_FUNCS for each function.

Mon May 12 19:52:11 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: count young object correctly and show it in GC.stat
	  on RGENGC_AGE2_PROMOTION.

	* gc.c (RVALUE_PROMOTE_YOUNG): decrement young object count on
	  YOUNG->OLD.

	* gc.c (obj_free): decrement young object count when young object
	  freed.

	* gc.c (gc_marks): should not clear young object count.

	* gc.c (gc_stat_internal): GC.stat :young_object information.

Mon May 12 01:30:59 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/ifaddr.c (IS_IFADDRS): Unused macro removed.

	* ext/strscan/strscan.c (BUFSIZE): Ditto.

	* ext/zlib/zlib.c (OBJ_IS_FREED): Ditto.

Sun May 11 22:27:18 2014  Tanaka Akira  <akr@fsij.org>

	* compile.c (BUFSIZE): Unused macro removed.

	* vm.c (BUFSIZE): Ditto.

	* pack.c (INT64toNUM): Ditto.
	  (UINT64toNUM): Ditto.
	  (BYTEWIDTH): Ditto.

	* time.c (lshift): Ditto.
	  (UINT64toNUM): Ditto.
	  (id_lshift): Unused variable removed.

Sun May 11 21:23:27 2014  Tanaka Akira  <akr@fsij.org>

	* pack.c (swaps): Unused macro removed.
	  (swapi): Ditto.
	  (swapl): Ditto.
	  (swapll): Ditto.

Sun May 11 08:02:49 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_vm_t): list_head and counter for living_threads
	  (rb_thread_t): vmlt_node for living_threads linkage
	  (rb_vm_living_threads_init): new function wrapper
	  (rb_vm_living_threads_insert): ditto
	  (rb_vm_living_threads_remove): ditto
	* vm.c (rb_vm_living_threads_foreach): new function wrapper
	* thread.c (terminate_i, thread_start_func_2, thread_create_core,
	  thread_fd_close_i, thread_fd_close): update to use new APIs
	* vm.c (vm_mark_each_thread_func, rb_vm_mark, ruby_vm_destruct,
	  vm_memsize, vm_init2, Init_VM): ditto
	* vm_trace.c (clear_trace_func_i, rb_clear_trace_func): ditto
	* benchmark/bm_vm_thread_close.rb: added to show improvement
	* ccan/build_assert/build_assert.h: added as a dependency of list.h
	* ccan/check_type/check_type.h: ditto
	* ccan/container_of/container_of.h: ditto
	* ccan/licenses/BSD-MIT: ditto
	* ccan/licenses/CC0: ditto
	* ccan/str/str.h: ditto (stripped of unused macros)
	* ccan/list/list.h: ditto
	* common.mk: add CCAN_LIST_INCLUDES
	  [ruby-core:61871][Feature #9632 (part 1)]

Sun May 11 01:10:31 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (rb_f_kill): directly enqueue an ignored signal to self,
	  except for SIGSEGV and SIGBUS.  [ruby-dev:48203] [Bug #9820]

Sat May 10 22:37:56 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (push_glob): match in UTF-8 on Mac OS X.
	  [ruby-dev:48213] [Bug #9825]

Sat May 10 13:32:18 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (thread_start_func_2): stop if forked in a sub-thread,
	  the thread has become the main thread.
	  [ruby-core:62070] [Bug #9751]

Sat May 10 09:32:19 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]

Sat May 10 08:47:36 2014  Tanaka Akira  <akr@fsij.org>

	* signal.c (trap): Return "SYSTEM_DEFAULT" if SIG_DFL is set.

Fri May  9 14:27:05 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_SETJMP_TYPE): check for setjmp type after
	  CCDLFLAGS is appended to CFLAGS, since __builtin_setjmp can be
	  affected.  [ruby-core:62469] [Bug #9818]

Fri May  9 03:59:06 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* lib/delegate.rb: Fix example of using delegator.
	  patched from Andrey Koleshko. [Fixes GH-505]

Fri May  9 03:42:43 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* lib/shell.rb: add documentation in lib/shell.rb
	  patched from reprah. [Fixes GH-516]

Fri May  9 03:28:04 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* lib/fileutils.rb: show fileutils require at top.
	  patched from Richard Schneeman. [Fixes GH-604]

Fri May  9 03:07:09 2014  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* lib/prime.rb (Prime#prime?): negative numbers can't be primes
	  by definition. reported by Ivan Kataitsev. [Bug #7395]
	* test/test_prime.rb: add test.

Thu May  8 14:34:29 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* class.c (rb_mod_init_copy): always clear instance variable,
	  constant and method tables first, regardless the source tables.
	  [ruby-dev:48182] [Bug #9813]

Thu May  8 10:53:14 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: OpenBSD needs to include sys/param.h before include
	  sys/mount.h. [ruby-dev:48167]

Thu May  8 10:17:04 2014  Karsten Sperling  <karsten@sperling.co.nz>

	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): stop
	  handling requests on shutdown, even if the socket is readable
	  and IO.select() returns true.  [Fixes GH-607]

	* lib/webrick/server.rb (WEBrick::GenericServer#start): IO.select()
	  raises ENOTSOCK on shutdown on Windows.

Wed May  7 21:45:00 2014  Tanaka Akira  <akr@fsij.org>

	* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
	  Consider Socket#accept as well as TCPServer#accept.
	  Reported by Sam Stelfox.  [ruby-core:62064] [Bug #9750]

Wed May  7 17:24:07 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* numeric.c (num_step_scan_args): check keyword arguments and fail
	  if they conflict with positional arguments.
	  [ruby-dev:48177] [Bug #9811]

Wed May  7 12:06:14 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/driver.rb: remove debug output and output results into
	  specified file.

Wed May  7 11:55:40 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/driver.rb: add '--rawdata-output=[FILE] option to output
	  raw results into FILE.

Wed May  7 11:25:41 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_f_local_variables): exclude variables hidden by
	  shadowing.  [ruby-core:60501] [Bug #9486]

	* vm.c (collect_local_variables_in_iseq): ditto.

Tue May  6 23:29:05 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (new_bv_gen): no duplicated names, if already added in
	  shadowing_lvar().

	* parse.y (local_tbl_gen): remove local variables duplicated with
	  arguments.
	  [ruby-core:60501] [Bug #9486]

Tue May  6 18:48:50 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.make_time): Adjust the time zone of "now".

Tue May  6 18:33:12 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* io.c (io_{read,write}_nonblock): use rb_get_kwargs instead of
	  rb_hash_aref.

Tue May  6 18:03:05 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.make_time): Argument validation code moved from
	  Time.parse and Time.strptime.

Tue May  6 17:27:06 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation
	  to use EST.
	  Reported by Marcus Stollsteimer.
	  [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Tue May  6 04:31:48 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* file.c (rb_f_test): removed meaningless "case 'a'".

Tue May  6 01:28:14 2014  Tanaka Akira  <akr@fsij.org>

	* lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if
	  the StringIO object is not closed yet.
	  Reported by Jordi Massaguer Pla.  [ruby-core:42538] [Bug #6010]

Tue May  6 01:08:01 2014  Koichi Sasada  <ko1@atdot.net>

	* benchmark/driver.rb: define File::NULL if not defined and /dev/null
	  is available to run benchmark driver on ruby 1.9.2.

Mon May  5 23:53:24 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/mkconstants.rb: Add IP_TRANSPARENT.
	  IP_TRANSPARENT is provieded since glibc-2.12.
	  Reported by Eliezer Croitoru.  [ruby-core:50372] [Bug #7476]

Mon May  5 22:29:47 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (check_exec_redirect): Open the file in write mode for
	  redirect from [:out, :err].
	  Proposed and implemented by Yusuke Endoh.
	  [ruby-dev:41430] [Feature #3348]

Mon May  5 21:52:35 2014  Tanaka Akira  <akr@fsij.org>

	* ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all
	  separators File::SEPARATOR from File::ALT_SEPARATOR.
	  Reported by Daniel Rikowski.
	  Fixed by Nobuyoshi Nakada.  [Bug #9618]

	* ext/pathname/lib/pathname.rb (cleanpath_conservative): ditto.

Mon May  5 21:48:04 2014  Tanaka Akira  <akr@fsij.org>

	* ext/pathname/lib/pathname.rb (Pathname#/): Aliased to Pathname#+.
	  Suggested by Alexey Muranov.  [ruby-core:61432] [Feature #9625]

Mon May  5 17:26:09 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* math.c (rb_math_sqrt): omitted exporting an unused function,
	  anyway.
	* internal.h: follows the above change.

Mon May  5 11:44:03 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptime
	  doesn't extract date information.
	  Reported by tadayoshi funaba.  [ruby-core:62349]

Mon May  5 01:12:27 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* ext/date/date_core.c (rt_rewrite_frags): a new feature (not a
	  bug fix) of strptime.  applies offset even if the given date is
	  not local time (%s and %Q).  This is an exceptional feature and
	  I do NOT recommend to use this at all.  Thank you git community.

Sun May  4 20:51:32 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.force_zone!): Use usual local time if it has
	  expected offset from UTC.

Sun May  4 17:58:12 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.force_zone!): New private method.
	  (Time.make_time): Use Time.force_zone!.
	  (Time.strptime): Ditto.
	  (Time.rfc2822): Ditto.
	  (Time.xmlschema): Ditto.

	* lib/rss/rss.rb (Time.w3cdtf): Use Time.force_zone!.

Sun May  4 10:22:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* math.c (math_atan2): return values like as expected by C99 if
	  both two arguments are infinity.  based on the patch by cremno
	  phobia <cremno AT mail.ru> in [ruby-core:62310].  [Feature #9799]

Sun May  4 03:46:42 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.httpdate): Always return a UTC Time object.

Sun May  4 03:26:39 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.make_time): Refactored.

Sun May  4 02:53:17 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.rfc2822): Fix year completion.
	  Produce fixed-offset time object if appropriate.
	  (Time.xmlschema): Produce fixed-offset time object if appropriate.

Sat May  3 23:52:20 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (make_time): Produce fixed-offset time object if
	  appropriate.
	  (Time.strptime): Use d[:zone] instead of d[:offset].

	* lib/rss/rss.rb (Time.w3cdtf): Produce fixed-offset time object if
	  appropriate.

Sat May  3 20:21:38 2014  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is not
	  given.
	  Reported by tadayoshi funaba.  [ruby-core:62322]

Sat May  3 04:04:16 2014  Eric Wong  <e@80x24.org>

	* complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
	  [Bug #9608]
	* rational.c (read_digits): ditto

Sat May  3 00:06:30 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* file.c (HAVE_STRUCT_STATVFS_F_BASETYPE): File::Statfs#fstypename
	  is supported on AIX, HP-UX, and Solaris, by using the value of
	  struct statvfs.f_basetype.

	* configure.in (HAVE_STRUCT_STATVFS_F_BASETYPE): check struct
	  statvfs.f_basetype which is available on AIX, HP-UX, and Solaris.

Fri May  2 21:04:02 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (next_id): no reason to set ID_STATIC_SYM here, as ID
	  returned by rb_intern3 can be a dynamic symbol and the static
	  symbol flag is set otherwise.  [Bug #9787]

Fri May  2 11:32:51 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/test_io.rb (test_seek, test_seek_symwhence): defer
	  File::Statfs#type call which may not be implemented, to mitigate
	  errors on platforms where SEEK_DATA is available but f_type in
	  struct statfs is not.  [ruby-dev:48154] [Bug #9789]

Fri May  2 10:37:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (rb_id_attrset): turn dynamically interned Symbol into
	  an ID, since rb_str_dynamic_intern returns a Symbol but not an
	  ID.  [ruby-core:62226] [Bug #9787]

Thu May  1 22:19:34 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* file.c: Change AND condition to nested condition.

Thu May  1 00:36:26 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* file.c (FSTATFS): check availability of struct statfs and
	  struct statvfs in addition to fstatfs(2) and fstatvfs(2).
	  This fixes error in Solaris. [Bug #9788] [ruby-dev:48145]

Wed Apr 30 19:46:23 2014  Narihiro Nakamura  <authornari@gmail.com>

	* gc.c (gc_after_sweep): suppress unnecessary expanding heap.
	  Tomb heap pages are freed pages here, so expanding heap is
	  not required.

Wed Apr 30 17:58:40 2014  Koichi Sasada  <ko1@atdot.net>

	* vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
	  it is bmethod frame.

	* vm.c (vm_exec): invoke RUBY_EVENT_RETURN event if rollbacked frame
	  is VM_FRAME_FLAG_BMETHOD.
	  [Bug #9759]

	* test/ruby/test_settracefunc.rb: add a test for TracePoint/set_trace_func.

	* vm_core.h: rename rb_thread_t::passed_me to
	  rb_thread_t::passed_bmethod_me to clarify the usage.

	* vm_insnhelper.c (vm_call_bmethod_body): use renamed member.

Wed Apr 30 17:06:49 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (rb_id_attrset): pin down dynamic symbol only. it is
	  possible that attrset ID can be registered as a static symbol
	  after the corresponding attrget ID has been registered as a
	  dynamic, and then the latter may be collected.
	  [ruby-core:62226] [Bug #9787]

Tue Apr 29 14:17:57 2014  Tanaka Akira  <akr@fsij.org>

	* lib/tmpdir.rb: Rescue LoadError on etc.so for miniruby.
	  Revert r45707, r45711, r45717.

Tue Apr 29 12:50:02 2014  Tanaka Akira  <akr@fsij.org>

	* lib/fileutils.rb: Don't need to define fu_get_gid and fu_get_gid in
	  rescue LoadError on 'etc'.

Tue Apr 29 10:21:38 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* parse.y (symbols_i): like r45492, call rb_gc_resurrect().

Tue Apr 29 04:29:05 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* file.c (HAVE_STRUCT_STATFS_T_F_FSTYPENAME): Add new macro for
	  statfs_t.
	* file.c (HAVE_STRUCT_STATFS_T_F_TYPE): ditto.

	* file.c (rb_io_statfs): check FSTATFS macro only instead of
	  HAVE_FSTATFS and HAVE_FSTATVFS.

	* file.c (statfs_type): use new macro.
	* file.c (statfs_fstypename): ditto.
	* file.c (statfs_inspect): ditto.

Tue Apr 29 00:20:26 2014  Rajarshi Das  <rajarshid@cybage.com>

	* bootstraptest/test_literal.rb: fix typo of "dynamic".  [ci skip]

	* regexp.rdoc: fix typo of "organized".  [ci skip]

	* lib/session.rb: fix typo of "recognized".  [ci skip]

Mon Apr 28 21:40:27 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type
	  to support OpenBSD.

	* file.c (statfs_type): use above macro to switch.

	* file.c (statfs_inspect): ditto.

Mon Apr 28 18:06:08 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: check struct statvfs and struct statvfs.f_fstypename.

	* configure.in: on NetBSD fstatfs is obsoleted.

	* file.c: support NetBSD for File::Statfs.

Mon Apr 28 17:42:42 2014  Narihiro Nakamura  <authornari@gmail.com>

	* gc.c: This argument must be a pointer.

Mon Apr 28 17:40:15 2014  Narihiro Nakamura  <authornari@gmail.com>

	* gc.c: Fix typos. These are undefined variables.

Sun Apr 27 19:39:42 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* ext/date/date_strptime.c (date__strptime_internal): do not
	  overwrite century.

Sat Apr 26 11:50:08 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.
	  Contribute from @igaiga. [fix GH-598]

Sat Apr 26 10:55:33 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (compile_array_): make copy a first hash not to modify
	  the argument itself.  keyword splat should be non-destructive.
	  [ruby-core:62161] [Bug #9776]

Sat Apr 26 08:05:36 2014  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_process.rb (test_rlimit_nofile): Don't limit
	  RLIMIT_NOFILE too small.
	  This fix sporadic "[ASYNC BUG] thread_timer: select" on GNU/Linux.

Fri Apr 25 22:54:34 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
	  ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
	  directory is not an empty directory, rmdir() shall fail and set
	  errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST.
	  [Bug #9571] [ruby-dev:48017]

Fri Apr 25 19:16:30 2014  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.

Fri Apr 25 14:55:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_func___builtin_unreachable): try with an
	  external variable not only by a warning, which might not be
	  shown due to the optimization.  [ruby-core:61647] [Bug #9665]

Fri Apr 25 13:11:49 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: NetBSD's ksh, used by configure, needs escapes.

Fri Apr 25 12:51:08 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: correct pthread_setname_np's prototype on NetBSD.
	  [Bug #9586]

Thu Apr 24 23:17:25 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
	  returns nil.

	* lib/webrick/utils.rb (su): ditto.

Thu Apr 24 22:55:22 2014  Tanaka Akira  <akr@fsij.org>

	* bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.

Thu Apr 24 21:09:55 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* man/ruby.1: fix broken link.

Thu Apr 24 20:53:02 2014  Tanaka Akira  <akr@fsij.org>

	* lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.

Thu Apr 24 17:39:53 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c (statfs_inspect): suppress warnings.
	  assume those values won't be larger than LONG_LONG_MAX.

Thu Apr 24 11:53:28 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value
	  other than Symbol is an undefined behavior.  fix up r31699.
	  [ruby-core:62142] [Bug #9771]

Thu Apr 24 11:21:37 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (rb_sym2id, rb_sym2id_without_pindown): return 0 for
	  non-symbol values, for the time being.

Thu Apr 24 05:50:13 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect().

Wed Apr 23 20:36:22 2014  Tanaka Akira  <akr@fsij.org>

	* ext/etc/extconf.rb: Build ext/etc unconditionally.

Wed Apr 23 14:10:50 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c (statfs_fsid): remove statfs.f_fsid because it doesn't return
	  meaningful value portably. http://togetter.com/li/658517

Wed Apr 23 11:03:41 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/stringio/stringio.c (strio_write): use rb_str_append to
	  reuse coderange bits other than ASCII-8BIT, and keep
	  taintedness.  [ruby-dev:48118] [Bug #9769]

Wed Apr 23 00:43:00 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c, include/ruby/win32.h (ustatfs): implementation of
	  statfs(2) clone. [EXPERIMENTAL]

	* file.c (rb_io_statfs): use above function.

	* configure.in, win32/Makefile.sub (struct statfs): available.

Tue Apr 22 23:56:24 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* file.c (rb_io_stafs): use statfs(2) if fstatfs(2) is unavailable.

	* configure.in (fstatfs): check it.

Tue Apr 22 22:15:51 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* file.c (rb_io_statfs): need to define even if the system doesn't have
	  fstatfs(2).

	* test/ruby/test_file.rb (TestFile#test_statfs): skip if IO#stafs is not
	  implemented.

Tue Apr 22 19:32:48 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c: newly added a class File::Statfs. (experimental)

Tue Apr 22 08:22:33 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (objspace_malloc_increase): don't cause GC by malloc_increase
	  when memop type is MEMOP_TYPE_REALLOC.

	  GC at realloc is not well maintained.
	  We need a time to make it safe.
	  [ruby-dev:48117]

Tue Apr 22 06:54:15 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (objspace_malloc_increase): run full mark if 0x04 bit is
	  set in ruby_gc_stress.  [ruby-core:62103] [Feature #9761]

	* gc.c (objspace_malloc_increase): run GC after realloc not only
	  malloc and calloc by GC.stress.  [ruby-core:62103] [Feature #9761]

Mon Apr 21 19:12:20 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (rb_str_coderange_scan_restartable): coderange is always
	  ENC_CODERANGE_VALID if the string is ASCII-8BIT and already has a non
	  ASCII character.

Mon Apr 21 19:02:44 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (coderange_scan): remove useless condition `p < e` after
	  search_nonascii.

	* string.c (rb_str_coderange_scan_restartable): ditto.

Mon Apr 21 18:55:21 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* ext/-test-/string/coderange.c: add Bug::String.new#coderange_scan
	  to explicitly scan coderange.

Mon Apr 21 18:19:35 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (coderange_scan): remove unused logic.

	* string.c (rb_str_coderange_scan_restartable): ditto.

Mon Apr 21 14:11:48 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/stringio/stringio.c (strio_putc): fix for non-ascii
	  encoding, like as IO#putc.  [ruby-dev:48114] [Bug #9765]

Sun Apr 20 12:57:15 2014  Masaya Tarui  <tarui@ruby-lang.org>

	* st.c (st_foreach_check): change start point of search at check
	  from top to current. [ruby-dev:48047] [Bug #9646]

Sun Apr 20 08:41:33 2014  Andrew DeMaria  <ademariad@gmail.com>

	* lib/mkmf.rb (link_command, libpathflag, create_makefile): prefer
	  user specified `$LIBPATH` than `$DEFLIBPATH`.  [ruby-core:62100]
	  [ruby-trunk - Bug #9760]

Sun Apr 20 06:01:18 2014  Eric Wong  <e@80x24.org>

	* gc.c (rb_gc_writebarrier): drop special case for big hash/array
	  [Bug #9518]

Sat Apr 19 15:38:29 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (primary): flush cmdarg flags inside left-paren in a
	  command argument, to allow parenthesed do-block as an argument
	  without arguments parentheses.  [ruby-core:61950] [Bug #9726]

Sat Apr 19 10:07:24 2014  Tanaka Akira  <akr@fsij.org>

	* internal.h (struct RBignum): Use size_t for len.

	* include/ruby/intern.h (rb_big_new): Use size_t instead of long to
	  specify the size of bignum.
	  (rb_big_resize): Ditto.

	* bignum.c: Follow above changes.

	* rational.c: Follow above changes.

	* marshal.c: Follow above changes.

Sat Apr 19 00:32:07 2014  Tanaka Akira  <akr@fsij.org>

	* numeric.c (rb_num2long): Returns a long.
	  (rb_num2ulong): Returns a unsigned long.

	* bignum.c (rb_big2long): Returns a long.
	  (rb_big2ulong): Returns a unsigned long.

	* include/ruby/intern.h: Follow above changes.

	* include/ruby/ruby.h: Follow above changes.
	  (rb_num2long_inline): No need to cast.
	  (rb_num2ulong_inline): Ditto.

Sat Apr 19 00:17:20 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (SHARABLE_SUBSTRING_P): predicate if substring can be
	  shared with the original string.  true if just at the end of the
	  original string, for the time being.  all substring will be able to
	  be shared in the future.

Fri Apr 18 21:48:24 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_new_frozen): consider the shared string at
	  middle.

	* string.c (rb_str_subseq, rb_str_substr, str_byte_substr): share
	  middle of a string.

Fri Apr 18 15:40:05 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c: use uintptr_t instead of VALUE because they are not ruby
	  object.

Fri Apr 18 14:51:42 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c: check str_strlen's argument, and add comment or
	  use NULL if simply it uses str's enc.

Fri Apr 18 14:32:40 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (str_strlen): use enc_strlen if the coderange is known.

Fri Apr 18 14:21:21 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* string.c (enc_strlen): move UTF-8 optimization from str_strlen to
	  enc_strlen.

Fri Apr 18 08:50:18 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
	  buffer if NULL is given [ruby-core:62072] [Bug #9752]

Thu Apr 17 16:28:10 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* prelude.rb: [DOC] Update Thread::exclusive docs by @stevenharman.

Thu Apr 17 10:03:53 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
	  preserve option and permissions, following r31123.
	  [ruby-core:62065] [Bug #9748]

Wed Apr 16 23:47:36 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enum.c (dont_recycle_block_arg): fix condition to recycle block
	  argument.  lambda with rest can get internal array directly.
	  [ruby-core:62060] [Bug #9749]

Wed Apr 16 09:51:16 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()
	  finalizes only a copy of the digest context, the context must be
	  cleaned up after initialization by EVP_MD_CTX_cleanup() or a
	  memory leak will occur.  [ruby-core:62038] [Bug #9743]

Tue Apr 15 19:36:42 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* include/ruby/win32.h (rb_w32_cmdvector): removed.

	* win32/win32.c (rb_w32_sysinit): use WCHAR version of GetCommandLine()
	  internally.

	* win32/win32.c (w32_cmdvector): renamed from rb_w32_cmdvector.  use
	  WCHAR* instead of char* internally.

	these changes are expected to not changing the behavior yet.

Tue Apr 15 19:26:05 2014  Tanaka Akira  <akr@fsij.org>

	* ext/extmk.rb: Re-generate extmk.mk and dummy makefiles only if
	  really required.
	  This fixes a problem to run multiple test-all concurrently as:
	  make test-all & make test-all & make test-all & ...

Tue Apr 15 12:49:53 2014  Sam Rawlins  <sam.rawlins@gmail.com>

	* enum.c (enum_each_slice, enum_each_cons): make more efficient by
	  allocating less and recycling block argument arrays if possible.
	  [Fixes GH-596]

Mon Apr 14 18:44:45 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (fill_lines): get base addrs in fill_lines to use it
	  with dladdr_fbases introduced at r45563.
	  it didn't get before if the executable is not pie.

Mon Apr 14 18:05:48 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (main_exe_path): support FreeBSD.
	  At least sh, csh, tcsh, bash, and zsh sets realpath of the main
	  executable for dladdr, but gdb doesn't.

Mon Apr 14 17:20:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (umethod_bind): use the ancestor iclass instead of new
	  iclass to get rid of infinite recursion, if the defined module
	  is already included.  [ruby-core:62014] [Bug #9721]

Sun Apr 13 12:46:58 2014  Tanaka Akira  <akr@fsij.org>

	* bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.

	* internal.h: Ditto.

	* marshal.c: Ditto.

	* rational.c: Ditto.

Sun Apr 13 10:18:09 2014  Tanaka Akira  <akr@fsij.org>

	* common.mk: Unused target, $(MKMAIN_CMD), removed.

	* Makefile.in (MKMAIN_CMD): Unused macro removed.

	* win32/Makefile.sub (MKMAIN_CMD): Ditto.

Sat Apr 12 22:11:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear
	  caller's self which is useless, so that it can get collected.
	  [Fixes GH-592]

Sat Apr 12 09:26:48 2014  Eric Hodel  <drbrain@segment7.net>

	* ext/openssl/ossl_ocsp.c:  [DOC] Document OpenSSL::OCSP.

Fri Apr 11 18:52:38 2014  Koichi Sasada  <ko1@atdot.net>

	* array.c (ARY_SET): added.

	  ARY_SET() is same functionality of RARRAY_ASET(), but
	  it has an assertion (`ary' doesn't have shared array).

Fri Apr 11 16:54:26 2014  Koichi Sasada  <ko1@atdot.net>

	* array.c: make shared arrays WB-protected objects.

	  Shared arrays were WB-unprotected object because
	  sharing array can modify shared array's buffer
	  if it occupied shared array.

	  [sharing array (ary)] -> [shared array (shared)] -> <buff>
	                |                                       A
	                +---------------------------------------+
	             write `buff' with WB(ary, &buff[i], obj)
	             -> if `ary' and `shared' are old, then only `ary'
	                will be remembered.
	             -> traverse from `ary'. But `shared' is old, so
	                that written `obj' is not marked.

	  It cause WB miss so that shared arrays were WB-unprotected.
	  (WB-unprotected objects are marked everytime if it is living)

	  This patch insert WB() for `shared' if it is needed.

Fri Apr 11 15:05:26 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (rb_method_call_with_block, umethod_bind): call with
	  IClass including the module for a module instance method.
	  [ruby-core:61936] [Bug #9721]

	* vm_insnhelper.c (vm_search_super_method): allow bound
	  UnboundMethod case.

Fri Apr 11 12:02:30 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (rb_dump_backtrace_with_lines): set base address
	  which is retrieved from dladdr to dladdr_fbases, to skip already
	  parsed objects.

Fri Apr 11 12:44:50 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (ary_reject): may be turned into a shared array during
	  the given block.  [ruby-dev:48101] [Bug #9727]

Thu Apr 10 23:41:21 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
	  anonymous login was changed to "anonymous@" in r25313.

Thu Apr 10 19:22:58 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_array.rb: remove useless `assert'.

Thu Apr 10 19:11:11 2014  Koichi Sasada  <ko1@atdot.net>

	* array.c (rb_ary_modify): remember shared array owner if a shared
	  array owner is promoted and a shared array is not promoted.

	  Now, shared array is WB-unprotected so that shared arrays are not
	  promoted.  All objects referred from shared array should be marked
	  correctly.

	  [ruby-core:61919] [ruby-trunk - Bug #9718]

	* test/ruby/test_array.rb: add a test for above.

Thu Apr 10 18:57:12 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_verify_internal_consistency): move lines and enable
	  allrefs_dump() on RGENGC_CHECK_MODE >= 4.

Thu Apr 10 15:01:06 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (append_obj): clear allocated memory.

	* addr2line.c (rb_dump_backtrace_with_lines): free `base_addrs'.

Thu Apr 10 14:40:18 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug
	  message when RGENGC_CHECK_MODE == 0.

Thu Apr 10 08:13:47 2014  Tanaka Akira  <akr@fsij.org>

	* signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h
	  is not available.
	  Fixes build on Android (x86).

Wed Apr  9 23:22:44 2014  Tanaka Akira  <akr@fsij.org>

	* gc.c (mark_current_machine_context): Call SET_STACK_END.
	  This reverts a hunk of r40703 by ko1.
	  This fixes [ruby-dev:48098] [Bug #9717].

Wed Apr  9 21:02:04 2014  Tanaka Akira  <akr@fsij.org>

	* process.c (OBJ2UID1): Defined even if getpwnam_r is not usable.
	  (OBJ2GID1): Defined even if getgrnam_r is not usable.
	  This fixes compilation error on Android.

Wed Apr  9 15:16:59 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (rb_enc_default_internal): fix rdoc.  `__FILE__` is
	  in filesystem encoding but not `default_internal`.
	  [ruby-core:61894] [Bug #9713]

Wed Apr  9 14:43:00 2014  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb: more long timeout.
	  This test failed under RGENGC_CHECK_MODE >= 2.

Wed Apr  9 13:07:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
	  x64-mingw, which causes SEGV with callcc.
	  [ruby-core:61887] [Bug #9710]

Wed Apr  9 12:44:54 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (str_buf_cat): should round up the capacity by 4KiB,
	  but not number of rooms.  [ruby-core:61886] [Bug #9709]

Tue Apr  8 22:55:32 2014  Akinori MUSHA  <knu@iDaemons.org>

	* lib/mkmf.rb (MakeMakefile#dir_config): [DOC] Improve
	  documentation.

Tue Apr  8 22:31:44 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename `RGENGC_THREEGEN' to `RGENGC_AGE2_PROMOTION'.

	* gc.c (rgengc_rememberset_mark): don't promote, but remain in
	  remember set for infant objects.

	* gc.c (RVALUE_PROMOTE_INFANT, RVALUE_PROMOTE_YOUNG): count numbers
	  in these functions.

Mon Apr  7 21:11:49 2014  Tanaka Akira  <akr@fsij.org>

	* ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
	  Reported by Saravana kumar.  [ruby-core:61820] [Bug #9697]
	  Fixed by Heesob Park.  [ruby-core:61868]

Mon Apr  7 07:20:23 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/xmlrpc/client.rb (do_rpc): don't check body length.
	  If HTTP content-encoding is used, the length may be different.
	  [Bug #8182] [ruby-core:53811]

Mon Apr  7 02:39:48 2014  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Matrix#cofactor [fix GH-568]
	  Add first_minor [fix GH-568]
	  Handle empty diagonal matrix case [fix GH-576]
	  Patches by gogotanaka

Sun Apr  6 08:52:50 2014  Bugra Barin  <bugrabarin@hotmail.com>

	* dln.c (dln_load): use wchar version to load a library in
	  non-ascii path on Windows.  based on the patch by Bugra Barin
	  <bugrabarin AT hotmail.com> in [ruby-core:61845].  [Bug #9699]

Sat Apr  5 19:36:33 2014  Tadayoshi Funaba  <tadf@dotrb.org>

	* ext/date/date_core.c (d_lite_cmp): should compare with #<.

Sat Apr  5 00:31:21 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
	  [ruby-dev:48089] [Bug #9702]

Fri Apr  4 07:13:44 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (ac_cv_func___builtin_setjmp): should not skip
	  flags restoration in RUBY_WERROR_FLAG by `break`.
	  [ruby-dev:48086] [Bug #9698]

Wed Apr  2 21:50:06 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (ac_cv_func___builtin_setjmp): __builtin_longjmp()
	  in Apple LLVM 5.1 (LLVM 3.4svn) uses `void**`, not `jmp_buf`.
	  [Bug #9692]

Wed Apr  2 20:57:15 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c, gc.h (rb_objspace_each_objects_without_setup):
	  Add a new (hidden) C-API to iterate objspace snapshot.

	  This API is not safe to call any C-APIs in a given callback
	  function. Be careful to use this C-API.

Wed Apr  2 17:43:17 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (ac_cv_func___builtin_setjmp): gcc 4.9 disallows a
	  variable as the second argument of __builtin_longjmp().
	  [ruby-core:61800] [Bug #9692]

Wed Apr  2 15:12:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* common.mk: Use redmine-2.x url for DeveloperHowto wiki.
	  [ruby-core:60657] [Bug #9511]

Wed Apr  2 11:46:29 2014  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* ext/pathname/lib/pathname.rb (Pathname#join): Fix error with
	  empty args. Reported by ko1 via IRC.

	* test/pathname/test_pathname.rb (TestPathname#test_join): Add the
	  test for above case.

Tue Apr  1 11:39:57 2014  James Edward Gray II  <james@graysoftinc.com>

	* lib/csv.rb: Symbol HeaderConverter: strip leading/trailing space.
	  Reported by Skye Shaw
	  [Fixes GH-575]

Tue Apr  1 11:34:04 2014  James Edward Gray II  <james@graysoftinc.com>

	* lib/csv.rb: Don't attempt to convert nil headers.
	  Reported by Skye Shaw

Tue Apr  1 17:29:35 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/config_files.rb (ConfigFiles.download): show failed URI.
	  [ruby-core:61792] [Bug #9690]

Tue Apr  1 12:06:49 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (rb_dump_backtrace_with_lines): don't depend hard coded
	  symbol '_start'.

	* addr2line.c (fill_lines): instead of above, get a dynamic symbol
	  in the main executable and use it to know the base address.

	* addr2line.c (follow_debuglink0): use obj_info_t instead of
	  line_info_t to handle object related data.

	* addr2line.c (main_exe_path): defined for Linux.

Tue Apr  1 08:58:39 2014  Kazuki Tsujimoto  <kazuki@callcc.net>

	* parse.y (rb_str_dynamic_intern): set mark bit if dynamic symbol
	  is before sweeping.

Tue Apr  1 07:37:00 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (fill_lines): use dynsym, which is used for dynamic
	  linking and always exists, if there's no symtab.

Tue Apr  1 07:27:15 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* vm_dump.c (rb_print_backtrace): current implementation
	  uses dladdr to get the path of objects.

Mon Mar 31 23:57:45 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`.
	  [ruby-core:61756] [Bug #9578]

Mon Mar 31 17:23:50 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/memory_status.rb: require envutil before accessing EnvUtil
	  module.  reported by ko1 via twitter.

Mon Mar 31 10:28:01 2014  Eric Wong  <e@80x24.org>

	* st.c (st_init_table_with_size): update comment
	  [Feature #9425]

Sun Mar 30 23:39:26 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
	  reset inherit flag of socket to avoid unintentional inheritance of
	  socket.  note that the return value of SetHandleInformation() is not
	  verified intentionally because old Windows may return an error.
	  [Bug #9688] [ruby-core:61754]

Sat Mar 29 13:04:22 2014  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_before_sweep): cap `malloc_limit' to
	  gc_params.malloc_limit_max.  It can grow and grow with such case:
	    `loop{"a" * (1024 ** 2)}'
	  [Bug #9687]

	  This issue is pointed by Tim Robertson.
	  http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready-for-production/

Fri Mar 28 19:32:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* struct.c (not_a_member): extract name error and use same error
	  messages.  based on the patch by Marcus Stollsteimer <sto.mar AT
	  web.de> at [ruby-core:61721].  [Bug #9684]

Fri Mar 28 09:21:54 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/psych/psych.gemspec: update gemspec for psych-2.0.5

Fri Mar 28 09:11:06 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/psych/lib/psych.rb: Merge psych-2.0.5. bump version to
	  libyaml-0.1.6 for CVE-2014-2525.
	* ext/psych/yaml/config.h: ditto.
	* ext/psych/yaml/scanner.c: ditto.
	* ext/psych/yaml/yaml_private.h: ditto.

Thu Mar 27 18:58:10 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (match_regexp): set regexp for MatchData from string.

	* re.c (rb_backref_set_string): create MatchData from string and
	  set backref.

	* string.c (rb_pat_search, rb_str_sub, rb_str_sub_bang, str_gsub),
	  (scan_once, rb_str_scan, rb_str_partition): use rb_str_index
	  instead of rb_reg_search() when pattern is a String.  based on
	  the patch by Sam Rawlins <sam.rawlins@gmail.com> [Fixes GH-579]

Thu Mar 27 11:58:55 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (fill_lines): check shdr[i].sh_type because even if
	  .symtab section exists, the section's type can be SHT_NOBITS and
	  actual data doesn't exist in the file.
	  revert r45441.

Wed Mar 26 14:57:35 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* parse.y: inline must be static (for mswin).
	  fixed build error introduced at r45426.

Wed Mar 26 14:33:00 2014  Narihiro Nakamura  <authornari@gmail.com>

	* internal.h (USE_SYMBOL_GC): enable Symbol GC by default (USE_SYMBOL_GC == 1).

Tue Mar 25 22:57:11 2014  Narihiro Nakamura  <authornari@gmail.com>

	* parse.y: support Symbol GC. [ruby-trunk Feature #9634]
	  See this ticket about Symbol GC.

	* include/ruby/ruby.h:
	  Declare few functions.
	  * rb_sym2id: almost same as old SYM2ID but support dynamic symbols.
	  * rb_id2sym: almost same as old ID2SYM but support dynamic symbols.
	  * rb_sym2str: almost same as `rb_id2str(SYM2ID(sym))` but not
	    pin down a dynamic symbol.
	  Declare a new struct.
	  * struct RSymbol: represents a dynamic symbol as object in
	    Ruby's heaps.
	  Add few macros.
	  * STATIC_SYM_P: check a static symbol.
	  * DYNAMIC_SYM_P: check a dynamic symbol.
	  * RSYMBOL: cast to RSymbol

	* gc.c: declare RSymbol. support T_SYMBOL.

	* internal.h: Declare few functions.
	  * rb_gc_free_dsymbol: free up a dynamic symbol. GC call this
	    function at a sweep phase.
	  * rb_str_dynamic_intern: convert a string to a dynamic symbol.
	  * rb_check_id_without_pindown: not pinning function.
	  * rb_sym2id_without_pindown: ditto.
	  * rb_check_id_cstr_without_pindown: ditto.

	* string.c (Init_String): String#intern and String#to_sym use
	  rb_str_dynamic_intern.

	* template/id.h.tmpl: use LSB of ID as a flag for determining a
	  static symbol, so we shift left other ruby_id_types.

	* string.c: use rb_sym2str instead `rb_id2str(SYM2ID(sym))` to
	  avoid pinning.

	* load.c: use xx_without_pindown function at creating temporary ID
	  to avoid pinning.

	* object.c: ditto.

	* sprintf.c: ditto.

	* struct.c: ditto.

	* thread.c: ditto.

	* variable.c: ditto.

	* vm_method.c: ditto.

Wed Mar 26 13:25:54 2014  NARUSE, Yui  <naruse@ruby-lang.org>

	* addr2line.c (fill_lines): loop reverse order not to overwrite
	  the basis of base addresses comparison.