summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 2bf1fa6a30de24f0c9cb517ea74d3928dabd2959 (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
Wed Sep 16 14:49:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_setbyte): keep the code range as possible.

Wed Sep 16 13:23:48 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

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

Wed Sep 16 12:06:53 2015  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* dir.c (glob_helper): check pathtype once again by lstat(2) if
	  dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.

Wed Sep 16 03:49:19 2015  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):
	  insert waste loop for invoking preemptive thread context switch.
	  [Bug #11496]

Tue Sep 15 19:38:55 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (rb_objspace_alloc, rb_objspace_free): define always
	  regardless ENABLE_VM_OBJSPACE, and free heap pages.

Tue Sep 15 15:15:41 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by
	  encoding index to get rid of encoding initialization before VM
	  object space allocation.

	* dir.c (fundamental_encoding_p, push_glob): compare by encoding
	  index immediately.

	* enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of
	  fundamental built-in encodings so that usable as well as
	  allocated rb_encoding before rb_enc_init().

	* encindex.h: separate encoding index constants from internal.h.

Tue Sep 15 13:13:13 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block
	  return values, which may be a negative or positive integer, not
	  ony -1 or +1.

Tue Sep 15 12:49:10 2015  Jason Barnabe  <jason.barnabe@gmail.com>

	* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct
	  description of array sort block return values.  And also fix up
	  the grammar a bit.  [Fix GH-1020]

Tue Sep 15 12:44:32 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* util.c (ruby_qsort): use BSD-style qsort_r if available.

Mon Sep 14 19:26:34 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including
	  space correctly.

Mon Sep 14 11:12:10 2015  Anton Davydov  <antondavydov.o@gmail.com>

	* lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
	  "conversion".  [Fix GH-1016]

Sun Sep 13 11:03:13 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h: prefix RUBY or RB to global symbols to get
	  rid of name conflicts with other headers.

	* include/ruby/encoding.h, include/ruby/intern.h: ditto.

Sun Sep 13 09:38:51 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (size, modify, create, type, unique, perm, lang,
	  media_type, charset): new methods to return standard facts.

Sat Sep 12 19:43:49 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local
	  variables here. vm_push_frame() clears.

	* vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto.

	* vm_insnhelper.c (vm_push_frame): move check code to
	  vm_check_frame().

	  Reorder initialization timing to reuse same values (sp).

	* compile.c (rb_iseq_compile_node): use
	  iseq_set_exception_local_table() for ISEQ_TYPE_DEFINED_GUARD.

Sat Sep 12 23:06:51 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (file?, directory?, appendable?, creatable?,
	  deletable?, enterable?, renamable?, listable?, directory_makable?,
	  purgeable?, readable?, writable?): new methods.

Sat Sep 12 21:27:22 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (FACT_PARSERS): support system dependent facts
	  UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime.

Sat Sep 12 19:08:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (rb_w32_dup2): should return the new fd on
	  success, while msvcrt returns 0 wrongly.

Sat Sep 12 18:14:11 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (parse_mlsx_entry, mlst) raise an FTPProtoError
	  when parsing failed.

Sat Sep 12 18:00:35 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (TIME_PARSER): use "Z" instead of "+00:00" to
	  get UTC time.  Thanks, Wilson Bilkovich.

Sat Sep 12 17:55:24 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (mlst, mlsd): support new commands MLST and MLSD
	  specified in RFC 3659.

Sat Sep 12 16:14:31 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* file.c: access()/eaccess() wrapping methods check more than just uid.
	  [fix GH-1007][ci skip] Patch by @eam

Sat Sep 12 16:07:01 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* README.md: improve markdown rendering for readability.
	  [fix GH-1015][ci skip] Patch by @Matrixbirds

Sat Sep 12 14:30:03 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (save_redirect_fd): make saved FDs close-on-exec not
	  to be inherited.

	* process.c (run_exec_dup2): restore close-on-exec flags too.

	* win32/win32.c (fcntl): implement F_GETFD, F_SETFD, and
	  F_DUPFD_CLOEXEC.

Sat Sep 12 05:35:24 2015  Eric Wong  <e@80x24.org>

	* rational.c (string_to_r_strict): preserve encoding in exception

Fri Sep 11 20:23:35 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_call_info_t::aux.opt_pc.

	* vm_insnhelper.c: introduce shortcut functions for opt_pc == 0
	  because opt_pc is always 0 on shortcut function.

Fri Sep 11 17:49:36 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c: disable ISeq.load. It enabled accidentally at r51794.

Fri Sep 11 11:15:12 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (size, mdtm, system): parse responses according to
	  RFC 959 and 3659, where reply codes must be followed by SP.

	* lib/net/ftp.rb (system): remove LF from the return value.

Thu Sep 10 22:48:49 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]

Thu Sep 10 22:15:51 2015  Joe Rafaniello  <jrafanie@redhat.com>

	* process.c (rb_f_spawn): Be more specific regarding "other
	  values" by having "non-zero positive integers" Add nil, the
	  default value, as a possible value and what it means.

	  Try to use more consistent language.
	  [Fix GH-1008]

Thu Sep 10 15:16:02 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (getmultiline): refactor.

Thu Sep 10 12:17:28 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 Sep  9 18:16:14 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/rubygems/stub_specification.rb (Gem::StubSpecification#data):
	  should not change the value of $. when `require`ing gems.
	  this fixed test failures introduced by r51813.

Wed Sep  9 16:55:45 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ruby.c (usage, enable_option, disable_option, process_options): new
	  option `--disable-did_you_mean`.

	* gem_prelude.rb: now requires did_you_mean gem by default if available.

Wed Sep  9 13:38:56 2015  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 Sep  9 11:33:05 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

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

Wed Sep  9 11:08:59 2015  Zachary Scott  <zzak@ruby-lang.org>

	* lib/delegate.rb: Remove backtrace cleaning for delegated methods
          This patch was provided by Rafael Franca and greatly improves
          performance when an exception is raised. [Bug #11461]

Wed Sep  9 10:05:41 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/rubygems/test_config.rb: fix broken tests for Windows platform.

Wed Sep  9 07:46:32 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems: Update to RubyGems HEAD(fe61e4c112).
	  this version contains new feature that warn invalid SPDX license
	  identifiers. https://github.com/rubygems/rubygems/pull/1249
	  and #1032, #1023, #1332, #1328, #1306, #1321, #1324
	* test/rubygems: ditto.

Tue Sep  8 23:17:36 2015  Yuki Nishijima  <mail@yukinishijima.net>

	* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta2.

Tue Sep  8 23:09:28 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_s_popen): do not wait the child process during being
	  killed.  [ruby-core:70671] [Bug #11510]

Tue Sep  8 22:18:04 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* gems/bundled_gems: revert because ruby trunk never be able to install
	  the did_you_mean gem.  retry after enough test.

Tue Sep  8 21:48:22 2015  Yuki Nishijima  <mail@yukinishijima.net>

	* gems/bundled_gems: Automatically install the did_you_mean gem
	  as a bundled gem.  [Feature #11252]

Tue Sep  8 17:17:48 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_call_info_t::blockiseq.

	* insns.def (send, invokesuper): pass blockiseq explicitly.

	* compile.c: catch up this fix.

	* iseq.c: ditto.

	* vm_args.c: ditto.

	* iseq.c (ISEQ_MINOR_VERSION): 2->3 because instruction spec was
	  changed.

Tue Sep  8 15:01:19 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (list): fetch all the lines before yielding a block
	  to allow other commands in the block.  [Feature #11454]
	  Patched by Srikanth Shreenivas.

Tue Sep  8 12:05:00 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_read_reparse_point): return correct required
	  buffer size for IO_REPARSE_TAG_MOUNT_POINT.

Tue Sep  8 00:14:43 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (rb_execarg_parent_start1): raise with the target path
	  name when open() failed.

Mon Sep  7 23:45:28 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (rb_exec_fail): raise with the target directory name
	  when chdir() failed.  pointed out by sorah.

Mon Sep  7 22:05:28 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (insert): should use plain strdup() instead of
	  ruby_strdup() at startup time, and plain free()ed in cmdglob().

Mon Sep  7 16:49:30 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_core.h (rb_vm_struct): define objspace always regardless
	  ENABLE_VM_OBJSPACE.

Mon Sep  7 15:54:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo.
	  TODO: make arguments of all CAS macros consistent.

Sun Sep  6 16:07:22 2015  Eric Wong  <e@80x24.org>

	* ccan/list/list.h: suppress unused argument warnings
	  [ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b]

Sat Sep  5 11:39:52 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]

Sat Sep  5 08:28:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_hash_equal, rb_hash_eql): [DOC] the orders of each
	  hashes are not compared.  [Bug #11508]

Fri Sep  4 23:26:22 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/win32.h: fix macro name for VC runtime version,
	  RT_VER is only in Makefile.

Fri Sep  4 17:46:17 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* doc/contributing.rdoc: fix configuration option.
	  [ci skip] [fix GH-1009]

Fri Sep  4 04:46:54 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (iseq_memsize): functions for wrapper object should have
	  iseqw_ prefix.

Thu Sep  3 21:12:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/cgi/session.rb (create_new_id): use SHA512 instead of MD5.
	  pointed out by SARWAR JAHAN.

Thu Sep  3 20:29:18 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.

Thu Sep  3 17:54:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (raise_method_missing): "names" should be singular.
	  pointed out by Filip Bartuzi.

Thu Sep  3 17:50:09 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_raw_obj_info): should support IMEMO/iseq.

Thu Sep  3 10:07:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (raise_method_missing): refine error messages when a
	  symbol is not given.  [Fix GH-1013]

Wed Sep  2 18:49:55 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/psych/*: merge psych master(8737e5b). It contains following fixes.
	  https://github.com/tenderlove/psych/pull/242
	  https://github.com/tenderlove/psych/pull/246 [ruby-list:50219]
	* test/psych/*: ditto.

Wed Sep  2 18:04:13 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h (GET_PC_COUNT): remove unused macro.

Wed Sep  2 17:18:37 2015  Chris Schneider  <chris@christopher-schneider.com>

	* process.c (proc_detach): [DOC] fix typo "intent" as "intend" in
	  rdoc.  [Fix GH-1011]

Wed Sep  2 16:58:21 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_realpath_internal): use filesystem encoding if the
	  argument is in ASCII encodings.

	* win32/file.c (rb_readlink): needs the result encoding.

Tue Sep  1 18:37:15 2015  Koichi Sasada  <ko1@atdot.net>

	* test/thread/test_queue.rb: catch up last commit.

Tue Sep  1 18:16:32 2015  Koichi Sasada  <ko1@atdot.net>

	* thread_sync.c (queue_do_close): ignore multiple close to allow
	  multiple producers.
	  https://bugs.ruby-lang.org/issues/10600#note-14

Tue Sep  1 18:06:26 2015  Koichi Sasada  <ko1@atdot.net>

	* thread_tools.c: rename thread_tools.c to thread_sync.c.

Mon Aug 31 17:04:45 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (move_refined_method): should insert a write barrier
	  from an original class to a created (cloned) method entry.

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

Sun Aug 30 02:42:22 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.

Fri Aug 28 16:05:09 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rdoc/*: Update rdoc master(cfffed5)
	  https://github.com/rdoc/rdoc/pull/337
	  https://github.com/rdoc/rdoc/pull/367

Fri Aug 28 10:16:20 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.

Thu Aug 27 18:05:42 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/webrick/server.rb: use IO::NULL instead of '/dev/null'
	* test/ruby/test_string.rb: ditto.

Thu Aug 27 15:24:57 2015  Koichi Sasada  <ko1@atdot.net>

	* compile.c (iseq_set_sequence): rename variable names
	  to make it readable.

Thu Aug 27 07:45:34 2015  Koichi Sasada  <ko1@atdot.net>

	* thread_tools.c: add Queue#close(exception=false) and
	  SizedQueue#close(exception=false).
	  [Feature #10600]

	  Trying to deq from a closed empty queue return nil
	  if exception parameter equals to false (default).

	  If exception parameter is truthy, it raises
	  ClosedQueueError (< StopIteration).
	  ClosedQueueError inherits StopIteration so that you can write:

	    loop{ e = q.deq; (using e) }

	  Trying to close a closed queue raises ClosedQueueError.

	  Blocking threads to wait deq for Queue and SizedQueue will be
	  restarted immediately by returning nil (exception=false) or
	  raising a ClosedQueueError (exception=true).

	  Blocking threads to wait enq for SizedQueue will be
	  restarted by raising a ClosedQueueError immediately.

	  The above specification is not proposed specification, so that
	  we need to continue discussion to conclude specification this
	  method.

	* test/thread/test_queue.rb: add tests originally written by
	  John Anderson and modify detailed behavior.

Wed Aug 26 10:52:02 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 Aug 26 09:26:00 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* id_table.c (list_table_extend, hash_table_extend): remove C99
	  features.  [ruby-dev:49239] [Bug #11487]

Tue Aug 25 06:34:43 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (w32_symlink): implement symlink().

Mon Aug 24 16:01:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (rb_locale_encindex): find encoding index without
	  making a string object every time.  [ruby-core:58160] [Bug #9080]

Sat Aug 22 15:43:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (check_funcall_failed, check_funcall_missing): cache
	  results of respond_to? and respond_to_missing?, and search a
	  public method only for compatibility with rb_respond_to.

Sat Aug 22 08:23:32 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/thread/thread.c: move definitions of Queue, SizedQueue
	  and ConditionalVariables to thread_tools.c. In other words,
	  such classes are built-in.
	  [Feature #8919]

	  At first, I planned to embed only a Queue class.
	  However, rubygems requires 'thread.rb' (rubygems are
	  required at first, when launch MRI without --disable-gems).
	  So most of people require 'thread.rb' as an embedded library.

	  Now, ext/thread/thread.c is empty, only for a dummy for
	  compatibility.

	* thread.c: move a definition of Mutex class to thread_tools.c.

	  And define Mutex class under Thread (so now Mutex is Thread::Mutex).
	  Because other thread related classes are also defined under Thread.
	  We remain ::Mutex as Thread::Mutex. Only an inspect result is changed.

	* common.mk: add dependency from thread.o to thread_tools.c.

Sat Aug 22 05:31:37 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_opts.h, iseq.c, iseq.h: add compile option to force frozen
	  string literals.
	  [Feature #11473]

	  This addition is not specification change, but to try frozen
	  string literal world discussed on [Feature #11473].

	  You can try frozen string literal world using this magical line:

	    RubyVM::InstructionSequence.compile_option =
	      {frozen_string_literal: true}

	  Note that this is a global compilation option, so that you need to
	  compile another script like that:

	    p 'foo'.frozen? #=> false
	    RubyVM::InstructionSequence.compile_option =
	      {frozen_string_literal: true}
	    p 'foo'.frozen? #=> false, because this line is already compiled.
	    p eval("'foo'.frozen?") #=> true

	  Details:
	    * String literals are deduped by rb_fstring().
	    * Dynamic string literals ("...#{xyz}...") is now only frozen,
	      not deduped. Maybe you have other ideas.

	  Now, please do not use this option on your productions :)
	  Of course, current specification can be changed.

	* compile.c: ditto.

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

Sat Aug 22 02:53:12 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/psych/*: update to Psych 2.0.14

	* test/psych/*: ditto

Fri Aug 21 19:58:48 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols.
	  [Feature #11158]

	* symbol.c (rb_sym_immortal_count): added to count immortal symbols.

	* symbol.h: ditto.

	* test/objspace/test_objspace.rb: add a test for this method.

	* NEWS: describe about this method.

Fri Aug 21 19:48:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/Makefile.sub ($(LIBRUBY_SO)): needs additional libraries
	  for extension libraries to link statically.
	  [ruby-core:70499] [Feature #9018]

Fri Aug 21 18:49:22 2015  Koichi Sasada  <ko1@atdot.net>

	* include/ruby/ruby.h, cont.c, vm_trace.c: add a new event
	  fiber_switch. We need more discussion about this feature
	  so that I don't write it on NEWS.
	  [Feature #11348]

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

Fri Aug 21 17:32:42 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.

Fri Aug 21 06:35:50 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]

Thu Aug 20 22:19:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_method.c (basic_obj_respond_to): call respond_to_missing?
	  only when redefined.  [ruby-core:70460] [Bug #11465]

Thu Aug 20 14:13:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (check_funcall_respond_to): share the behavior with
	  rb_obj_respond_to.  [ruby-core:70460] [Bug #11465]

	* vm_method.c (vm_respond_to): extract from rb_obj_respond_to and
	  merge r39881.

Thu Aug 20 08:53:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_method.c (rb_obj_respond_to): reuse found method entry
	  instead of searching same entry repeatedly.

Thu Aug 20 08:31:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (replace_real_basename), win32/win32.c (opendir_internal):
	  check reparse point tags and treat supported tags only as
	  symbolic links.  [ruby-core:70454] [Bug #11462]

Wed Aug 19 23:59:28 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): add OP_ALL to
	  existing options rather than just setting it.  Some vendors apply
	  custom patches to their versions of OpenSSL that set default values
	  for options.  This commit respects the custom patches they've
	  applied.

	* test/openssl/test_ssl.rb (class OpenSSL): check that OP_ALL has been
	  added to the options.

Wed Aug 19 23:55:29 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (rb_f_spawn): [DOC] elaborate environment variable
	  values.  [ruby-core:70456] [Bug #11463]

Wed Aug 19 23:48:06 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (winnt_lstat): check reparse point tags and treat
	  supported tags only as symbolic links.
	  [ruby-core:70454] [Bug #11462]

Tue Aug 18 20:05:49 2015  NARUSE, Yui  <naruse@ruby-lang.org>

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

Tue Aug 18 17:19:21 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 Aug 18 16:16:21 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (RClass): define only in C, `__attribute__`
	  between `struct` and the name can't compile with g++.
	  [ruby-core:70297] [Bug #11426]

Mon Aug 17 20:56:36 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 Aug 17 11:57:36 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 Aug 16 17:33:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* gems/bundled_gems: update latest version of bundled gems.
	  It includes minitest-5.8.0 and test-unit 3.1.3.

Sun Aug 16 17:24:10 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* gc.c (gc_mark_children): check if RCLASS_EXT is valid
	  before marking. This fixes the following test failure
	  introduced in r51126:

	    make test-all TESTOPTS='--gc-stress ruby/test_refinement.rb'

Sat Aug 15 10:51:08 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]

Sat Aug 15 10:15:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

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

Sat Aug 15 04:33:39 2015  Eric Wong  <e@80x24.org>

	* hash.c (any_hash): skip rb_objid_hash for static syms
	  (rb_num_hash_start): extract from rb_ident_hash
	  (rb_objid_hash): call rb_num_hash_start
	  (rb_ident_hash): ditto
	  [ruby-core:70181] [Feature #11405]

Sat Aug 15 04:16:13 2015  Eric Wong  <e@80x24.org>

	* iseq.c (rb_iseq_mark): reduce NULL checks

Fri Aug 14 18:50:57 2015  Eric Wong  <e@80x24.org>

	* method.h (METHOD_ENTRY_VISI_SET): cast visi to int
	  (METHOD_ENTRY_FLAGS_SET): ditto

Fri Aug 14 18:43:11 2015  Eric Wong  <e@80x24.org>

	* process.c (close_unless_reserved): add extra check
	  (dup2_with_divert): remove
	  (redirect_dup2): use dup2 without divert
	  (before_exec_non_async_signal_safe): adjust call + comment
	  (rb_f_exec): stop timer thread for all OSes
	  (rb_exec_without_timer_thread): remove
	* eval.c (ruby_cleanup): adjust call
	* thread.c (rb_thread_stop_timer_thread): always close pipes
	* thread_pthread.c (struct timer_thread_pipe): add writing field,
	  mark owner_process volatile for signal handlers
	  (rb_thread_wakeup_timer_thread_fd): check valid FD
	  (rb_thread_wakeup_timer_thread): set writing flag to prevent close
	  (rb_thread_wakeup_timer_thread_low): ditto
	  (CLOSE_INVALIDATE): new macro
	  (close_invalidate): new function
	  (close_communication_pipe): removed
	  (setup_communication_pipe_internal): make errors non-fatal
	  (setup_communication_pipe): ditto
	  (thread_timer): close reading ends inside timer thread
	  (rb_thread_create_timer_thread): make errors non-fatal
	  (native_stop_timer_thread): close write ends only, always,
	   wait for signal handlers to finish
	  (rb_divert_reserved_fd): remove
	* thread_win32.c (native_stop_timer_thread): adjust (untested)
	  (rb_divert_reserved_fd): remove
	* vm_core.h: adjust prototype
	  [ruby-core:70386] [Bug #11336]

Fri Aug 14 18:40:43 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]

Thu Aug 13 22:49:42 2015  Juanito Fatas  <katehuang0320@gmail.com>

	* lib/timeout.rb (Timeout#timeout): freeze a string message to
	  reduce string allocations.  [Fix GH-996]

Thu Aug 13 17:42:34 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h (rb_call_info_kw_arg_bytes): move the definition
	  to iseq.h because this function is shared with iseq.c and compile.c.

Thu Aug 13 14:36:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (rb_num_to_dbl): move from num2dbl_with_to_f in math.c.

Thu Aug 13 09:01:25 2015  Eric Wong  <e@80x24.org>

	* load.c (features_index_add): avoid repeat calculation

Wed Aug 12 21:57:31 2015  Koichi Sasada  <ko1@atdot.net>

	* id_table.c: IMPL() macro accept op as _opname instead of opname
	  because jemalloc seems to replace the word `free' to `je_free'.

Wed Aug 12 21:51:11 2015  Koichi Sasada  <ko1@atdot.net>

	* id_table.c (mix_id_table_insert): fix memory leak.

Wed Aug 12 21:17:38 2015  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_memsize): reimplement for wrapper
	  (param_keyword_size): extracted from iseq_memsize
	  (iseqw_mark): new mark function
	  (iseqw_data_type): new data type
	  (iseqw_new): wrap as iseqw_data_type
	  (iseqw_check): adjust for wrapper
	  (Init_ISeq): remove iseqw_iseq_key initialization
	* test/objspace/test_objspace.rb: new test
	  [ruby-core:70344] [Feature #11435]

Wed Aug 12 21:15:27 2015  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_call_info_kw_arg_bytes): extract from compile.c
	* compile.c (iseq_build_callinfo_from_hash): use above function

Wed Aug 12 18:00:17 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (move_refined_method): same as the last commit.

Wed Aug 12 17:57:53 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c, gc.c vm.c: use ID_TABLE_* instead of ST_*
	  (such as ST_CONTINUE) for enum rb_id_table_iterator_result.

Wed Aug 12 17:05:36 2015  Koichi Sasada  <ko1@atdot.net>

	* id_table.h: introduce ID key table.
	  [Feature #11420]

	  This table only manage ID->VALUE table to reduce overhead of st.

	  Some functions prefixed rb_id_table_* are provided.

	* id_table.c: implement rb_id_table_*.

	  There are several algorithms to implement it.

	  Now, there are roughly 4 types:

	    * st
	    * array
	    * hash (implemented by  Yura Sokolov)
	    * mix of array and hash

	  The macro ID_TABLE_IMPL can choose implementation.
	  You can see detailes about them at the head of id_table.c.

	  At the default, I choose 34 (mix of list and hash).
	  This is not final decision.
	  Please report your suitable parameters or
	  your data structure.

	  * symbol.c: introduce rb_id_serial_t and rb_id_to_serial()
	    to represent ID by serial number.

	  * internal.h: use id_table for method tables.

	  * class.c, gc.c, marshal.c, vm.c, vm_method.c: ditto.

Wed Aug 12 05:19:11 2015  Eric Wong  <e@80x24.org>

	* parse.y (rb_parser_compile_cstr): remove volatile arg
	  (rb_parser_compile_string): ditto
	  (rb_parser_compile_file): ditto
	  (rb_parser_compile_string_path): ditto
	  (rb_parser_compile_file_path): ditto
	  [ruby-core:70323] [Misc #11431]

Tue Aug 11 22:59:57 2015  Tanaka Akira  <akr@fsij.org>

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

Tue Aug 11 15:22:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (ALLOCV_N): check integer overflow, as well
	  as ruby_xmalloc2.  pointed out by Paul <pawlkt AT gmail.com>.

Tue Aug 11 14:57:09 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 12:13:20 2015  Jeremy Evans  <merch-redmine@jeremyevans.net>

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

Tue Aug 11 11:54:13 2015  Alexey Lipnyagov  <liptonshmidt@gmail.com>

	* string.c: Fix documentation for String#slice
	  [ruby-core:70298][Bug #11427]

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

	* parse.y (superclass): make superclass rule optional and allow
	  any contents without a terminator.  [EXPERIMENTAL]

Tue Aug 11 10:58:42 2015  Juanito Fatas  <juanitofatas@gmail.com>

	* string.c: [DOC] Make #end_with? example doc symmetry
	  with #start_with? [fix GH-992][ci skip]

Tue Aug 11 10:51:19 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/ruby/test_array.rb: Add test for `Array#flatten` with level 1
	  [fix GH-986] Patch @yui-knk

Tue Aug 11 10:48:16 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* enum.c: added doc for Enumerable#zip
	  [fix GH-985] Patch by @yui-knk
	* test/ruby/test_enum.rb: added tests for Enumerable#zip
	  [fix GH-985] Patch @yui-knk

Tue Aug 11 10:33:26 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* vm_method.c: typo fix [fix GH-993][ci skip] Patch by @0x0dea
	* test/ruby/test_refinement.rb: ditto.

Sun Aug  9 14:15:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm.c (Init_vm_objects, rb_vm_fstring_table): use frozen_strings
	  table in rb_vm_t.  [ruby-core:70274] [Bug #11423]

Sat Aug  8 03:59:51 2015  Zachary Scott  <zzak@ruby-lang.org>

	* object.c: [DOC] Improve grammar for Module#===
	  Patch by @SkyBirdSoar in documenting-ruby/ruby#52:
	  https://github.com/documenting-ruby/ruby/pull/52

Sat Aug  8 03:39:33 2015  Zachary Scott  <zzak@ruby-lang.org>

	* hash.c: [DOC] Improve description of symbol key syntax
	  Patch by Raphael Das Gupta in documenting-ruby/ruby#51:
	  https://github.com/documenting-ruby/ruby/pull/51

Fri Aug  7 21:04:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_params): turn in_def and in_single into bit
	  flags and reduce the size by 2-words.

	* parse.y (parser_params): remove redundant prefixes.

	* parse.y (yylex): non-pure parser has not been supported since
	  merger of ripper.  change argument types from void pointers.

Fri Aug  7 17:07:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (method_super_method): uncallable method entry does not
	  have the defined class, use the owner instead.
	  [ruby-core:70254] [Bug #11419]

	* test/ruby/test_method.rb (test_super_method_unbound): add test
	  by Akira Matsuda.

Thu Aug  6 10:49:57 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* node.c (rb_alloc_tmp_buffer): round up the size and check the
	  range.

	* ruby_atomic.h (ATOMIC_VALUE_EXCHANGE, ATOMIC_VALUE_CAS): add
	  atomic operations for VALUE.

Thu Aug  6 08:15:49 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move
	  SSLSocket#sysclose to Ruby.

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

Thu Aug  6 07:57:21 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move nonblock
	  enable to SSLSocket#initialize and remove Nonblock module.

Thu Aug  6 07:53:47 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move
	  OpenSSL::SSL::SSLSocket#initialize to Ruby.

	* ext/openssl/ossl_ssl.c: ditto

Thu Aug  6 02:25:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* node.c (rb_alloc_tmp_buffer): use NODE_ALLOCA to mark locations
	  like as builtin alloca.  [ruby-core:70251] [Bug #11418]

Wed Aug  5 14:37:55 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]

Tue Aug  4 16:53:43 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): extract callback
	  lookup to private Ruby methods. This means we can keep the default
	  DH callback logic hidden from consumers.  Also, since the SSLSocket
	  always has a context, we can remove conditionals about that
	  instance.

	* ext/openssl/ossl_ssl.c: move callback lookup methods to private Ruby
	  methods.

Tue Aug  4 16:40:26 2015  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_module.rb: should not expect a method table ordering.
	  [Feature #11414]

Tue Aug 04 15:30:04 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c (rb_block_clear_env_self): clear by Qfalse instead of Qnil.
	  [Bug #11409]

	* test/ruby/test_eval.rb: add tests for this issue,
	  written by @0x0dea.
	  https://github.com/ruby/ruby/pull/988

Tue Aug  4 12:12:14 2015  Eric Wong  <e@80x24.org>

	* variable.c: wrap long lines

Tue Aug  4 09:32:30 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* proc.c: Removing duplicate doc [fix GH-987][ci skip]
	  Patch by @ronakjangir47

Tue Aug  4 09:21:58 2015  Richard Schneeman  <richard.schneeman+foo@gmail.com>

	* doc/contributing.rdoc: fixed wrong instructions with OS X
	  [fix GH-989][ci skip] Patch by @schneems

Mon Aug  3 10:08:33 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  2 07:01:17 2015  Eric Wong  <e@80x24.org>

	* ext/openssl/lib/openssl/buffering.rb (gets):
	  avoid comparing fixnum with nil
	* test/openssl/test_pair.rb: test gets with limit when EOF is hit
	  Thanks to Bar Hofesh <bar.hofesh@safe-t.com> for the bug report
	  and testing.
	  [ruby-core:70149] [Bug #11400]

Sat Aug  1 17:13:15 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.

Sat Aug  1 17:05:18 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]

Sat Aug  1 09:09:46 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): Implement
	  SSLContext#options and options= using SSL_CTX_set_options and
	  SSL_CTX_get_options. This reduces the number of ivars we need and
	  simplifies `ossl_sslctx_setup`.

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): Default `options`
	  to SSL_OP_ALL

Sat Aug  1 06:54:36 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (Init_ossl_ssl): OpenSSL declares these
	  constants as longs, so we should follow that and use LONG2NUM.
	  http://git.io/vOqxD

Sat Aug  1 04:06:29 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback): change callback
	  to return the Ruby dh (or ecdh) object that the caller cares about
	  instead of doing rb_iv_get / set to communicate.  This means we can
	  remove an rb_iv_get call, and only use the set calls for their
	  intended purpose (to prevent the object from being GC'd).

	* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): ditto
	* ext/openssl/ossl_ssl.c (ossl_call_tmp_ecdh_callback): ditto
	* ext/openssl/ossl_ssl.c (ossl_tmp_ecdh_callback): ditto

Sat Aug  1 03:49:31 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback): Similarly to the
	  tmp_ecdh_callback, the SSLSocket instance always holds a reference
	  to the SSLContext object (it's always set in `initialize`).  The
	  SSLContext holds a reference to the tmp_dh_callback.  Ask the
	  context for the callback instead of storing the callback in two
	  places.

Sat Aug  1 03:43:10 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback): create an array
	  and use `rb_apply` to clean up calls to `rb_protect`.

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

Sat Aug  1 03:27:12 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_call_tmp_ecdh_callback): The SSL socket
	  always holds a reference to the SSLContext object, which will have
	  the callback object.  Ask the context for the callback instead of
	  storing the callback in two places.

Sat Aug  1 03:14:07 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): convert
	  `tmp_dh_callback` to Ruby, and call it when setting up an SSL
	  connection.  This allows us to move the "default" behavior to the
	  reader method.

	* ext/openssl/ossl_ssl.c: call the tmp_dh_callback instead of
	  accessing the SSLContext's internals.

Fri Jul 31 23:34:27 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!

Fri Jul 31 21:34:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* load.c (rb_require_internal): use rb_load_internal0 not to raise
	  a exception to be caught.

Thu Jul 30 13:19:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_const_get_0): warn deprecated constant reference.

	* variable.c (rb_mod_deprecate_constant): mark constants to be
	  warned as deprecated.  [Feature #11398]

Thu Jul 30 11:53:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_thread_s_handle_interrupt): make identity hash, to
	  compare masking classes just by their IDs.

Thu Jul 30 11:52:55 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 Jul 30 10:42:27 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 Jul 30 08:48:42 2015  Eric Wong  <e@80x24.org>

	* st.c (find_entry): constify st_table*
	  (find_packed_index_from): ditto
	  (find_packed_index): ditto
	  (get_keys): ditto
	  (get_values): ditto

Thu Jul 30 04:29:25 2015  Eric Wong  <e@80x24.org>

	* benchmark/bm_hash_aref_dsym.rb: new benchmark
	* benchmark/bm_hash_aref_dsym_long.rb: ditto
	* benchmark/bm_hash_aref_fix.rb: ditto

Wed Jul 29 21:38:41 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (any_hash), symbol.c (dsymbol_alloc): fix dynamic symbol
	  hash value by restricting in Fixnum range, that is `long`.

Wed Jul 29 17:25:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_obj_hash): move in order to share with rb_any_hash.

Wed Jul 29 16:00:22 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (str_buf_cat): consider empty non-embed string case,
	  not to loop infinitely.  [ruby-core:70074] [Bug #11383]

Wed Jul 29 15:25:19 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]

Wed Jul 29 14:54:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_sym_hash): return same value as rb_any_hash() of
	  Symbol.  [Bug #9381]

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

Wed Jul 29 11:07:10 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* internal.h (LIKELY, UNLIKELY): make a boolean to enforce 1 or 0.

Wed Jul 29 10:44:43 2015  Alex Dowad  <alexinbeijing@gmail.com>

	* gc.c: document argument passed to finalizer proc.
	  [fix GH-976][ci skip] Patch by @alexdowad

Wed Jul 29 10:36:58 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* io.c (rb_io_extract_modeenc): add option parameter `flags'
	  to append extra oflags to normal mode.
	  [Feature #11253] [ruby-core:69539]

Wed Jul 29 04:54:47 2015  Eric Wong  <e@80x24.org>

	* test/rubygems/test_gem_remote_fetcher.rb: pre-generate test key
	  [ruby-core:70151] [Bug #11397]

Tue Jul 28 10:32:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* internal.h (struct RClass): moved from ruby/ruby.h to hide the
	  internals.

Tue Jul 28 08:48:29 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_TYPE_ATTRIBUTE): attribute declaration for
	  types.

Tue Jul 28 07:23:03 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]

Tue Jul 28 03:26:15 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

Mon Jul 27 13:24:11 2015  Koichi Sasada  <ko1@atdot.net>

	* template/id.h.tmpl (ID2ATTRSET): remove an unused macro.

Mon Jul 27 12:21:15 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/openssl/test_ssl.rb: run tests on non-Unix platforms.

Sun Jul 26 19:21:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_alpn_protocol): fix condition
	  to compile, needs ALPN to be available.  [Feature #9390]

Sun Jul 26 11:29:01 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (default_handler, Init_signal): discard SIGSYS, ENOSYS
	  should raise a SystemCallError always instead.

Sun Jul 26 10:26:35 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c (ossl_call_servername_cb): set the ssl context
	  object returned by the servername callback on to the socket as an
	  instance variable.  If the callback allocated a new context object
	  and didn't keep a reference to it, it could be GC'd out from under
	  the socket object.

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

Sun Jul 26 10:07:26 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* test/openssl/test_ssl.rb (class OpenSSL): add test coverage around
	  OpenSSL::SSL::SSLContext#servername_cb

Sun Jul 26 09:10:32 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* gems/bundled_gems: update latest version of bundled power_assert.

Sun Jul 26 08:49:28 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/rubygems/test_gem_remote_fetcher.rb: backport rubygems upstream
	  change for OpenSSL key length. see detail to
	  https://github.com/rubygems/rubygems/pull/1290

Sun Jul 26 08:33:03 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and
	  DEFAULT_1024 constants in Ruby.

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): Ask PKey for the
	  default DH callback since it already must check whether openssl has
	  been compiled with DH support.

	* ext/openssl/ossl_pkey_dh.c (OSSL_PKEY_BN): Remove C definitions of
	  DEFAULT_512 and DEFAULT_1024

	* ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): ditto

	* test/openssl/test_pkey_dh.rb (class OpenSSL): add test to ensure the
	  Ruby definitions are the same as the C definitions were.

Sun Jul 26 08:14:59 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): support
	  specifically setting the tmp_dh_callback to nil.

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

	* test/openssl/test_pair.rb (module OpenSSL): add a test

Sun Jul 26 07:47:14 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move the default
	  tmp_dh_callback Ruby code and set it as a default in `initialize`.

	* ext/openssl/ossl_pkey_dh.c (static unsigned char DEFAULT_DH_512_GEN):
	  move this constant to Ruby.

	* ext/openssl/ossl_pkey_dh.c (static unsigned char DEFAULT_DH_1024_GEN):
	  ditto

	* ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): ditto

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

	* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): tmp_dh_callback should
	  always be set, so we can remove this conditional

Sun Jul 26 06:22:24 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* test/openssl/test_pair.rb: add a test ensuring that the default DH
	  callback is used when no DH callback is specified.

Sun Jul 26 04:08:27 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): add missing
	  instance variables to squash warnings with alpn.

Sun Jul 26 03:42:19 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move
	  OpenSSL::SSL::SSLContext#initialize implementation to pure Ruby.

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

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

Sat Jul 25 21:03:45 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* random.c (fill_random_bytes_syscall): get rid of blocking when
	  no entropy is available.  based on the patch by mame in
	  [ruby-core:70114].  [Bug #11395]

Sat Jul 25 11:05:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (str_replace_shared_without_enc): fill the terminator
	  of embedded strings in wide char encodings.

Sat Jul 25 06:38:36 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: size should be unsigned.
	  * rb_call_info_t::index
	  * rb_iseq_constant_body::stack_max
	  * rb_iseq_constant_body::local_size
	  * rb_iseq_constant_body::param::size
	  * rb_iseq_constant_body::local_table_size
	  * rb_iseq_constant_body::is_size
	  * rb_iseq_constant_body::callinfo_size

	* iseq.h: same for iseq_catch_table::size.

	* compile.c: catch up these fix.

	* iseq.c: ditto.

	* proc.c: ditto.

	* vm.c: ditto.

	* vm_args.c: ditto.

	* vm_eval.c: ditto.

	* vm_insnhelper.c: ditto.

Sat Jul 25 06:00:09 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_constant_body::line_info_table.

	* iseq.c: catch up this fix.

Sat Jul 25 05:56:43 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_constant_body::param::opt_table and
	  rb_iseq_constant_body::param::keyword.

	* compile.c: catch up this fix.

Sat Jul 25 04:47:01 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_constant_body::catch_table.

	* compile.c (iseq_set_exception_table): catch up this fix.

	* iseq.c: ditto.

	* vm.c (vm_exec): ditto.

Fri Jul 24 21:29:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* st.c (EQUAL, st_delete_safe): fix arguments order to compare
	  function, searching key is the first and stored key is the
	  second always.

Fri Jul 24 21:27:29 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (fstr_update_callback): fstring must not be a shared
	  string, or the content without RSTRING_FSTR may be freed.
	  [ruby-dev:49188] [Bug #11386]

Fri Jul 24 20:09:43 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/rinda/test_rinda.rb (RingIPv6#prepare_ipv6): prevent to use
	  IPv6 loopback interface for
	  Rinda::TestRingFinger#test_make_socket_ipv6_multicast and
	  Rinda::TestRingFinger#test_make_socket_ipv6_multicast_hops.
	  The tests are skipped if there are no IPv6 devices other than the
	  loopback device. [Bug #11394] [ruby-dev:49199]

	* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast): ditto
	  for Rinda::TestRingServer#test_make_socket_ipv6_multicast.

	* test/rinda/test_rinda.rb (test_ring_server_ipv6_multicast): ditto
	  for Rinda::TestRingServer#test_ring_server_ipv6_multicast.

Fri Jul 24 16:35:55 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (fstr_update_callback): pool bare strings only.

	* string.c (rb_fstring): return the original string with sharing a
	  fstring if it has extra attributes, not the fstring itself.
	  [ruby-dev:49188] [Bug #11386]

Fri Jul 24 16:35:34 2015  yui-knk  <spiketeika@gmail.com>

	* file.c (rb_file_s_extname): [DOC] add an example.

	* test/ruby/test_path.rb (test_extname): add tests.  [Fix GH-978]
	  * path starts with dot ('.a.rb')
	  * path includes dir name ('a/b/d/test.rb')
	  * path includes dir name and dir name starts with dot
	    ('.a/b/d/test.rb')

Thu Jul 23 18:50:43 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_constant_body::local_table and
	  rb_iseq_param_keyword::table and
	  rb_iseq_param_keyword::default_values.

	* compile.c: catch up this fix.

	* iseq.c: ditto.

Thu Jul 23 17:30:43 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_constant_body::iseq_encoded and
	  rb_control_frame_t::pc.

	* compile.c (rb_iseq_translate_threaded_code): catch up this fix.

	* iseq.c: ditto.

	* vm_exec.c (vm_exec_core): ditto.

Thu Jul 23 10:25:46 2015  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.

Thu Jul 23 09:05:28 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

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

Thu Jul 23 04:03:03 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c: fix tests by not setting the instance
	  variable on the frozen ssl instance.

Thu Jul 23 03:32:26 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c: add ECDH callback support. [Feature #11356]

	* test/openssl/test_pair.rb: test for ECDH callback support

Thu Jul 23 03:29:49 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* ext/openssl/ossl_ssl.c: add ALPN support. [Feature #9390]

	* ext/openssl/extconf.rb: detect ALPN support in OpenSSL

	* test/openssl/test_ssl.rb: test for ALPN

Wed Jul 22 23:44:17 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]

Wed Jul 22 20:17:51 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: modify layout of rb_iseq_constant_body.

	  Move frequent accessing fields to upper part.

Wed Jul 22 19:57:47 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove unused declaration of
	  iseq_compile_data_ensure_node_stack.

Wed Jul 22 19:52:45 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: separate rb_iseq_body into rb_iseq_constant_body and
	  rb_iseq_variable_body (rb_iseq_t::variable_body).

	  rb_iseq_variable_body can be modified after compilation.

	* compile.c: use rb_iseq_t::variable_body.

	* iseq.c: ditto.

	* thread.c: ditto.

Wed Jul 22 17:50:35 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/matrix/eigenvalue_decomposition.rb: refine code style.
	  [fix GH-959][ci skip] Patch by @bogdanvlviv

Wed Jul 22 15:48:47 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/ruby/test_range.rb: Add test case for Range#end with
	  exclude_end true case. [fix GH-968] Patch by @yui-knk

Wed Jul 22 09:45:31 2015  Maksim Sitnikov  <sitnikovme@undev.ru>

	* numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce,
	  missing '+'.  [Fix GH-974]

Wed Jul 22 07:24:18 2015  Koichi Sasada  <ko1@atdot.net>

	* make rb_iseq_t T_IMEMO object (type is imemo_iseq).

	  All contents of previous rb_iseq_t is in rb_iseq_t::body.
	  Remove rb_iseq_t::self because rb_iseq_t is an object.

	  RubyVM::InstructionSequence is wrapper object points T_IMEMO/iseq.
	  So RubyVM::ISeq.of(something) method returns different wrapper
	  objects but they point the same T_IMEMO/iseq object.

	  This patch is big, but most of difference is replacement of
	  iseq->xxx to iseq->body->xxx.

	  (previous) rb_iseq_t::compile_data is also located to
	  rb_iseq_t::compile_data.
	  It was moved from rb_iseq_body::compile_data.

	  Now rb_iseq_t has empty two pointers.
	  I will split rb_iseq_body data into static data and dynamic data.

	* compile.c: rename some functions/macros.
	  Now, we don't need to separate iseq and iseqval (only VALUE).

	* eval.c (ruby_exec_internal): `n' is rb_iseq_t (T_IMEMO/iseq).

	* ext/objspace/objspace.c (count_imemo_objects): count T_IMEMO/iseq.

	* gc.c: check T_IMEMO/iseq.

	* internal.h: add imemo_type::imemo_iseq.

	* iseq.c: define RubyVM::InstructionSequence as T_OBJECT.
	  Methods are implemented by functions named iseqw_....

	* load.c (rb_load_internal0): rb_iseq_new_top() returns
	  rb_iseq_t (T_IMEMO/iesq).

	* method.h (rb_add_method_iseq): accept rb_iseq_t (T_IMEMO/iseq).

	* vm_core.h (GetISeqPtr): removed because it is not T_DATA now.

	* vm_core.h (struct rb_iseq_body): remove padding for
	  [Bug #10037][ruby-core:63721].

Wed Jul 22 07:15:33 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c (total_i): no need to skip singleton classes.

Wed Jul 22 06:37:54 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_call_info_t::kw_arg,
	  rb_control_frame_t::iseq and rb_control_frame_t::block_iseq.

	* iseq.c (iseq_free): catch up this fix.

	* vm.c: ditto.

	* vm_dump.c: ditto.

Wed Jul 22 06:25:45 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_call_info_t::blockiseq and rb_block_t::iseq.

	* vm.c, vm_insnhelper.c: catch up this fix.

	* iseq.c (iseq_data_to_ary): constify the first iseq parameter.

	* vm_insnhelper.c (vm_make_proc_with_iseq): ditto.

Wed Jul 22 06:17:35 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: constify rb_method_iseq_t::iseqptr.

	* proc.c (rb_method_entry_min_max_arity): catch up this fix.

	* vm_insnhelper.c (def_iseq_ptr): constify.

Wed Jul 22 03:37:39 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (internal_object_p): Now a singleton classes appear by
	  ObjectSpace.each_object. [Bug #11360]

	* test/ruby/test_objectspace.rb: add a test about it.

Tue Jul 21 21:21:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (do_select): replace switch and goto with a loop to
	  suppress maybe-uninitialized warnings by gcc6.

	* thread.c (set_unblock_function, rb_wait_for_single_fd): ditto.

Tue Jul 21 20:32:33 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/ruby/test_range.rb: Add test for Range#hash
	  [fix GH-969] Patch by @yui-knk

Tue Jul 21 19:43:20 2015  Koichi Sasada  <ko1@atdot.net>

	* compile.c: constify the first parameter (iseq).
	  * iseq_add_mark_object()
	  * iseq_add_mark_object_compile_time()

	* iseq.c, iseq.h (rb_iseq_add_mark_object): ditto.

Tue Jul 21 16:18:48 2015  Eric Wong  <e@80x24.org>

	* test/socket/test_nonblock.rb: increase buffer sizes
	  to OpenBSD limits. Thanks to Jeremy Evans <code@jeremyevans.net>
	  [ruby-core:70058]

Tue Jul 21 16:08:53 2015  Eric Wong  <e@80x24.org>

	* load.c (ruby_dln_librefs): make static

Tue Jul 21 13:36:54 2015  yuuji.yaginuma  <yuuji.yaginuma@gmail.com>

	* lib/optparse.rb (complete): [DOC] fix typo.  [Fix GH-973]

Tue Jul 21 05:20:21 2015  Eric Wong  <e@80x24.org>

	* io.c (nogvl_wait_for_single_fd): new function for Linux
	  (maygvl_copy_stream_wait_read): Linux-specific version
	  (nogvl_copy_stream_wait_write): use nogvl_wait_for_single_fd
	  [ruby-core:70051] [Feature #11377]

Mon Jul 20 15:04:30 2015  Eric Wong  <e@80x24.org>

	* parse.y (parser_initialize): avoid redundant zero-ing

Mon Jul 20 12:12:05 2015  Eric Wong  <e@80x24.org>

	* parse.y (struct parser_params): pack: 88 => 256 bytes on 64-bit
	  [ruby-core:70034] [Feature #11371]

Sun Jul 19 14:29:18 2015  windwiny  <windwiny.ubt@gmail.com>

	* ext/pty/pty.c: [DOC] fix example typo, an old name at move from
	  PTY.open.  [Fix GH-972]

Sat Jul 18 21:29:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (vm_check_ints_blocking): gather common statements at
	  the end, and prefer LIKELY for Visual C optimization.

Sat Jul 18 20:44:56 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.

Sat Jul 18 19:52:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (run_finalizer): set and restore safe level here to reduce
	  nested EXEC_TAGs.

Sat Jul 18 18:45:22 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (ruby_cleanup): error_handle() returns exit status to the
	  system, not internal error state, do not convert the exit status
	  again.

Sat Jul 18 10:29:03 2015  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb: test thread+sigs work after failed exec

Sat Jul 18 07:20:18 2015  Jeremy Evans  <code@jeremyevans.net>

	* test/socket/test_nonblock: use smaller buffer for sendmsg
	  [ruby-core:70016] [Bug #11364]

Sat Jul 18 07:04:24 2015  Eric Wong  <e@80x24.org>

	* signal.c (trap_handler): cleanup to use RSTRING_GETMEM + memcmp

Sat Jul 18 02:53:06 2015  Eric Wong  <e@80x24.org>

	* io.c (argf_read_nonblock): support `exception: false'
	  (io_nonblock_eof): new function
	  (io_read_nonblock): use io_nonblock_eof
	  (argf_getpartial): accept kwargs hash for `exception: false'
	* test/ruby/test_argf.rb (test_read_nonblock): new test
	* NEWS: add item for ARGF.read_nonblock
	  [ruby-core:70000] [Feature #11358]

Fri Jul 17 23:51:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (rb_eval_cmd): $SAFE=4 has been deprecated.

Fri Jul 17 22:18:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_compile_each): use enum ruby_tag_type names.

	* vm_core.h (ruby_tag_type): move from eval_intern.h for compiling
	  break/next/redo/return.

Fri Jul 17 15:39:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/encoding.h (ENC_CODERANGE_CLEAN_P): predicate that
	  tells if the coderange is clean, that is 7bit or valid, and no
	  needs to scrub.

	* re.c (rb_reg_expr_str): use ENC_CODERANGE_CLEAN_P.

	* string.c (enc_strlen, rb_enc_cr_str_buf_cat, rb_str_scrub):
	  ditto.

	* string.c (rb_str_enumerate_chars): ditto, and suppress a warning
	  by gcc6.

Fri Jul 17 15:36:52 2015  yui-knk  <spiketeika@gmail.com>

	* test/ruby/test_range.rb (test_first_last): Add test for
	  `Range.new`.  [Fix GH-971]

Fri Jul 17 15:36:40 2015  yui-knk  <spiketeika@gmail.com>

	* test/ruby/test_range.rb (test_first_last): Add assertions to
	  test of `Range#last` with exclude_end true case.  [Fix GH-970]

Fri Jul 17 09:59:14 2015  Eric Wong  <e@80x24.org>

	* thread.c (rb_thread_alone): simplify

Fri Jul 17 09:58:32 2015  Eric Wong  <e@80x24.org>

	* lib/rinda/tuplespace.rb: remove enumerator require
	* test/pathname/test_pathname.rb: ditto

Fri Jul 17 05:33:58 2015  Eric Wong  <e@80x24.org>

	* iseq.c (rb_iseq_compile_with_option): reuse result of previous
	  GET_THREAD() call
	* thread.c (thread_create_core): ditto
	  (rb_mutex_trylock): ditto
	  (rb_mutex_lock): ditto
	* process.c (rb_waitpid): avoid multiple eval from RUBY_VM_CHECK_INTS
	* thread.c (rb_thread_check_ints): ditto

Thu Jul 16 19:12:30 2015  Eric Wong  <e@80x24.org>

	* thread.c (mutex_alloc): remove needless volatile

Thu Jul 16 22:05:29 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: constify rb_iseq_t::parent_iseq.

	  rb_iseq_t::local_iseq is not constant data because
	  local_iseq::flip_cnt can be modified (commented).

	* compile.c: catch up this fix.

	* iseq.c: ditto.

	* vm_insnhelper.c: ditto.

Thu Jul 16 21:47:47 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* process.c (redirect_dup2): when the new FD of dup2() conflicts
	  with one of the timer thread FDs, the internal FD is diverted.
	  [Bug #11336] [ruby-core:69886] [Bug #11350] [ruby-core:69961]

	* process.c (dup2_with_divert): new function for the above purpose.

	* thread_pthread.c (rb_divert_reserved_fd): new function for
	  diverting reserved FD. If the given FD is the same as one of the
	  reserved FDs, the reserved FD number is internally changed.
	  It returns -1 when error. Otherwise, returns 0. It also returns
	  0 if there is no need to change reserved FD number.

	* thread_win32.c (rb_divert_reserved_fd): always returns 0 because
	  of no reserved FDs.

	* internal.h (rb_divert_reserved_fd): prototype declaration.
	  It is Ruby internal use only.

Thu Jul 16 21:47:46 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (rb_iseq_disasm): rename rb_iseq_t *iseqdat to iseq
	  and VALUE *iseq to code.

	* iseq.c (rb_iseq_disasm_insn): ditto.

Thu Jul 16 14:34:24 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

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

Thu Jul 16 11:38:21 2015  Eric Wong  <e@80x24.org>

	* process.c (close_unless_reserved): declare type of `fd' arg

Thu Jul 16 08:47:29 2015  Eric Wong  <e@80x24.org>

	* load.c (rb_construct_expanded_load_path): fstring expanded path
	  (get_loaded_features_index): fstring feature path
	  (rb_provide_feature): ditto
	  [ruby-core:69871] [Feature #11331]

Thu Jul 16 02:56:14 2015  Eric Wong  <e@80x24.org>

	* thread.c (thread_initialize): avoid RSTRING_PTR and NUMT2INT

Thu Jul 16 01:00:46 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/ruby/test_process.rb (test_exec_close_reserved_fd): test for
	  [Bug #11353]

Thu Jul 16 00:35:42 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* .gitignore: ignore version.i.

Wed Jul 15 23:40:32 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
	  use RUBY (= EnvUtil.rubybin)

Wed Jul 15 23:01:22 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* process.c (redirect_close, parent_redirect_close): should not close
	  reserved FD. It should be closed in the exec system call due to the
	  O_CLOEXEC or FD_CLOEXEC flag. [Bug #11353] [ruby-core:69977]

	* process.c (close_unless_reserved): new function to close FD unless
	  it is reserved for internal communication.

	* thread_pthread.c (rb_reserved_fd_p): should check owner_process pid
	  to avoid false positive in forked child process.

Wed Jul 15 18:31:18 2015  Eric Wong  <e@80x24.org>

	* proc.c (proc_mark): remove redundant check
	* vm.c (env_mark): ditto

Wed Jul 15 17:27:40 2015  Eric Wong  <e@80x24.org>

	* iseq.c (iseq_mark): remove check for data pointer
	* proc.c (binding_mark): ditto
	* vm.c (rb_thread_mark): ditto
	* vm_trace.c (tp_mark): ditto

Wed Jul 15 16:55:04 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* encoding.c (enc_autoload): drop dummy encoding flag from
	  the loaded encoding index.  this flag is used only in this
	  source.

Wed Jul 15 14:39:29 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c (vm_make_env_each): add comments about env layout.
	  Do not use `i' to specify `new_ep'.

	* vm.c (rb_proc_create, rb_vm_make_proc_lambda): envval is not used.

Wed Jul 15 08:59:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.h (RUBY_MARK_UNLESS_NULL): evaluate the argument only once
	  to get rid of inadvertent side effects.

Wed Jul 15 02:53:11 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h, vm.c: remove rb_proc_t::envval because we can know it via
	  rb_proc_t::block::ep.

	  rb_vm_proc_envval(const rb_proc_t *proc) returns an Env object which
	  the Proc object use.

	* proc.c: catch up this fix.

	* vm_dump.c (rb_vmdebug_proc_dump_raw): ditto.

Wed Jul 15 02:27:22 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h, vm.c: remove rb_env_t::prev_envval because we can know it
	  via env->ep.

	  rb_vm_env_prev_envval(env) returns prev_envval via env->ep.

	* vm_core.h (rb_vm_env_local_variables): change parameter type
	  from VALUE (T_DATA/env) to `const rb_env_t *' to make same as
	  rb_vm_env_prev_envval().

	* proc.c: catch up these changes.

	* vm_dump.c: ditto.

	* vm.c: rename macros.

	  * ENV_IN_HEAP_P() to VM_EP_IN_HEAP_P() because it uses ep.
	  * ENV_VAL() to VM_ENV_EP_ENVVAL() because it is too short.

Wed Jul 15 01:09:09 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c: refactoring Proc/Env related code.

	* vm_core.h: remove blockprocval field from rb_proc_t and rb_binding_t.
	  Instead of this field, mark given block in Proc at rb_env_t::env.

	* vm.c (vm_make_env_each): make an Env object with this layout.
	  And also simplify parameters.

	* proc.c: catch up this fix.

	* vm_core.h: remove rb_env_t::local_size because it is not used.

	* vm_dump.c (rb_vmdebug_env_dump_raw): catch up this fix.

	* vm_core.h (rb_vm_make_env_object): remove rb_vm_make_env_object()
	  because it is only referred from vm.c.

	* vm_eval.c (eval_string_with_cref): catch up this fix.

Wed Jul 15 00:03:36 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]

Wed Jul 15 00:00:00 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* random.c (fill_random_bytes_syscall): fix compile error with
	  clang. [ruby-core:69931] [Bug #11343]

Tue Jul 14 11:22:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#register):
	  notify the handler thread of new timeout registration.

	* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
	  make sleep intervals adaptive than fixed period intervals.

	* lib/webrick/server.rb (WEBrick::GenericServer#start): flush
	  shutdown pipe.

	* lib/webrick/server.rb (WEBrick::GenericServer#stop): request the
	  server to stop immediately by sending data via shutdown pipe.

Mon Jul 13 23:58:08 2015  Stefano Tortarolo  <stefano.tortarolo@gmail.com>

	* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT):
	  fix typos in debugger statements.  [Fix GH-967]

Mon Jul 13 19:11:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/timeout.rb (timeout): warn as deprecated for a long time.

Mon Jul 13 01:37:27 2015  Zachary Scott  <zzak@ruby-lang.org>

	* ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345]
	  Thanks to Tomoya Chiba for the report and help with patch.

Sun Jul 12 09:20:02 2015  Shota Fukumori  <her@sorah.jp>

	* ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN)

	* ext/socket/socket.c: ditto

	* ext/socket/tcpserver.c: ditto

	* ext/socket/udpsocket.c: ditto

	* ext/socket/unixserver.c: ditto

	* io.c: ditto

Sun Jul 12 06:42:23 2015  ksss  <co000ri@gmail.com>

	* test/stringio/test_stringio.rb (test_sysread): add a test for
	  StringIO#sysread.  [Fix GH-966]

Sat Jul 11 21:16:34 2015  ksss  <co000ri@gmail.com>

	* ext/stringio/stringio.c (Init_stringio): [DOC] Fix an example,
	  StringIO#puts should be set "\n" at last.  [Fix GH-965]

Sat Jul 11 12:45:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/timeout.rb (Timeout#timeout): remove regexp with wrong line
	  number and fix caller depth.

Fri Jul 10 22:05:50 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]

Fri Jul 10 17:41:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (is_case_sensitive): get attributes by the file descriptor
	  of open directory, instead of using mount point name.

Fri Jul 10 10:46:02 2015  ksss  <co000ri@gmail.com>

	* ext/stringio/stringio.c (writable): remove unnecessary check for
	  deprecated safe level 4.  [Fix GH-963]

Thu Jul  9 15:07:12 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]

Thu Jul  9 13:03:46 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().

Thu Jul  9 11:07:06 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_call_info_t::klass because
	  rb_callable_method_entry_t has information about defined class.

	* vm_insnhelper.c (vm_search_method): don't set ci->klass because
	  it is removed.

	* vm_insnhelper.c (rb_equal_opt): ditto.

	* vm_insnhelper.c (vm_search_superclass): removed because it is too
	  simple to write code directly.

	* vm_insnhelper.c (vm_defined): don't use vm_search_superclass().
	  This fix avoid searching current callable `me' twice.

	* vm_insnhelper.c (vm_search_super_method): ditto.

Thu Jul  9 10:03:10 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list.
	  [fix GH-961] Patch by @billinghamj

Thu Jul  9 09:34:14 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h (rb_control_frame_t): fix comments (layout index).

Thu Jul  9 09:25:50 2015  Zachary Scott  <e@zzak.io>

	* parse.y: Improve duplicate key warning with patch by @andremedeiros
	  [Fix GH-938] https://github.com/ruby/ruby/pull/938 [Bug #11327]

Wed Jul  8 07:43:01 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/csv.rb: typo fix [ci skip][fix GH-958] Patch by @henrik

Wed Jul  8 04:42:27 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]

Tue Jul  7 18:18:41 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* random.c (fill_random_bytes_syscall): fix compile error.

Tue Jul  7 16:47:30 2015  Eric Wong  <e@80x24.org>

	* compile.c (COMPILE_ERROR): reduce GET_THREAD() calls

Tue Jul  7 16:39:04 2015  Eric Wong  <e@80x24.org>

	* random.c (fill_random_bytes_syscall): return -1 for error
	* random.c (fill_random_bytes): try urandom on syscall failure

Tue Jul  7 15:02:18 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* file.c (rb_str_normalize_ospath): skip invalid byte sequence not
	  to loop infinitely.  this case usually does not happen as the
	  input name should come from real file systems.

Tue Jul  7 14:40:08 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_backtrace.c: remove debug flag introduced accidentally.

Tue Jul  7 12:05:37 2015  Koichi Sasada  <ko1@atdot.net>

	* cont.c (cont_free): remove mysterious fflush()
	  introduced at r19890, maybe accidentally.

Tue Jul  7 11:45:14 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c (rb_method_call): because data->me should be non-NULL,
	  do not check data->me

	* proc.c (method_inspect): ditto.

Tue Jul  7 11:37:25 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_iseq_t::orig because rb_iseq_clone()
	  no longer exists.

	* iseq.c: don't use rb_iseq_t::orig.

Tue Jul 07 11:25:57 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c, internal.h (rb_iseq_clone): removed because we don't need to
	  clone iseq any more.

	* class.c (clone_method): share iseq between cloned methods. All of
	  method dependent information are able to refer from method entry.

Tue Jul  7 04:42:25 2015  Eric Wong  <e@80x24.org>

	* string.c (Init_String): use rb_str_freeze for String#freeze
	  to resize internal buffer
	  [ruby-core:69870] [Feature #11330]

Tue Jul  7 04:12:32 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c (vm_define_method): remove an unused local variable.

Tue Jul  7 03:57:28 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_iseq_t::defined_method_id because it is not
	  needed.

	* eval.c (frame_func_id): simplify. rb_callable_method_entry_t
	  has enough information.

	* eval.c (frame_called_id): ditto.

	* iseq.c (prepare_iseq_build): catch up this fix.

	* proc.c (rb_mod_define_method): ditto.

	* vm.c (vm_define_method): ditto.

Tue Jul  7 03:47:26 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove a useless declaration.

Tue Jul  7 03:33:20 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: remove rb_iseq_t::klass to reduce dynamic data.

	* internal.h, iseq.c (rb_iseq_klass): remove it because
	  rb_iseq_t::klass is removed.

	* vm_insnhelper.c (vm_super_outside): do not see cfp->iseq, but
	  check callable method entry on a frame.
	  This fix simplify the logic to search super class.

	* test/ruby/test_method.rb: support super() from Proc.
	  Now, [Bug #4881] and [Bug #3136] was solved.

	* proc.c (rb_mod_define_method): catch up this change.

	* vm.c (vm_define_method): ditto.

	* vm_backtrace.c (rb_profile_frames): now, each `frame' objects
	  are rb_callable_method_entry_t data or iseq VALUEs.

	  This fix introduce minor compatibility issue that
	  rb_profile_frame_label() always returns
	  rb_profile_frame_base_label().

	* test/-ext-/debug/test_profile_frames.rb: catch up this change.

Tue Jul  7 01:52:14 2015  Koichi Sasada  <ko1@atdot.net>

	* cont.c (fiber_init): initialize control frame correctly.
	  This fix does not affect any ordinal execution, but
	  affects debug prints.

Mon Jul  6 17:59:05 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_search_super_method): do not skip calling
	  same methods in super.
	  [Bug #3351]

	* test/ruby/test_super.rb: fix a test.

Mon Jul  6 17:59:11 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/tk/tcltklib.c: removed deprecated safe level.

Mon Jul  6 17:16:37 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h, proc.c (rb_method_entry_location): make it static
	  and remove prefix `rb_' because it is used only in proc.c.

Mon Jul  6 16:42:10 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/lib/memory_status.rb: removed redundant path.

Mon Jul  6 01:18:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/lib/test/unit/parallel.rb: make @@project_dir one level
	  upper as this file had moved one level deeper.

Sun Jul  5 23:54:10 2015  mizokami  <suzunatsu@yahoo.com>

	* lib/optparse.rb: [DOC] Fix typo.

Sun Jul  5 18:25:37 2015  Eric Wong  <e@80x24.org>

	* gc.c (gc_profile_record_get): fix spelling error in keys

Sun Jul  5 14:49:01 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* README.md: fix a typo pointed out by raoulvdberge.
	  https://github.com/ruby/ruby/pull/953#commitcomment-11998186

Sun Jul  5 12:56:20 2015  Irvi Firqotul Aini  <viarc7@gmail.com>

	* README.md: Added link HowToReport bugs.

Sun Jul  5 10:51:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_sort_bang): the original array may not be
	  embedded even if a substitution array is embedded, as it is
	  embedded when the original array is short enough but not
	  embedded.  [ruby-dev:49166] [Bug #11332]

Sun Jul  5 09:31:40 2015  Eric Wong  <e@80x24.org>

	* test/ruby/test_process.rb: test for fd=3 usability in child

Sat Jul  4 19:43:31 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* Add test case for empty array and first method with args.
	  Patch by @yui-knk [fix GH-955]

Sat Jul  4 19:39:08 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* Add test for `Enumerable#sort` with block. Patch by @yui-knk
	  [fix GH-954]

Sat Jul  4 14:38:43 2015  Eric Wong  <e@80x24.org>

	* enum.c (zip_ary): remove volatile, use RB_GC_GUARD
	  (zip_i): ditto

Sat Jul  4 10:42:57 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rubygems/test_case.rb (teardown): do not delete features
	  loaded from the original load paths, the same libraries should
	  be loaded again when the same features are required.
	  [ruby-dev:49031] [Bug #11222]

Sat Jul  4 09:38:52 2015  Eric Wong  <e@80x24.org>

	* vm.c (rb_vm_mark): reduce branches for always-set VM fields
	  (rb_vm_add_root_module): ditto

Fri Jul 03 20:05:10 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: introduce rb_callable_method_entry_t to remove
	  rb_control_frame_t::klass.
	  [Bug #11278], [Bug #11279]

	  rb_method_entry_t data belong to modules/classes.
	  rb_method_entry_t::owner points defined module or class.

	    module M
	      def foo; end
	    end

	  In this case, owner is M.

	  rb_callable_method_entry_t data belong to only classes.
	  For modules, MRI creates corresponding T_ICLASS internally.
	  rb_callable_method_entry_t can also belong to T_ICLASS.

	  rb_callable_method_entry_t::defined_class points T_CLASS or
	  T_ICLASS.
	  rb_method_entry_t data for classes (not for modules) are also
	  rb_callable_method_entry_t data because it is completely same data.
	  In this case, rb_method_entry_t::owner == rb_method_entry_t::defined_class.

	  For example, there are classes C and D, and includes M,

	    class C; include M; end
	    class D; include M; end

	  then, two T_ICLASS objects for C's super class and D's super class
	  will be created.

	  When C.new.foo is called, then M#foo is searched and
	  rb_callable_method_t data is used by VM to invoke M#foo.

	  rb_method_entry_t data is only one for M#foo.
	  However, rb_callable_method_entry_t data are two (and can be more).
	  It is proportional to the number of including (and prepending)
	  classes (the number of T_ICLASS which point to the module).

	  Now, created rb_callable_method_entry_t are collected when
	  the original module M was modified. We can think it is a cache.

	  We need to select what kind of method entry data is needed.
	  To operate definition, then you need to use rb_method_entry_t.

	  You can access them by the following functions.

	  * rb_method_entry(VALUE klass, ID id);
	  * rb_method_entry_with_refinements(VALUE klass, ID id);
	  * rb_method_entry_without_refinements(VALUE klass, ID id);
	  * rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me);

	  To invoke methods, then you need to use rb_callable_method_entry_t
	  which you can get by the following APIs corresponding to the
	  above listed functions.

	  * rb_callable_method_entry(VALUE klass, ID id);
	  * rb_callable_method_entry_with_refinements(VALUE klass, ID id);
	  * rb_callable_method_entry_without_refinements(VALUE klass, ID id);
	  * rb_resolve_refined_method_callable(VALUE refinements, const rb_callable_method_entry_t *me);

	  VM pushes rb_callable_method_entry_t, so that rb_vm_frame_method_entry()
	  returns rb_callable_method_entry_t.
	  You can check a super class of current method by
	  rb_callable_method_entry_t::defined_class.

	* method.h: renamed from rb_method_entry_t::klass to
	  rb_method_entry_t::owner.

	* internal.h: add rb_classext_struct::callable_m_tbl to cache
	  rb_callable_method_entry_t data.

	  We need to consider about this field again because it is only
	  active for T_ICLASS.

	* class.c (method_entry_i): ditto.

	* class.c (rb_define_attr): rb_method_entry() does not takes
	  defined_class_ptr.

	* gc.c (mark_method_entry): mark RCLASS_CALLABLE_M_TBL() for T_ICLASS.

	* cont.c (fiber_init): rb_control_frame_t::klass is removed.

	* proc.c: fix `struct METHOD' data structure because
	  rb_callable_method_t has all information.

	* vm_core.h: remove several fields.
	  * rb_control_frame_t::klass.
	  * rb_block_t::klass.

	  And catch up changes.

	* eval.c: catch up changes.

	* gc.c: ditto.

	* insns.def: ditto.

	* vm.c: ditto.

	* vm_args.c: ditto.

	* vm_backtrace.c: ditto.

	* vm_dump.c: ditto.

	* vm_eval.c: ditto.

	* vm_insnhelper.c: ditto.

	* vm_method.c: ditto.

Fri Jul  3 14:30:18 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/file.c: some mingw compilers need a tweek for the
	  declarations of _wfreopen_s.  [Bug #11320]

Fri Jul  3 12:25:19 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 Jul  3 07:21:06 2015  Eric Wong  <e@80x24.org>

	* benchmark/bm_io_nonblock_noex.rb: new benchmark
	* ext/openssl/ossl_ssl.c (no_exception_p): new function
	  (ossl_start_ssl): adjust for no_exception_p
	  (ossl_ssl_connect): adjust ossl_start_ssl call
	  (ossl_ssl_connect_nonblock): ditto
	  (ossl_ssl_accept): ditto
	  (ossl_ssl_accept_nonblock): ditto
	  (ossl_ssl_read_internal): adjust for no_exception_p
	  (ossl_ssl_write_internal): ditto
	  (ossl_ssl_write): adjust ossl_write_internal call
	  (ossl_ssl_write_nonblock): ditto
	* ext/stringio/stringio.c (strio_read_nonblock):
	  delay exception check
	* io.c (no_exception_p): new function
	  (io_getpartial): call no_exception_p
	  (io_readpartial): adjust for io_getpartial
	  (get_kwargs_exception): remove
	  (io_read_nonblock): adjust for io_getpartial,
	  check no_exception_p on EOF
	  (io_write_nonblock): call no_exception_p
	  (rb_io_write_nonblock): do not check `exception: false'
	  (argf_getpartial): adjust for io_getpartial
	  [ruby-core:69778] [Feature #11318]

Fri Jul  3 07:13:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (replace_real_basename): Win32 API does not set errno, get
	  the last error by GetLastError() and map to errno.  [Bug #10015]

Thu Jul  2 21:32:06 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (replace_real_basename): show warnings at errors.
	  [Bug #10015]

Thu Jul  2 18:39:20 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c: remove `#define RGENGC_OBJ_INFO 1' line introduced to
	  debug Bug #11244.

Thu Jul  2 18:34:26 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_raw_obj_info): separated from rb_obj_info().
	  Fill internal object information into passed buffer.

	* gc.h: declare rb_raw_obj_info().

Thu Jul  2 16:15:04 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (replace_real_basename): update path type by the target
	  attributes if possible, to improve the performance.  [Bug #10015]

Thu Jul  2 14:45:53 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* st.c: get rid of VC++'s warnings of C4700 (uninitialized local
	  variable used).  I think that these are wrong, but should shut them
	  up.

Thu Jul  2 14:15:50 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rubygems.rb (Gem.load_path_insert_index): search
	  @gem_prelude_index first.

	* lib/rubygems/test_case.rb (Gem::TestCase#setup): keep already
	  expanded paths to preserve instance variables.

Thu Jul  2 14:12:01 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (process_options): also copy initial load path marks at
	  setting load paths encoding.

Thu Jul  2 12:26:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/rubygems/test_gem_server.rb (process_based_port): use
	  dynamically chosen port numbers to get rid of conflicts.

Thu Jul  2 11:58:59 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/rubygems/test_gem_specification.rb: skip tests which the
	  platform does not permit the filename of its test file.

Thu Jul  2 11:36:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/rubygems/test_gem_resolver_git_specification.rb: require
	  rubygems/installer.rb before Gem::TestCase#setup runs, otherwise
	  as Gem::TestCase#teardown restores $LOADED_FEATURES to the state
	  at that time, the requiring the file in GitSpecification#install
	  method causes a lot of constant redefinitions.

Thu Jul  2 10:43:36 2015  Eric Wong  <e@80x24.org>

	* ext/socket/rubysocket.h: flags for common socket families
	  (rsock_getfamily): update signature
	* include/ruby/io.h: comment socket FMODE flags
	* ext/socket/init.c (rsock_getfamily): memoize family
	* ext/socket/basicsocket.c: adjust rsock_getfamily calls
	* ext/socket/ancdata.c: ditto
	  [ruby-core:69713] [Feature #11298]

Thu Jul  2 10:30:01 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems/resolver.rb: fixed NameError of Gem::Util::NULL_DEVICE.

Thu Jul  2 09:51:44 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems/resolver.rb: fix error of null device reference with DOSISH
	  platform.

Thu Jul  2 06:49:44 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems: Update to RubyGems HEAD(c202db2).
	  this version contains many enhancements see http://git.io/vtNwF
	* test/rubygems: ditto.

Wed Jul  1 23:50:34 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.

Wed Jul  1 10:54:56 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* Add test for Enumerable#none? [fix GH-950] Patch by @yui-knk

Wed Jul  1 09:30:36 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* struct.c (struct_set_members): hide internal back_members
	  object, and members object does not need to be duped as it
	  should be frozen and hidden.

Wed Jul  1 09:28:47 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* struct.c (struct_member_pos): revert r51080 to fix other
	  implicit conversions but cast the return value to fix the
	  previous implicit conversion.

Wed Jul  1 08:47:24 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* struct.c (struct_member_pos): avoid implicit conversion loses
	  integer precision: 'long' to 'int'.

Wed Jul  1 05:57:03 2015  Eric Wong  <e@80x24.org>

	* vm_method.c (rb_add_method_iseq): add RB_GC_GUARD
	* class.c (clone_method): remove RB_GC_GUARD
	* struct.c (define_aref_method): ditto
	  (define_aset_method): ditto
	* vm.c (vm_define_method):
	* iseq.c (rb_iseq_clone): add RB_GC_GUARD

Wed Jul  1 05:43:58 2015  Eric Wong  <e@80x24.org>

	* struct.c (AREF_HASH_THRESHOLD): new macro
	  (id_back_members): new ID
	  (struct_member_pos_ideal): new function
	  (struct_member_pos_probe): ditto
	  (struct_set_members): ditto
	  (struct_member_pos): ditto
	  (rb_struct_getmember): use struct_member_pos for O(1) access
	  (rb_struct_aref_sym): ditto
	  (rb_struct_aset_sym): ditto
	  (setup_struct): call struct_set_members
	  (struct_define_without_accessor): ditto
	  (Init_Struct): initialize __members_back__
	  [ruby-core:66851] [ruby-core:69705] [ruby-core:69821]

Tue Jun 30 23:12:08 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_reopen): FilePathValue() ensures the path
	  NUL-terminated and frozen, so it is unnecessary to make it shared.

Tue Jun 30 23:11:53 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (check_dirname): ensure path name NUL-terminated for
	  SHARABLE_MIDDLE_SUBSTRING.

	* io.c (rb_sysopen): ditto.

Tue Jun 30 18:38:16 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/file.c (rb_freopen): need to terminate by NUL.

Tue Jun 30 17:28:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_reopen): freopen(3) with OS encoding path.
	  [ruby-core:69780] [Bug #11320]

	* win32/file.c (rb_freopen): wrapper of wchar version freopen(3).
	  use _wfreopen_s() if available.

Tue Jun 30 08:24:08 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]

Tue Jun 30 02:47:02 2015  Eric Wong  <e@80x24.org>

	* include/ruby/st.h (struct st_table): hide struct list_head
	* st.c (struct st_table_entry): adjust struct
	  (head, tail): remove shortcut macros
	  (st_head): new wrapper function
	  (st_init_table_with_size): adjust to new struct and API
	  (st_clear): ditto
	  (add_direct): ditto
	  (unpack_entries): ditto
	  (rehash): ditto
	  (st_copy): ditto
	  (remove_entry): ditto
	  (st_shift): ditto
	  (st_foreach_check): ditto
	  (st_foreach): ditto
	  (get_keys): ditto
	  (get_values): ditto
	  (st_values_check): ditto
	  (st_reverse_foreach_check): ditto (unused)
	  (st_reverse_foreach): ditto (unused)
	  [ruby-core:69726] [Misc #10278]

Mon Jun 29 17:38:01 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* insns.def (defineclass): do not quote unprintable characters at
	  raising an exception.

Mon Jun 29 16:01:24 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

Mon Jun 29 14:50:08 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* eval.c (add_activated_refinement): should not include the original
	  class.

Mon Jun 29 12:09:10 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* README.md: tweak styles. [fix GH-945][ci skip] Patch by @bryndyment

Mon Jun 29 07:23:55 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/sizes.c.tmpl: extract RUBY_DEFINT to define sizes of
	  types checked by configure.in, and fix size of intptr_t in
	  universal binary.

Mon Jun 29 02:10:10 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* insns.def (defineclass): preserve encoding of name in error
	  messages for super class mismatch.

	* insns.def (defineclass): preserve encoding of name in error
	  messages for non-class super.

	* insns.def (defineclass): preserve encoding of name in error
	  messages when already defined but type mismatch.

Sun Jun 28 12:07:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* class.c (rb_define_class_id_under): raise TypeError exception
	  same as ruby level class definition when superclass mismatch.

Sun Jun 14 19:02:03 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.

Fri Jun 26 12:48:37 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]

Fri Jun 26 07:53:56 2015  Eric Wong  <e@80x24.org>

	* enum.c (enum_minmax): simplify return value creation
	* test/ruby/test_enum.rb: test behavior on empty
	* hash.c (rb_hash_fetch_m): remove unnecessary volatile since r41597
	  (env_reject_bang): trade volatile for GC guard
	  (env_select): ditto
	  (env_select_bang): ditto
	  (env_keep_if): ditto
	  (rb_env_clear): ditto

Thu Jun 25 21:24:28 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/-ext-/popen_deadlock/test_popen_deadlock.rb: test [Bug #11265]

	* ext/-test-/popen_deadlock/infinite_loop_dlsym.c: new ext to call
	  dlsym(3) infinitely without GVL, used in the above test.

	* ext/-test-/popen_deadlock/extconf.rb: extconf.rb for the above
	  ext. Currently, only enabled on Solaris (main target) and Linux
	  (as a reference platform and for debugging the ext).

Thu Jun 25 19:24:25 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* configure.in: not to use vfork on Solaris to avoid deadlock
	  occurred in vfork(2) with multi-threading and dynamic linker
	  on Solaris. [Bug #11265] [ruby-dev:49089]

Thu Jun 25 18:25:41 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_leak):
	  NO_MEMORY_LEAK_ENVS is moved to Memory::NO_MEMORY_LEAK_ENVS
	  to reduce child executions during test-all on Solaris.

	* test/lib/memory_status.rb (Memory::NO_MEMORY_LEAK_ENVS): ditto.

Thu Jun 25 17:32:33 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_method_entry_create): need to call
	  method_definition_reset() if def is given.

	  Actually, `me' is a new object, so we don't need to call it.
	  It is just to make sure.

	* vm_method.c (method_definition_reset): remove duplicated insertion.

	* vm_method.c (rb_method_entry_clone): assign dst->def here,
	  not in method_definition_reset().

Thu Jun 25 16:44:54 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c: make a rb_method_definition_t data (def) *after* making
	  a rb_method_entry_t data (me).

	  Normally, `me' points `def'. Some Ruby objects pointed from `def'
	  and objects are marked by `me' (mark_method_entry() in gc.c).
	  However, `def' is built before making a `me', then nobody can mark
	  objects pointed from `def' before making (and pointing from) `me'.

	  I hope this patch solve #11244.

	* vm_method.c: remove `rb_' prefix from some static functions.

	* method.h (rb_method_entry_create): constify

	* gc.c (mark_method_entry): add checking `def' and
	  `def->body.iseq.iseqptr' availability because they can be NULL.

Thu Jun 25 14:14:16 2015  takiy33  <takiy33@gmail.com>

	* test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
	  use spaces instead of TABs in ruby codes.  [Fix GH-944]

Thu Jun 25 07:08:35 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info, method_type_name): show method type name in a string
	  instead of a number.

Thu Jun 25 06:49:25 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): show more details for T_IMEMO/imemo_ment.

Thu Jun 25 06:40:46 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_method_definition_reset): need a WB for
	  VM_METHOD_TYPE_ATTRSET.

Thu Jun 25 03:33:21 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (RGENGC_OBJ_INFO, obj_info): add a macro to enable/disable
	  rich obj_info() output.

	  At the default, the value of RGENGC_OBJ_INFO is
	  (RGENGC_DEBUG | RGENGC_CHECK_MODE).

	* gc.c (RGENGC_OBJ_INFO): force enable it to debug #11244.

	* gc.c (gc_mark_ptr): print more details with obj_info().

	* gc.c (gc_mark_children): remove useless debug prints.

Thu Jun 25 02:40:33 2015  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 Jun 24 16:54:11 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_children): add additional debug code for #11244.

Wed Jun 24 16:05:42 2015  Eric Wong  <e@80x24.org>

	* string.c (rb_str_justify): use RB_GC_GUARD

Wed Jun 24 14:25:17 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_ptr): add a check code for #11244.

	  It should be removed later. But we can remain this check
	  because it is only a branch.

Wed Jun 24 12:49:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_fstring_cstr): new function to make a fstring from
	  a string literal.

	* internal.h (rb_fstring_lit): new macro to make a fstring from a
	  string literal.

	* include/ruby/intern.h (rb_strlen_lit): new macro to get the
	  length of a string literal, borrowed from mruby/mruby@e4afd53.

Wed Jun 24 12:21:16 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

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

Wed Jun 24 09:23:03 2015  Eric Wong  <e@80x24.org>

	* variable.c (generic_ivar_set): remove FL_ABLE check
	  (gen_ivar_copy): ditto
	  [ruby-core:69715]

Wed Jun 24 08:28:15 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
	  [ruby-core:69595] [Feature #11263]

Tue Jun 23 14:32:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* error.c (name_err_receiver): raise ArgumentError if no receiver
	  is available on this exception object.  [Feature #10881]

Tue Jun 23 09:48:34 2015  Eric Wong  <e@80x24.org>

	* dir.c (check_dirname): avoid volatile, use return value
	  (dir_s_chroot, dir_s_mkdir, dir_s_rmdir): adjust callers

Tue Jun 23 06:37:10 2015  Eric Wong  <e@80x24.org>

	* struct.c (struct_ivar_get): cache member definition in a subclass
	  Thanks to Sokolov Yura aka funny_falcon <funny.falcon@gmail.com>
	  in https://bugs.ruby-lang.org/issues/10585

Tue Jun 23 04:58:06 2015  Eric Wong  <e@80x24.org>

	* benchmark/bm_vm2_struct_big_href_hi.rb: new benchmark
	* benchmark/bm_vm2_struct_big_href_lo.rb: ditto
	* benchmark/bm_vm2_struct_big_hset.rb: ditto
	* benchmark/bm_vm2_struct_small_href.rb: ditto
	* benchmark/bm_vm2_struct_small_hset.rb: ditto
	  Thanks to Sokolov Yura aka funny_falcon <funny.falcon@gmail.com>
	  in https://bugs.ruby-lang.org/issues/10585

Mon Jun 22 18:08:48 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/lib/test/unit.rb (Test::Unit::Parallel#start_watchdog): removed
	  because it has been meaningless since r36385. [Bug #11288]

	* test/lib/test/unit.rb (Test::Unit::Parallel#_run_parallel): delete
	  lines related to the removed start_watchdog method

Sun Jun 21 23:52:46 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* NEWS: mention Array#bsearch_index and Hash#fetch_values.

Sun Jun 21 23:46:27 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* NEWS: add a reference to a ticket.

Sun Jun 21 20:28:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* internal.h (roomof): extract from type_roomof, and move from
	  bignum.c.

Sun Jun 21 18:32:37 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby_atomic.h (ATOMIC_PTR_CAS): define by generic CAS macro, not
	  via size_t, to suppress a warning by mingw gcc.

Sun Jun 21 05:31:41 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.


Sat Jun 20 03:56:58 2015  Yusuke Endoh  <mame@ruby-lang.org>

	* enc/make_encmake.rb: the list of encoding extension libraries must
	  not include encinit.c itself.  It caused "undefined reference to
	  Init_encinit".

Sat Jun 20 02:03:53 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP
	  to generate envp_str anytime on Solaris 10 (or earlier version
	  of Solaris) to avoid calling execv() which is async-signal unsafe
	  on Solaris 10. [Bug #11265] [ruby-dev:49089]

	* process.c (exec_with_sh, proc_exec_cmd): On Solaris 10,
	  because ALWAYS_NEED_ENVP is 1 and envp_str is always generated,
	  execv() in exec_with_sh() and proc_exec_cmd() are never called.
	  To guarantee this, execv() is replaced by a macro to print
	  out error message on Solaris 10.

	* process.c (proc_exec_sh): Because proc_exec_sh() may be called
	  by rb_proc_exec() with envp_str = Qfalse, execl() is replaced
	  by a macro that calls execle() with "extern char **environ"
	  traditional global variable on Solaris 10.
	  TODO: This may be unsafe and should be changed in the future.
	  Although rb_proc_exec() is not used from inside current version
	  of ruby, it may be called by third-party extensions.

Sat Jun 20 01:10:13 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* NEWS: mention about $SAFE.

Fri Jun 19 14:53:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (rb_mod_define_method): now requires a block direct to
	  this method call.  [ruby-core:69655] [Bug #11283]

Fri Jun 19 13:54:43 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* proc.c (rb_mod_define_method): get rid of inadvertent ID
	  creations at error.

Fri Jun 19 07:58:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/extmk.rb: if no with-ext option is given, default to
	  enable everything.  [ruby-dev:49108] [Bug #11280]

Fri Jun 19 06:30:07 2015  Koichi Sasada  <ko1@atdot.net>

	* bootstraptest/test_method.rb: remove a test because $SAFE=2 was
	  obsolete.

	  Please check btest, too.

Thu Jun 18 23:51:51 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* bin/erb: $SAFE=3 is obsolete.

Thu Jun 18 23:45:11 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* safe.c: removed needless doc related $SAFE=2

Thu Jun 18 23:38:07 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* thread.c (rb_thread_safe_level): fix document.  $SAFE=3 is obsolete.
	  [ci skip]

Thu Jun 18 23:25:51 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/extmk.rb: configure intersection of with-ext and not
	  without-ext, as withouts is no longer true by default if
	  with-ext option is given.  [ruby-dev:49108] [Bug #11280]

Thu Jun 18 23:20:46 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* include/ruby/ruby.h: $SAFE=2 is now obsolete.

	* dir.c, ext/fiddle/handle.c, ext/socket/basicsocket.c, file.c
	  gc.c, io.c, process.c, safe.c, signal.c, win32/file.c:
	  removed code for $SAFE=2

	* test/erb/test_erb.rb, test/fiddle/test_handle.rb
	  test/ruby/test_env.rb: removed tests for $SAFE=2.

Thu Jun 18 22:50:07 2015  Yusuke Endoh  <mame@ruby-lang.org>

	* enc/make_encmake.rb: added --transes and --no-transes options.

Thu Jun 18 18:24:12 2015  Eric Wong  <e@80x24.org>

	* test/socket/test_unix.rb: replace sleep with select

Thu Jun 18 17:59:06 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c (rb_vm_control_frame_id_and_class): remove useless codes.
	  `me' knows ID and owner class.

Thu Jun 18 16:58:35 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: constify rb_method_alias_struct::original_me and
	  rb_method_refined_struct::orig_me.

	* class.c (move_refined_method): use RB_OBJ_WRITE() for
	  me->def->body.refined.orig_me.

Thu Jun 18 14:35:28 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c (count_imemo_objects): support imemo_ment.

Thu Jun 18 13:32:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* error.c (name_err_receiver): add NameError#receiver method.
	  [Feature #10881]

Thu Jun 18 10:00:06 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* safe.c: removed needless doc related $SAFE=3

Thu Jun 18 09:59:23 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* safe.c: rename old method name for $SAFE=3

Thu Jun 18 06:02:42 2015  Eric Wong  <e@80x24.org>

	* compile.c (get_exception_sym2type, iseq_build_from_ary_body):
	  rely on %+PRIsVALUE instead of calling rb_inspect directly

Wed Jun 17 20:59:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (ENC_MK): needs fake.rb if cross compilation.
	  [ruby-dev:49098] [Bug #11272]

Wed Jun 17 20:23:29 2015  Tanaka Akira  <akr@fsij.org>

	* ext/rbconfig/sizeof/extconf.rb: Check __float80.

Wed Jun 17 15:15:53 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* safe.c (safe_setter): of course, don't have to warn the limitation of
	  $SAFE=3 after it's removed.

Wed Jun 17 14:29:43 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* include/ruby/ruby.h: $SAFE=3 is now obsolete.

	* ext/socket/init.c, ext/socket/socket.c, ext/socket/tcpsocket.c
	  ext/socket/udpsocket.c, gc.c, object.c, re.c, safe.c: removed code
	  for $SAFE=3

	* bootstraptest/test_method.rb, test/erb/test_erb.rb, test/ruby/test_dir.rb
	  test/ruby/test_file.rb, test/ruby/test_method.rb, test/ruby/test_regexp.rb
	  test/ruby/test_thread.rb: remove tests for $SAFE=3

Wed Jun 17 12:13:33 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ChangeLog: added contributor name.

Wed Jun 17 10:57:28 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/csv.rb: accept to use Range object for row selection.
	  contributed by Mitsutaka Mimura.
	  [Feature #11267][ruby-dev:49091]

Wed Jun 17 09:50:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rdoc/servlet.rb (documentation_search, root_search):
	  requires json for JSON.dump and fix sporadic failures due to
	  the loading order.

Tue Jun 16 19:19:53 2015  Tanaka Akira  <akr@fsij.org>

	* ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99
	  and x86_64 ABI.

	* template/sizes.c.tmpl: Relax a pattern for types.

Tue Jun 16 17:37:01 2015  Koichi Sasada  <ko1@atdot.net>

	* test/objspace/test_objspace.rb: relax pattern because uncollectible
	  flag and marked flag can be false at major GC.
	  [Bug #10852]

Tue Jun 16 04:50:44 2015  Eric Wong  <e@80x24.org>

	* ext/socket/basicsocket.c (bsock_recv): document outbuf
	* ext/socket/unixsocket.c (unix_recvfrom): ditto
	* ext/socket/init.c (rsock_strbuf, recvfrom_locktmp): new functions
	  (rsock_s_recvfrom): support destination buffer as 3rd arg
	  (rsock_s_recvfrom_nonblock): ditto
	* string.c (rb_str_locktmp_ensure): export for internal ext
	* test/socket/test_nonblock.rb: test recv_nonblock
	* test/socket/test_unix.rb: test recv
	  [ruby-core:69543] [Feature #11242]

Tue Jun 16 04:38:02 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal,
	  bsock_recvmsg_internal):
	  support "exception: false" kwarg
	* ext/socket/init.c (rsock_s_recvfrom_nonblock):
	  ditto
	* ext/socket/init.c (rsock_s_recvfrom_nonblock): use rsock_opt_false_p
	* ext/socket/socket.c (sock_connect_nonblock): ditto
	* ext/socket/rubysocket.h (rsock_opt_false_p): new function
	* ext/socket/basicsocket.c (bsock_recv_nonblock): update rdoc
	* ext/socket/udpsocket.c (udp_recvfrom_nonblock): ditto
	* test/socket/test_nonblock.rb: new tests
	  [ruby-core:69542] [Feature #11229]

Mon Jun 15 14:33:02 2015  Akinori MUSHA  <knu@iDaemons.org>

	* lib/set.rb: Make Set#each and SortedSet#each generate a sized
	  enumerator. [GH-931] by kachick (Kenichi Kamiya)

	* test/test_set.rb: Import tests from Set into SortedSet. [GH-931]
	  by kachick (Kenichi Kamiya)

Mon Jun 15 02:26:34 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http.rb (Net::HTTP#connect): use connect_nonblock and
	  io/wait to eliminate timeout use. fix GH-899

Sat Jun 13 07:21:18 2015  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>

	* thread.c (thread_start_func_2): don't interrupt when last thread
	  exit unless main thread is already exited. Otherwise main thread
	  could be wrongly interrupted when it uses rb_thread_call_without_gvl().
	  Patch by Takehiro Kubo. [Bug #11237][ruby-dev:49044][GH-898]

	* test/-ext-/gvl/test_last_thread.rb: new test for the above fix.

	* ext/-test-/gvl/call_without_gvl/call_without_gvl.c: new ext for
	  the above test.
	* ext/-test-/gvl/call_without_gvl/extconf.rb: ditto.

Mon Jun 15 00:14:33 2015  Tanaka Akira  <akr@fsij.org>

	* ext/pathname/lib/pathname.rb (descend): Blockless form supported.
	  (ascend): Ditto.
	  [ruby-core:68820] [Feature #11052] Patch by Piotr Szotkowski.

Sun Jun 14 20:09:25 2015  Tanaka Akira  <akr@fsij.org>

	* time.c (time_getlocaltime): [DOC] Add examples of valid utc_offset
	  formats.
	  [ruby-core:68306] [Misc #10905] Patch by Charles Korn.

Sun Jun 14 18:49:56 2015  Tanaka Akira  <akr@fsij.org>

	* ext/socket/raddrinfo.c (parse_numeric_port): Detect
	  port overflow.
	  (numeric_getaddrinfo): Use parse_numeric_port.
	  numeric_getaddrinfo fails if port is too big now.
	  This makes rb_getaddrinfo invokes the real getaddrinfo()
	  on such condition.
	  This change is related to [ruby-core:69355] [Bug #11179].

Sun Jun 14 17:26:03 2015  Tanaka Akira  <akr@fsij.org>

	* enum.c (enum_chunk_while): New method Enumerable#chunk_while.
	  [ruby-core:67738] [Feature #10769] proposed by Tsuyoshi Sawada.

Sun Jun 14 17:20:40 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]

Sun Jun 14 10:43:50 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/runruby.rb: just remove the lines of RUBY_VERSION check and raise
	  instead of replacing the check to `true`, for getting rid of a
	  warning `possibly useless use of true in void context`.

Sun Jun 14 10:13:55 2015  Kouhei Sutou  <kou@cozmixng.org>

	* lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in
	  document. [fix GH-934]
	  Patch by Anton Davydov. Thanks!!!

Sun Jun 14 10:09:48 2015  Kouhei Sutou  <kou@cozmixng.org>

	* lib/rexml/attlistdecl.rb (REXML::AttlistDecl): Fix a typo in
	  document. [fix GH-934]
	  Patch by Anton Davydov. Thanks!!!

Sun Jun 14 06:24:57 2015  Benoit Daloze  <eregontp@gmail.com>

	* test/ruby/test_io.rb: add test for IO.binread fd leak.
	  See r50881.

Sun Jun 14 05:23:51 2015  Benoit Daloze  <eregontp@gmail.com>

	* io.c (rb_io_s_binread): close fd if seek offset is invalid.

Sun Jun 14 04:40:32 2015  Benoit Daloze  <eregontp@gmail.com>

	* test/lib/leakchecker.rb (check): refactor.

Sun Jun 14 04:34:14 2015  Benoit Daloze  <eregontp@gmail.com>

	* test/lib/leakchecker.rb: Return false for no leaks.
	  Otherwise the GC could run for nothing.

Sun Jun 14 04:15:40 2015  Benoit Daloze  <eregontp@gmail.com>

	* lib/delegate.rb: [DOC] Update SimpleDelegator example. [ci skip]

Sat Jun 13 20:28:14 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* file.c (rb_stat_ino): get inode from the interval of struct st.

	* win32/win32.c (stati64_set_inode): get nFilIndexHigh/Low, and set it
	  to the interval of struct st as inode.

	* win32/win32.c (stati64_set_inode_handle): call stati64_set_inode.

	* win32/win32.c (rb_w32_fstati64): call stati64_set_inode_handle.

	* win32/win32.c (stati64_handle): call stati64_set_inode.

Sat Jun 13 19:44:53 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/io/console/depend (.list.chksum): revert a part of r50859, because
	  it was not mentioned at its commit log and it caused a build error on
	  Windows ($(MAKE) is already quoted).

Sat Jun 13 17:35:11 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* vm_core.h (rb_thread_t): add th->name.

	* vm.c (th_init): initialize th->name.

	* thread.c (Init_Thread): add Thread.name and name=. [Feature #11251]

	* thread.c (rb_thread_inspect): show thread's name if set.

	* thread.c (rb_thread_getname): defined.

	* thread.c (rb_thread_setname): ditto.

Sat Jun 13 11:39:43 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash

Sat Jun 13 11:38:00 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status.
	  [fix GH-932] Patch by @chrisholmes

Sat Jun 13 11:35:19 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.

Sat Jun 13 00:45:08 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Return sized enumerators.
	  Patch by Kenichi Kamiya [GH-931]

Sat Jun 13 00:45:06 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Fix with_object with no block given

Sat Jun 13 00:44:59 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Have with_index accept an offset parameter.
	  Based on patch by T Yamada. [#11007]

Fri Jun 12 22:21:12 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix
	  error. [Bug #11255] [ruby-dev:49079]

Fri Jun 12 21:17:46 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* pack.c (pack_{un,}pack): new template character `j` and `J`, pointer
	  with signed and unsigned integers.

	* NEWS: mention about this feature.
	  [Feature #11215] [ruby-dev:49015]

Fri Jun 12 21:01:44 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* file.c (File::SHARE_DELETE): new flag to be able to delete opened file
	  on Windows.

	* include/win32/win32.c (O_SHARE_DELETE): new pseudo file mode flag.

	* win32/win32.c (rb_w32_{w,}open): support above flag.  [EXPERIMENTAL]

	* NEWS: mention about this feature.
	  [Feature #11218] [ruby-dev:49022]

Fri Jun 12 18:21:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ChangeLog: added missing commit message.

Fri Jun 12 18:20:37 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* sample/exyacc.rb: Fix some typos. [fix GH-927] Patch by @davydovanton
	* sample/list.rb: ditto.
	* sample/trick2013/kinaba/remarks.markdown: ditto.

Fri Jun 12 17:34:14 2015  Wojciech Mach  <wojtek@wojtekmach.pl>

	* hash.c (rb_hash_fetch_values): add `Hash#fetch_values`.
	  [Feature #10017] [Fix GH-776]

Fri Jun 12 16:28:17 2015  Radan Skoric  <radan.skoric@gmail.com>

	* array.c (rb_ary_bsearch_index): Implement Array#bsearch_index
	  method, which is similar to bsearch and returns the index or
	  nil.  [Feature #10730]

Thu Jun 11 19:11:22 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/zlib/zlib.c: Fix indentation for rdoc.
	  [Bug #11221][ruby-core:69465]

Thu Jun 11 16:23:37 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h (METHOD_ENTRY_BASIC_SET): fix last commit (unbalanced parens).

Thu Jun 11 15:14:16 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in: define SET_THREAD_NAME if it has pthread_set_name_np
	  for FreeBSD, and don't define it if both pthread_setname_np
	  and pthread_set_name_np don't exist.

	* thread_pthread.c (SET_THREAD_NAME): don't define if they don't exist.

	* thread_pthread.c (native_set_thread_name): run if SET_THREAD_NAME
	  is defined.

Thu Jun 11 15:53:31 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h (METHOD_ENTRY_BASIC_SET): should clear last bit.

Thu Jun 11 14:34:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems.rb: bump version to 2.4.7 and 2.4.8. these versions fixed
	  CVE-2015-3900.
	* lib/rubygems/remote_fetcher.rb: ditto.
	* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900

Thu Jun 11 14:18:51 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/rubygems.rb: bump version to 2.4.6. It's missing change at r49774.

Thu Jun 11 13:50:19 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.

Thu Jun 11 13:17:34 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/test_cmath.rb (TestCMath#test_trigonometric_functions): should
	  not compare float values (in complex values) by `==`.

Thu Jun 11 08:52:01 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: embed rb_method_entry_t::attr::flags (5 bits) into
	  rb_method_entry_t::flags to make one word spare space.

	  Add some macros to access these flags.

	* vm_method.c: use these macros.

	* internal.h: define IMEMO_FL_USHIFT and IMEMO_FL_USER[0-4]
	  for T_IMEMO local flags.

Thu Jun 11 08:27:06 2015  Koichi Sasada  <ko1@atdot.net>

	* vm.c: use VM_ASSERT instead of assert().

	* vm_args.c: ditto.

	* vm_insnhelper.c: ditto.

	* vm_method.c: ditto.

Thu Jun 11 08:16:48 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: define VM_ASSERT() for assertion
	  enabled only when (VM_CHECK_MODE > 0).

	* vm_insnhelper.c: move definition VM_CHECK_MODE
	  from vm_insnhelper.c to vm_core.h.

	* vm.c: remove <assert.h>

Thu Jun 11 06:46:07 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (check_frame): check type of cref_or_me first.

Thu Jun 11 04:34:39 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* test/test_cmath.rb: Add some assertions.

Thu Jun 11 00:34:39 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/fake.rb.in: expanded macro result may have spaces
	  between tokens.  [ruby-dev:49047] [Bug #11243]

Wed Jun 10 22:27:32 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* lib/mkmf.rb: revert r50804 because of build failure when specifying
	  LDFLAGS during configure, observed on Solaris with GCC 4.6.
	  [Bug #11245]

Wed Jun 10 21:59:51 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* README.ja.md: fix markup miss.

Wed Jun 10 11:06:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* template/fake.rb.in: turn into erb template from autoconf
	  template to fake more accurately.

	* common.mk (fake.rb): needs preprocessed file now.

	* version.c (Init_version): add dummy expression to
	  RUBY_ENGINE_VERSION.

Tue Jun  9 12:31:25 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Simplify and optimize EratosthenesSieve

Tue Jun  9 11:45:00 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Simplify and optimize EratosthenesSieve
	  based on patch by Ajay Kumar. [Fixes GH-921]

Mon Jun  8 05:09:58 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): print method id for T_IMEMO/ment.

Sun Jun  7 07:05:43 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* Move test cases from test/ruby/test_complex.rb to test/test_cmath.rb

Sat Jun  6 18:23:41 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: back to share rb_method_definition_t by
	  rb_method_entry_t.

	  r50728 changed sharing `def's to isolating `def's
	  on alias and so on. However, this change conflicts
	  future improvement plan. So I change back to sharing approach.

	* method.h: move rb_method_definition_t::flags to
	  rb_method_entry_t::attr::flags.

	  rb_method_entry_t::attr is union with VALUE because this field
	  should have same size of VALUE. rb_method_entry_t is T_IMEMO).

	  And also add the following access macros to it's fields.

	  * METHOD_ENTRY_VISI(me)
	  * METHOD_ENTRY_BASIC(me)
	  * METHOD_ENTRY_SAFE(me)

	* vm_method.c (rb_method_definition_addref): added instead of
	  rb_method_definition_clone().

	  Do not create new definition, but increment alias_count.

	* class.c (clone_method): catch up this fix.

	* class.c (method_entry_i): ditto.

	* proc.c (mnew_internal): ditto.

	* proc.c (mnew_missing): ditto.

	* vm_eval.c: ditto.

	* vm_insnhelper.c: ditto.

	* vm_method.c: ditto.

Sat Jun  6 15:59:38 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c: ins_methods_push() needs rb_method_visibility_t type on
	  2nd arg.

Sat Jun  6 15:05:47 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (ins_methods_push): Change type and name of parameters
	  to make more clear.

Sat Jun  6 08:52:13 2015  Eric Wong  <e@80x24.org>

	* test/socket/test_nonblock.rb: try to avoid EMSGSIZE
	  [ruby-core:69466]

Sat Jun  6 07:58:30 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c: remove struct mark_tbl_arg and pass objspace directly
	  to avoid indirect access overhead.

Sat Jun  6 07:08:45 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal): drop redundant assignment

Sat Jun  6 01:00:06 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* ext/socket/ancdata.c (bsock_sendmsg_internal): all arguments are
	  parsed even on systems without HAVE_STRUCT_MSGHDR_MSG_CONTROL
	  to prevent SEGV caused by passing Qnil to RARRAY_LENINT and
	  to preserve behavior before r50776.
	  [Bug #11224] [ruby-core:69468] [Bug #11225] [ruby-core:69469]

Fri Jun  5 22:37:42 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (ins_methods_push): change 3rd parameter's type
	  from long to rb_method_visibility_t.

	* class.c (ins_methods_i): catch up this fix.

	* class.c (method_entry_i): cast to st_data_t instead of `long'.

Fri Jun  5 20:37:10 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: move definition of rb_cref_t to method.h.

	* eval_intern.h: move definition of rb_scope_visibility_t
	  to method.h.

	* method.h: change rb_cref_t::scope_visi from VALUE to
	  rb_scope_visibility_t.
	  [Bug #11219]

	* vm.c (vm_cref_new): accept rb_method_visibility_t directly.

	* vm_insnhelper.c (rb_vm_rewrite_cref): don't use 0,
	  but METHOD_VISI_UNDEF.

	* vm_method.c (rb_scope_visibility_set): don't need to use cast.

	* vm_method.c (rb_scope_module_func_set): ditto.

Fri Jun  5 17:27:30 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal): avoid msg_control
	  ptr if msg_controllen is zero to fix portability problems.

Fri Jun  5 09:17:45 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal): fix build error
	  from r50776

Fri Jun  5 07:05:58 2015  Eric Wong  <e@80x24.org>

	* io.c (sym_wait_readable, sym_wait_writable): declare
	  (io_getpartial): use sym_wait_readable
	  (io_write_nonblock): use sym_wait_writable
	  (Init_IO): initialize sym_wait_*able

Fri Jun  5 06:43:00 2015  Eric Wong  <e@80x24.org>

	* doc/extension.rdoc: note rb_get_kwargs changes keywords_hash
	  [ruby-core:68507]

Fri Jun  5 05:50:29 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args
	  [ruby-core:69439] [Feature #11207]

Fri Jun  5 02:20:06 2015  Koichi Sasada  <ko1@atdot.net>

	* test/lib/envutil.rb (assert_no_memory_leak): change default value
	  of limit from 1.5 to 2.0. It is ad-hoc fix to solve test failure
	  in travis-ci.

Fri Jun  5 01:17:21 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_defined): no need to use cast.

Fri Jun  5 01:14:02 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_defined): show additional messages on rb_bug().

Fri Jun  5 01:06:02 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_add_method_iseq): use intermediate struct to
	  avoid initializing struct with variables.
	  [Bug #11217]

	* method.h: add a comment about it.

Fri Jun  5 00:55:21 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: constify rb_method_refined_t::orig_me.

	  Also constify the following functions.

	  * rb_resolve_refined_method()
	  * rb_method_entry_with_refinements()
	  * rb_method_entry_without_refinements()
	  * rb_method_entry_copy()'s parameter.

	* class.c: catch up this fix.

	* vm_insnhelper.c: ditto.

	* vm_method.c: ditto.

Thu Jun  4 12:47:54 SGT 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* array.c: Revert r50763. because "reentered" is not typo.

Thu Jun  4 11:12:29 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
	  [fix GH-923]
	* include/ruby/st.h: ditto.
	* include/ruby/util.h: ditto.

Thu Jun  4 10:54:30 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* array.c: fix a typo. Patch by @manish-shrivastava
	  [fix GH-922]

Thu Jun  4 09:52:02 2015  Eric Wong  <e@80x24.org>

	* ext/openssl/lib/openssl/ssl.rb: use io/nonblock instead of fcntl
	  [ruby-core:69382] [Feature #11190]

Thu Jun  4 07:22:45 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: introduce rb_method_refined_t for refined method entry.

	* class.c (move_refined_method): catch up this fix.

	* gc.c (mark_method_entry): ditto.

	* vm_eval.c (vm_call0_body): ditto.

	* vm_insnhelper.c (vm_call_method): ditto.

	* vm_method.c: ditto.

Thu Jun  4 07:12:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (dirent_match): match short names only when FNM_SHORTNAME
	  flag is given, for the backward compatibility, and the new
	  behavior is often dangerous.  [ruby-core:69435] [Bug #11206]

Thu Jun  4 05:44:01 2015  Eric Wong  <e@80x24.org>

	* variable.c (special_generic_ivar): remove flag
	  (givar_i, rb_mark_generic_ivar_tbl): remove functions
	  (rb_free_generic_ivar, rb_ivar_lookup, rb_ivar_delete,
	   generic_ivar_set, rb_ivar_set, rb_ivar_defined,
	   rb_copy_generic_ivar, rb_ivar_foreach, rb_ivar_count,
	   rb_obj_remove_instance_variable):
	   adjust for lack of ivar support in special constants
	* test/ruby/test_variable.rb: test ivars for special consts
	* internal.h: remove rb_mark_generic_ivar_tbl decl
	* gc.c (gc_mark_roots): remove rb_mark_generic_ivar_tbl call
	  [ruby-core:69441] [Feature #11208]

Thu Jun  4 05:13:34 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more.

Thu Jun  4 04:50:12 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (method_entry_i): mtbl should not have `me' as NULL.

Thu Jun  4 04:28:45 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (clone_method): do not use me->klass, but use explicitly
	  passed argument.

Thu Jun  4 04:10:43 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h (rb_vm_rewrite_cref_stack): rename to rb_vm_rewrite_cref().

	* class.c (clone_method): use renamed name.

	* vm_insnhelper.c (rb_vm_rewrite_cref): do not use `node' in variable
	  names.

Wed Jun  3 23:03:50 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c: rename `rb_frame_...' to `rb_scope_...'.

	* eval_intern.h: move decl. of rb_scope_visibility_set() to method.h.

	* load.c: catch up this fix.

Wed Jun  3 21:14:20 2015  Tanaka Akira  <akr@fsij.org>

	* ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types.

Wed Jun  3 21:00:47 2015  Tanaka Akira  <akr@fsij.org>

	* configure.in: Don't check __int128.

	* ext/rbconfig/sizeof/extconf.rb: Check __int128.

	* ext/rbconfig/sizeof/depend: sizes.c depends on
	  ext/rbconfig/sizeof/extconf.rb.

	* template/sizes.c.tmpl: Detect check_sizeof.

Wed Jun  3 20:07:07 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (clone_method): remove redundant check for me->def != NULL.
	  Now, all `me` have `me->def`.

	* proc.c (rb_method_entry_location): ditto.

	* vm.c (rb_vm_check_redefinition_opt_method): ditto.

	* vm.c (add_opt_method): ditto.

	* vm_eval.c (vm_call0_body): ditto.

Wed Jun  3 19:24:12 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: rename enum missing_reason to enum method_missing_reason.

	* vm_core.h: use enum method_missing_reason for
	  rb_thread_t::method_missing_reason.

	* vm_eval.c: catch up this fix.

	* vm_insnhelper.c: ditto.

Wed Jun  3 16:17:21 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* vm.c: eagerly allocate `loading_table`.  This eliminates the need to
	  do NULL checks when looking up the `loading_table` hash.
	  https://github.com/ruby/ruby/pull/918

	* load.c: remove various NULL checks

Wed Jun  3 11:47:15 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: change fields order to gather frequent access fields.

	* vm_insnhelper.c (vm_call_method): add LIKELY().

Wed Jun 03 10:35:45 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: split rb_method_definition_t::flag to several flags.

	  `flag' contains several categories of attributes and it makes us
	  confusion (at least, I had confused).

	  * rb_method_visibility_t (flags::visi)
	    * NOEX_UNDEF     -> METHOD_VISI_UNDEF     = 0
	    * NOEX_PUBLIC    -> METHOD_VISI_PUBLIC    = 1
	    * NOEX_PRIVATE   -> METHOD_VISI_PRIVATE   = 2
	    * NOEX_PROTECTED -> METHOD_VISI_PROTECTED = 3
	  * NOEX_SAFE(flag)  -> safe (flags::safe, 3 bits)
	  * NOEX_BASIC       -> basic (flags::basic, 1 bit)
	  * NOEX_MODFUNC     -> rb_scope_visibility_t in CREF
	  * NOEX_SUPER       -> MISSING_SUPER (enum missing_reason)
	  * NOEX_VCALL       -> MISSING_VCALL (enum missing_reason)
	  * NOEX_RESPONDS    -> BOUND_RESPONDS (macro)

	  Now, NOEX_NOREDEF is not supported (I'm not sure it is needed).

	  Background:
	    I did not know what "NOEX" stands for.
	    I asked Matz (who made this name) and his answer was "Nothing".
	    "At first, it meant NO EXport (private), but the original
	    meaning was gone."
	    This is why I remove the mysterious word "NOEX" from MRI.

	* vm_core.h: introduce `enum missing_reason' to represent
	  method_missing (NoMethodError) reason.

	* eval_intern.h: introduce rb_scope_visibility_t to represent
	  scope visibility.
	  It has 3 method visibilities (public/private/protected)
	  and `module_function`.

Wed Jun  3 08:06:30 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* gem/bundled_gems: updated to test-unit 3.1.1 and minitest 5.7.0.

Wed Jun  3 04:48:05 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_defined): check respond_to_missing?
	  at defined?(func()).
	  [Bug #11212]

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

Wed Jun  3 04:34:39 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (vm_defined): skip respond_to_missing? when
	  a method is available.
	  [Bug #11211]

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

Wed Jun  3 04:14:13 2015  Koichi Sasada  <ko1@atdot.net>

	* insns.def (defined), vm_insnhelper.c (vm_defined):
	  move instruction body to the vm_defined() function.

Wed Jun  3 02:29:25 2015  Benoit Daloze  <eregontp@gmail.com>

	* test/ruby/test_module.rb: Do not assume class variable order.
	  Patch by @enebo.

Wed Jun  3 01:10:38 2015  Yusuke Endoh  <mame@tsg.ne.jp>

	* vm_method.c (rb_method_definition_set): remove a double assignment.
	  Coverity Scan found this bug.

Wed Jun  3 00:04:51 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_alias): rename parameter names.

Tue Jun  2 23:27:18 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: remove rb_method_iseq_t::iseqval.
	  While making a r50728, iseqval is needed (to mark correctly),
	  but now just iseqptr is enough.

	* class.c: catch up this fix.

	* gc.c: ditto.

	* proc.c: ditto.

	* vm_method.c: ditto.

Tue Jun  2 21:29:28 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c (proc_curry): remove a debug line.

Tue Jun  2 12:43:46 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: make rb_method_entry_t a VALUE.
	  Motivation and new data structure are described in [Bug #11203].

	  This patch also solve the following issues.

	  * [Bug #11200] Memory leak of method entries
	  * [Bug #11046] __callee__ returns incorrect method name in orphan
	                 proc

	* test/ruby/test_method.rb: add a test for [Bug #11046].

	* vm_core.h: remove rb_control_frame_t::me. me is located at value
	  stack.

	* vm_core.h, gc.c, vm_method.c: remove unlinked_method... codes
	  because method entries are simple VALUEs.

	* method.h: Now, all method entries has own independent method
	  definitions. Strictly speaking, this change is not essential,
	  but for future changes.

	  * rb_method_entry_t::flag is move to rb_method_definition_t::flag.
	  * rb_method_definition_t::alias_count is now
	    rb_method_definition_t::alias_count_ptr, a pointer to the counter.

	* vm_core.h, vm_insnhelper.c (rb_vm_frame_method_entry) added to
	  search the current method entry from value stack.

	* vm_insnhelper.c (VM_CHECK_MODE): introduced to enable/disable
	  assertions.

Tue Jun  2 10:46:36 2015  Eric Wong  <e@80x24.org>

	* test/socket/test_nonblock.rb: new test for sendmsg_nonblock

Tue Jun  2 09:04:14 2015  Eric Wong  <e@80x24.org>

	* lib/benchmark.rb: just use Process::CLOCK_MONOTONIC
	  [ruby-core:69390]

Mon Jun  1 22:01:27 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]

Mon Jun  1 21:18:24 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_children): remove a garbage character
	  introduced at the last commit.

Mon Jun  1 19:24:42 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_method_entry_make): do not show warning message
	  when method_entry is an alias.

Mon Jun  1 15:47:16 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: move class related definitions.

Mon Jun  1 15:43:03 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c: remove needless include pragma for method.h.

	* struct.c: ditto.

	* vm_method.c: ditto.

Mon Jun  1 05:42:00 2015  Koichi Sasada  <ko1@atdot.net>

	* eval_intern.h, vm_method.c: move macros to functions.
	  * SCOPE_TEST(f)  -> rb_frame_visibility_test(flag).
	  * SCOPE_CHECK(f) -> rb_frame_visibility_check(flag).
	  * SCOPE_SET(f)   -> rb_frame_visibility_set(flag).

	* load.c (load_ext): use it.

Mon Jun  1 04:47:37 2015  Zachary Scott  <e@zzak.io>

	* ext/date/date_core.c: [DOC] Add comparison of Time and DateTime
	  Patch provided by @pixeltrix

Mon Jun  1 04:22:09 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h (VM_FRAME_MAGIC_DUMMY): introduce new frame type to
	  recognize dummy frame.

	* vm.c (th_init): use new frame type.

	* vm_args.c (raise_argument_error): ditto.

Mon Jun  1 04:15:42 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (rb_class_has_methods): added to reduce dependency
	  to internal class data structure.

	* internal.h: ditto.

	* hash.c (has_extra_methods): use added function.

Mon Jun  1 04:11:48 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c , gc.h (rb_obj_info): export obj_info(VALUE) for debugging.

Mon Jun  1 03:52:55 2015  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_gc.rb: increase timeout seconds for GC stressful
	  debugging.

Sun May 31 04:18:06 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: fix typo of comments.

Sun May 31 03:36:42 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: add VM_METHOD_TYPE_ALIAS rb_method_definition_t::type
	  to fix [Bug #11173].

	  Now, inter class/method alias creates new method entry
	  VM_METHOD_TYPE_ALIAS, which has an original method entry.

	* vm_insnhelper.c (find_defined_class_by_owner): added.
	  Search corresponding defined_class from owner class/module.

	* vm_method.c (rb_method_entry_get_without_cache): return me->klass
	  directly for defined_class.

	  Now, no need to check me->klass any more.

	* vm_method.c (method_entry_set0): separated from method_entry_set().

	* vm_method.c (rb_alias): make method entry has VM_METHOD_TYPE_ALIAS.

	* vm_method.c (release_method_definition): support VM_METHOD_TYPE_ALIAS.

	* vm_method.c (rb_hash_method_definition): ditto.

	* vm_method.c (rb_method_definition_eq): ditto.

	* vm_method.c (release_method_definition): ditto.

	* vm_insnhelper.c (vm_call_method): ditto.

	* vm_insnhelper.c (vm_method_cfunc_entry): ditto.

	* vm_eval.c (vm_call0_body): ditto.

	* gc.c (mark_method_entry): ditto.

	* proc.c (method_def_iseq): ditto.

	* proc.c (method_cref): ditto.

	* proc.c (rb_method_entry_min_max_arity): ditto.

	* test/ruby/test_alias.rb: add tests.

	* test/ruby/test_module.rb: fix a test to catch up current behavior.

Sun May 31 03:34:25 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_method.c (rb_unlink_method_entry): make it static.

Sun May 31 03:26:58 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h, vm_method.c (rb_free_method_entry): constify a parameter.

	* vm_core.h: remove useless declaration about rb_unlink_method_entry().

Sat May 30 18:05:02 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/tempfile.rb (Remover#call): fixed wrong condition.  introduced at
	  r50682.

Sat May 30 16:12:35 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
	  [ruby-core:69419] [Feature #11198]

Sat May 30 15:59:10 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/tempfile.rb (Tempfile#initialize): initialize @unlinked to fix
	  test failures introduced at r50682.  I hope that check the results of
	  tests before committing, at least the tests about the changed feature.

Sat May 30 11:02:55 2015  Martin Englund <martin@englund.nu>

	* doc/dtrace_probes.rdoc: change lingering dtrace probe documentation
	  from function- to method-

Sat May 30 10:26:09 2015  Masaki Matsushita <glass.saga@gmail.com>

	* lib/tempfile.rb: refactoring.
	  * use warn instead of STDERR.print
	  * remove @tmpname and use @tmpfile.path
	  * introduce @unlinked flag
	  * Remover takes only @tmpfile
	  * mode will be modified just before file reopen

Sat May 30 09:02:51 2015  Eric Wong  <e@80x24.org>

	* include/ruby/intern.h (rb_generic_ivar_table): deprecate
	* internal.h (rb_attr_delete): declare
	* marshal.c (has_ivars): use rb_ivar_foreach
	  (w_ivar): ditto
	  (w_object): update for new interface
	* time.c (time_mload): use rb_attr_delete
	* variable.c (generic_ivar_delete): implement
	  (rb_ivar_delete): ditto
	  (rb_attr_delete): ditto
	  [ruby-core:69323] [Feature #11170]

Sat May 30 09:14:28 2015  Scott Francis  <scott.francis@shopify.com>

	* cont.c (cont_free): check if ruby_current_thread is still valid.
	  [Fix GH-914]

Sat May 30 08:36:04 2015  Eric Wong  <e@80x24.org>

	* variable.c (static int special_generic_ivar): move
	  (rb_generic_ivar_table): rewrite for compatibility
	  (gen_ivtbl_bytes): new function
	  (generic_ivar_get): update to use ivar index
	  (generic_ivar_update): ditto
	  (generic_ivar_set): ditto
	  (generic_ivar_defined): ditto
	  (generic_ivar_remove): ditto
	  (rb_mark_generic_ivar): ditto
	  (givar_i): ditto
	  (rb_free_generic_ivar): ditto
	  (rb_mark_generic_ivar_tbl): ditto
	  (rb_generic_ivar_memsize): ditto
	  (rb_copy_generic_ivar): ditto
	  (rb_ivar_set): ditto
	  (rb_ivar_foreach): ditto
	  (rb_ivar_count): ditto
	  (givar_mark_i): remove
	  (gen_ivtbl_mark): new function
	  (gen_ivar_each): ditto
	  (iv_index_tbl_extend): update for struct ivar_update
	  (iv_index_tbl_newsize): ditto
	  [ruby-core:69323] [Feature #11170]

Sat May 30 08:10:46 2015  Eric Wong  <e@80x24.org>

	* variable.c (iv_index_tbl_make): extract from rb_ivar_set
	  (iv_index_tbl_extend): ditto
	  (iv_index_tbl_newsize): ditto
	  (rb_ivar_set): use extracted functions
	  [ruby-core:69323] (Part 1)

Fri May 29 17:39:14 2015  Koichi Sasada  <ko1@atdot.net>

	* tool/make_hgraph.rb: added.

Fri May 29 14:39:00 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.

Fri May 29 11:18:58 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_sendmsg_internal,
	  bsock_recvmsg_internal):
	  avoid redundant fcntl on Linux
	  [ruby-core:69154] [Feature #11145]
	* ext/socket/init.c (rsock_s_recvfrom_nonblock): ditto
	* ext/socket/rubysocket.h (MSG_DONTWAIT_RELIABLE): new macro

Fri May 29 10:30:34 2015  Eric Wong  <e@80x24.org>

	* lib/net/resolv.rb (request): use monotonic clock
	* lib/net/http.rb (begin_transport, end_transport): ditto
	  [ruby-core:69384] [Feature #11124]

Fri May 29 04:37:38 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c: add two methods to debug internals.

	  * ObjectSpace.internal_class_of: return RBASIC_CLASS(obj).
	  * ObjectSpace.internal_super_of: return RCLASS_SUPER(cls).

	* NEWS: add information about both methods.

	* test/objspace/test_objspace.rb: add tests for both methods.

Thu May 28 06:55:53 2015  Anton Davydov  <antondavydov.o@gmail.com>

	* ext/tk/sample/figmemo_sample.rb (open_file),
	  ext/tk/sample/tktextio.rb (TkTextIO): fix typo in messages.
	  [Fix GH-916]

Wed May 27 09:50:51 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]

Wed May 27 09:27:30 2015  Eric Wong  <e@80x24.org>

	* lib/drb/drb.rb (set_sockopt): remove redundant fcntl call
	* lib/drb/unix.rb (set_sockopt): ditto
	  [ruby-core:69128] [Feature #11137]

Tue May 26 22:10:43 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* vm_method.c (rb_alias): should resolve refined methods.
	  [ruby-core:69360] [Bug #11182]

Tue May 26 21:35:13 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): fix condition.

Mon May 25 22:35:58 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb (rel): after the relations is changed,
	  @changesets is no longer right.

Mon May 25 11:27:14 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).

Mon May 25 00:27:37 2015  Benoit Daloze  <eregontp@gmail.com>

	* numeric.c (Numeric#negative?): [DOC] Fix call-seq.
	  Patch by @yui-knk. [Fixes GH-908]

Sun May 24 01:35:22 2015  Koichi Sasada  <ko1@atdot.net>

	* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().

Sat May 23 18:38:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* man/*.1: updated dates in man pages.
	  [ruby-dev:48988] [Bug #11171]

Sat May 23 03:10:58 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_write_console): should return the count of
	  actually eaten characters, include escape sequences.

Fri May 22 22:36:14 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/prime.rb: Remove obsolete Prime.new
	  patch by Ajay Kumar. [Fixes GH-891]

Fri May 22 21:13:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols`
	  to a symbol.c specific section.  a part of patch by Lourens
	  Naude.

Fri May 22 20:56:33 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* complex.c (f_complex_polar): simple bug reproduced only when y is
	  a float but x is not a float.

Fri May 22 19:42:06 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* process.c (rb_spawn_process): do not discard global escape
	  status.  [ruby-core:69304] [Bug #11166]

	* process.c (rb_execarg_spawn): extract the start procedure in a
	  parent process with ensuring the end procedure.

Fri May 22 16:48:32 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* NEWS: added news for net-telnet and rake

Thu May 21 20:27:07 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* configure.in (RUBY_DTRACE_POSTPROCESS): cmp -b is GNU extension.
	  darwin uses GNU cmp, and FreeBSD and Solaris are not.
	  Note that accidentally equals to expected result.

Thu May 21 18:00:19 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c: constify.

	* iseq.h: ditto.

	* method.h: ditto.

	* proc.c: ditto.

	* vm_method.c: ditto.

Thu May 21 17:44:53 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c: fix issues caused by binding created from Method#to_proc.
	  [Bug #11163]

	* vm.c (vm_cref_new_toplevel): export as rb_vm_cref_new_toplevel().

	* test/ruby/test_method.rb: add some assertions.

Thu May 21 17:29:26 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/matrix.rb: added documentation for Matrix#empty and Matrix#/
	  [Feature #10070][ruby-dev:48433] Patch by @gogotanaka

Thu May 21 17:02:43 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c: rename functions.
	  * method_get_def() -> method_def()
	  * method_get_iseq() -> method_def_iseq()
	  * method_get_cref() -> method_cref()

Thu May 21 16:52:44 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c (rb_method_get_iseq): rename to rb_method_iseq.

	* iseq.c: catch up this fix.

	* iseq.h: commit ditto.

Thu May 21 15:41:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/net/telnet.rb: gemify net-telnet.
	  [Feature #11083]
	* gems/bundled_gems: added net-telnet to bundled gems.

Thu May 21 15:37:32 2015  Zachary Scott  <e@zzak.io>

	* vm_method.c: Remove private attribute warning [Bug #10967]
	  Patch by @spastorino [Fixes GH-849]
	  https://github.com/ruby/ruby/pull/849

	* test/ruby/test_module.rb: Update test for changes

Thu May 21 10:59:43 2015  Koichi Sasada  <ko1@atdot.net>

	* proc.c (method_proc): rename to method_to_proc.

Thu May 21 10:51:54 2015  Jake Worth  <jakeworth82@gmail.com>

	* io.c (rb_f_select): [DOC] Fixes for grammar and style.
	  [Fix GH-906]

Thu May 21 08:25:19 2015  Eric Wong  <e@80x24.org>

	* variable.c (Init_var_tables): init generic_iv_tbl
	  (rb_generic_ivar_table, generic_ivar_get, generic_ivar_set,
	   generic_ivar_defined, generic_ivar_remove,
	   rb_mark_generic_ivar, givar_i, rb_mark_generic_ivar_tbl,
	   rb_free_generic_ivar, rb_copy_generic_ivar, rb_ivar_foreach,
	   rb_ivar_count): remove checks for uninitialize generic_iv_tbl
	[ruby-core:69155] [Feature #11146]

Thu May 21 04:11:03 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (exception_type2symbol): show correct bug message.

Wed May 20 23:19:05 2015  Yusuke Endoh  <mame@ruby-lang.org>

	* lib/base64.rb: Fix rdoc-formatting for padding argument.
	  [fix GH-905][ci skip] Patch by @davydovanton

Wed May 20 13:16:23 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (DEPRECATED_BY): deprecate warning with preferable
	  alternative.

	* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
	  the macro.

Wed May 20 11:23:24 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* vm_dump.c (rb_print_backtrace): return value of libexec's backtrace
	  is size_t, so simply cast as int.

Tue May 19 18:54:41 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]

Tue May 19 17:15:03 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/benchmark.rb: Update Benchmark documentation and formatting.
	  [fix GH-903][ci skip] Patch by @davydovanton

Tue May 19 13:10:08 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* numeric.c (num_positive_p): should false on Bignum 0.
	  http://twitter.com/rafaelfranca/status/600509783427391488
	  [ruby-core:69173] [Feature #11151]

Tue May 19 11:22:28 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/uri/rfc2396_parser.rb (initialize_pattern):
	  URI::Generic.build should accept port as a string.
	  pattern[:PORT] is not defined for long.
	  by Dave Slutzkin <daveslutzkin@fastmail.fm>
	  https://github.com/ruby/ruby/pull/804 fix GH-804

Tue May 19 11:18:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (rb_data_typed_object_alloc),
	  (rb_data_object_alloc): add old names for source level backward
	  compatibilities.

	* gc.c (rb_data_object_alloc, rb_data_typed_object_alloc): add
	  aliases for binary level backward compatibilities.

Tue May 19 09:54:44 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (Data_Make_Struct0): needs function pointer
	  casts to fix function overloading in C++.

Tue May 19 09:43:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (Data_Make_Struct0, TypedData_Make_Struct0):
	  explicit cast from void* is necessary as implicit cast is
	  disallowed in C++.

Mon May 18 15:31:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/intern.h (rb_f_notimplement): should not respond to
	  not-implemented methods.  as the address inside a DLL and the
	  imported address are different on Windows, use an exported
	  variable to share the same address.

Mon May 18 13:55:01 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count
	  just in case the previous owner thread dies without mon_exit.
	  [fix GH-874] Patch by @chrisberkhout

Sun May 17 17:21:29 2015  Eric Wong  <e@80x24.org>

	* lib/webrick/utils.rb (set_non_blocking): use IO#nonblock=
	* (set_close_on_exec): use IO#close_on_exec=
	  [Feature #11136]

Sun May 17 15:01:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* numeric.c (num_positive_p, num_negative_p): add methods
	  Numeric#positive? and Numeric#negative?.
	  [ruby-core:69173] [Feature #11151]

	* numeric.c (flo_positive_p, flo_negative_p): specialized
	  functions for Float.

	* complex.c (Init_Complex): Complex do not have positive? and
	  negative? methods

Sun May 17 14:57:42 2015  Eric Wong  <e@80x24.org>

	* lib/webrick/server.rb (accept_client): avoid redundant fcntl call
	  [Feature #11137]

Sun May 17 12:13:33 2015  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (cloexec_accept): support nonblock flag and
	  use SOCK_NONBLOCK if possible
	* ext/socket/init.c (rsock_s_accept_nonblock):
	  update cloexec_accept call
	* ext/socket/init.c (accept_blocking): ditto for blocking
	* test/socket/test_nonblock.rb: check nonblock? on accepted socket
	  [Feature #11138]

Sun May 17 03:58:59 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

Sat May 16 21:41:24 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

Sat May 16 21:38:05 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* enum.c: fix a sample code. Patch by @eagletmt
	  [fix GH-901][ci skip]

Sat May 16 21:17:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (rb_data_object_wrap, rb_data_typed_object_wrap): rename
	  alloc as wrap.  these functions do not allocate data pointers
	  but just wrap the given pointers.

Sat May 16 19:59:24 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_accept): simplified.

Fri May 15 18:28:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_assoc, rb_ary_rassoc): [DOC] the result when key
	  was found is the existing element, not a new array.  reported by
	  Giau Nguyen <giaunv AT nustechnology.com>.

Fri May 15 08:24:28 2015  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>

	* lib/cgi/cookie.rb: Implement HttpOnly flag for cookies.
	  [fix GH-887] Patch by @martinpovolny

Fri May 15 06:54:19 2015  Aaron Patterson <tenderlove@ruby-lang.org>

	* variable.c: Change autoload to call `require` through Ruby rather
	  than directly calling `rb_require_safe`.  This allows things like
	  RubyGems to intercept file loading done though `autoload`.
	  [Feature #11140]

	* test/ruby/test_autoload.rb: Test for change.

Wed Apr  8 19:18:02 2015  Shota Fukumori (sora_h)  <her@sorah.jp>

	* enum.c (enum_grep_v, grep_i, grep_iter_i, Init_enum):
	  Implement Enumerable#grep_v. [Feature #11049]

Thu May 14 15:54:13 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/pathname/lib/pathname.rb: Remove condition of RUBY_VERSION <= 1.9.
	  [Feature #11082]

Wed May 13 17:10:37 2015  Masaki Matsushita <glass.saga@gmail.com>

	* enum.c (enum_to_a): revert r50457.
	  it requires recursion check.
	  then, it doesn't make performance improvement.
	  [Bug #11130] [Feature #9118]

Wed May 13 11:13:40 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parse_gvar): separate message for gvar without
	  non-space characters from message for invalid identifiers.

Tue May 12 22:18:27 2015  Masaki Matsushita <glass.saga@gmail.com>

	* enum.c (enum_to_a): fix incompatibility introduced in r50457.
	  [Bug #11130]

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

Tue May 12 17:08:03 2015  Koichi Sasada  <ko1@atdot.net>

	* method.h: remove unused declaration.

Mon May 11 10:58:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* gems/bundled_gems: Update minitest-5.6.1 and power_assert-0.2.3.

Mon May 11 00:20:31 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/ruby.h (Data_Make_Struct, TypedData_Make_Struct):
	  allocate wrapper data object before allocating DATA_PTR to get
	  rid of possible memory leak when the former failed.

Sun May 10 21:32:45 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (gc_mark_children): call dmark function for non-NULL
	  pointers only, so that DATA_PTR can be NULL safely now.

Sun May 10 16:23:58 2015  Kazuki Tsujimoto  <kazuki@callcc.net>

	* proc.c (proc_binding): fix segmentation fault on marking phase.
	  envptr of newenvval should not be NULL.

	  You can reproduce by
	   make test-all TESTS='--gc-stress -n test_to_proc_binding ruby/test_method.rb'

Sun May 10 12:41:18 2015  Masaki Matsushita <glass.saga@gmail.com>

	* ext/zlib/zlib.c (rb_gzreader_external_encoding):
	  define GzipReader#external_encoding.
	  [Bug #10900]

	* test/zlib/test_zlib.rb: test for above.

Sun May 10 11:57:48 2015  Masaki Matsushita <glass.saga@gmail.com>

	* ext/win32ole/win32ole_variant.c: fix typo "indicies".
	  the patch is from davydovanton <antondavydov.o at gmail.com>.
	  [fix GH-892]

	* lib/rubygems/indexer.rb: ditto.

	* test/rubygems/test_gem_indexer.rb: ditto.

Sun May 10 11:44:37 2015  Masaki Matsushita <glass.saga@gmail.com>

	* string.c (rb_str_crypt): Raise ArgumentError when
	  string passed to String#crypt contains null.
	  the patch is from jrusnack <jrusnack at redhat.com>.
	  [Bug #10988] [fix GH-853]

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

Sun May 10 11:23:03 2015  Masaki Matsushita <glass.saga@gmail.com>

	* enum.c (enum_to_a): Use size to set array capa when possible.
	  the patch is from HonoreDB <aweiner at mdsol.com>.
	  [fix GH-444]

Sat May  9 06:48:36 2015  Eric Wong  <e@80x24.org>

	* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
	  [Bug #11123]

Fri May  8 22:57:24 2015  takiy33  <takiy33@gmail.com>

	* test/matrix/test_matrix.rb (test_determinant): refactor test on
	  Matrix#determinant, by merging with test_det for an alias method
	  det.  [Fix GH-897]

Fri May  8 15:43:11 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]

Fri May  8 15:05:57 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* doc/syntax/control_expressions.rdoc: fix a missing "a"
	  [fix GH-888][ci skip] Patch by @riffraff

Fri May  8 12:11:33 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]

Thu May  7 22:22:59 2015  Sho Hashimoto  <sho-h@ruby-lang.org>

	* proc.c: [DOC] fix Binding#local_variable_set example. [ci skip]

Thu May  7 11:32:57 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* Makefile.in (rbconfig.rb): add rule to make.

Thu May  7 05:14:39 2015  Eric Wong  <e@80x24.org>

	* ext/socket/lib/socket.rb (connect_nonblock): use IO#wait_writable
	* lib/drb/drb.rb (DRB::DRbTCPSocket#alive?): use IO#wait_readable
	* lib/webrick/httpserver.rb (run): ditto
	* lib/resolv.rb (request): ditto for single socket case
	  [ruby-core:68943] [Feature #11081]

Wed May  6 22:49:54 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]

Sun May  3 22:40:06 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

Sun May  3 21:59:48 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/yaml.rb: fix typo. [ci skip][fix GH-890]
	  Patch by @miketheman

Sun May  3 10:02:12 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]

Fri May  1 13:30:24 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 Apr 30 19:51:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (iseq_compile_each): revert r46873 and r46875, not to
	  allow to execute private readers by pretending op assign.
	  [ruby-core:68984] [Bug #11096]

Thu Apr 30 17:02:33 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* rational.c: Added documentation for rational literal.
	  [Bug #11075][fix GH-885][ci skip] Patch by @shishir127

Thu Apr 30 16:39:44 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]

Thu Apr 30 16:22:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (lambda): push and reset cmdarg_stack in lambda body.
	  [ruby-core:69017] [Bug #11107]

Sun Apr 26 07:36:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger
	  than UTF-8 max codepoints.  [Feature #11094]

Sat Apr 25 14:26:19 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (str_buf_cat): expand later so that the buffer can be
	  larger for further use.  [Bug #11080] [Bug #11095]

Fri Apr 24 23:48:45 2015  Akinori MUSHA  <knu@iDaemons.org>

	* misc/ruby-electric.el: Import version 2.2.3 from
	  https://github.com/knu/ruby-electric.el.

Fri Apr 24 10:40:02 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_{getc,putc}): removed.  they are needed for old
	  ruby (before 1.8), but not now.

Fri Apr 24 08:40:13 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/win32.c: remove bcc related code.

	* include/ruby/win32.h: ditto.

Fri Apr 24 08:21:07 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.

	* win32/win32.c (rb_acrt_lowio_unlock_fh): ditto.

Fri Apr 24 06:47:19 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.

	* win32/win32.c (_flsbuf): msvc14 doesn't have it, use _fputc_nolock.

	* win32/win32.c (vcruntime_file): define vcruntime_file on msvc14
	  because it doesn't export FILE's internal structure.

	* win32/win32.c (FILE_COUNT): added to abstract FILE->_cnt.

	* win32/win32.c (FILE_READPTR): added to abstract FILE->_ptr.

	* win32/win32.c (FILE_FILENO): added to abstract FILE->_file.

	* win32/win32.c (init_stdhandle): use FILE_FILENO.

	* win32/win32.c (rb_w32_getc): use FILE_COUNT and FILE_READPTR.

	* win32/win32.c (rb_w32_putc): ditto.

Fri Apr 24 06:37:07 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/win32.c (dupfd): use _set_osfhnd.

	* win32/win32.c (rb_w32_wopen): use _set_osflags.

Thu Apr 24 05:38:01 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_mark_roots): fox to work PRINT_ROOT_TICKS.

Fri Apr 24 04:49:05 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* win32/Makefile.sub: MSVC14 have struct timespec.

	* win32/rtname.cmd: support vcruntime140.dll.

	* time.c (localtime_with_gmtoff_zone): MSVC14 doesn't have tzname and
	  daylight but have _tzname and _daylight.

Thu Apr 23 11:35:55 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]

Thu Apr 23 10:01:36 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/delegate.rb: fix a typo.
	  [fix GH-881][ci skip] Patch by @Zorbash

Wed Apr 22 18:36:50 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/imap.rb (move, uid_move): support the MOVE command defined
	  in RFC6851.  Patch by ojab ojab.
	  [ruby-core:68960] [Feature #11077]

Tue Apr 22 12:42:12 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* test/ruby/test_object.rb: add tests for Kernel#String and Kernel#Array.
	  [fix GH-879][fix GH-880] Patch by @yui-knk

Tue Apr 21 20:46:02 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/ruby/test_object.rb: renamed tests to explicitly class name.
	  [fix GH-877] Patch by @yui-knk

Tue Apr 21 05:31:00 2015  Eric Wong  <e@80x24.org>

	* ext/socket/lib/socket.rb (connect_internal): avoid common exceptions
	  from connect_nonblock. [ruby-core:68909]

Mon Apr 20 23:46:53 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_wreadlink): follow the official format of
	  REPARSE_DATA_BUFFER structure.

Mon Apr 20 20:23:04 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk ($(arch)-fake.rb): revert r50354 because bsdmake seems not
	  to handle such substitution.

	* tool/expand-config.rb: convert path separators here.

Mon Apr 20 16:52:20 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

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

Mon Apr 20 16:49:52 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* lib/mkmf.rb (MakeMakefile#configuration): DESTDIR should never affect
	  top_srcdir and builddir.

Mon Apr 20 16:18:17 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* common.mk ($(arch)-fake.rb): fix the path separator up for Windows.

Mon Apr 20 15:02:47 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_wreadlink): fixed a bug that a junction misses
	  its drive letter.

Mon Apr 20 12:54:56 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ext/openssl/*: use license instead of licence.
	  [fix GH-876][ci skip] Patch by @davydovanton
	* lib/net/https.rb: ditto.

Mon Apr 20 12:42:40 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* benchmark/bm_so_meteor_contest.rb: fix a typo.
	  [fix GH-876][ci skip] Patch by @davydovanton
	* tool/bisect.sh: ditto.
	* tool/update-deps: ditto.

Mon Apr 20 11:10:46 2015  Eric Wong  <e@80x24.org>

	* ext/socket/socket.c (sock_connect_nonblock): do not raise EISCONN
	  [ruby-core:68926] [Feature #11072]
	* test/socket/test_nonblock.rb: check non-EISCONN on 2nd connect

Sun Apr 19 12:19:17 2015  Chad Brewbaker  <crb002@gmail.com>

	* ext/{etc,openssl,tk}: Adding parens and comparisons around
	  assignments to get rid of Wparentheses warnings.  [Fix GH-875]

Sun Apr 19 10:42:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (get_env_cstr): environment variables must be ASCII
	  compatible, as dummy encodings and wide char encodings are
	  unsupported now.

Sat Apr 18 15:18:56 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 Apr 17 11:58:34 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]

Thu Apr 16 05:15:50 2015  Eric Wong  <e@80x24.org>

	* NEWS: note IO#wait_readable change in r50263

Thu Apr 16 05:09:36 2015  Eric Wong  <e@80x24.org>

	* lib/net/protocol.rb (rbuf_fill): use IO#wait_*able
	* lib/net/http/generic_request.rb (wait_for_continue): ditto
	  [ruby-core:68891] [Feature #11056]

Wed Apr 15 18:43:43 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_trace.c (rb_tracepoint_new): fix documentation.
	  Commented by @emilsoman.

Wed Apr 15 17:36:51 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_trace.c (rb_tracepoint_new): Add documentation for
	  rb_tracepoint_new C level API [ci skip]
	  Provided by @emilsoman. [fix GH-869]

Wed Apr 15 10:37:40 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* doc/contributors.rdoc: fix a typo. Patch by @davydovanton
	  [fix GH-872][ci skip]
	* doc/syntax/methods.rdoc: ditto.
	* ext/digest/sha2/sha2.c: ditto.
	* ext/socket/ipsocket.c: ditto.
	* ext/tk/*: ditto.

Wed Apr 15 07:51:23 2015  Yuki Yugui Sonoda  <yugui@yugui.jp>

	* doc/extension.ja.rdoc: Added description of TypedData_XXX.
	  Deprecated the old DATA_XXX.
	  Reviewed by ko1 and nobu.
	  Fixes [ruby-dev:40881] #3064

	* doc/extension.rdoc: ditto.

Wed Apr 15 07:34:49 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 16:03:49 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/merger.rb (versionup): should also increment revision when
	  changing teeny.

Tue Apr 14 11:24:56 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]

Tue Apr 14 08:59:04 2015  Zachary Scott  <e@zzak.io>

	* gc.c: [DOC] Improve documentation for ObjectSpace.count_objects
	  with regards to `:TOTAL` key, with patch by @schneems [Fixes GH-871]
	  https://github.com/ruby/ruby/pull/871 [Bug #11067]

Mon Apr 13 22:44:07 2015  Tanaka Akira  <akr@fsij.org>

	* test/lib/envutil.rb (File.mkfifo): Defined using mkfifo command.

	* test/ruby/test_io.rb: Use File.mkfifo.

	* test/ruby/test_file_exhaustive.rb: Ditto.

	* test/ruby/test_process.rb: Ditto.

Mon Apr 13 21:20:20 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.

Sun Apr 12 18:40:04 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json/json.gemspec: bump version to 1.8.2.
	* ext/json/lib/json/version.rb: ditto.

Sun Apr 12 18:12:07 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.
	* defs/default_gems, tool/rbinstall.rb: removed default_gems definition.
	  it make simple installation for default gems.

Sun Apr 12 17:35:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json/*, test/json/*: Reverted r50231.  Because it's not
	  working with cross-compile environment.

Sun Apr 12 15:34:59 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (arg): fix segfault by null caused by syntax error.
	  [ruby-core:68851] [Bug #10957]

Sun Apr 12 15:11:16 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/test_case.rb: use explicitly exception class and reverted
	  to require JSON library for rubygems tests with Ruby 2.2.0 or earlier.

Sun Apr 12 15:10:18 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/io/wait/wait.c (io_wait_readable): simply returns that IO is
	  readable without blocking, but no longer returns EOF.

	* ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling
	  first and check FIONREAD optionally to see if EOF.
	  [ruby-core:36805] [Feature #4849]

Sun Apr 12 14:53:23 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems/test_case.rb: fixed json load error for rubygems tests.

Sun Apr 12 14:13:28 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gc.c: Document require name for ObjectSpace methods.
	  [ci skip][fix GH-860] Patch by @schneems

Sun Apr 12 13:54:05 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_io.rb: New test that open(fifo) doesn't block other
	  threads.

Sun Apr 12 13:52:18 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/coverage/coverage.c: Remove extension from require argument.
	  [ci skip][fix GH-870] Patch by @yui-knk

Sun Apr 12 10:29:14 2015  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock):
	  support `exception: false'
	* (get_no_exception): move function location
	* ext/socket/socket.c (sock_connect_nonblock):
	  support `exception: false'
	* test/openssl/test_pair.rb (test_connect_accept_nonblock_no_exception):
	  test `exception: false' on connect,
	  rename from `test_accept_nonblock_no_exception'
	* test/socket/test_nonblock.rb (test_connect_nonblock_no_exception):
	  new test

Sun Apr 12 09:57:16 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test a block device on GNU/Linux.

Sun Apr 12 09:24:03 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test a file not owned.

Sun Apr 12 09:05:44 2015  Tanaka Akira  <akr@fsij.org>

	* ext/fiddle/depend: Fix "Wrong mix of special targets" error with
	  OpenBSD make.

Sun Apr 12 09:04:37 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_file_exhaustive.rb: Windows doesn't support Unix file
	  modes.

Sun Apr 12 08:56:44 2015  Tanaka Akira  <akr@fsij.org>

	* ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h.

Sun Apr 12 08:52:01 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file.

Sat Apr 11 23:48:30 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* template/fake.rb.in: Don't assign baseruby, Because it's affect to
	  Makefile of native gem like json on bundled gems.

Sat Apr 11 23:33:22 2015  Tanaka Akira  <akr@fsij.org>

	* file.c (rb_f_test): Consider nsec for "=", "<" and ">" for "test"
	  method.

Sat Apr 11 23:26:05 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/rbinstall.rb: support destdir for native extension gem.

Sat Apr 11 21:02:06 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_file_exhaustive.rb
	  (TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed
	  the guard for non-unix environments.

Sat Apr 11 20:14:21 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
	  [fix GH-867][Feature #11057]
	* test/ruby/test_extlibs.rb: removed json gem from existence extensions.
	* gems/bundled_gems: added json gem into bundled gem.
	* lib/rdoc/rubygems_hook.rb: ignored no json environment.
	* lib/rubygems/test_case.rb, test/rubygems/*: ditto.
	* lib/rdoc/test_case.rb, test/rdoc/*: ditto.

Sat Apr 11 15:56:58 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Create sample files lazily.

Sat Apr 11 14:03:47 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test character device using
	  /dev/null.

Sat Apr 11 10:59:58 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/mkmf.rb (append_cppflags, append_cflags, append_ldflags):
	  utility methods to append compiler options.

Sat Apr 11 08:22:24 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rdoc/text.rb: removed duplicated code.

Sat Apr 11 04:46:42 2015  Eric Wong  <e@80x24.org>

	* lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
	  [ruby-core:68787] [Feature #11044]

Fri Apr 10 23:57:44 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]

Fri Apr 10 22:29:21 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/mkmf.rb (try_compile): pass the given werror flag to try_do
	  to check if stderr is empty.

	* lib/mkmf.rb (try_cflags, try_ldflags): default werror to true.

	* win32/Makefile.sub (WERRORFLAG): remove useless option.  VC does
	  not make warnings of unknown command option an error.

Fri Apr 10 19:34:24 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test socket.

Fri Apr 10 19:38:46 2015  Koichi Sasada  <ko1@atdot.net>

	* test/objspace/test_objspace.rb: remove debug prints.

Fri Apr 10 19:35:51 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c: add ObjectSpace.count_imemo_objects method
	  to count imemo objects for each type.

	* test/objspace/test_objspace.rb: add a test.

	* NEWS: describe about this addition.

Fri Apr 10 19:34:24 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test anonymous pipe.

Fri Apr 10 19:31:56 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_file_exhaustive.rb: Test named pipe.

Fri Apr 10 19:10:34 2015  Koichi Sasada  <ko1@atdot.net>

	* ext/objspace/objspace.c (setup_hash): unify common routine.

Fri Apr 10 18:29:49 2015  Tanaka Akira  <akr@fsij.org>

	* process.c (rb_execarg_parent_start1): Handle EINTR.

Fri Apr 10 17:27:58 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.

Fri Apr 10 11:44:09 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/date/extconf.rb: check warnings.

	* lib/mkmf.rb (try_cflags): pass options to try_compile.

	* win32/Makefile.sub (WERRORFLAG): make unknown command line
	  options an error.

Fri Apr 10 08:00:17 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_process.rb: unfortunately, windows is not POSIX...
	  cygwin has mkfifo command, but it does not affect system-wide.

Fri Apr 10 02:18:53 2015  Tanaka Akira  <akr@fsij.org>

	* test/ruby/test_process.rb: Use mkfifo command instead of mknod
	  command to create a named pipe.  mkfifo command is defined by POSIX.

Fri Apr 10 01:29:05 2015  Tanaka Akira  <akr@fsij.org>

	* process.c: Release GVL when opening a file in spawn() to avoid whole
	  process blocking when opening a named pipe.
	  (open_func): New function.
	  (rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and
	  use rb_thread_call_without_gvl2 to release GVL when opening a file.
	  (rb_execarg_parent_start): Invoke rb_execarg_parent_start1 via
	  rb_protect and invoke rb_execarg_parent_end when error.

Thu Apr  9 22:19:19 2015  Tanaka Akira  <akr@fsij.org>

	* process.c (redirect_open): Removed.

Thu Apr  9 21:38:20 2015  Tanaka Akira  <akr@fsij.org>

	* internal.h (rb_execarg_parent_end): Declared.

	* process.c: "spawn" opens files in the parent process.
	  (check_exec_redirect): Add an placeholder for fd in parameters
	  for fd_open.
	  (check_exec_fds_1): Delete fd_open condition.
	  (check_exec_fds): Don't call check_exec_fds_1 with fd_open.
	  (rb_execarg_parent_start): Open files specified as "spawn" options
	  and add "dup2" options.
	  (rb_execarg_parent_end): New function to close opened fds.
	  (run_exec_open): Removed.
	  (rb_execarg_run_options): Don't call run_exec_open.
	  (rb_spawn_internal): Call rb_execarg_parent_end.

	* io.c (pipe_open): Call rb_execarg_parent_end.

	* ext/pty/pty.c (establishShell): Call rb_execarg_parent_end.

Thu Apr  9 20:52:31 2015  Tanaka Akira  <akr@fsij.org>

	* internal.h (rb_execarg_parent_start): Renamed from rb_execarg_fixup.

	* process.c: Follows the above change.

	* io.c: Ditto.

	* ext/pty/pty.c: Ditto.

Thu Apr  9 20:35:12 2015  Tanaka Akira  <akr@fsij.org>

	* process.c (fd_clear_cloexec): Extracted from run_exec_dup2.

Thu Apr  9 09:26:47 2015  Eric Wong  <e@80x24.org>

	* ccan/list/list.h: sync with ccan upstream
	  [ccan commit c2fbfe5282ba264f3485586e7efa8a5967f2d386]

Thu Apr  9 08:24:03 2015  Masahiro Tomita  <tommy@tmtm.org>

	* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
	  addrinfo.  [ruby-dev:48923] [Bug #11051]

Wed Apr  8 17:45:02 2015  Shannon Skipper  <shannonskipper@gmail.com>

	* version.c (Init_version): the version of the engine or
	  interpreter.  [Fix GH-858]

Wed Apr  8 16:15:30 2015  Kenta Murata  <mrkn@cookpad.com>

	* bigdecimal: conform to ruby's license.  [ruby-core:68466] [Bug #10952]

Wed Apr  8 14:57:06 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* win32/win32.c (rb_w32_wreadlink): should treat junctions like as
	  symlinks.

Wed Apr  8 14:03:47 2015  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_symbol.rb: fix syntax error.

Wed Apr  8 13:01:06 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* hash.c (rb_any_hash): Symbols are compared by the identities
	  always.  [ruby-core:68767] [Bug #11035]

Tue Apr  7 10:22:51 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* internal.h: fix typo. Patch by @sferik [fix GH-865]

Mon Apr  6 22:52:35 2015  Tanaka Akira  <akr@fsij.org>

	* enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes
	  the initial_state argument.  [Feature #10958]

Mon Apr  6 16:09:58 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_thread_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.

Mon Apr  6 11:26:42 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/downloader.rb (http_options): prevent content auto decoding
	  because this is a downloader.

Sun Apr  5 09:55:18 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* doc/contributing.rdoc: update Maintainers list.

Sun Apr  5 09:11:00 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/rbinstall.rb: fix bin script permission of bundled gems.

Sun Apr  5 08:46:08 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/rbinstall.rb: support --program-suffix option.

Sat Apr  4 21:31:18 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
	* test/rake/*: ditto.
	* tool/rbinstall.rb: ditto.

Sat Apr  4 11:30:24 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* string.c (rb_str_setbyte): check the argument first not to
	  discard shared string and code range unnecessarily until
	  actually changing the contents.  pointed out by headius.

Sat Apr  4 08:16:43 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* lib/net/http.rb (edit_path): use path which is absolute ftp url
	  on using ftp_proxy.

Fri Apr  3 11:43:17 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_eval.c (vm_call0_cfunc): update invoker arguments.

	* vm_insnhelper.c (vm_call_cfunc_latter): ditto.

	* vm_insnhelper.c (rb_vm_call_cfunc_push_frame): ditto, and prefix
	  with rb_.

Thu Apr  2 16:26:59 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk, tool/mkconfig.rb: check the running ruby version in
	  rbconfig.rb with the program version, as RUBY_VERSION has never
	  been affected by --with-ruby-version option.
	  [ruby-core:68639] [Bug #11002]

	* configure.in (LIBRUBY_DLDFLAGS): compatibility_version must be
	  valid version numbers, not an arbitrary string.

Wed Apr  1 11:09:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (push_glob): remove indirect links of arguments for
	  trampoline.

Wed Apr  1 09:59:12 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]

Tue Mar 31 15:25:07 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/ChangeLog-0.06_to_0.52: added archived Changelog.
	  [ruby-list:50105]
	* doc/ChangeLog-0.50_to_0.60: ditto.
	* doc/ChangeLog-0.60_to_1.1: ditto.

Mon Mar 30 22:02:55 2015  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* README.EXT.ja: add redirect [ruby-core:68631]

Mon Mar 30 14:42:41 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (fileattr_to_unixmode, winnt_lstat): deal with
	  symbolic link than directory, and set executable bits.

Mon Mar 30 11:27:54 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (copy_stream_body): use the arguments without conversion if
	  having read, readpartial, and write methods, than conversion by
	  to_path method.  [ruby-core:68676] [Bug #11015]

Sun Mar 29 21:08:37 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* gc.c (objspace_allrefs_destruct_i): fix a typo.
	  [Bug #11013]

Sun Mar 29 11:51:32 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]

Sat Mar 28 09:19:41 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.

Fri Mar 27 16:34:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk: revert using BOOTSTRAPRUBY for enc.mk, as
	  enc/depend uses CONFIG.  [ruby-core:68647] [Bug #11004]

Thu Mar 26 10:05:13 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/test_observer.rb: add tests for Observable module.
	  [fix GH-859] Patch by @brightbits

Thu Mar 26 06:35:10 2015  Eric Wong  <e@80x24.org>

	* README.EXT: add redirect [ruby-core:68631]

Wed Mar 25 16:46:49 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.

Wed Mar 25 17:03:08 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]

Wed Mar 25 11:20:40 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* benchmark/bm_hash_aref_flo.rb: make more realistic data.
	  [ruby-core:68632] [[Bug #10999]

Wed Mar 25 10:39:06 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .document: removed needless entries.

Wed Mar 25 08:07:28 2015  Eric Wong  <e@80x24.org>

	* doc/extension.rdoc: fix spelling of filename
	* doc/extension.ja.rdoc: ditto.

Tue Mar 25 06:55:43 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* complex.c (k_inexact_p, k_exact_zero_p): use k_exact_zero_p macro
	  to remove k_inexact_p macro.

	* complex.c (k_exact_one_p): remove unused macro k_exact_one_p.

Tue Mar 24 22:23:33 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/extention.rdoc: move from toplevel document and added extname.
	* doc/extention.ja.rdoc: ditto.

Tue Mar 24 22:06:58 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/standard_library.rdoc: strip.

Tue Mar 24 22:06:27 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/standard_library.rdoc: move Thread to Extensions.

Tue Mar 24 21:59:10 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/contributing.rdoc: update Maintainers list.

Tue Mar 24 19:10:24 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_writebarrier_generational): fix messages for rb_bug().
	  Remove `rb_' prefix.

	* gc.c (gc_writebarrier_incremental): ditto.

Tue Mar 24 17:34:01 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* README.ja.md: should be chunibyo.

Tue Mar 24 17:30:12 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]

Tue Mar 24 16:46:02 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: now doesn't required spaces just after
	  `!`.

Mon Mar 23 23:18:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (dir_close): don't raise on double close for consistent to
	  IO#close.  [Feature #10950]

Mon Mar 23 21:22:07 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/file.c (rb_readlink): move from file.c for better buffer
	  allocation and the result encoding.

	* win32/win32.c (wreadlink, rb_w32_ureadlink): implement readlink().

Mon Mar 23 14:40:45 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* win32/win32.c (winnt_stat): stat with following symbolic links.

	* win32/win32.c (winnt_lstat): rename old winnt_stat, which does
	  not follow symbolic links.

Mon Mar 23 01:44:35 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 Mar 22 22:07:40 2015  Kouhei Sutou  <kou@cozmixng.org>

	* doc/etc.rd.ja: Fix wrong coding for Emacs.

Sun Mar 22 09:53:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/make-snapshot (package): add default CONFIGURE name to
	  follow r50039.

	* tool/make-snapshot (package): substitute configuration variables
	  in Makefile.in instead of passing by the command line, and make
	  temporary Makefile instead of a pipe.

Sun Mar 22 08:09:47 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (ext/ripper/ripper.c, ext/rbconfig/sizeof/sizes.c):
	  strip autogenerated dependencies which have invalid syntax in
	  other than nmake.

Sat Mar 21 15:01:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/io/console/console.c (console_set_winsize): use handle for
	  writing.  GetConsoleScreenBufferInfo seems failing on a handle
	  for reading.

	* io.c: [DOC] update the example of IO#winsize to use $stdout
	  instead of $stdin, which does not work on Windows.  a patch by
	  Jan Lelis <mail AT janlelis.de> at [ruby-core:68574].
	  [Bug #10986]

Fri Mar 20 18:41:03 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]

Fri Mar 20 17:43:18 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .travis.yml: enabled email notification.

Fri Mar 20 17:39:52 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

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

Fri Mar 20 12:38:36 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): obj_info() can receive internal objects.

	* gc.c (check_rvalue_consistency): obj_info() returns const char *.

Fri Mar 20 12:14:37 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): show class name and T_DATA type_name.

Thu Mar 19 22:12:46 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_copy_wb_protected_attribute): `dest' can be WB unprotected.

Thu Mar 19 21:25:25 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_copy_wb_protected_attribute): demote `dest' object.

Thu Mar 19 16:18:00 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c, internal.h: export rb_gc_verify_internal_consistency().

Thu Mar 19 16:15:24 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): show allocation site if GC_DEBUG is not 0.

Thu Mar 19 16:12:01 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (newobj_of): fix RGENGC_OLD_NEWOBJ_CHECK logics.
	  * skip on incremental marking because not sure what happen :p
	  * rb_gc_writebarrier_remember() is enough to mark children.

Thu Mar 19 16:08:42 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (rb_copy_wb_protected_attribute): need demote for old objects.

Thu Mar 19 10:31:00 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* random.c (fill_random_bytes): release the handle in the static
	  variable, not a local variable.

Thu Mar 19 06:30:35 2015  Koichi Sasada  <ko1@atdot.net>

	* object.c (rb_obj_clone): do not touch age (FL_PROMOTED[01]) because
	  rb_obj_alloc() can return old object in debug.

Thu Mar 19 06:29:28 2015  Koichi Sasada  <ko1@atdot.net>

	* test/objspace/test_objspace.rb: flag name was changed
	  (long_lived -> uncollectible).

Thu Mar 19 05:30:13 2015  Koichi Sasada  <ko1@atdot.net>

	* iseq.c (iseq_mark): skip some marking if iseq->orig is available.

	* iseq.c (rb_iseq_clone): need WB for iseq1->klass = iseq0->klass
	  (done in MEMCPY).

Thu Mar 19 04:55:53 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h (IMEMO_DEBUG): added.

	* internal.h: remove unused FL_IMEMO_MARK_V[0-3].

	* gc.c (rb_imemo_new_debug): added.

	* gc.c (obj_info): show imemo type name.

Thu Mar 19 04:52:26 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (RGENGC_OLD_NEWOBJ_CHECK): add check mechanism.

	  If RGENGC_OLD_NEWOBJ_CHECK > 0, then create old objects
	  (not new objects) periodically.

	  Create one old objects per RGENGC_OLD_NEWOBJ_CHECK objects are
	  created.

Thu Mar 19 04:46:36 2015  Koichi Sasada  <ko1@atdot.net>

	* enum.c (enum_sort_by): add WBs.

Thu Mar 19 03:37:52 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (check_rvalue_consistency): refactoring.
	  * not inline on RGENGC_CHECK_MODE > 0.
	  * check SPECIAL_CONST_P(obj) first.
	  * add a check that remembered_bit is only TRUE when old (age == 3).

	* gc.c (RVALUE_DEMOTE): should clear RVALUE_REMEMBERED bit.

	  remembered_bit should be TRUE only for old (age == 3) objects.

	  Actually there are no effect because demoted objects will be
	  uncollectible WB unprotected objects (marked at the beginning of
	  every minor GC).

Thu Mar 19 02:52:48 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c: rename terminologies.
	  * long_lived -> uncollectible:
	    because this bitmap does not mean "long lived objects in past",
	    but means "prohibit collection these objects until next major GC".

	    Uncollectible objects consist of two types objects, one is old
	    objects (WB protected objects which age == 3) and another is
	    uncollectible WB unprotected objects which are referred from old
	    objects

	  * remembered_wb_unprotected_objects ->
	    uncollectible_wb_unprotected_objects:
	    because uncollectible objects does not mean remembered objects.

Wed Mar 18 17:21:12 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (gc_writebarrier_generational): add an alternative write
	  barrier (WB) implementation.
	  When finding reference from [Old obj] to [New obj] by WB, current
	  implementation marks [Old obj] as remembered old objects and marks
	  children of [Old obj] at the beginning of marking.

	  Added (but disabled) code changes current behaviour. This fix promote
	  [New obj] to old and marks as a remembered old object. We can assume
	  "new objects referred from old objects are maybe long-lived old
	  objects".

	  Disadvantage of added algorithm is we may promote unwilling
	  short-lived objects. For example, consider many new objects push and
	  pop to an old stack object. All of new objects (short-lived objects)
	  promote to old objects unexpectedly.

	  To compare these behaviour, I add this new code (but disabled it).

Wed Mar 18 17:14:39 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (RVALUE_PROMOTE_RAW): rename to RVALUE_OLD_LONG_LIVED_SET()
	  to make clear.

Wed Mar 18 17:10:01 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (check_rvalue_consistency): do not need to check is_sweeping().

Wed Mar 18 14:13:22 2015  Koichi Sasada  <ko1@atdot.net>

	* benchmark/bm_vm1_gc_wb_ary.rb: run GC to finish "marking" phase.

	* benchmark/bm_vm1_gc_wb_obj.rb: ditto.

	* benchmark/bm_vm1_gc_wb_ary_promoted.rb: add parameter
	  full_mark: false to invoke only minor GC.

	* benchmark/bm_vm1_gc_wb_obj_promoted.rb: ditto.

Wed Mar 18 12:07:36 2015  Koichi Sasada  <ko1@atdot.net>

	* string.c: add a comment about RSTRING_FSTR.

Wed Mar 18 12:01:53 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]

Wed Mar 18 05:34:32 2015  Koichi Sasada  <ko1@atdot.net>

	* string.c: introduce STR_FAKESTR to show string is FAKESTR or not.

	* string.c (STR_SET_SHARED): ignore FAKESTR because only Ruby objects
	  can use write barrier.

Tue Mar 17 18:59:16 2015  Koichi Sasada  <ko1@atdot.net>

	* include/ruby/ruby.h: use rb_gc_writebrrier() simply.
	  For incremental GC, we need to get a pointer to the objspace.
	  We can share this pointer for the following WB process.
	  And considering icache hit ratio, process in the GC.

	* gc.c (rb_gc_writebarrier): added.

	* gc.c (gc_writebarrier_generational, gc_writebarrier_incremental):
	  make them NOINLINE because inlining them into rb_gc_writebarrier()
	  makes a prologue code of rb_gc_writebarrier() longer (storing callee
	  save registers).

	  This patch improve the performance of WB on micro-benchmarks.

	  name                   ruby 2.1   trunk   modified
	  vm1_gc_wb_ary*            0.511   0.632      0.532
	  vm1_gc_wb_ary_promoted*   0.578   0.701      0.674
	  vm1_gc_wb_obj*            0.419   0.575      0.492
	  vm1_gc_wb_obj_promoted*   0.537   0.664      0.618
	                                                 (sec)

Tue Mar 17 18:51:43 2015  Koichi Sasada  <ko1@atdot.net>

	* benchmark/bm_vm1_gc_wb_ary(_promoted).rb: separate fastpath and
	  slowpath for WB.

	  Before this change bm_vm1_gc_wb_ary.rb tried to check the performance
	  for WB slowpath (making a reference from oldobj to newobj). However,
	  from Ruby 2.2, 3 GCs are needed to promote new objects because
	  only 3 age objects are promoted objects.

	  To compare fastpath and slowpath, introduce new "promoted" version
	  benchmark.

	  bm_vm1_gc_wb_ary.rb is for fastpath and
	  bm_vm1_gc_wb_ary_promoted.rb is for slowpath.

	* benchmark/bm_vm1_gc_wb_obj(_promoted).rb: ditto.

Tue Mar 17 17:23:11 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): distinguish not-yet-stated and DT_UNKNOWN
	  by readdir, and traverse recursively for the former.  Linux
	  readdir returns DT_UNKNOWN on some filesystems, e.g., smbfs,
	  iso9660.

Mon Mar 16 17:43:21 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/webrick/server.rb: Fix regression bug in WEBrick's
	  :DoNotReverseLookup config option implementation.
	  [fix GH-731] Patch by @vais
	* test/webrick/test_do_not_reverse_lookup.rb: ditto.

Sat Mar 14 20:05:23 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* math.c (math_gamma): optimization for passed small integer.

Sat Mar 14 18:07:23 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* enum.c: [DOC] Fixes Enumerable#member? documentation
	  [fix GH-756][ci skip] Patch by @shamanime

Sat Mar 14 12:23:53 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): use d_type to reduce lstat system calls.

	* win32/dir.h (struct direct): add d_type instead of d_isdir and
	  d_isrep.  SYMLINKD is unreliable, since the target can be
	  replaced after a link was created.

	* win32/win32.c (readdir_internal): set d_type.

Sat Mar 14 02:14:50 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (primary): empty parentheses at cmdarg can be null.
	  [ruby-core:68477] [Bug #10957]

Fri Mar 13 15:04:36 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/stringio/stringio.c (strio_close): don't raise on double
	  close for consistent to IO#close.

Fri Mar 13 15:03:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (rb_io_close_read, rb_io_close_write): don't raise after
	  close same as IO#close.

Fri Mar 13 12:29:07 2015  Tanaka Akira  <akr@fsij.org>

	* test/readline/test_readline.rb: Restore environment variables:
	  COLUMNS LINES

Fri Mar 13 11:37:46 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]

Fri Mar 13 07:02:20 2015  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (rsock_s_accept_nonblock): use rb_hash_lookup2
	* ext/openssl/ossl_ssl.c (get_no_exception): new function
	  (ossl_ssl_accept_nonblock): use get_no_exception
	  (ossl_ssl_read_internal): ditto
	  (ossl_ssl_write_nonblock): ditto
	  [ruby-core:68511]

Fri Mar 13 07:01:38 2015  Eric Wong  <e@80x24.org>

	* ext/openssl/ossl_ssl.c: predefine wait_*able symbols

Thu Mar 12 22:59:53 2015  Tanaka Akira  <akr@fsij.org>

	* test/lib/leakchecker.rb: Check environment variables.

Thu Mar 12 05:54:27 2015  Eric Wong  <e@80x24.org>

	* ext/socket/init.c (rsock_s_accept_nonblock):
	  support exception: false
	  [ruby-core:66385] [Feature #10532]
	* ext/socket/init.c (rsock_init_socket_init): define new symbols
	* ext/socket/rubysocket.h: adjust prototype
	* ext/socket/socket.c (sock_accept_nonblock): support exception: false
	* ext/openssl/ossl_ssl.c (ossl_ssl_accept_nonblock): ditto
	* ext/socket/socket.c (Init_socket): adjust accept_nonblock definition
	* ext/openssl/ossl_ssl.c (Init_ossl_ssl): ditto
	* ext/socket/tcpserver.c (rsock_init_tcpserver): ditto
	* ext/socket/unixserver.c (rsock_init_unixserver): ditto
	* ext/socket/tcpserver.c (tcp_accept_nonblock): adjust
	  rsock_s_accept_nonblock call
	* ext/socket/unixserver.c (unix_accept_nonblock): ditto
	* ext/openssl/ossl_ssl.c (ossl_start_ssl): support no_exception
	* ext/openssl/ossl_ssl.c (ossl_ssl_connect): adjust ossl_start_ssl call
	* ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock): ditto
	* ext/openssl/ossl_ssl.c (ossl_ssl_accept): ditto
	* test/socket/test_nonblock.rb (test_accept_nonblock): test for
	  "exception :false"
	* test/socket/test_tcp.rb (test_accept_nonblock): new test
	* test/socket/test_unix.rb (test_accept_nonblock): ditto
	* test/openssl/test_pair.rb (test_accept_nonblock_no_exception): ditto

Thu Mar 12 10:53:06 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h, node.h: move a definition of `struct rb_global_entry'
	  and related functions from node.h to internal.h.

	* variable.c: remove unused include pragma.

	* common.mk: remove unused dependency.

Thu Mar 12 10:32:39 2015  Koichi Sasada  <ko1@atdot.net>

	* common.mk: remove unused dependency.

Thu Mar 12 08:20:14 2015  Koichi Sasada  <ko1@atdot.net>

	* load.c: removed unused header file "node.h".

	* method.h: ditto.

	* symbol.c: ditto.

Thu Mar 12 08:14:48 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c: RGENGC_CHECK_MODE should be 0.

Thu Mar 12 07:44:17 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: use T_IMEMO to represent `struct MEMO' value.
	  memo->v1 and memo->v2 is WB protected values.
	  So use MEMO_V1/V2_SET() macros to set these values.
	  memo->u3 is ambiguous (sometimes a VALUE, sometimes an integer
	  value), so use gc_mark_maybe() in gc.c to mark it.

	  Rename NEW_MEMO() to MEMO_NEW().

	  Move MEMO_FOR and NEW_MEMO_FOR macros from node.h.

	  Export a rb_imemo_new() function for ext/ripper.

	* node.h: remove NODE_MEMO.

	* enum.c: catch up these change.

	* enumerator.c: ditto.

	* load.c: ditto.

	* ext/objspace/objspace.c (count_nodes): ditto.

	* gc.c (gc_mark_children): mark imemo_memo type.

	* parse.y (new_args_gen): use T_IMEMO.
	  (I'm not sure it is working correctly...)

Wed Mar 11 22:36:34 2015  Koichi Sasada  <ko1@atdot.net>

	* eval.c (frame_called_id): it should use vm_ifunc type.

	* eval.c (frame_func_id): ditto.

Wed Mar 11 22:27:05 2015  Koichi Sasada  <ko1@atdot.net>

	* node.h: remove NODE_IFUNC, NEW_IFUNC.

	* internal.h: use T_IMEMO for IFUNC.

	  rename `struct IFUNC' to `struct vm_ifunc' and move the definition
	  from vm_insnhelper.h. Add imemo_ifunc.

	* gc.c (gc_mark_children): mark imemo_ifunc type T_IMEMO object.

	* compile.c: catch up these changes.

	* proc.c: ditto.

	* vm_core.h (RUBY_VM_IFUNC_P): ditto.

	* vm_eval.c (rb_iterate): ditto.

	* vm_insnhelper.c: ditto.

	* ext/objspace/objspace.c: ditto.

Wed Mar 11 21:53:43 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h, eval_intern.h: move CREF accessors.

	  List IMEMO supported types in internal.h.

Wed Mar 11 21:45:36 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h: use T_IMEMO to create THROW_DATA.

	  Add THROW_DATA_NEW().

	* internal.h: move definition of `struct THROW_DATA'
	  from vm_insnhelper.h to internal.h.

	  Rename `THROW_DATA' to `vm_throw_data'.

	* eval_intern.h (THROW_DATA_P): move to internal.h.
	  THROW_DATA is no longer T_NODE, so check T_IMEMO.

	* gc.c (gc_mark_children): mark THROW_DATA.

	* vm.c: catch up these changes.

	* vm_eval.c: ditto.

	* vm_insnhelper.c: ditto.

Wed Mar 11 21:21:56 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c: use T_IMEMO to create SVAR.

	* internal.h, vm_insnhelper.h: move definition `struct SVAR'
	  from vm_insnhelper.h to internal.h. And rename it to struct vm_svar.

	  new imemo_type imemo_svar is added.

	* gc.c (gc_mark_children): mark imemo_svar.

	* node.c (rb_gc_mark_node): remove useless marking.

Wed Mar 11 19:35:46 2015  Koichi Sasada  <ko1@atdot.net>

	* include/ruby/ruby.h: introduce new type T_IMEMO.
	  T_IMEMO is Internal Memo type, internal use only.
	  T_IMEMO has same purpose of NODE_MEMO.

	  To insert T_IMEMO, type numbers are modified a little.

	* internal.h: define struct RIMemo. Each RIMemo objects
	  has imemo_type. We can observe it by the imemo_type() function.

	* gc.c (rb_imemo_new): added.

	* node.h: remove NODE_CREF and NEW_CREF().

	* node.c (rb_gc_mark_node): ditto.

	* vm.c (vm_cref_new): use rb_imem_new().

	* vm_eval.c: ditto.

	* vm_insnhelper.c: use RIMemo objects for CREF.

	* ext/objspace/objspace.c: support T_IMEMO.

Wed Mar 11 17:03:20 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c: fix memory leak by prepend method.

	  It is easy to reproduce with such script:

	    module M; def bar; end; end
	    loop{
	      Class.new do
	        def foo; end
	        prepend M
	      end
	    }

	* gc.c (obj_free): free T_ICLASS::m_tbl if it is created by prepend.
	  To recognize it, check RICLASS_IS_ORIGIN flag.

	* gc.c (gc_mark_children): T_ICLASS objects only need to mark
	  T_ICLASS::m_tbl if RICLASS_IS_ORIGIN is set.

	* gc.c (obj_memsize_of): count T_ICLASS if RICLASS_IS_ORIGIN is set.

	* internal.h (RCLASS_SET_ORIGIN): add to set RCLASS_SET_ORIGIN.

	  TODO: The word `origin' seems not good name. We need to invent
	  another good name.

	* class.c: use RCLASS_SET_ORIGIN().

	* class.c (class_alloc): zero clear rb_classext_t.

Wed Mar 11 13:28:49 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.

Wed Mar 11 09:15:21 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: define struct MEMO.

	* enum.c: use MEMO.

	* enumerator.c: ditto.

	* load.c: ditto.

	* node.h: return (struct MEMO *) pointer.

Wed Mar 11 06:26:21 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h (THROW_DATA_STATE): return int, not VALUE.

	* vm_insnhelper.h (THROW_DATA_STATE_SET): accept int value.

Wed Mar 11 05:06:46 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_eval.c (rb_catch_protect): use THROW_DATA_VAL().

Wed Mar 11 04:56:04 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h: define struct IFUNC.

	* vm_eval.c (rb_iterate): use it.

	* vm_insnhelper.c (vm_yield_with_cfunc): ditto.

Wed Mar 11 03:52:12 2015  Koichi Sasada  <ko1@atdot.net>

	* eval_intern.h (THROW_DATA_P): use RB_TYPE_P() instead of
	  BUILTIN_TYPE().

	* thread.c (thread_join): use THROW_DATA_P().

Wed Mar 11 03:48:01 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 (RUBY_VM_IFUNC_P): use RB_TYPE_P() instead of
	  BUILTIN_TYPE().

Wed Mar 11 03:21:37 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h: define struct THROW_DATA to represent
	  throwing data. Also define accessor functions.

	* eval_intern.h: move related changes into vm_insnhelper.h.
	  Now these MACROs (functions) are only used in vm*.c.

	  There is only THROW_DATA_P(err) to check this data type or not.

	* vm.c: catch up these changes.

	* vm_eval.c: ditto.

	* vm_insnhelper.c: ditto.

Wed Mar 11 00:57:00 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* test/rubygems/test_gem_security_trust_dir.rb: The return value of
	  File::Stat#mode is OS dependent. In AIX, 0200000 is set.

Tue Mar 10 20:03:41 2015  Tanaka Akira  <akr@fsij.org>

	* lib/webrick/server.rb: Invoke setup_shutdown_pipe in start method
	  instead of listen method.
	  [ruby-core:68476] [Bug #10956] Reported by Shintaro Kojima.

Tue Mar 10 17:27:27 2015  Koichi Sasada  <ko1@atdot.net>

	* thread.c (thread_join): Fixnum (except TAG_FATAL) and
	  NODE should not be reached here.

Mon Mar  9 21:42:10 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (ep_cref): rename to lep_cref() because it should be
	  local ep.

Mon Mar  9 16:34:36 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/stringio/stringio.c (strio_close): don't raise on double
	  close for consistent to IO#close.

Mon Mar 09 06:44:48 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h: define struct SVAR for SVAR.
	  This data type is also same layout of NODE (NODE_IF).

	* vm_insnhelper.c: catch up this change.

Mon Mar  9 06:43:21 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (lep_svar_set): add WBs.

Mon Mar  9 06:19:06 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: define rb_cref_t and change to use it.

	  rb_cref_t is data type of CREF. Now, the body is still NODE.
	  It is easy to understand what is CREF and what is pure NODE.

Mon Mar  9 06:00:37 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.h (COPY_CREF_OMOD): fix translation miss.

Mon Mar  9 04:47:58 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: define CREF accessor macros.
	  * CREF_CLASS(cref)
	  * CREF_NEXT(cref)
	  * CREF_VISI(cref)
	  * CREF_VISI_SET(cref, v)
	  * CREF_REFINEMENTS(cref)
	  * CREF_PUSHED_BY_EVAL(cref)
	  * CREF_PUSHED_BY_EVAL_SET(cref)
	  * CREF_OMOD_SHARED(cref)
	  * CREF_OMOD_SHARED_SET(cref)
	  * CREF_OMOD_SHARED_UNSET(cref)

	  This is process to change CREF data type from NODE.

Sun Mar  8 22:50:57 2015  Tanaka Akira  <akr@fsij.org>

	* ext/zlib/zlib.c (rb_gzfile_close): Don't raise on double
	  close for consistent to IO#close.

Sun Mar  8 16:57:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): match patterns against legacy short names
	  too, not only ordinary names.  [ruby-core:67954] [Bug #10819]

	* win32/dir.h (struct direct): add short name members.

	* win32/win32.c (opendir_internal, readdir_internal): ditto.

Sat Mar  7 09:36:05 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* array.c: document that first element is kept when using
	  Array#uniq and #uniq! [fix GH-845][ci skip]
	  Patch by @riffraff

Sat Mar  7 09:28:02 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* thread.c: Mutex#owned? is no longer experimental since 2.1.0
	  [fix GH-839][ci skip] Patch by @takiy33

Sat Mar  7 09:18:42 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/merger.rb: Added documentation to version method.
	  [fix GH-847][ci skip] Patch by @magikid

Fri Mar  6 22:50:36 2015  Koichi Sasada  <ko1@atdot.net>

	* class.c (rb_prepend_module): need a WB for klass -> origin.

Fri Mar  6 20:18:38 2015  Koichi Sasada  <ko1@atdot.net>

	* fix namespace issue on singleton class expressions. [Bug #10943]

	* vm_core.h, method.h: remove rb_iseq_t::cref_stack. CREF is stored
	  to rb_method_definition_t::body.iseq_body.cref.

	* vm_insnhelper.c: modify SVAR usage.
	  When calling ISEQ type method, push CREF information onto method
	  frame, SVAR located place. Before this fix, SVAR is simply nil.
	  After this patch, CREF (or NULL == Qfalse for not iseq methods)
	  is stored at the method invocation.

	  When SVAR is required, then put NODE_IF onto SVAR location,
	  and NDOE_IF::nd_reserved points CREF itself.

	* vm.c (vm_cref_new, vm_cref_dump, vm_cref_new_toplevel): added.

	* vm_insnhelper.c (vm_push_frame): accept CREF.

	* method.h, vm_method.c (rb_add_method_iseq): added. This function
	  accepts iseq and CREF.

	* class.c (clone_method): use rb_add_method_iseq().

	* gc.c (mark_method_entry): mark method_entry::body.iseq_body.cref.

	* iseq.c: remove CREF related codes.

	* insns.def (getinlinecache/setinlinecache): CREF should be cache key
	  because a different CREF has a different namespace.

	* node.c (rb_gc_mark_node): mark NODE_IF::nd_reserved for SVAR.

	* proc.c: catch up changes.

	* struct.c: ditto.

	* insns.def: ditto.

	* vm_args.c (raise_argument_error): ditto.

	* vm_eval.c: ditto.

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

Fri Mar  6 18:19:13 2015  Koichi Sasada  <ko1@atdot.net>

	* test/webrick/test_filehandler.rb: on vboxsf (on VirtualBox
	  on Windows 7), file name and permissions are strange (can access
	  by short file name and so on).

	  Simply skip on such tests on such FS. To detect strange FS, this
	  patch use a part of code `File.executable?(__FILE__)`.
	  Please correct them if there are better ways.

Fri Mar  6 17:31:29 2015  Koichi Sasada  <ko1@atdot.net>

	* test/ruby/test_beginendblock.rb: do not change directory.

	  Run system command in the directory mounted by vboxsf on Windows 7
	  and get warning like that "warning: Insecure world writable dir...".

Fri Mar  6 10:31:00 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]

Fri Mar  6 08:45:26 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/matrix.rb: Add Vector#round. Patch by Jordan Stephens.
	  [Fixes GH-802]

Fri Mar  6 07:33:03 2015  Koichi Sasada  <ko1@atdot.net>

	* gc.c (obj_info): show node name too.

Fri Mar  6 07:00:44 2015  Koichi Sasada  <ko1@atdot.net>

	* internal.h: remove struct method_table_wrapper.
	  struct method_table_wrapper was introduced to avoid duplicate marking
	  for method tables.

	  For example, `module M1; def foo; end; end` make one method table
	  (mtbl) contains a method `foo`. M1 (T_MODULE) points mtbl.
	  Classes C1 and C2 includes M1, then two T_ICLASS objects are created
	  and they points mtbl too. In this case, three objects (one T_MODULE
	  and two T_ICLASS objects) points same mtbl. On marking phase, these
	  three objects mark same mtbl. To avoid such duplication, struct
	  method_table_wrapper was introduced.

	  However, created two T_ICLASS objects have same or shorter lifetime
	  than M1 (T_MODULE) object. So that we only need to mark mtbl from M1,
	  not from T_ICLASS objects. This patch tries marking only from M1.
	  In other words, original module (M1) has responsibility to mark mtbl.
	  Because of no duplicate marking, we don't need method_table_wrapper
	  any more.

	  Note that one `Module#prepend` call creates two T_ICLASS objects.
	  One for referring to a prepending Module object, same as
	  `Module#include`. We don't need to care this T_ICLASS.
	  One for moving original mtbl from a prepending class. We need to
	  mark such mtbl from this T_ICLASS object. To mark the mtbl,
	  we need to use `RCLASS_ORIGIN(klass)` on marking from a prepended
	  class `klass`.

	* class.c: ditto.

	* eval.c (rb_using_refinement): ditto.

	* gc.c: ditto.

	* include/ruby/ruby.h: define m_tbl directly. The definition of
	  struct RClass should be moved to (srcdir)/internal.h.

	* method.h: remove decl of rb_free_m_tbl_wrapper().

	* object.c: use RCLASS_M_TBL() directly.

Fri Mar  6 02:50:12 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* dir.c (replace_real_basename): need to check the return value of
	  GLOB_REALLOC().

Fri Mar  6 02:26:03 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 Mar  5 16:58:43 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* hash.c: [DOC] #delete method actually returns nil, if the key
	  is not found. [fix GH-844][ci skip] Patch by @ivdma

Wed Mar  5 12:22:23 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* math.c: refactoring: remove unnecessary variable d0 to unify code
	  appearance.

Thu Mar  5 11:50:54 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* vm_eval.c (eval_string_with_cref): A binding should keep
	  refinements activation information and the refinements should be
	  activated in subsequent eval calls with the binding.
	  [ruby-core:67945] [Bug #10818]

Thu Mar  5 11:16:55 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* test/ruby/test_refinement.rb: There is no need anymore to suppress
	  warnings.

Thu Mar  5 08:31:02 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* random.c (random_raw_seed): Avoid calling fill_random_bytes()
	  if the requested size is 0. AIX returns -1 for 0-byte read from
	  /dev/urandom, while other UNIX returns 0. With this change,
	  Random.raw_seed(0) consistently returns "" in any UNIX.

Wed Mar  4 12:43:32 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* test/ruby/test_math.rb (assert_float_and_int): Refactor test cases
	  by introducing assert_float_and_int. [misc #10810]

Wed Mar  4 11:52:30 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]

Wed Mar  4 10:16:57 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* enum.c: Fix typo in slice_after's exception message.
	  [fix GH-842][ci skip] Patch by @jsyeo

Wed Mar  4 10:15:37 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/syntax/methods.rdoc: add some missing spaces and
	  fix a grammatical error in method docs.
	  [fix GH-843][ci skip] Patch by @nikolas

Wed Mar  4 02:13:06 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb (backport_command_string): pick up only
	  when the revision exists in trunk.

Wed Mar  4 00:44:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* thread.c (rb_thread_io_blocking_region): assigned variables
	  inside EXEC_TAG() should be volatile.

	* thread.c (rb_thread_s_handle_interrupt): ditto.

	* thread.c (exec_recursive): ditto.

Wed Mar  4 00:29:18 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: now can specify shorten form of commands.

Tue Mar  3 23:41:42 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb (Readline.readline): drop untreated control
	  characters.

Tue Mar  3 22:25:24 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue because
	  Signal.signame may raise exception.

Tue Mar  3 16:57:39 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: use 'b' instead of 's' for showing
	  Backport options for merger.rb.

Tue Mar  3 16:55:23 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: show selected ticket number at prompt.

Tue Mar  3 14:47:30 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* math.c (num2dbl_with_to_f): direct casting from Rational to double.
	  [Feature #10909]

	* test/ruby/test_math.rb: add tests for the above change.

Tue Mar  3 07:52:20 2015  Rei Odaira  <Rei.Odaira@gmail.com>

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

Tue Mar  3 00:59:39 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class"
	  error. [Bug #10926] [ruby-dev:48888]
	* configure.in: set LIBPATHENV for 32-bit compile in Solaris
	  in addition to 64-bit.

Mon Mar  2 15:36:10 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: do not check _setjmp unless _longjmp is available,
	  so that configure results will not be changed by cache.

Mon Mar  2 14:44:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
	  cached variable only if the target type is not available.

Mon Mar  2 13:04:27 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* signal.c (sig_signame): return nil if the argument is a valid
	  signal number.

Mon Mar  2 12:05:04 2015  Naohisa Goto  <ngotogenome@gmail.com>

	* test/net/ftp/test_ftp.rb (create_ftp_server): set SO_OOBINLINE
	  for receiving OOB data which is sent with MSG_OOB flag in
	  portable way. [Bug #10915] [ruby-dev:48885]
	* test/net/ftp/test_ftp.rb (test_abort, test_status): use gets
	  for receiving OOB data in portable way.

Mon Mar  2 11:43:07 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
	  cached variable.

Mon Mar  2 06:01:41 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

Sun Mar  1 20:21:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (RUBY_REPLACE_TYPE): restore convertible type from
	  cached variable, so that configured results will be stable.

Sun Mar  1 18:10:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in (rb_cv_broken_memmem): check before adding the
	  result HAVE_MEMMEM macro to confdefs.h, so that configured
	  results will be stable.

Sun Mar  1 11:17:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* gc.c (id2ref): prohibit from accessing internal objects.
	  [ruby-core:68348] [Bug #10918]

Sun Mar  1 09:06:11 2015  Tanaka Akira  <akr@fsij.org>

	* lib/time.rb (strptime): Support %s.%N.
	  [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.

Sat Feb 28 17:18:39 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enum.c (enum_each_slice, enum_each_cons): limit elements size by
	  the enumerator size.  suggested by Hans Mackowiak <hanmac AT
	  gmx.de> at [ruby-core:68335]

Sat Feb 28 15:44:20 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* vm_dump.c (rb_vm_bugreport): get rid of making new strings
	  inside signal context.

	* variable.c (rb_tmp_class_path): defer making temporary class
	  path string.

	* variable.c (rb_search_class_path): search class path or return
	  Qnil or Qfalse if unnamed, not creating a temporary path.

Sat Feb 28 15:02:02 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* variable.c (rb_tmp_class_path): preserve name encoding of an
	  anonymous instance of module/class subclass.

Sat Feb 28 08:24:30 2015  Rei Odaira  <Rei.Odaira@gmail.com>

	* ext/pty/pty.c: AIX supports autopush.
	  Patch by Perry Smith [ruby-core:58539] [Bug #9144]

Fri Feb 27 22:00:05 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).
	  Fixed #1159, #1171, #1173 on rubygems/rubygems
	* test/rubygems: ditto.

Fri Feb 27 20:55:42 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rake: Update to rake (9237e74), typo fix and remove needless
	  private syntax.
	* test/rake: ditto.

Fri Feb 27 17:06:44 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_core.h: define vm_svar_index.

	* vm_insnhelper.c, vm.c, compile.c: use vm_svar_index names.

	* iseq.h: remove DEFAULT_SPECIAL_VAR_COUNT.
	  use VM_SVAR_FLIPFLOP_START instead.

Fri Feb 27 13:57:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* io.c (setup_narg): wipe away expanded part of buffer to get rid
	  of revealing uncleaned data.  reported by Dongkwan Kim <dkay AT
	  kaist.ac.kr>.

Wed Feb 25 22:25:07 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* spec/default.mspec: use default configuration file name.
	  https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf

Wed Feb 25 22:21:56 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* spec/default.mspec: remove specific version number.
	  https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714

Wed Feb 25 22:04:04 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 18:12:11 2015  Eric Wong  <e@80x24.org>

	* signal.c (sighandler): preserve errno
	  Patch by Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
	  [ruby-core:68172] [Bug #10866]

Wed Feb 25 15:59:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (push_pattern, push_glob): make globbed file names same
	  encoding to the given pattern.

Wed Feb 25 15:27:16 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/merger.rb: support 2.1+ versioning scheme.

Tue Feb 25 08:49:12 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
	  are passed. [ruby-core:66143] [Bug #10487]

Tue Feb 25 02:15:17 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...).

	* test/ruby/test_math.rb: Add tests for overriding Integer#to_f.
	  [ruby-core:67919] [Misc #10809]

Tue Feb 24 22:58:48 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* complex.c (nucomp_mul): calculate as rotation in complex plane
	  if matrix calculation resulted in NaN.

Tue Feb 24 21:45:39 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* test/ruby/test_math.rb(test_cbrt): Add an assertion for Math.cbrt(1.0/0)
	  and move #test_cbrt to more proper place.

Tue Feb 24 19:09:25 2015  Koichi Sasada  <ko1@atdot.net>

	* vm_insnhelper.c (lep_svar_place, lep_svar_get): do not create
	  additional T_NODE object (svars holder) when only getting
	  svars.

Tue Feb 24 11:49:48 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 09:47:07 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]

Mon Feb 23 23:19:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/vcs.rb (IO.popen): support :chdir option.

	* tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead
	  of -C option which is not supported by older git.
	  [ruby-dev:48880] [Bug #10890]

Mon Feb 23 15:26:39 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]

Mon Feb 23 07:25:29 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.

Sun Feb 22 18:33:42 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* common.mk: use ruby organization for rubyspec.

Sun Feb 22 15:56:06 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 10:43:37 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.

Sun Feb 22 04:07:05 2015  Zachary Scott  <e@zzak.io>

	* ext/openssl/ossl_asn1.c: [DOC] RDoc formatting fixes for
	  ASN1::ObjectId with patch from @vbatts [Fixes GH-834]

	* ext/openssl/ossl_bn.c: ditto.

Sat Feb 21 19:51:49 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]

Sat Feb 21 16:18:42 2015  Stefan Schuler  <mail@stefanschuessler.de>

	* compar.c (Init_Comparable): [DOC] Replace camelcase variable name.
	  [Fix GH-833]

Fri Feb 20 17:27:12 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.

Fri Feb 20 17:19:23 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]

Thu Feb 19 01:58:10 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]

Wed Feb 18 10:48:56 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]

Wed Feb 18 03:13:52 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych.rb: bump psych version.
	* ext/psych/psych.gemspec: ditto
	* ext/psych/yaml/scanner.c: add latest libyaml change.
	* test/psych/helper.rb: support newer minitest
	* test/psych/test_to_yaml_properties.rb: ditto

Tue Feb 17 11:47:17 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 10:59:10 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods"
	  Patch by @sos4nt [fix GH-830][ci skip]

Tue Feb 17 10:53:29 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]

Tue Feb 17 10:47:20 2015  Iain Beeston  <iain.beeston@gmail.com>

	* hash.c: Added docs to explain that #include? and #member? do not
	  check member equality
	* lib/set.rb: ditto

Mon Feb 16 20:58:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (compile_massign): optimization for special case,
	  assignments by aset or attrset.
	  http://kokizzu.blogspot.jp/2015/02/c-java-hhvm-ruby-nodejsrhinojscspidermo.html
	  http://www.atdot.net/~ko1/diary/201502.html#d16

Sun Feb 15 10:41:23 2015  Sho Hashimoto  <sho-h@ruby-lang.org>

	* doc/standard_library.rdoc: [DOC] delete removed libraries.
	  [misc #10843] [ci skip]

Sat Feb 14 12:20:01 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* random.c (rand_random_number): add a method to return a random
	  number like SecureRandom to Random::Formatter.

	* lib/securerandom.rb (random_bytes): move to Random::Formatter,
	  the base method of the module.

Sat Feb 14 12:01:32 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* random.c (random_raw_seed): extract platform dependent random
	  seed initialization function as a new method Random.raw_seed.

	* lib/securerandom.rb (SecureRandom): use Random.raw_seed.

Sat Feb 14 00:49:37 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/coverage/coverage.c: Add Coverage.peek_result.  Allows you to
	  capture coverage information without stopping the coverage tool.
	  [ruby-core:67940] [Feature #10816]

	* test/coverage/test_coverage.rb: test for change.

Fri Feb 13 21:52:05 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.

Fri Feb 13 21:16:00 2015  Yusuke Endoh  <mame@tsg.ne.jp>

	* lib/base64.rb: make urlsafe mode user-friendly.

	* lib/base64.rb (Base64.urlsafe_encode64): a new option "padding" to
	  suppress the padding character ("=").

	* lib/base64.rb (Base64.urlsafe_decode64): now it accepts not only
	  correctly-padded input but also unpadded input.
	  [Feature #10740][ruby-core:67570]

	* test/base64/test_base64.rb: Test for above

Fri Feb 13 14:19:06 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json: merge upstream from flori/json
	  change usage of TypedData. [Feature #10739][ruby-core:67564]

Thu Feb 12 18:34:01 2015  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]

Thu Feb 12 10:46:14 2015  Eric Hodel  <drbrain@segment7.net>

	* proc.c (proc_call):  Improve Proc#call documentation.  Patch by
	  Hsing-Hui Hsu.  [fix GH-761]

Thu Feb 12 04:33:02 2015  Benoit Daloze  <eregontp@gmail.com>

	* compar.c (cmp_equal): no more error hiding for Comparable#==.
	  It now behaves as other Comparable methods. See #7688.

	* test/ruby/test_comparable.rb: update related test.

Thu Feb 12 03:28:05 2015  Eric Wong  <e@80x24.org>

	* lib/set.rb (initialize): internal hash defaults to false

	* lib/set.rb (include?): use Hash#[] for optimized dispatch.
	  Patch by Ismael Abreu <ismaelga@gmail.com>
	  [ruby-core:67664] [Misc #10754]

Wed Feb 11 11:09:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/digest/digest_conf.rb (digest_conf): check for CommonDigest.

	* ext/digest/*/*cc.h: for Apple CommonCrypto/CommonDigest.h.

	* ext/digest/digest.h (DEFINE_FINISH_FUNC_FROM_FINAL): macro for
	  finish functions, by inverting arguments order.

	* ext/digest/digest_conf.rb (digest_conf): extract common
	  configurations.

Wed Feb 11 11:01:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/json/generator/generator.c (generate_json): get rid of
	  unnecessary recursive calls which can cause infinite recursion.
	  T_STRING may not have rb_cString.

Wed Feb 11 07:53:35 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_word.rb: use skip method to skip test.

Tue Feb 10 11:38:28 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* vm_insnhelper.c (vm_call_method): stop method search when a method
	  is not found in a refinement, to support undef in refinements.
	  [ruby-core:66741] [Bug #10578]

Tue Feb 10 11:19:11 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* lib/net/ftp.rb (chdir, delete, gettextfile, mdtm, mkdir, nlst,
	  putbinaryfile, puttextfile, rename, rmdir, size): support
	  Pathname. Patch by Joe Rafaniello. [fix GH-828]

Mon Feb  9 16:36:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/make-snapshot (package): get rid of loading unbundled and
	  unexpected libraries.  [ruby-core:67977] [Bug #10822]

Sun Feb  8 20:09:37 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/http/header.rb: pass header names as symbols.
	  Patch by @DamirSvrtan [fix GH-805]
	* test/net/http/test_httpheader.rb: added test.

Sun Feb  8 13:04:25 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 canonical name.

Sun Feb  8 12:48:38 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]

Sat Feb  7 22:13:08 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_record.rb: remove test using .NET
	  Framework 3.5 because it is not included in Windows 8/8.1.

Sat Feb  7 19:25:25 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]

Sat Feb  7 13:30:11 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* test/win32ole/test_win32ole_record.rb
	  (test_ole_instance_variable_get): correct VT_RECORD type and
	  instance variables.

Fri Feb  6 17:47:05 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when
	  dumping objects with custom coders. [ruby-core:66215] [Bug #10496]

	* test/psych/test_coder.rb: test for fix

Fri Feb  6 16:58:31 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular
	  expressions with newlines. tenderlove/psych#222

	* test/psych/test_yaml.rb: test for change.

Fri Feb  6 10:31:50 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]

Thu Feb  5 22:42:34 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems:  Update to RubyGems HEAD(5c3b6f3).
	  Fixed #1156, #1142, #1115, #1142, #1139 on rubygems/rubygems
	* test/rubygems:  ditto.

Thu Feb  5 13:41:01 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]

Thu Feb  5 10:31:46 2015  Shugo Maeda  <shugo@ruby-lang.org>

	* class.c (rb_obj_singleton_methods): should use RTEST() to convert
	  VALUE to int.

Thu Feb  5 03:59:33 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* vm_insnhelper.c: Fix symbol leak with +send+ [Bug #10828]

Wed Feb  4 20:26:54 2015  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.

Wed Feb  4 15:34:25 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]

Wed Feb  4 16:32:40 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]

Wed Feb  4 15:55:38 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]

Wed Feb  4 11:12:43 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* Makefile.in (probes.stamp): rebuild dtrace dependent objects
	  only when `dtrace -G` modifies its input files.

Tue Feb  3 19:27:16 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)

Tue Feb  3 17:15:45 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]

Tue Feb  3 15:23:58 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]

Tue Feb  3 14:04:47 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): obtain real name with FindFirstFile API
	  instead of matching all entries, on Windows.
	  [ruby-core:67954] [Bug #10819]

Tue Feb  3 12:26:35 2015  Katsuhiko Nishimra  <ktns.87@gmail.com>

	* lib/mkmf.rb (configuration): set the default cxxflags, which is
	  referred from the default CXXFLAGS, for extension libraries.
	  [Fix GH-823]

Tue Feb  3 05:52:00 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.

Mon Feb  2 10:51:34 2015  Ari Pollak  <ajp@aripollak.com>

	* doc/security.rdoc (Symbols): update about Symbol GC.  Symbols
	  explicitly converted from Strings now can be collected, but
	  reflection/metaprogramming still can cause memory flooding.
	  [Fix GH-725]

Sun Feb  1 13:46:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/rbinstall.rb (bin-comm): drop batch file installation.
	  Windows 95 support has not been supported already.
	  [Feature #10806]

Sat Jan 31 12:06:23 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 Jan 30 17:28:29 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* math.c (num2dbl_with_to_f): make faster when Bignum passed by
	  direct conversion using rb_big2dbl().  [Feature #10800]

Thu Jan 29 23:30:00 2015  Kenta Murata  <mrkn@mrkn.jp>

	* ext/bigdecimal/bigdecimal.c (rb_rational_num): add fallback function
	  for rubies lower than 2.2.0.

	* ext/bigdecimal/bigdecimal.c (rb_rational_den): ditto.

	* ext/bigdecimal/extconf.rb: check the existences of struct RRational,
	  rb_rational_num, and rb_rational_den.

	* ext/bigdecimal/bigdecimal.bundle: bump version.

Thu Jan 29 20:28:25 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/make-snapshot: removed md5 digest with package information

Thu Jan 29 10:41:52 2015  Kazuki Tanaka  <gogotanaka@ruby-lang.org>

	* math.c (Get_Double): direct casting from Fixnum to double.
	  [Feature #10785]

Thu Jan 29 02:34:27 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with
	  instance variables when it is referenced multiple times.
	* ext/psych/lib/psych.rb: bump version
	* ext/psych/psych.gemspec: bump version
	* test/psych/test_hash.rb: test for fix

Thu Jan 29 02:06:09 2015  Eric Wong  <e@80x24.org>

	* thread.c (struct join_arg): restructure and make smaller
	  (thread_join_sleep): avoid timeofday() call if forever
	  (thread_join): pass join_arg.delay directly
	  (rb_thread_inspect_msg): remove, inline into rb_thread_inspect
	  (rb_thread_inspect): reduce branching and string creation
	* thread_pthread.c (native_set_thread_name): create string directly
	  to avoid reparsing. [Misc #10723]

Wed Jan 28 21:32:24 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* thread.c: Improve documentation for Thread#value
	  [Bug #10694][ruby-core:67324][ci skip]

Tue Jan 27 16:04:19 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: added `!` command.

Tue Jan 27 15:58:23 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: added history feature for platforms which
	  lack readline.

Mon Jan 26 22:09:35 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* .gitignore: ignored temporary file with git.

Mon Jan 26 18:06:03 2015  Akinori MUSHA  <knu@iDaemons.org>

	* misc/ruby-electric.el: Import version 2.2.2 from
	  https://github.com/knu/ruby-electric.el.

Mon Jan 26 11:37:49 2015  Dave Stevens  <dave@crowdlab.com>

	* string.c (str_make_independent_expand): terminate String when
	  moved from heap to embedded.  [Fix GH-821].

Sun Jan 25 12:04:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (flatten): no need to call to_ary method on elements
	  beyond the given level.  [ruby-core:67637] [Bug #10748]

Sun Jan 25 00:42:24 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]

Sat Jan 24 19:56:25 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dln_find.c (dln_find_1): search regular files only.  based on
	  the patch by Alex Coomans in [ruby-core:67766].  [Bug #10776]

Fri Jan 23 23:57:05 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]

Fri Jan 23 20:00:59 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (w_object, marshal_dump): use identity tables for
	  arbitrary VALUE keys, because of performance of FLONUM.
	  [Bug #10761]

	* marshal.c (obj_alloc_by_klass, marshal_load): ditto.

Fri Jan 23 17:12:33 2015  Eric Wong  <e@80x24.org>

	* benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]

Thu Jan 22 18:03:19 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb (find_svn_log): use double quotes instead
	  of single quotes because cmd.exe doesn't handle them.

	* tool/redmine-backporter.rb (done): the 2nd element of matched data
	  is the offset of the end of matched string, not length.

Thu Jan 22 16:45:24 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]

Wed Jan 21 22:33:51 2015  Akinori MUSHA  <knu@iDaemons.org>

	* misc/ruby-electric.el: Import version 2.2.1 from
	  https://github.com/knu/ruby-electric.el.  Improve compatibility
	  with and optimize for Emacs 24.4.

Wed Jan 21 09:40:52 2015  Zachary Scott  <e@zzak.io>

	* file.c: Document other cases of missing birthtime on OS with patch
	  provided by @sho-h similar to GH-817. [ci skip] [DOC]

Wed Jan 21 09:09:19 2015  Tanaka Akira  <akr@fsij.org>

	* NEWS: References to tickets added.
	  [ruby-core:67701] [Bug #10760] Suggested by Zachary Scott.

Tue Jan 20 22:59:54 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/vcs.rb: fix the exception given remote-url of svn.

Tue Jan 20 12:58:33 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: now can change the page of `ls`.

Tue Jan 20 12:28:37 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb (readline): fallback to normal gets on
	  Windows because IO.console.getch is not always do as expected.

Tue Jan 20 11:31:07 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/redmine-backporter.rb: update usage.

Tue Jan 20 11:23:47 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/redmine-backporter.rb (mygets): to support Backspace
	  implement gets by itself.

Tue Jan 20 02:54:11 2015  Zachary Scott  <e@zzak.io>

	* file.c: NotImplementedError is raised if birthtime is unavailable.
	  Patch by @y-yagi san and [Fixes GH-817] [ci skip] [DOC]

	* ext/pathname/pathname.c: ditto.

Mon Jan 19 22:08:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* class.c (include_modules_at): allow prepend each modules upto
	  once for each classes.  [EXPERIMENTAL]

Sun Jan 18 18:32:20 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* math.c (math_atan2): revive documentation before r49220.
	  http://d.hatena.ne.jp/nagachika/20150112/ruby_trunk_changes_49213_49226

Sun Jan 18 15:57:32 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]

Sun Jan 18 15:50:39 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]

Sun Jan 18 12:56:49 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* Makefile.in (VPATH, NEWLINE_C), common.mk (common-srcs): make
	  and use newline.c under enc/trans directory, not toplevel.  no
	  longer search enc directory implicitly.

	* configure.in, enc/Makefile.in (BUILTIN_ENCS, BUILTIN_TRANSES):
	  prefix respective directory names to builtin encodings and
	  transcoder source names.

Sun Jan 18 11:49:46 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]

Sat Jan 17 23:59:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
	  anchors like `\Z` are not valid inside character class.  use
	  negative-lookahead instead.
	  Fixes: https://github.com/tenderlove/psych/issues/221

Sat Jan 17 23:42:27 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]

Fri Jan 16 18:42:58 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* tool/redmine-backporter.rb: support adding related revisions
	  to issues.

Fri Jan 16 17:20:33 2015  Koichi Sasada  <ko1@atdot.net>

	vm.c, vm_core.h: constify VM_CF_LEP, VM_CF_PREV_EP, VM_CF_BLOCK_PTR
	and rb_vm_control_frame_block_ptr.

Fri Jan 16 15:41:21 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych.rb: bump version

	* ext/psych/psych.gemspec: ditto

Fri Jan 16 15:37:49 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: only dump hash
	  subclasses. Thanks Joe Eli McIlvain <joe.eli.mac@gmail.com>

	* test/psych/test_hash.rb: test for change

Fri Jan 16 15:35:21 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych.rb: bump version

	* ext/psych/lib/psych/visitors/yaml_tree.rb: fix line width wrapping
	  for long strings.  Thanks Jakub Jirutka <jakub@jirutka.cz>

	* test/psych/test_string.rb: test for change

Fri Jan 16 11:44:44 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.

Thu Jan 15 23:55:15 2015  Tanaka Akira  <akr@fsij.org>

	* io.c (rb_io_close_m): Don't raise when the IO object is closed.
	  [ruby-core:67444] [Feature #10718]

Thu Jan 15 21:34:57 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 Jan 15 10:45:04 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_select_bang, ary_reject_bang): linear
	  performance.  [ruby-core:67418] [Feature #10714]

Wed Jan 14 18:06:06 2015  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

Wed Jan 14 16:45:24 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/downloader.rb (RubyGems.download): verify downloaded gem
	  packages.  LowSecurity to allow untrusted certificates now.

Wed Jan 14 15:43:48 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]

Tue Jan 13 21:59:24 2015  Michal Papis  <mpapis@gmail.com>

	* tool/rbinstall.rb (gem): fix changing permissions of installed
	  bundled gems.  [Fix GH-812]

Tue Jan 13 21:57:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* common.mk (distclean-local): remove autom4te.cache generated by
	  autoconf.

	* common.mk (realclean-local): remove id sources and dummy header
	  for dtrace.  [ruby-core:67562] [Bug #10737]

Tue Jan 13 21:08:22 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json, test/json: merge JSON HEAD(259dee6)
	  separate implementation of Typed_Data macro.
	  https://github.com/flori/json/compare/v1.8.1...v1.8.2

Tue Jan 13 14:16:35 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/net/http/test_http.rb: get rid of accessing DNS actually
	  for some servers returning wrong results.
	  [ruby-core:67454] [Bug #10721]

Mon Jan 12 23:21:57 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* gems/bundled_gems: update test-unit to 3.0.9.

Mon Jan 12 18:35:44 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

Mon Jan 12 18:01:24 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]

Mon Jan 12 16:45:46 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]

Mon Jan 12 13:53:17 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* math.c (math_atan2): improve documentation.
	  [Feature #10323][ruby-core:65400][ci skip]

Mon Jan 12 13:50:49 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists,
	  code examples etc. [ruby-core:66730][Bug #10576][ci skip]

Mon Jan 12 13:36:44 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/optparse.rb: improvements for OptionParser documentation.
	  [misc #10608][ruby-core:66901][ci skip]

Mon Jan 12 13:33:52 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* array.c (rb_ary_each): documented return value.
	  [misc #10469][ruby-core:66063]

Sun Jan 11 15:11:38 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/webrick/test_utils.rb (test_create_listeners): use
	  dynamically chosen port number, not hardcoded port number.
	  [ruby-core:67508]

Sat Jan 10 12:57:12 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 10 12:32:44 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 10 10:58:55 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* complex.c: removed commented-out code.

Sat Jan 10 10:57:19 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* rational.c: removed commented-out code.
	  [Feature #10376][ruby-core:65643]

Sat Jan 10 10:12:15 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* array.c (rb_ary_select_bang): keep the array consistent by
	  removing unselected values soon.  [ruby-dev:48805] [Bug #10722]

Fri Jan  9 23:20:04 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/rubygems:  Update to RubyGems HEAD(e53c54a).
	* test/rubygems:  ditto.

Fri Jan  9 11:13:01 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_): support splatted hash in hash type.

Fri Jan  9 10:57:09 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]

Fri Jan  9 07:23:32 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/yaml_tree.rb: correctly quote non-ascii
	  letters. Thanks @jirutka for the patch.

	* test/psych/test_string.rb: test for change

Fri Jan  9 07:13:55 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: call `allocate` on hash
	  subclasses.  Fixes github.com/tenderlove/psych/issues/196

	* test/psych/test_hash.rb: test for change

Fri Jan  9 06:58:43 2015  Aaron Patterson <aaron@tenderlovemaking.com>

	* ext/psych/lib/psych/visitors/to_ruby.rb: revive hashes with ivars

	* ext/psych/lib/psych/visitors/yaml_tree.rb: dump hashes with ivars.
	  Fixes github.com/psych/issues/43

	* test/psych/test_hash.rb: test for change

Thu Jan  8 17:05:00 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]

Thu Jan  8 16:31:43 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]

Thu Jan  8 12:53:44 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (glob_helper): match in case-folding only if the directory
	  resides on a case-insensitive file system, on OSX.
	  [ruby-core:67364] [Bug #10700]

Thu Jan  8 11:39:18 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

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

Thu Jan  8 07:17:14 2015  Eric Wong  <e@80x24.org>

	* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
	  [ruby-core:67411] [Bug #10712]

Thu Jan  8 00:13:52 2015  Tanaka Akira  <akr@fsij.org>

	* lib/open3.rb: Open3 properly passes non-keyword hash args to spawn.
	  Fixed by Josh Cheek.  [Fix GH-808]
	  Related to [ruby-core:67347] [Bug #10699]

Wed Jan  7 19:19:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* dir.c (dir_initialize): workaround of opendir failure at symlink
	  directories on Windows via CIFS.

Wed Jan  7 18:52: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.

Tue Jan  6 21:41:04 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.

Tue Jan  6 03:10:54 2015  Koichi Sasada  <ko1@atdot.net>

	* test/fiddle/test_handle.rb: fix syntax.

Tue Jan  6 00:16:10 2015  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 Jan  5 14:58:01 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_io.rb: added timeout for AIX environment.
	  [ruby-core:62983][Bug #9917]

Sun Jan  4 22:33:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/lib/test/unit.rb (ExcludesOption): add "excludes" support
	  to test suite, for alternative implementations and platforms.
	  [Feature #10682]

Sun Jan  4 22:32:42 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/lib/test/unit.rb (Test::Unit): reorder modules and merge
	  each modules.

	* test/lib/test/unit.rb (Test::Unit): split the large class into
	  each modules.

Sun Jan  4 21:32:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (f_label): return tLABEL value as it is.
	  [ruby-core:67315] [Bug #10693]

Sun Jan  4 14:02:37 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/lib/test/unit/parallel.rb (run): expand the file name to be
	  loaded, so that relative paths work in parallel mode.

Sun Jan  4 13:36:56 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* test/test_tempfile.rb: use assert_file for more descriptive message.
	  following r49131.

Sun Jan  4 13:05:09 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* string.c: improve docs for String#<=>. [ruby-core:65399][Feature #10322]
	  Patch by gogo tanaka.

Sun Jan  4 12:42:24 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* array.c: improve docs for Array#reject. [ruby-core:65324][misc #10307]
	  Patched by Nebu Pookins.

Sun Jan  4 12:24:11 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* string.c: improve docs for String#strip and variations.
	  [ruby-core:66081][Bug #10476]

Sun Jan  4 09:21:04 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/drb/drb.rb: removed unused argument. Patch by @vipulnsward
	  [fix GH-515]

Sun Jan  4 09:18:31 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/tempfile.rb: provide default basename parameter.
	  [fix GH-523] Patch by @dissolved
	* test/test_tempfile.rb: ditto.

Sun Jan  4 00:43:41 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* README.ja.md: add guidance of mailing list and bugs.r-l.o.

Sat Jan  3 23:56:28 2015  Ayumu AIZAWA  <ayumu.aizawa@gmail.com>

	* hash.c: fix docs for Hash#invert. [ruby-core:66917] [Bug #10612]

Sat Jan  3 19:52:12 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/intern.h (rb_str_new_literal): define on all
	  platforms, not only gcc.

Sat Jan  3 18:53:28 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/fiddle/lib/fiddle/cparser.rb (parse_ctype): limit split word
	  number as the rest are not used.

Sat Jan  3 18:19:50 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/fiddle/lib/fiddle/cparser.rb: r49110 broke Fiddle::Import with
	  type_alias.
	* test/fiddle/test_cparser.rb: added type_alias test for parse_ctype
	  and parse_struct_signature.

Sat Jan  3 11:50:16 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/openssl/ossl.h: avoid to build failure of Windows environment.
	* ext/openssl/ossl_ssl_session.c: ditto.

Sat Jan  3 11:27:46 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* array.c: Improve performance of Array#shift. use shared instead of
	  MEMMOVE if with arguments. Patch by @ksss [fix GH-537]
	* test/ruby/test_array.rb: ditto.
	* benchmark/bm_array_shift.rb: Added benchmark of GH-537 issue.

Sat Jan  3 10:38:52 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/net/http.rb: More descriptive error message when net/http fails
	  to connect to a server. Patch by @xaviershay [fix GH-700]
	* test/net/http/test_http.rb: ditto.

Sat Jan  3 10:14:51 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/openssl/ossl.h: Make `SSL_SESSION_cmp` use `CRYPTO_memcmp`
	  [fix GH-591] Patch by @PiPeep
	* ext/openssl/ossl_ssl_session.c: ditto.

Sat Jan  3 09:54:32 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/fiddle/lib/fiddle/cparser.rb: Support for Fiddle::CParser
	  to handle rich signatures including parameter names and function
	  pointer types. Patch by @theryan [fix GH-590]
	* test/fiddle/test_cparser.rb: ditto.

Sat Jan  3 09:01:43 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* NEWS: added compatibility entry of r49101.

Fri Jan  2 21:06:59 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  2 21:04:36 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  2 18:41:20 2015  Tanaka Akira  <akr@fsij.org>

	* eval.c (ruby_init): Print ruby_setup() error only in debug mode.
	  Unsuppressable error message is not a good idea.
	  Note that the message is printed sometimes with following
	  code (highly timing dependent, though):
	  pid = spawn("ruby -e ''"); Process.kill(:TERM, pid)

Fri Jan  2 16:18:44 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* test/ruby/test_module.rb: Refactor invalid testcase.
	  [fix GH-472][ruby-core:59035][Bug #9240]

Fri Jan  2 15:53:00 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/webrick/utils.rb: removed unused argument variable.
	  [fix GH-356] Patch by @vipulnsward
	* lib/webrick/server.rb: ditto.
	* lib/webrick/ssl.rb: ditto.
	* test/webrick/test_utils.rb: added test for WEBrick::Utils#create_listeners.

Fri Jan  2 15:35:53 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/securerandom.rb: improve syntax and grammar of documentation.
	  [fix GH-796][ci skip] Patch by @Erol

Fri Jan  2 15:10:01 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]

Fri Jan  2 09:08:31 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.

Thu Jan  1 21:41:49 2015  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* doc/regexp.rdoc: fix regexp docs for whitespace character.
	  [ruby-dev:48765] [Bug #10624]

Thu Jan  1 17:50:52 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* test/ruby/test_rubyoptions.rb: try locale encoding name.
	  [ruby-core:67109] [Bug #10643]

Thu Jan  1 11:07:12 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]

Thu Jan  1 09:14:21 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.  [ruby-core:67264] [Bug #10685]

Wed Dec 31 17:48:43 2014  Tanaka Akira  <akr@fsij.org>

	* lib/resolv.rb (Resolv::DNS::Label::Str#initialize): Set encoding
	  ASCII-8BIT before downcase.  case insensitivity of DNS labels doesn't
	  apply non-ASCII characters.  [RFC 4343]

Wed Dec 31 16:48:44 2014  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]

Wed Dec 31 13:43:48 2014  Tanaka Akira  <akr@fsij.org>

	* lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str
	  objects.  Label#Str#== is case-insensitive.

Tue Dec 30 16:16:12 2014  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]

Tue Dec 30 16:03:45 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/resolv.rb (Resolv::DNS::Name): names with different dots
	  should be different.

Tue Dec 30 13:16:56 2014  Martin Duerst  <bernhard+git@lsmod.de>

	* lib/uri/common.rb: Initialize HTML5ASCIIINCOMPAT to empty Array
	  to avoid error during bootstrap when encodings are not yet defined.
	  [Bug #10678]

Tue Dec 30 09:29:26 2014  Bernhard M. Wiedemann  <bernhard+git@lsmod.de>

	* ext/dbm/dbm.c (Init_dbm): [DOC] as UNIX permissions are octal
	  numbers, needs to be prefixed by 0.  [Fix GH-800]

Tue Dec 30 08:57:39 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* lib/unicode_normalize.rb: typo fix. [ci skip]
	  [ruby-dev:48794][misc #10675]

Mon Dec 29 19:38:01 2014  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* version.h (RUBY_VERSION): 2.3.0 development has started.

Mon Dec 29 18:58:46 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* re.c (unescape_nonascii): append escape sequence as-is not
	  unescaped character, to get rid of unexpected meta-character.
	  [ruby-core:67193] [Bug #10670]

Mon Dec 29 14:27:33 2014  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]

Mon Dec 29 11:18:17 2014  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]

Mon Dec 29 10:37:27 2014  Thiago Lewin  <thiago_lewin@yahoo.com.br>

	* io.c (rb_f_select): [DOC] workaround for YARD doc.  [Fix GH-799]

	* process.c (proc_detach): [DOC] fix missing closing parenthesis.
	  [Fix GH-799]

Mon Dec 29 07:27:23 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/json, test/json: merge JSON HEAD(17fe8e7)
	  https://github.com/flori/json/compare/v1.8.1...17fe8e7

Sun Dec 28 23:49:37 2014  Michal Papis  <mpapis@gmail.com>

	* rbinstall.rb: fix target location for installing bundled gems.
	  install to the prepared directory instead of default Gem.dir,
	  not to be affected GEM_HOME environment variable.  [Fix GH-798]

Sun Dec 28 18:19:28 2014  Eric Wong  <e@80x24.org>

	* test/-ext-/iseq_load/test_iseq_load.rb
	  (test_next_in_block_in_block): test using ISeq#eval
	  (test_break_ensure): ditto
	  [ruby-core:66988]

Sun Dec 28 16:25:12 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
	  always.  [ruby-core:67153] [Bug #10657]

Sun Dec 28 13:54:26 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]

Sat Dec 27 20:12:55 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/json/generator/generator.c (JSON_Generator_State_type): add
	  #ifdef for backward compatibility.

	* ext/json/parser/parser.rl (JSON_Parser_type): ditto.

	* ext/json/generator/generator.h (ZALLOC): add fallback definition.

	* ext/json/parser/parser.h (ZALLOC): ditto.

Sat Dec 27 16:54:05 2014  Tanaka Akira  <akr@fsij.org>

	* process.c: Unused code removed.
	  It seems waitpid() is universally available on POSIX platforms.

Sat Dec 27 15:08:27 2014  Eric Wong  <e@80x24.org>

	* vm_core.h (rb_vm_living_threads_insert): preserve order
	  [Bug #10660] [ruby-core:67154] [ruby-core:67159]

Sat Dec 27 13:08:20 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* ext/socket/socket.c: improved document for YARD doc.
	  [fix GH-795][ci skip] Patch by @tlewin

Sat Dec 27 10:11:21 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]

Sat Dec 27 10:03:41 2014  SHIBATA Hiroshi  <shibata.hiroshi@gmail.com>

	* tool/make-snapshot: show sha1 digest when making packages.
	  it's request from https://github.com/ruby/www.ruby-lang.org/issues/921
	  [fix GH-794]

Fri Dec 26 15:32:16 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate
	  dead code.

Fri Dec 26 15:28:27 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/tk/tcltklib.c (ip_ruby_cmd_receiver_const_get): simply use
	  rb_path2class() to get a class/module from its name.

Fri Dec 26 15:20:54 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* marshal.c (w_long): append at once by w_nbyte() instead of
	  appending byte by byte.

Fri Dec 26 15:13:13 2014  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ext/json/parser/parser.rl (unescape_unicode): check if valid
	  before bit-or assignments.
	  reported by Denis Denisov <denji0k AT gmail.com>.

	* ext/nkf/nkf-utf8/nkf.c (nkf_iconv_t): fix a missing semicolon.
	  reported by Denis Denisov <denji0k AT gmail.com>.

	* process.c (rb_spawn_process): get rid of usage of uninitialized
	  variable.
	  reported by Denis Denisov <denji0k AT gmail.com>.

	* regexec.c (match_at): ditto.

	* ext/win32ole/win32ole.c (ole_wc2mb_alloc, ole_vstr2wc, ole_mb2wc):
	  ditto.

	* dir.c (ruby_glob0): no need to check never-NULL pointer.
	  reported by Denis Denisov <denji0k AT gmail.com>.

	* win32/file.c (rb_file_expand_path_internal): ditto.

	* win32/file.c (code_page_i): handle realloc failure.
	  reported by Denis Denisov <denji0k AT gmail.com>.

	* win32/stub.c (stub_sysinit): ditto.

	* fix printf format conversion specifiers.
	  reported by Denis Denisov <denji0k AT gmail.com>.

Fri Dec 26 01:41:40 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.
	  [Bug #10647] [ruby-dev:48787]

Fri Dec 26 01:24:42 2014  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!)

Fri Dec 26 00:13:48 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* test/ruby/test_extlibs.rb: check existence of extension libraries
	  which not depend on outer libraries. (experimental)

Thu Dec 25 21:58:15 2014  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]

Thu Dec 25 19:01:13 2014  NAKAMURA Usaku  <usa@ruby-lang.org>

	* ext/fiddle/win32/libffi-3.2.1-mswin.patch: support mswin32.

Thu Dec 25 17:30:40 2014  Naohisa Goto  <ngotogenome@gmail.com>

	* gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
	  Fix SEGV during finalize of WeakRef on Solaris (though the SEGV
	  could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646]

Thu Dec 25 17:27:06 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:14:10 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.

For the changes before 2.2.0, see doc/ChangeLog-2.2.0
For the changes before 2.1.0, see doc/ChangeLog-2.1.0
For the changes before 2.0.0, see doc/ChangeLog-2.0.0
For the changes before 1.9.3, see doc/ChangeLog-1.9.3
For the changes before 1.8.0, see doc/ChangeLog-1.8.0

Local variables:
coding: us-ascii
add-log-time-format: (lambda ()
  (let* ((time (current-time))
	 (system-time-locale "C")
	 (diff (+ (cadr time) 32400))
	 (lo (% diff 65536))
	 (hi (+ (car time) (/ diff 65536))))
  (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
indent-tabs-mode: t
tab-width: 8
change-log-indent-text: 2
end:
vim: tabstop=8 shiftwidth=2