1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194
|
2025-07-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.1.0
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2025-06-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-06-18 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Use doi references for CRAN packages,
update versions, update some package titles
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Re-rendered
2025-06-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-06-02 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp.h: Avoid copy when creating Language objects
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/lgrow.h: Idem
* inst/tinytest/cpp/language.cpp: Idem
* inst/tinytest/test_language.R: Idem
2025-05-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-05-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/newDateVector.h: Add default
constructor
* inst/include/Rcpp/date_datetime/newDatetimeVector.h: Idem
* inst/tinytest/test_date.R: Add tests
* inst/tinytest/cpp/dates.cpp: Idem
2025-05-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* R/Attributes.R: Support C++26 via plugin
2025-05-05 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_sugar.R: Condition four NA-related tests away on
arm64 on Linux too
* .github/workflows/linuxarm.yaml (jobs): Add ubuntu-24.04-arm as
optional workflow_dispatch run
2025-04-15 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-4.4/Dockerfile: Added based on r-base:4.4.3
* .github/workflows/ci.yaml (jobs): Add rcpp/ci-4.4 to matrix
2025-03-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-03-29 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/traits/result_of.h: Reimplement traits::result_of using
std::result_of (up to C++14) or std::invoke_result (C++17 or later), which
supports previous use cases and enables lambdas
* inst/include/Rcpp/sugar/functions/sapply.h: Use new result_of interface
* inst/include/Rcpp/sugar/functions/lapply.h: Idem
* inst/include/Rcpp/sugar/functions/mapply/mapply_2.h: Idem
* inst/include/Rcpp/sugar/functions/mapply/mapply_3.h: Idem
* inst/include/Rcpp/sugar/matrix/outer.h: Idem
* inst/tinytest/cpp/sugar.cpp: New tests for previous sugar functions
* inst/tinytest/test_sugar.R: Idem
2025-03-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-03-26 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/platform/compiler.h: Remove definitions of
RCPP_USING_UNORDERED_MAP and RCPP_USING_UNORDERED_SET
* inst/include/Rcpp/sugar/sets.h: Remove redefinition of macros
* inst/include/Rcpp/sugar/functions/self_match.h: Replace macros with
std::unordered_map and std::unordered_set respectively
* inst/include/Rcpp/sugar/functions/setdiff.h: Idem
* inst/include/Rcpp/sugar/functions/table.h: Idem
* inst/tinytest/cpp/wrap.cpp: Idem
2025-03-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-03-24 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/exceptions.h: Include C+11 variadic template definitions
unconditionally
* inst/include/Rcpp/exceptions/cpp11/exceptions.h: Removed
* inst/include/Rcpp/exceptions/cpp98/exceptions.h: Idem
* src/attributes.cpp: Remove obsolete pre-C+11 paths based on __cplusplus
define checks
* inst/tinytest/cpp/sugar.cpp: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/StringTransformer.h: Idem
* inst/include/Rcpp/algorithm.h: Idem
* inst/include/Rcpp/utils/tinyformat.h: Idem
* inst/include/Rcpp/longlong.h: Idem, unconditional RCPP_HAS_LONG_LONG_TYPES
* src/api.cpp: Remove explicit RCPP_HAS_LONG_LONG_TYPES as availability is
both implicit and ensured
* inst/include/Rcpp/algorithm.h: Idem
* inst/include/Rcpp/traits/is_arithmetic.h: Idem
* inst/include/Rcpp/traits/longlong.h: Idem
2025-03-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/String.h: Remove explicit RCPP_USING_CXX11 as
use of C++11 (or newer) is both implicit and ensured
* inst/include/Rcpp/macros/dispatch.h: Idem
* inst/include/Rcpp/platform/compiler.h: Idem
* inst/include/Rcpp/unwindProtect.h: Idem
* inst/tinytest/cpp/wrap.cpp: Idem
* src/api.cpp: Idem
2025-03-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/module/class.h: Use variadic templates unconditionally
* inst/include/Rcpp/grow.h: Idem
* inst/include/Rcpp/DottedPair.h: Idem
* inst/include/Rcpp/Vector.h: Idem
* inst/include/Rcpp/Function.h: Idem
* inst/include/Rcpp/internal/call.h: Idem
* inst/include/Rcpp/InternalFunctionWithStdFunction.h: Idem
* inst/include/Rcpp/Module.h: Idem
* inst/include/Rcpp/traits/index_sequence.h: Idem
* inst/include/Rcpp/traits/named_object.h: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/DataFrame.h: Idem
* inst/include/Rcpp/PairList.h: Idem
* inst/include/Rcpp/InternalFunction.h: Idem
* inst/include/Rcpp/module/Module_generated_class_constructor.h: Removed
* inst/include/Rcpp/module/Module_generated_class_factory.h: Idem
* inst/include/Rcpp/module/Module_generated_method.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
* inst/include/Rcpp/generated/grow__pairlist.h: Idem
* inst/include/Rcpp/generated/DottedPair__ctors.h: Idem
* inst/include/Rcpp/generated/Vector__create.h: Idem
* inst/include/Rcpp/generated/Function__operator.h: Idem
* inst/include/Rcpp/generated/InternalFunctionWithStdFunction_call.h: Idem
* inst/include/Rcpp/module/Module_generated_Constructor.h: Idem
* inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
* inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_Factory.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_class_signature.h: Idem
* inst/include/Rcpp/module/Module_generated_ctor_signature.h: Idem
* inst/include/Rcpp/module/Module_generated_function.h: Idem
* inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
* inst/include/Rcpp/generated/Language__ctors.h: Idem
* inst/include/Rcpp/generated/DataFrame_generated.h: Idem
* inst/include/Rcpp/generated/Pairlist__ctors.h: Idem
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem
* inst/include/Rcpp/platform/compiler.h: No longer define HAS_VARIADIC_TEMPLATES
* src/api.cpp (rcpp_can_use_cxx0x): Return true unconditionally
2025-03-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/platform/compiler.h: Simplified and shortened
establishing C++11 as baseline; further PRs to complete this
* inst/include/Rcpp/String.h: Unconditionally use std::hash with C++11
* inst/include/Rcpp/wrap.h: Unconditionally use static_assert
* inst/include/Rcpp/sugar/functions/sapply.h: Use std::result_of
(with C++11 or C++14) or std::invoke_result (C++17 or later)
* inst/include/Rcpp/sugar/functions/table.h: Use std::map
* inst/include/Rcpp/sugar/sets.h: Use std::unordered_{set,map}
* man/evalCpp.Rd: Update example
* src/api.cpp: Simplify rcpp_capabilities assignment
2025-03-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/Environment.h: Switch from R_lsInternal to
R_lsInternal3 as the former is now outlawed
2025-03-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-03-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Function.h: Use R_ClosureEnv instead of
deprecated CLOENV if under R >= 4.5.0
2025-03-07 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
* src/barrier.cpp (dataptr): Replace remaining DATAPTR with
DATAPTR_RO for suitable R greater than 3.5.0
2025-02-11 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Support optional
argument 'github_user' to populate URL and BugReports if given
* man/Rcpp.package.skeleton.Rd: Document new optional argument
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Default version
is now '0.0.1' and not '1.0'
* inst/tinytest/test_rcpp_package_skeleton.R: Adjust test accordingly
* inst/tinytest/test_expose_class.R: Idem
2025-02-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-01-31 Lev Kandel <lmakhlis@google.com>
* inst/include/Rcpp/internal/wrap.h: Add support for std::string_view
* inst/include/Rcpp/traits/r_type_traits.h: Idem
* inst/include/Rcpp/traits/wrap_type_traits.h: Idem
* inst/include/RcppCommon.h: Include <string_view>
* inst/tinytest/cpp/wrap.cpp: Add unit test for wrap(std::string_view)
* inst/tinytest/test_wrap.R: Idem
2025-01-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version and date
* inst/include/Rcpp/config.h: Idem
2025-01-25 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-libraries.Rdm: Add mention of PACKAGE_types.h
* vignettes/rmd/Rcpp.bib: Add AsioHeaders
* inst/bib/Rcpp.bib: Idem
2025-01-18 Ben Bolker <bolker@mcmaster.ca>
* inst/NEWS.Rd: fix trivial typos in NEWS file
2025-01-11 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.14
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2025-01-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Benchmark/Timer.h (R_NO_REMAP): Protect include
with preceding #ifndef now that R 4.5.0 will set this too
2024-11-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.6
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/tinytest/test_date.R: Minor adjustment to datetime format test
following R Dev Day change for R bug 17350 (and issue #1347 here)
2024-11-25 Simon Guest <simon.guest@tesujimath.org>
* src/attributes.cpp: fix CPP source having to be writable
2024-11-03 Marco Colombo <mar.colombo13@gmail.com>
* vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typos
* vignettes/rmd/Rcpp-attributes.Rmd: Idem
* vignettes/rmd/Rcpp-extending.Rmd: Idem
* vignettes/rmd/Rcpp-introduction.Rmd: Idem
* vignettes/rmd/Rcpp-libraries.Rmd: Idem
* vignettes/rmd/Rcpp-modules.Rmd: Idem
* vignettes/rmd/Rcpp-package.Rmd: Idem
* vignettes/rmd/Rcpp-quickref.Rmd: Idem
* vignettes/rmd/Rcpp-sugar.Rmd: Idem
2024-11-02 Dirk Eddelbuettel <edd@debian.org>
* tests/tinytest.R: Minor code edit, removal of two no longer
required setters for tinytest
2024-11-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.5
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-10-31 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs
2024-10-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* .github/workflows/ci.yaml (jobs): Roll checkout action to v4
2024-10-26 Gábor Csárdi <csardi.gabor@gmail.com>
* inst/include/Rcpp/exceptions_impl.h: check for DragonFlyBSD to fix
compilation
2024-10-07 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/platform/compiler.h: Uncomment
HAS_VARIADIC_TEMPLATES macro definition
* src/api.cpp: Simplify checks for variadic templates
* inst/include/Rcpp/DataFrame.h: Idem
* inst/include/Rcpp/DottedPair.h: Idem
* inst/include/Rcpp/Function.h: Idem
* inst/include/Rcpp/InternalFunctionWithStdFunction.h: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/Pairlist.h: Idem
* inst/include/Rcpp/grow.h: Idem
* inst/include/Rcpp/internal/call.h: Idem
* inst/include/Rcpp/module/class.h: Idem
* inst/include/Rcpp/traits/index_sequence.h: Idem
* inst/include/Rcpp/traits/named_object.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/include/Rcpp/Module.h: Idem + add missing is_void method
* inst/tinytest/test_module.R: Add test for void functions and
methods
2024-10-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.3
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-09-29 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Vector.h: Remove a cast as R_xlen_t
is returned now
2024-09-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-09-12 Iñaki Ucar <iucar@fedoraproject.org>
* vignettes/.gitignore: Refinement to ignore more files under rmd/
* vignettes/pdf/*: Rebuilt with Ghostscript 10.03.1
* vignettes/*.pdf: Idem
2024-08-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Authors@R): Added
2024-08-28 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Create DESCRIPTION with Auhors@R file
* inst/tinytest/test_rcpp_package_skeleton.R: Adjust tests
2024-08-20 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_sugar.R: Skip one more NA related test on arm64
and macOS as failure is seen at r-universe on arm64
* .github/workflows/macos.yaml: Add basic r-ci setup but dialed-down
to macOS only (as Linux is covered via multiple Docker setups)
2024-08-19 Dirk Eddelbuettel <edd@debian.org>
* Contributing.md: Refreshed content
2024-07-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-modules.Rmd (are): Add short two-sentence
illustration following GitHub issue #1322
2024-07-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-07-11 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.13
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2024-07-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/internal/SEXP_Iterator.h: Avoid using VECTOR_PTR
* inst/include/Rcpp/vector/Subsetter.h: Avoid using STRING_PTR
* inst/include/RcppCommon.h: Include compatibility defines
* src/barrier.cpp: Avoid using {STRING/VECTOR}_PTR
* inst/include/Rcpp/r/compat.h: Include compatibility defines
2024-07-05 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Environment.h: Drop support for UserDefinedDatabase
[ merged 2024-07-22 after release of Rcpp 1.0.13 ]
* inst/include/Rcpp/Language.h: Avoid using SET_TYPEOF
* inst/include/Rcpp/Pairlist.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
[ merged 2024-07-24 after release of Rcpp 1.0.13 ]
2024-06-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-06-11 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/internal/r_vector.h: Use template specializations to
avoid DATAPTR usage
* inst/include/Rcpp/vector/traits.h: Implement bounds checks in
r_vector_cache access
* inst/tinytest/cpp/Vector.cpp: Add unit tests
* inst/tinytest/test_vector.R: Add unit tests
* tests/tinytest.R: Test in serial by default
2024-06-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/internal/export.h: More R_xlen_t switching
* inst/include/Rcpp/vector/SubMatrix.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
2024-06-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/internal/Proxy_Iterator.h (Proxy_Iterator):
Switch to R_xlen_t ('clang++-17 -Wconversion -Wno-sign-conversion')
* inst/include/Rcpp/DataFrame.h: Idem
* inst/include/Rcpp/Vector.h: Idem
2024-05-28 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-05-27 Dirk Eddelbuettel <edd@debian.org>
* README.md: Remove link references to StackOverflow
* inst/NEWS.Rd: Idem
* inst/include/Rcpp/Module.h (S4_CppOverloadedMethods): Add cast to int
to avoid warnings under 'clang++-17 -Wconversion -Wno-sign-conversion'
* inst/include/Rcpp/vector/Vector.h (Vector): Idem
* inst/include/Rcpp/module/class.h: Switch variable to size_t to avoid
to avoid warnings under 'clang++-17 -Wconversion -Wno-sign-conversion'
* inst/tinytest/testRcppClass/src/init.c: Add void to signature
2024-05-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2024-05-23 Andrew Johnson <andrew.johnson@arjohnsonau.com>
* inst/include/Rcpp/: Added variadic templates to be used instead of
the generated code in `Rcpp/generated` and `Rcpp/module` when
compiling with C++11 or later.
2024-05-18 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-4.3/Dockerfile: Add rcpp/ci-4.3 container for R 4.3.*
* .github/workflows/ci.yaml (jobs): Add rcpp/ci-4.3 to matrix
2024-05-16 Dirk Eddelbuettel <edd@debian.org>
* README.md: Use tinyverse.netlify.app for dependency badge
2024-03-05 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Switch the base container to r2u
* docker/plus/Dockerfile: Given r2u, install more binaries
* README.md: Add r-universe badge
2024-02-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/include/Rcpp/r/headers.h: Set R_NO_REMAP (and MAXELTSIZE)
only if not already defined (as will be needed with R 4.4.0)
2024-01-09 Dirk Eddelbuettel <edd@debian.org>
* README.md: Update usage numbers
* README.md: Remove StackOverflow badge which only works for
logged-in users and is unsuitable for the README
2024-01-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.12
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2024-01-01 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Updated to current versions of cited packages
* inst/bib/Rcpp.bib: Idem
2023-12-27 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (type2name): Refine OBJSXP return
2023-12-21 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (type2name): Recognise OBJSXP added in R 4.4.0
2023-11-28 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/testRcppInterfaceExporter/R/RcppExports.R: Regenerated
* inst/tinytest/testRcppInterfaceExporter/src/RcppExports.cpp: Idem
2023-11-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* src/attributes.cpp (generateCpp): Add a format string for Rf_error
call to not run afoul of -Wformat-security
2023-11-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/include/Rcpp/iostream/Rstreambuf.h: Cast streamsize to int in
two spots
* inst/include/Rcpp/print.h (warningcall): Add missing '%s' format
2023-11-11 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
* vignettes/pdf/Rcpp-FAQ.pdf: Updated
* vignettes/rmd/Rcpp.bib: Updated
2023-10-28 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
* vignettes/pdf/Rcpp-FAQ.pdf: Updated
* vignettes/rmd/Rcpp.bib: Updated
2023-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* R/tools.R: Correct missing Rd macros (spotted by R-devel CMD check)
2023-10-22 Aaron Lun <infinite.monkeys.with.keyboards@gmail.com>
* inst/include/Rcpp/vector/MatrixColumn.h: Cast integer index
to R_xlen_t to avoid integer overflow with large matrices.
* inst/include/Rcpp/vector/MatrixRow.h: Ditto.
* inst/include/Rcpp/vector/Vector.h: Remove stray cast to int
that causes overflow when returning the end iterator.
2023-09-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-introduction.Rmd (Rcpp): Correct caption of
third figure (cf GitHub issue #1276)
* vignettes/pdf/Rcpp-introduction.pdf: Rebuilt
2023-08-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2023-08-29 Iñaki Ucar <iucar@fedoraproject.org>
* R/Attributes.R: Ad-hoc fix for testthat's C entrypoint in
RcppExports.cpp
2023-08-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2023-08-03 Michael Chirico <chiricom@google.com>
* src/attributes.cpp: Directly `#include <ostream>` for `std::endl`
* src/date.cpp: Directly `#include <R_ext/Booelan.h>` for `TRUE` and
`FALSE`
2023-07-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.11
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2023-07-02 Dirk Eddelbuettel <edd@debian.org>
* README.md: Update usage numbers in Examples section
2023-07-01 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-dev/Dockerfile: Make 'rm' more robust as 'rm -f'
* docker/ci-4.2/Dockerfile: Add new container for R 4.2.3
* .github/workflows/ci.yaml (jobs): Add entry for R 4.2.3
2023-06-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* README.md: Two URL updates for appease R CMD check
* DESCRIPTION (Encoding): Somewhat belated addition
2023-04-18 Dirk Eddelbuettel <edd@debian.org>
* README.md: Use app.codecov.io as base for codecov link
2023-04-12 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/ci.yaml: Simplified container use
2023-03-27 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/stale.yaml: Roll to v8
2023-03-27 Iñaki Ucar <iucar@fedoraproject.org>
* R/Attributes.R: Remove command quoting, not needed anymore for system2()
* inst/tinytest/test_xptr.R: Update copyright
2023-03-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/tinytest/test_stats.R: Revisit change from PR #1252; we now
use a slightly smaller tolerance to accomodate old and new value
* inst/tinytest/test_sugar.R: Protect a small number of tests on NA
propagation from running on arm64/Darwin which requires special care
2023-03-25 Iñaki Ucar <iucar@fedoraproject.org>
* R/Attributes.R: Switch to system2 to be able to capture stderr on error
2023-03-24 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-dev/Dockerfile: During Debian freeze experimental repo is
renamed which leads to a hickup here so temporarily remove list file
2023-03-24 Iñaki Ucar <iucar@fedoraproject.org>
* inst/tinytest/test_xptr.R: Skip some tests on Windows
2023-03-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* src/attributes.cpp (RExportsGenerator::writeEnd): Replace a pair of
apostrophes with backticks in generated .Call() statemente
2023-02-07 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_stats.R: Use more accurate value in R 4.3.0
2023-02-06 Dirk Eddelbuettel <edd@debian.org>
* inst/CITATION: Update to new format preferred by r-devel
2023-02-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/include/Rcpp/sugar/functions/sapply.h: Enable compilation
under C++20 (using clang++ and its C++ library) via invoke_result
2023-01-29 Iñaki Ucar <iucar@fedoraproject.org>
* inst/tinytest/test_xptr.R: Fix a couple of tests writing to stdout
2023-01-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2023-01-24 Lukasz Laniewski-Wollk <llaniewski@meil.pw.edu.pl>
* R/RcppLdpath.R: CxxFlags() now quotes only non-standard paths on linux
2023-01-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.10
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
2023-01-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/String.h: Address clang++-14 conversion warning
* inst/include/Rcpp/sugar/functions/mean.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* src/attributes.cpp: Idem
* src/date.cpp: Idem
2022-12-29 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/docker.yaml (jobs): Update several actions
2022-12-26 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/stale.yaml (jobs): Update actions/stale@v6
2022-11-14 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3
2022-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2022-10-27 Kevin Ushey <kevinushey@gmail.com>
* inst/tinytest/cpp/coerce.cpp: add coerce unit tests
* inst/tinytest/test_coerce.R: idem
2022-10-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/internal/r_coerce.h (coerce_to_string<RAWSXP >):
Replace last remaining sprintf with snprintf
2022-10-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* R/Attributes.R (sourceCpp): Protect path to binary from spaces
2022-10-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/tinytest/test_dataframe.R (test.DataFrame.PushZeroLength): Add
new test
* inst/tinytest/cpp/DataFrame.cpp (DataFrame_PushOnEmpty): C++
support for new test
2022-10-04 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/DataFrame.h (set_type_after_push): Allow zero-row
data.frame objects to be grown by push_{back,front}()
2022-09-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2022-09-23 Kevin Ushey <kevinushey@gmail.com>
* R/Module.R: Force 'finalize' method to be materialized
2022-09-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* R/Attributes.R: Support C++20, C++23 and C++2b (for experimental /
incomplete support) via new plugins
2022-07-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2022-07-23 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/r/headers.h: Unwind protection is enabled by default
unless `RCPP_NO_UNWIND_PROTECT` is defined (`RCPP_USE_UNWIND_PROTECT` is
not checked anymore and has no effect)
* inst/include/Rcpp/vector/Vector.h: Switch evaluation to `Rcpp_eval`
* R/Attributes.R: `[[Rcpp::plugins(unwindProtect)]]` is deprecated
* inst/tinytest/cpp/stack.cpp: Adapted
* inst/tinytest/test_exceptions.R: Adapted
* inst/tinytest/test_interface.R: Adapted
* inst/tinytest/testRcppInterfaceExporter/src/config.h: Removed
2022-07-10 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-4.1/Dockerfile: Add Dockerfile for 4.1 series
* .github/workflows/ci.yaml: Add 4.1 to CI matrix
* .github/workflows/docker.yaml: Do not rebuild versioned ones
2022-07-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.9
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2022-07-01 Dirk Eddelbuettel <edd@debian.org>
* man/dependsAttribute.Rd: Use https in URL
* man/exportAttribute.Rd: Idem
* man/interfacesAttribute.Rd: Idem
* DESCRIPTION (URL): Idem
* README.md: Idem, use Amazon page for Rcpp book
2022-05-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2022-05-25 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_string.R: Add C++11 conditioning for new unit tests
2022-05-23 Dean Scarff <dos@scarff.id.au>
* inst/include/Rcpp/String.h: Make less copies of strings via move
semantics and preserving the buffer/SEXP representation when copying
* inst/include/RcppCommon.h: include <utility> for std::move
* inst/tinytest/cpp/String.cpp: Add unit tests
* inst/tinytest/test_string.R: Add unit tests
2022-05-12 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Added xml2, also use more r-cran-* binaries
2022-05-12 Marco Colombo <mar.colombo13@gmail.com>
* vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typo
2022-04-03 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd: Add paragraph about Date(time) not
being aimed at parsing large quantities at once
* vignettes/pdf/Rcpp-FAQ.pdf: Idem
* vignettes/rmd/Rcpp.bib: Add four entries
* inst/bib/Rcpp.bib: Idem
2022-03-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2022-03-13 Iñaki Ucar <iucar@fedoraproject.org>
* src/barrier.cpp: Untag tokens upon removal from the precious list,
so that the internal reference counter can be safely decremented by R
2022-03-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* tests/tinytest.R: Disable full tests on four-digits release to not
exceed CRAN test time preference
2022-03-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/tinytest/cpp/sugar.cpp: Also conditionally replace
std::unary_function with std::function
* vignettes/rmd/Rcpp-sugar.Rmd: Replace std::unary_function example
with std::function (implicitly requiring C++ in vignette example)
* vignettes/rmd/Rcpp-FAQ.Rmd: Idem
2022-03-09 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Language.h: To quieten compilations, replace
std::(unary|binary)_function with std::function for C++11 or later
* inst/include/Rcpp/StringTransformer.he: Idem
2022-01-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2022-01-20 Dirk Eddelbuettel <edd@debian.org>
* src/attributes.cpp: Make three small changes to permit compilation
under C++98 now (while we consider just turning to C++11 overall)
2022-01-14 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_packageversion.R: Comparison to 'dev' revision
version now tolerant of optional trailing zero (e.g. 1.0.8.0)
2022-01-11 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.8
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
* inst/include/Rcpp/r/headers.h: STRICT_R_HEADERS set by default
unless override RCPP_NO_STRICT_HEADERS is set (cf issue #1158)
2022-01-10 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Updated CRAN and R references
* inst/bib/Rcpp.bib: Idem
* vignettes/rmd/getCurrentVersionsOfCitedPackages.R: Updated
2022-01-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/NEWS.Rd: Added entries for a few PRs since last release
* vignettes/rmd/Rcpp.bib: Provide both url and doi entries
* inst/bib/Rcpp.bib: Idem
2021-12-28 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add section on performance
2021-12-24 Dirk Eddelbuettel <edd@debian.org>
* README.md: Update usage counts
2021-12-16 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Update JSS references to new doi scheme,
update http URL links to https
* inst/bib/Rcpp.bib: Idem
2021-12-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2021-12-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rcpp: Added as new entry point
* inst/include/Rcpp/Light: Added as lighter-weight entry point
* inst/include/Rcpp/Lighter: Idem
* inst/include/Rcpp/Lightest: Idem
2021-11-30 Dirk Eddelbuettel <edd@debian.org>
* README.md: Remove Travis badge
* .travis.yml: Removed
2021-11-15 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Minor cleanup
2021-11-14 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdpath.R: Simplified as we no longer need to worry about CXX0X
2021-11-11 Kevin Ushey <kevinushey@gmail.com>
* R/RcppLdpath.R: CxxFlags() now quotes its include path
2021-10-15 Travers Ching <traversc@gmail.com>
* inst/tinytest/testRcppAttributePackage: Tests `signature` attribute
* inst/tinytest/test_attribute_package.R: Tests `signature` attribute
2021-10-13 Dirk Eddelbuettel <edd@debian.org>
* README.md: Switch JSS url to doi form per JSS request
* man/Rcpp-package.Rd: Idem
* man/RcppLdFlags.Rd: Idem
* inst/CITATION: Only use doi entries in three citEntry blocks
2021-10-11 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* .codecov.yml (comment): Disable codecov comments on PRs
2021-10-10 Travers Ching <traversc@gmail.com>
* src/attributes.cpp: Add `signature` attribute and syntax checks
2021-10-02 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/docker.yaml (jobs): Add container builder action
2021-10-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Updated
2021-09-29 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/XPtr.h: Check for new define
`RCPP_USE_FINALIZE_ON_EXIT` to flip the value of XPtr's `finalizeOnExit`
parameter from false (default) to true.
* inst/tinytest/test_xptr.R: Added test for this functionality.
2021-09-27 Dirk Eddelbuettel <edd@debian.org>
* README.md: Added total downloads badge
2021-09-06 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-4.0/Dockerfile: Using R 4.0.5 to build ci-4.0
* .github/workflows/ci.yaml (jobs): Also run against R 4.0.*
2021-09-05 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/Misc/piSugar.cpp (piSugar): Remove spurious call to
RNGScope we do not need with Rcpp Attributes
* inst/examples/RcppGibbs/RcppGibbs.R (Rgibbs): Comment on two uses
of RNGScope as historical in pre-Attributes code
* inst/examples/RcppGibbs/timeRNGs.R: Idem for one more
2021-08-05 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: Use https for CRAN URLs
* vignettes/rmd/Rcpp.bib: Idem
2021-07-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2021-07-24 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd: New entry on growing vectors
2021-07-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* cleanup: Check for optional vignettes/rmd before trying to access it
2021-07-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.7
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/pdf/*: Rebuilt
2021-07-05 Iñaki Ucar <iucar@fedoraproject.org>
* src/barrier.cpp (Rcpp_precious_remove): Protect from call with
wrong token when unloading modules compiled under earlier version
2021-07-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/r/headers.h: Update notice as January 2022
release will remove protection for STRICT_R_HEADERS making it default
2021-05-27 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/cpp/rcppversion.cpp (checkVersion): Allow for more
than four components of a development version number
* inst/tinytest/test_packageversion.R: Idem
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Clarify in comment
2021-05-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2021-05-09 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Add cfloat header
2021-04-09 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/hash/IndexHash.h: Silence one comparison, update
use of unsigned int to uint32_t throughout
2021-03-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2021-03-21 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/api/meat/message.h: Add wrapper for base::message
* inst/include/Rcpp/api/meat/meat.h: Include new file
* inst/tinytest/test_misc.R: Simple test
* inst/tinytest/cpp/misc.cpp (messageWrapper): Test support
2021-02-23 Dirk Eddelbuettel <edd@debian.org>
* Contributing.md: Update unit test link to tinytest
2021-02-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Author): Add Inaki to the team
2021-02-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* README.md: Mention the Rcpp drap repo and its release candidates in
installation section
2021-01-30 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/test_global_rostream.R: Added test new (optionally)
global Rcout and Rcerr objects
2021-01-28 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/iostream/Rstreambuf.h: Support for global
Rcout/Rcerr by defining `-DRCPP_USE_GLOBAL_ROSTREAM`; this mimics
std::cout/cerr; initialization code is automatically generated.
* inst/include/Rcpp/routines.h: Ditto
* src/api.cpp: Ditto
* src/attributes.cpp: Ditto
* src/rcpp_init.cpp: Ditto
2021-01-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/DataFrame.h: Remove unused variable
* R/Attributes.R (sourceCpp): Support argument echo to be passed to
source() to silence optional R evaluation
2021-01-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/include/RcppCommon.h: Preverse existing API and offer new
token-based API alongside via Rcpp_Precious{Preserve,Release}
* inst/include/Rcpp/String.h: Use Rcpp_Precious{Preserve,Release}
* inst/include/Rcpp/storage/PreserveStorage.h: Ditto
2021-01-17 Iñaki Ucar <iucar@fedoraproject.org>
* inst/include/Rcpp/String.h: Use Rcpp_{Preserve,Release}Object
throughout which connects to Rcpp_precious_* routines
* inst/include/Rcpp/exceptions.h: Use Rcpp_ReleaseObject
* inst/include/Rcpp/routines.h: Several corrections and refinements
* inst/include/Rcpp/storage/PreserveStorage.h: Ditto
* inst/include/Rcpp/traits/named_object.h: Ditto
* inst/include/Rcpp/unwuindProtect.h: Ditto
* inst/include/RcppCommon.h: Ditto
* src/barrier.cpp: Ditto
2021-01-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
[ these were originally committed 17 May 2020 and have been rebased ]
* src/barrier.cpp: Implement Rcpp_precious_{init,teardown,preserve,remove}
* src/rcpp_init.c: Register cpp_precious_{init,teardown,preserve,remove}
and call from R_{init,unload}_Rcpp
* inst/include/Rcpp/routines.h: Declare Rcpp_precious_{init,teardown,
preserve,remove}
* inst/include/Rcpp/exceptions.h: Use Rcpp_precious_remove
* inst/include/Rcpp/traits/named_object.h: Use
Rcpp_precious_{preserve,remove}
* inst/include/Rcpp/unwuindProtect.h: Use Rcpp_precious_preserve
* inst/include/RcppCommon.h: Use Rcpp_precious_{preserve,remove}
2021-01-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* tests/tinytest.R: Test for CODECOV when deciding to run extensive
tests or just a subset, and set CI=true to enable run full set
* .github/workflows/stale.yaml: Run weekly instead of daily
* src/attributes.cpp: Additional #nocov tag(s)
* R/Attributes.R: Idem
* R/Module.R: Idem
* R/Rcpp.package.skeleton.R: Idem
* R/RcppClass.R: Idem
* R/RcppLdpath.R: Idem
* src/attributes.cpp: Support include files with dots in package name
2021-01-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.6
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
2021-01-13 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Updated package versions
* inst/bib/Rcpp.bib: Idem
2021-01-02 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Wrap any() around grepl()
2020-12-22 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/stale.yaml: Adding a staleness monitor labeling
and ultimately closing issues and PRs after suitably long windows
2020-12-16 Dirk Eddelbuettel <edd@debian.org>
* inst/NEWS.Rd: Updated for recent activity
* .github/workflows/ci.yaml: Add container-based CI runner
* README.md: Add new badge
2020-11-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: More URL updates, e.g. http -> https
* README.md: Ditto
* inst/CITATION: Ditto
* man/Rcpp-package.Rd: Ditto
* inst/CITATION: Change from PeerJ Preprint to TAS
2020-10-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Switch XPtr
finalizer argument from false to true
2020-10-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/lang.h: Remove spurious whitespace
* vignettes/.gitignore: Refined to no longer ignore pdf files
* vignettes/pdf/*: Added
* inst/NEWS.Rd: Updated for two PRs
2020-10-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-10-19 Benjamin Christoffersen <boennecd@gmail.com>
* src/attributes.cpp: Initialize two private bool variable in default
constructor to avoid santizer warning
2020-08-20 Mattias Ellert <mattias.ellert@physics.uu.se>
* inst/include/Rcpp/lang.h: Remove obsolete and confusing comment
2020-08-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-07-09 Walter Somerville <waltersom@gmail.com>
* inst/include/Rcpp/DataFrame.h: Warn when data.frame has varying
length
* inst/tinyTest/cpp/DataFrame.cpp: Test added
* inst/tinyTest/test_dataframe.R: Idem
2020-07-07 Walter Somerville <waltersom@gmail.com>
* inst/include/Rcpp/DataFrame.h: Implement explict push_back and
push_front for DataFrame, which takes care to set the class and
row.names attributes.
* inst/tinyTest/test_dataframe.R: Add in tests for
push_back/push_front
* inst/tinyTest/cpp/DataFrame.cpp: Idem
2020-07-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-07-06 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/module/class.h: EXTPTR_PTR -> R_ExternalPtrAddr
* src/api.cpp: Idem
* src/module.cpp: Idem
2020-07-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.5
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
2020-06-27 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Revert back to standard r-base container
* docker/plus/Dockerfile: Also install bit64
2020-06-19 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Determine package name and version from DESCRIPTION,
switch to bionic
2020-06-14 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: Add John's new 'S, R, and Data Science' article
* vignettes/rmd/Rcpp.bib: Idem
2020-06-07 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (jobs): Replace R 3.4.3 with R 3.6.3 in matrix
2020-06-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* R/Rcpp.package.skeleton.R: Remove a remaining NAMESPACE entry for
a temporary function symbol; ensure an exportPattern is set
2020-05-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-05-17 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/String.h: Don't preserve returned SEXP in wrap
* inst/include/RcppCommon.h: Simplify
2020-04-30 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* vignettes/rmd/Rcpp-libraries.Rmd: Add new vignette source
* vignettes/rmd/Rcpp.bib: Complete references
* inst/bib/Rcpp.bib: Idem
2020-04-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-04-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/sample.h: Replace R_alloc() with
a standard vector allocation to reduce memory consumption in sample
* docker/ci/Dockerfile: Update for R 4.0.0 (with a temporary
diversion to rocker/r-base:4.0.0, and all-source installations)
* vignettes/rmd/Makefile: Add bibtex call to JSS 2011 paper builds
2020-04-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-04-15 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/String.h: Avoid 'debug' namespace collisions
* inst/include/Rcpp/macros/debug.h: Idem
* inst/include/Rcpp/macros/macros.h: Idem
2020-04-15 Uwe Korn <mail@uwekorn.com>
* inst/include/Rcpp/DataFrame.h: Explicit call to scalar std::abs
2020-04-11 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-04-10 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/macros/macros.h: Safer definition of short_file_name
* inst/include/Rcpp/String.h: Idem
* inst/include/Rcpp/macros/debug.h: Idem
* src/api.cpp: Idem
2020-04-10 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_exceptions.R: Skip parts of file if on Solaris
2020-04-02 Dirk Eddelbuettel <edd@debian.org>
* inst/NEWS.rd: Mark as patch release 1.0.4.6
* inst/tinytest/test_exceptions.R: If running skip remainder of file
on Windows to not trigger failed test
2020-04-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2020-03-31 Dirk Eddelbuettel <edd@debian.org>
* docker/ci-dev/Dockerfile: Also install the 'codetools' package
2020-03-31 Kevin Ushey <kevin@rstudio.com>
* R/Attributes.R: Fix for sourceCpp() on Windows w/R-devel
2020-03-28 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/RcppGibbs/RcppGibbs_Updated.R: Updated example
2020-03-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/Environment.h: Added two Shield<SEXP> wrappers
around Rf_langX calls
2020-03-23 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (script): Run coverage as parallel step
2020-03-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* docker/ci-3.4/Dockerfile: Added
* docker/ci-3.5/Dockerfile: Idem
* docker/ci-dev/Dockerfile: Idem
* .travis.yml (jobs): Expand to matrix
2020-03-22 Mattias Ellert <mattias.ellert@physics.uu.se>
* inst/include/Rcpp/exceptions_impl.h: Add include guard,
Make sure RCPP_DEMANGLER_ENABLED is always defined,
Add missing inline qualifier
2020-03-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/include/Rcpp/lang.h: Define Rcpp_list{2,3,4,5} in the Rcpp
namespace
* DESCRIPTION: Remove versioned depends on R (>= 3.0.0) from 2013
2020-03-17 Davis Vaughan <davis@rstudio.com>
* inst/include/Rcpp/lang.h: Inline Rcpp_list6() to support R 3.3.
2020-03-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version (twice)
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Updated
2020-03-15 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/exceptions_impl.h: Ensure <execinfo.h> is included
into global namespace; refactor detection of demangler support
2020-03-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.4
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
2020-03-12 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Updated to current package versions
* inst/bib/Rcpp.bib: Idem
2020-02-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions_impl.h: Remove spurious semicolon
2020-02-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/generated/Vector__create.h: Added #nocov tags
* inst/include/Rcpp/exceptions_impl.h: Idem
* src/api.cpp: Idem plus some whitespace realignment
2020-02-13 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add a Debian badge
2020-02-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* README.md: Added indirect CRAN use badge
2020-02-09 Joshua Pritikin <jpritikin@pobox.com>
* inst/include/Rcpp.h: Include exceptions_impl.h
* inst/include/Rcpp/exceptions.h: Make thread-safe
* inst/include/Rcpp/exceptions_impl.h: New home for code moved
from src/api.cpp
2020-01-05 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: A few more #nocov tags
* inst/include/Rcpp/generated/Vector__create.h: Idem, plus whitespace
2020-01-04 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: A few more #nocov tags
2020-01-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/module/Module.h: A few more #nocov tags
* inst/include/Rcpp/XPtr.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
2019-12-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-29 Qiang Kou <qkou@qkou.info>
* inst/include/Rcpp/vector/Matrix.h: Ensure scalar OP matrix do not
change right-hand side in operation
* inst/tinytest/test_matrix.R: New tests
* inst/tinytest/cpp/Matrix.cpp: Idem
2019-12-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-18 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/XPtr.h: Additional null check, refactored
2019-12-17 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/XPtr.h: Clear external pointer before finalizer
2019-12-17 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCpp): Very minor cosmetic changes
2019-12-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-14 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCpp): Support new argument windowsDebugDLL to
create a debug DLL, supported on Windows only
* man/sourceCpp.Rd: Document it
* src/date.cpp: A few more #nocov tage
2019-12-13 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: A few more #nocov tags
* src/attributes.cpp: Idem
* src/barrier.cpp: Idem
2019-12-08 Dirk Eddelbuettel <edd@debian.org>
* tests/tinytest.R: Turn verbose tests on in dev and on Travis
* inst/tinytest/test_client_package.R: Finer-grained skip messages
* inst/tinytest/test_module_client_package.R: Idem
* inst/tinytest/test_expose_class.R: Idem
* inst/tinytest/test_interface.R: Idem
* inst/tinytest/test_rcpp_package_skeleton.R: Idem
* inst/tinytest/test_reference.R: Idem
* inst/tinytest/test_*.R: Streamlined initial test and sourceCpp call
* src/attributes.cpp: Remove dangling '#nocov end'
2019-12-07 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/tinytest/test_binary_package.R: Finer-grained skip messages
* inst/tinytest/test_misc.R: Add commented-out test that fails
* tests/tinytest.R: Minor edit
* docker/ci/Dockerfile: Add curl and ssl -dev packages needed for covr
2019-12-05 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd (Rcpp): Add entry about "'dataptr' (or
'enterRNGScope') not provided by Rcpp" recommending proper importFrom
2019-12-03 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Lighter builds as fewer Suggests:
* docker/plus/Dockerfile: Take packages moved from ci/Dockerfile
2019-12-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* DESCRIPTION (Suggests): Remove knitr, rmarkdown, pinp
* DESCRIPTION (VignetteBuilder): Remove knitr
2019-11-26 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_embedded_r.R: Use sink to suppress noisy output,
reenable tests (still conditional on usual environment variable)
2019-11-25 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/cpp/Vector.cpp (no_op): Suppress compiler warning
2019-11-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Suggests): Add tinytest, remove RUnit
* tests/doRUnit.R: Removed
* tests/tinytest.R: Added
* tests/tinytest.R: Converted from RUnit to tinytest
* inst/tinytest/test_algorithm.R: Idem
* inst/tinytest/test_as.R: Idem
* inst/tinytest/test_binary_package.R: Idem (but inactive for now)
* inst/tinytest/test_client_package.R: Idem (but inactive for now)
* inst/tinytest/test_dataframe.R: Idem
* inst/tinytest/test_date.R: Idem (but condition two test sets on TZ)
* inst/tinytest/test_dispatch.R: Idem
* inst/tinytest/test_embedded.R: Idem
* inst/tinytest/test_environments.R: Idem
* inst/tinytest/test_exceptions.R: Idem
* inst/tinytest/test_exceptions_nocall.R: Idem
* inst/tinytest/test_expose_class.R: Idem
* inst/tinytest/test_function.R: Idem
* inst/tinytest/test_interface.R: Idem (but inactive for now)
* inst/tinytest/test_internal_function.R: Idem
* inst/tinytest/test_internal_function_cpp11.R: Idem
* inst/tinytest/test_language.R: Idem
* inst/tinytest/test_listof.R: Idem
* inst/tinytest/test_matrix.R: Idem
* inst/tinytest/test_misc.R: Idem
* inst/tinytest/test_modref.R: Idem
* inst/tinytest/test_module.R: Idem
* inst/tinytest/test_module_client_package.R: Idem
* inst/tinytest/test_na.R: Idem
* inst/tinytest/test_quickanddirty.R: Idem
* inst/tinytest/test_rcpp_package_skeleton.R: Idem
* inst/tinytest/test_reference.R: Idem
* inst/tinytest/test_rmath.R: Idem
* inst/tinytest/test_robject.R: Idem
* inst/tinytest/test_s4.R: Idem
* inst/tinytest/test_stack.R: Idem
* inst/tinytest/test_stats.R: Idem
* inst/tinytest/test_string.R: Idem
* inst/tinytest/test_subset.R: Idem
* inst/tinytest/test_sugar.R: Idem
* inst/tinytest/test_sugar_var.R: Idem
* inst/tinytest/test_support.R: Idem
* inst/tinytest/test_system.R: Idem
* inst/tinytest/test_table.R: Idem
* inst/tinytest/test_vector.R: Idem
* inst/tinytest/test_vector_old.R: Idem
* inst/tinytest/test_wrap.R: Idem
* inst/tinytest/test_wstring.R: Idem
* inst/tinytest/test_xptr.R: Idem
* inst/tinytest/cpp/*: C++ support files for tests
* inst/tinytest/*: Other support files and directories from unitTests
* R/unitTests.R: Removed as tied to RUnit setuo
* inst/tinytest/test_attributes.R: Added test for error with
non-existing package in cppFunction
2019-11-23 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Add tinytest to ci Docker image
2019-11-20 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Test for and report unavailable 'LinkingTo' package
2019-11-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-11-18 Kun Ren <mail@renkun.me>
* src/attributes.cpp: Add invisible param to export attribute (#1024)
* vignettes/rmd/Rcpp-attributes.Rmd: Add an section of Returning
invisible object
2019-11-13 Dirk Eddelbuettel <edd@debian.org>
* .github/ISSUE_TEMPLATE.md: Another small edit
* .github/PULL_REQUEST_TEMPLATE.md: Idem
2019-11-13 Stephen Wade <stephematician@gmail.com>
* inst/include/Rcpp/XPtr.h: Delete delegating ctor (follow-up #1012)
* inst/unitTests/runit.XPTr.R: Reinsert self-tag test on Windows
2019-11-11 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.packageversion.R: New test
* inst/unitTests/cpp/rcppversion.cpp: Cpp portion of test
2019-11-10 Dirk Eddelbuettel <edd@debian.org>
* .github/: Add files CONTRIBUTING.md, FUNDING.yml, ISSUE_TEMPLATE.md
and PULL_REQUEST_TEMPLATE.md
* inst/include/Rcpp/config.h: Correct RCPP_VERSION and
RCPP_DEV_VERSION to 1.0.3
2019-11-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-11-09 TJ McKinley <t.mckinley@exeter.ac.uk>
* R/Attributes.R: Correct how cppFunction() deals with multiple
depends arguments
2019-11-08 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/lang.h: Safer Rcpp_list* and Rcpp_lang*
* inst/include/Rcpp/Function.h: Add Function.invoke() for operator()
* inst/include/Rcpp/generated/Function__operator.h: Safer
Function.operator() using Function.invoke()
2019-11-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.3
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-11-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/XPtr.h: Provided fallback for old constructor
when C++11 is not available (follow-up to #1003)
* inst/unitTests/runit.XPTr.R (test.XPtr): On Windows (as a proxy for
old compilers) do not test new feature
* tests/doRUnit.R: Protect printing to /tmp from Windows use
* vignettes/rmd/Rcpp.bib: Updated
* inst/bib/Rcpp.bib: Idem
2019-11-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/Reference.h: Shield Rf_mkstring inside Rf_lang2
* inst/include/Rcpp/Environment.h: Idem (inside Rf_lang4)
* inst/include/Rcpp/proxy/FieldProxy.h: Idem (inside Rf_lang3 and 4)
2019-10-31 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/DataFrame.h: Protect temporaries from gc
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
2019-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/unitTests/runit.exposeClass.R: Updated to pass with r-devel
* vignettes/rmd/Rcpp-FAQ.Rmd: Two new short section on speedier
compilation and lack of exceptions / stop() across shared libraries
2019-10-26 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-package.Rnw: Another wrapper
* vignettes/Rcpp-jss-2011.Rnw: Idem
* vignettes/Makefile: Refinements
* vignettes/rmd/Makefile: Idem
* cleanup: Removed bashism, added invocation of make clean
2019-10-23 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-*.Rnw: Wrappers around pdf/*pdf
* vignettes/Makefile: Added
2019-10-21 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/*: Moved from parent directory
* vignettes/pdf/*: New target directory
2019-10-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* vignettes/Rcpp-FAQ.Rmd: Turn off knitr cache
* vignettes/Rcpp-introduction.Rmd: Idem
* vignettes/Makefile: Add simple Makefile
* .Rbuildignore: Exclude vignettes/Makefile
2019-10-19 Stephen Wade <stephematician@gmail.com>
* inst/include/Rcpp/XPtr.h: XPtr constructor split up, a single
argument does not modify tags and protected data of the external pointer
* inst/unitTests/cpp/Xptr.cpp: Added test
* inst/unitTests/runit.XPtr.R: Idem
2019-10-14 Dirk Eddelbuettel <edd@debian.org>
* README.md: Added CRAN + BioConductor badges for reverse depends,
2019-10-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: Condition use of typeid() on
absence of RCPP_NO_RTTI in two places
* inst/include/Rcpp/r/headers.h: RCPP_NO_RTTI implies RCPP_NO_MODULES
2019-10-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-attributes.Rmd: Correct two unevaluated knitr C++
chunks to mode 'Rcpp' rather than the (unregistered) C++ mode
* vignettes/Rcpp-extending.Rmd: Minor white-space tweak to avoid
paragraph-spacing warnings from latex and its mdframed style
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-sugar.Rmd: Idem
2019-10-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-09-30 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp.h: add RCPP_NO_MODULES
* inst/include/Rcpp/api/meat/is.h: Idem
* inst/include/Rcpp/api/meat/meat.h: Idem
2019-09-28 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add a stackoverflow tag to indicate where to ask questions,
also updated package counts on CRAN and BioC for Rcpp users
2019-08-06 Riccardo Porreca <riccardo.porreca@mirai-solutions.com>
* vignettes/Rcpp-modules.Rmd: Extensive review and edit improving the
Modules vignette
2019-08-04 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add thre doi badges
* inst/NEWS.Rd: Two minor edits
2019-07-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-07-21 Riccardo Porreca <riccardo.porreca@mirai-solutions.com>
* R/Module.R: Use an explicit Rcpp:: in the initalize method for C++
classes wrapped inside modules to ensure proper initialization
2019-07-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 1.0.2
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-07-18 Pierrick Roger <pk.roger@icloud.com>
* src/attributes.cpp: Correct parsing of default function values
* inst/unitTests/cpp/attributes.cpp: Added tests
* inst/unitTests/runit.attributes.R: Idem
2019-07-16 Dirk Eddelbuettel <edd@debian.org>
* debian/: Removed, see https://salsa.debian.org/edd/r-base/ instead
2019-07-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated
* inst/bib/Rcpp.bib: Idem
2019-05-05 Dirk Eddelbuettel <edd@debian.org>
* .Rbuildignore: Small tweak
2019-04-27 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Use getRcppVersion()
2019-04-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* R/tools.R (getRcppVersion): More idiomatic code
2019-04-25 Dirk Eddelbuettel <edd@debian.org>
* R/tools.R (getRcppVersion): Export R (and dev) package version
* man/getRcppVersion.Rd: Documentation for new function
* inst/include/Rcpp/config.h (RCPP_VERSION_STRING): New version
and development version string #define
* src/api.cpp (getRcppVersionStrings): Expose new versions strings
* src/internal.h: Register new version string exporter
* src/rcpp_init.cpp (callEntries[]): Idem
* inst/unitTests/runit.misc.R (test.getRcppVersion): test new function
2019-03-23 Ralf Stubner <ralf.stubner@daqana.com>
* vignettes/Rcpp-modules.Rmd: Describe RCPP_EXPOSED_* macros
* vignettes/Rcpp-extending.Rmd: Reference Modules extensions
2019-03-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/NEWS.Rd: Updated
2019-03-20 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/sugar/functions/unique.h: Added decreasing
parameter to control sort.
* inst/unitTests/runit.sugar.R: Added sort_unique() tests
* inst/unitTests/cpp/sugar.cpp: Ditto
2019-03-20 Dirk Eddelbuettel <edd@debian.org>
* src/date.cpp: Renamed from Date.cpp
* src/module.cpp: Renamed from Module.cpp
* src/rcpp_init.cpp: Renamed from Rcpp_init.cpp
2019-03-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* tests/doRUnit.R: On Travis always set RunAllRcppTests
* docker/ci/Dockerfile: Set environment variables container-wide
2019-03-18 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/macros/macros.h (END_RCPP_RETURN_ERROR): Add
UNPROTECT to reference nprot, also check for stop_sym
2019-03-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 1.0.1
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-03-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/unitTests/runit.sugar.R: Set the sample() behaviour to R 3.5.0
as R 3.6.0 has a breaking change (for the better)
2019-03-13 Romain François <romain@purrple.cat>
* inst/include/Rcpp/macros/macros.h: Add UNPROTECT to please rchk
2019-03-12 Romain François <romain@purrple.cat>
* inst/include/Rcpp/api/meat/proxy.h: AttributeProxy::set() with
Shield<> and a few related uses of Shield<> to please rchk
* inst/include/Rcpp/clone.h: Idem
* inst/include/Rcpp/proxy/AttributeProxy.h: Idem
* inst/include/Rcpp/proxy/NamesProxy.h: Idem
* inst/include/Rcpp/vector/Matrix.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
2019-02-25 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (after_success): Setting CODECOV_TOKEN to reenable
codecov.io coverage as detailed by Ralf in GitHub issue #941
2019-02-16 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/cbind.h: Converted CRLF to CR
2019-02-15 Dirk Eddelbuettel <edd@debian.org>
* inst/README: Moved stale file to local/
* inst/THANKS: Idem
2019-02-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version
2019-02-11 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R: better handle pre-existing RcppExports.cpp,
RcppExports.R when calling compileAttributes()
2019-02-09 Ralf Stubner <ralf.stubner@daqana.com>
* Rcpp-modules.Rmd: Added example for .factory
2019-01-31 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/protection/Shelter.h (Rcpp): Only increase
nprotected count if object is not NULL (suggested by Stepan Sindelar)
2018-12-26 Zhuoer Dong <dongzhuoer@mail.nankai.edu.cn>
* vignettes/Rcpp-quickref.Rmd: Fix three bugs: use `Named()`, define
`glob`, `glob.ls(TRUE)`.
2018-12-01 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Added new 'c++2a' plugin for '-std=c++2a'
compilation standard supported by g++ 8 or later
2018-11-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Subsetter.h (check_indices): More
informative error message as suggested by KK
2018-11-09 William Nolan <will@landale.net>
* inst/include/Rcpp/vector/Subsetter.h: Fixed to use R_xlen_t instead
of int for indexing and added warning when indexing by IntegerVector
(only for large enough vectors)
2018-11-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Version 1.0, and happy 10th birthday!
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2018-11-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* README.md: Updated stated package and test numbers
2018-10-25 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/String.h: Use Rf_mkCharLenCE() as appropriate
* inst/unitTests/cpp/String.cpp: Add unit tests
* inst/unitTests/runit.String.R: Add unit tests
2018-10-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* tests/doRUnit.R: Simplified to something similar to what
RcppArmadillo (and other packages) had for a while now
* vignettes/Rcpp-unitTests.Rnw: Removed as less useful now
2018-10-08 JJ Allaire <jj@rstudio.com>
* R/Attributes.R: Sort the files scanned for attributes in the C locale
for stable output across systems.
2018-10-07 Ralf Stubner <ralf.stubner@daqana.com>
* vignettes/Rcpp-extending.Rmd: Correct EXPORT to EXPOSED in displays
of the corresponding macro, and remove two spurious semicolons
2018-10-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2018-10-02 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/vector/Matrix.h: Init nrow in Matrix(no_init) ctor
* inst/unitTests/runit.Matrix.R: New test
* inst/unitTests/cpp/Matrix.cpp: Idem
2018-09-30 Dirk Eddelbuettel <edd@debian.org>
* man/RcppUnitTests.Rd: Remove \details{} with conditional code which
R-devel (as of Sep 28) warns about as empty
2018-09-28 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (env): Set distinct build and check options to skip
tests of vignettes
2018-09-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/date_datetime/Date.h: Remove the empty destructor
to make g++-9 (prerelease) happy [CRAN request]
* inst/unitTests/runit.Matrix.R: Correct typo
2018-09-27 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/vector/Matrix.h: Fix Matrix(no_init(int,int))
constructor
* inst/unitTests/runit.Matrix.R: test for above
* inst/unitTests/cpp/Matrix.cpp: same
2018-09-26 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Set env var RunAllRcppTests=yes
* .travis.yml: Do not set env var here as needed in Docker
2018-09-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.19
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
* inst/include/Rcpp/config.h: Idem
* R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppCxx0xFlags):
After discussion with CRAN, do not mark as .Deprecated() as too many
packages are involved. This will need to be phased in more slowly.
2018-09-20 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Set 'eval=FALSE' on another
RcppArmadillo example to not create a build-time dependency
2018-09-18 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Add support for [[Rcpp::init]] attribute
* vignettes/Rcpp-attributes.Rmd: Documentation for [[Rcpp::init]]
attribute
2018-09-17 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/r/headers.h: Define STRICT_R_HEADERS, but until
September 2019 protect by defining RCPP_NO_STRICT_HEADERS
* .travis.yml (env): Switch to rcpp/ci for ci use
2018-09-15 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Move Dockerfile to docker/ci
* docker/run/Dockerfile: Add deployment Dockerfile
* docker/plus/Dockerfile: Add 'plus-sized' Dockerfile suitable for
different add-on packages requiring Rcpp{Armadillo,Eigen,GSL} or BH
2018-09-02 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Switch to rcpp/rcpp-testing container
2018-08-29 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Use Dockerfile
2018-08-28 Dirk Eddelbuettel <edd@debian.org>
* docker/Dockerfile: Add Dockerfile for use by Travis CI
2018-08-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* man/Rcpp-deprecated.Rd: Fix two-char typo/thinko in \link{}
2018-07-29 Dirk Eddelbuettel <edd@debian.org>
* README.md: Refreshed via some edits and updates
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-07-28 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppLdFlags)
(RcppCxx0xFlags): Marked as deprecated
* man/Rcpp-deprecated.Rd: Add exported functions LdFlags() and
RcppLdFlags() as deprecated
* man/RcppLdFlags.Rd: Idem
2018-07-27 Dirk Eddelbuettel <edd@debian.org>
* man/loadRcppModules-deprecated.Rd: Fix typo; was deprecated in
0.12.5, not 0.16.5 which does not exist
2018-07-26 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Use collapse: true
* vignettes/Rcpp-introduction.Rmd: Idem
2018-07-25 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-extending.Rmd: Use collapse: true
2018-07-24 Martin Lysy <mlysy@uwaterloo.ca>
* R/loadRcppClass.R: Search in R module for 'Class' instead of
'CppClass'.
* R/exposeClass.R: Fixed 'rename' argument to work as expected.
* inst/unitTests/runit.exposeClass.R: Added unit tests for the
above.
2018-07-23 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: More updates
* vignettes/Rcpp.bib: Idem
2018-07-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.18
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
* inst/include/Rcpp/config.h: Idem
* vignettes/Rcpp.bib: Updated other references
* inst/bib/Rcpp.bib: Idem
* inst/unitTests/runit.sugar.R: Additional min, max unit tests
* inst/unitTests/cpp/sugar.cpp: Idem
2018-07-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/max.h: Also consider case of an
empty vector
* inst/include/Rcpp/sugar/functions/min.h: Idem
2018-07-19 Jack Wasey <jack@jackwasey.com>
* inst/include/Rcpp/r_cast.h: Error and abort if debugging for STRSXP
2018-07-24 Martin Lysy <mlysy@uwaterloo.ca>
* R/loadRcppClass.R: Search in R module for 'Class' instead of 'CppClass'.
* R/exposeClass.R: Fixed 'rename' argument to work as expected.
* inst/unitTests/runit.exposeClass.R: Added unit tests for the above.
2018-07-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-07-12 Jack Wasey <jack@jackwasey.com>
* R/Attributes.R: Use case-insensitive sort of filenames to make
RcppExports more deterministic
2018-07-10 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/exceptions.h: Move LongjumpException from the
Rcpp::internal namespace to the public Rcpp namespace. If you have a
catch-all statement like `catch (...)`, be sure to catch and rethrow
Rcpp::LongjumpException to prevent the R longjump from being ignored.
* inst/include/Rcpp/macros/macros.h (VOID_END_RCPP): idem
* src/attributes.cpp: idem
2018-07-09 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Skip 'tm_gmtoff' on AIX as well (thanks to PR 876
by @ayappanec)
2018-07-05 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Rename `RCPP_PROTECTED_EVAL`
to `RCPP_USE_UNWIND_PROTECT` because the new API is now more general
than just evaluation of R code.
* inst/NEWS.Rd: idem
* inst/unitTests/runit.interface.R: idem
* R/unit.tests.R (unitTestSetup): Pass extra arguments to sourceCpp()
for easier debugging.
* R/Attributes.R (.plugins[["unwindProtect"]]): You can now add
`[[Rcpp::plugins(unwindProtect)]]` in one of your source file to enable
the new unwind-protect mechanism easily. It appends
`-DRCPP_USE_UNWIND_PROTECT` to `PKG_CPPFLAGS`.
This is safer than using a `#define` because it ensures unwind-protect
is enabled in all compilation units, including RcppExports.cpp.
* inst/unitTests/cpp/stack.cpp: Use new plugin to enable unwind-protect.
2018-06-22 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Ensure R_BaseEnv is used
2018-06-21 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/unwind.h: Extract unwind protection from
Rcpp::Rcpp_fast_eval() into Rcpp::unwindProtect(). Use this function
whenever you need to call a C function that might longjump, for instance
a function from R's C API. Rcpp::unwindProtect() will protect your C++
stack and throw a Rcpp::internal::LongJump exception to ensure all
destructors are called. The R longjump is then resumed once it is safe
to do so. This function powers Rcpp_fast_eval().
You can use Rcpp::unwindProtect() in two ways. First with a C-like
callback interface that takes a `SEXP (*)(void* data)` function pointer
and a `void*` data argument that is passed to the function. Second, if
you have C++11 enabled, Rcpp::unwindProtect() implements an
`std::function<SEXP(void)>` overload. You can pass any function object
or lambda function with the right signature.
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
2018-06-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-06-13 Filip Schouwenaars <filip@datacamp.com>
* inst/unitTests/runit.embeddedR.R: Evaluate in environment derived
of baseenv
2018-06-11 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/exceptions.h: Control call and stack display
after exception / stop
* inst/unitTests/cpp/Exceptions_nocall.cpp: new test
* inst/unitTests/runit.Exceptions_nocall.R: idem
2018-06-09 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/DataFrame.h: Use Rcpp_fast_eval, not Rcpp_eval
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/Function.h: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/Module.h: Idem
* inst/include/Rcpp/Reference.h: Idem
* inst/include/Rcpp/exceptions.h: Idem
* inst/include/Rcpp/generated/Function__operator.h: Idem
* inst/include/Rcpp/proxy/FieldProxy.h: Idem
* inst/include/Rcpp/proxy/NamesProxy.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/examples/SugarPerformance/sugarBenchmarks.R: Idem
* inst/unitTests/cpp/language.c: Idem
* inst/unitTests/cpp/misc.c: Idem
* src/barrier.c: Idem
2018-06-09 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.embeddedR.R: Suspend test for now
2018-06-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* Contributing.md: Minor update coding style
2018-06-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/config.h: bump dev version
2018-06-06 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/RNGScope.h: Allow suspension of RNG synchronization
* inst/include/Rcpp/routines.h: Idem
* src/Rcpp_init.cpp: Idem
* src/api.cpp: Idem
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Evaluate in base env
2018-06-05 Jack Wasey <jack@jackwasey.com>
* inst/include/Rcpp/r_cast.h: Error and abort if debugging
2018-06-02 Lionel Henry <lionel@rstudio.com>
* inst/unitTests/runit.interface.R: New test for the case where
the client package was compiled without protected evaluation
enabled. On R 3.5, longjump exceptions thrown from imported
functions are still caught and dealt with properly by the client
package.
* inst/unitTests/runit.interface.R: Test both Rcpp_eval() and
Rcpp_fast_eval().
2018-06-01 Lionel Henry <lionel@rstudio.com>
* inst/unitTests/runit.interface.R: New tests for interfaces and unwind.
These tests build two packages, and that exports a function via
Rcpp::interfaces(cpp) and the other that calls it. The attributes are
regenerated and the packages rebuilt each time the tests are run. The
tests check in particular that the C++ stack is properly unwound when a
long jump occurs.
2018-06-01 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/Environment.h: Make Environment::new_child() const
2018-05-31 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Fix protected evaluation.
Setting `RCPP_PROTECTED_EVAL` before including Rcpp.h enables a new R
3.5 API for safe evaluation of R code. R longjumps are now correctly
intercepted and rethrown. Thanks to this the C++ stack is now safely
unwound when a longjump is detected while calling into R code. This
includes the following cases: thrown errors, caught condition of any
class, long return, restart invokation, debugger exit. Note that this is
still experimental!
When `RCPP_PROTECTED_EVAL` is enabled, Rcpp_eval() uses the
protect-unwind API under the hood in order to gain safety. It is fully
backward-compatibile and still catches errors and interrupts to rethrow
them as typed C++ exceptions. If you don't need to catch those, consider
using Rcpp_fast_eval() instead to avoid the catching overhead.
Rcpp_fast_eval() is a wrapper around Rf_eval(). Unlike Rcpp_eval(), it
does not evaluate R code within tryCatch() and thus avoids the overhead
of wrapping and evaluating the expression in a tryCatch() call. When
Rcpp is compiled with a lower version than R 3.5, Rcpp_fast_eval() falls
back to Rf_eval() without any protection from long jumps, even when
`RCPP_PROTECTED_EVAL` is set. Either add R 3.5 to your `Depends` or make
sure the legacy Rcpp_eval() function is called instead of Rcpp_fast_eval()
when your package is compiled with an older version of R.
Note that Rcpp_fast_eval() behaves a bit differently to Rcpp_eval(). The
former has the semantics of the C function Rf_eval() whereas the latter
behaves like the R function base::eval(). This has subtle implications
for control flow. For instance evaluating a return() expression within a
frame environment returns from that frame rather than from the
Rcpp_eval() call.
* inst/include/Rcpp/macros/macros.h: Leave the try/catch scope before
resuming jump to ensure proper destruction of the exception reference.
* inst/include/Rcpp/exceptions.h: Functions to create and check a
longjump sentinel. This sentinel is used as return value in contexts
where it is not safe to resume a jump (i.e. in the glue code of cpp
interfaces).
* inst/include/Rcpp/macros/macros.h: Return a longjump sentinel in
END_RCPP_RETURN_ERROR.
* src/attributes.cpp: Detect longjump sentinels and resume jump.
2018-05-27 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/vector/string_proxy.h: Make
StringProxy::operator== const
* inst/unitTests/cpp/Vector.cpp: New test
* inst/unitTests/runit.Vector.R: Idem
2018-05-09 Filip Schouwenaars <filip@datacamp.com>
* R/Attributes.R: Set local environment in source()
* inst/unitTests/cpp/embeddedR.cpp: New test
* inst/unitTests/runit.embeddedR.R: Idem
2018-05-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.17
* inst/NEWS.Rd: Release 0.12.17
* inst/bib/Rcpp.bib: Release 0.12.17
* vignettes/Rcpp.bib: Release 0.12.17
* inst/include/Rcpp/config.h: Release 0.12.17
* debian/*: Changes for Debian release of 0.12.16
2018-05-05 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Also mention TAS paper
* vignettes/Rcpp-introduction.Rmd: Idem
* vignettes/Rcpp-jss-2011.Rnw: Idem
2018-05-04 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/String.h: Extend StoragePolicy support
* inst/include/Rcpp/vector/00_forward_proxy.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/include/Rcpp/vector/const_generic_proxy.h: Idem
* inst/include/Rcpp/vector/const_string_proxy.h: Idem
* inst/include/Rcpp/vector/generic_proxy.h: Idem
* inst/include/Rcpp/vector/proxy.h: Idem
* inst/include/Rcpp/vector/string_proxy.h: Idem
* inst/include/Rcpp/vector/traits.h: Idem
* inst/unitTests/cpp/Vector.cpp: New test
* inst/unitTests/runit.Vector.R: Idem
2018-04-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2018-04-25 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/Benchmark/Timer.h: If defined, undefine FALSE
2018-04-17 Ralf Stubner <ralf.stubner@daqana.com>
* vignettes/Rcpp-attributes.Rmd: Replace back-quote with straight quote
* vignettes/Rcpp-modules.Rmd: Idem
2018-04-02 Dirk Eddelbuettel <edd@debian.org>
* .editorconfig: Added support for editorconfig.org
* .clang_format: Removed
* .dir-locals.el: Removed
2018-03-31 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sprintf.h (Rcpp): Remove parens [gcc8 warning]
* vignettes/Rcpp-attributes.Rmd: Update link to JSS intro vignette
* vignettes/Rcpp-modules.Rmd: Idem
2018-03-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2018-03-18 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/stats/random/random.h: No inheritance from RNGScope
2018-03-14 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Correct a double-quote (thanks, Joris Meys)
2018-03-08 Peter Hickey <peter.hickey@gmail.com>
* vignettes/Rcpp-attributes.Rmd: Correct stray backslash
2018-03-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.16
* inst/NEWS.Rd: Release 0.12.16
* inst/bib/Rcpp.bib: Release 0.12.16
* vignettes/Rcpp.bib: Release 0.12.16
* inst/include/Rcpp/config.h: Release 0.12.16
* debian/*: Changes for Debian release of 0.12.16
2018-02-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/longlong.h: Revised and more general logic for long
long on 64bit Windows etc via C++11 and as int64_t alias where possible
2018-03-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/complex.h (Rcpp): Remove RCPP_HYPOT
macro and use ::hypot() throught as it is provided with C99
* inst/include/Rcpp/sugar/undoRmath.h: Also uncomment pythag here
2018-02-28 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rmath.h (R): Rf_pythag has been remove in R 2.14.0
so comment-out the R::pythag wrapper (per request of Brian Ripley)
2018-02-26 Kevin Ushey <kevinushey@gmail.com>
* src/api.cpp: Always set / put RNG state when calling Rcpp function
2018-02-25 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp-FAQ.Rmd (Note): Expand conda answer by adding link
2018-02-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version
2018-02-14 Kirill Müller <krlmlr@mailbox.org>
* R/Attributes.R: Code compiled with cppFunction() uses .Call instead
of .Primitive(".Call"), #795
2018-02-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/longlong.h: Allow long long on 64bit Windows
2018-01-21 Dirk Eddelbuettel <edd@debian.org>
* README.md: Added new section 'Support'
* vignettes/Rcpp-FAQ.Rmd (vignette): Uppercase index to 'Rcpp-FAQ';
removed reference to Gmane which sadly is no more
2018-01-19 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd (Note): Document the conda package
`gxx_linux-64` as helpful in that environment
2018-01-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.15
* inst/NEWS.Rd: Release 0.12.15
* inst/bib/Rcpp.bib: Release 0.12.15
* vignettes/Rcpp.bib: Release 0.12.15
* inst/include/Rcpp/config.h: Release 0.12.15
* debian/*: Changes for Debian release of 0.12.15
2018-01-15 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Check for new #define RCPP_USE_UNWIND_PROTECT
and unset if defined, this is being be used to "park" code from #789
* inst/include/Rcpp/Environment.h: Ifdef #789 via RCPP_USE_UNWIND_PROTECT
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
* inst/include/Rcpp/exceptions.h: Idem
* inst/include/Rcpp/macros/macros.h: Idem
* inst/unitTests/runit.stack.R: Ensure test is not running
2018-01-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version 0.12.14.8
* inst/include/Rcpp/traits/is_na.h (Rcpp): Also speed up
Rcpp::is_na<Rcomplex>
2018-01-14 Lionel Henry <lionel@rstudio.com>
* inst/unitTests/cpp/stack.cpp: Move stack unwinding tests from misc.cpp
* inst/unitTests/runit.stack.R: Move stack unwinding tests from misc.R;
disaggregate stack unwinding tests; also disable for now
2018-01-11 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/traits/is_na.h: Speed up Rcpp::is_na<double>()
2018-01-09 Iñaki Ucar <i.ucar86@gmail.com>
* inst/include/Rcpp/vector/proxy.h: Improve support for NVCC, the CUDA
compiler, by making three more methods const
2018-01-06 Kendon Bell <kmb56@berkeley.edu>
* src/api.cpp: Allow for compilation on ANDROID
2017-12-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Updated minor version and date
2017-12-21 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/internal/wrap.h: Appease gcc-7 with fall-through
* inst/include/Rcpp/macros/unroll.h: Idem
2017-12-20 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/utils/tinyformat.h: Update to new upstream
c42f/tinyformat@8f60162, simplify future updates by separating
Rcpp-specific changes (issue #786).
2017-12-19 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/internal/na.h: Remove 'clever' NA / NaN checks
2017-12-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Updated minor version and date
2017-12-13 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Add Rcpp_fast_eval() for safe
and fast evaluation of R code using the new protect-unwind API in R 3.5.
[ This is however disabled for release 0.12.15. ]
* inst/include/Rcpp/exceptions.h: Add LongjumpException and
resumeJump() to support Rcpp_fast_eval().
* inst/include/Rcpp/macros/macros.h: Catch LongjumpException and call
resumeJump(). If resumeJump() doesn't jump (on old R versions), throw an
R error (this normally should not happen).
* inst/include/RcppCommon.h: Add Rcpp_fast_eval() to the public API and
internal::Rcpp_eval_impl() to the private API.
* inst/include/Rcpp/Environment.h: Use safe evaluation
* inst/include/Rcpp/Language.h: idem
2017-12-05 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Environment.h: Use public R APIs
* inst/include/Rcpp/api/meat/Environment.h: Idem
2017-12-04 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/RObject.h: Protect temporary wrapped SEXPs
* inst/include/Rcpp/api/meat/DataFrame.h: Idem
* inst/include/Rcpp/api/meat/Environment.h: Idem
* inst/include/Rcpp/api/meat/proxy.h: Idem
* inst/include/Rcpp/proxy/ProtectedProxy.h: Idem
* inst/include/Rcpp/vector/generic_proxy.h: Idem
2017-12-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version
* inst/include/Rcpp/sugar/functions/is_na.h: Correct test for NA to work
with new as well as old Date(time)Vectors
* inst/unitTests/cpp/dates.cpp (has_na): Added tests
* inst/unitTests/runit.Date.R (test.NA): Idem
2017-11-30 James J Balamuta <balamut2@illinois.edu>
* src/attributes.cpp: Fixed missing Rcpp namespace in export interface
generation
2017-11-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/exceptions/cpp11/exceptions.h: Ensure Rf_format gets
a format string
* inst/include/Rcpp/exceptions/cpp98/exceptions.h (Rcpp): Ditto
2017-11-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* vignettes/Rcpp-FAQ.Rmd: Use Rcpp::Rcpp.plugin.maker(), not ':::'
2017-11-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.14
* inst/NEWS.Rd: Release 0.12.14
* inst/bib/Rcpp.bib: Release 0.12.14
* vignettes/Rcpp.bib: Release 0.12.14
* inst/include/Rcpp/config.h: Release 0.12.14
2017-11-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Add 'skip_final_break: true' toggle
* vignettes/Rcpp-attributes.Rmd: Idem
* vignettes/Rcpp-extending.Rmd: Idem
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-sugar.Rmd: Idem
2017-10-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is
defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and
datetime vector as announced in release 0.12.8 one year ago
2017-10-03 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/iostream/Rstreambuf.h: White-space edits
2017-10-02 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/iostream/Rstreambuf.h: Embed buffer class instance
in Rostream to not require run-time allocation, and please Coverity
2017-09-29 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* DESCRIPTION (Description): Add <doi:...> per suggestion by CRAN
* inst/CITATION: Add PeerJ article, add doi info, reindent
2017-09-26 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() / cend() to
MatrixRow, and fixing return types
* inst/include/Rcpp/vector/VectorBase.h: Ditto
2017-09-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.13
* inst/NEWS.Rd: Release 0.12.13
* inst/bib/Rcpp.bib: Release 0.12.13
* inst/include/Rcpp/config.h: Release 0.12.13
2017-09-23 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: Updated references
* viignettes/Rcpp.bib: Idem
2017-09-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* vignettes/Rcpp-FAQ.Rmd (Rcpp): Add entry for 'symbols not found' error
requiring two runs of compileAttributes
2017-09-20 James J Balamuta <balamut2@illinois.edu>
* vignettes/rcpp-docs.cls: Removed
2017-09-20 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Modified formatting and cleaned a bit more.
* vignettes/Rcpp-sugar.Rmd: Idem
* vignettes/Rcpp-introduction.Rmd: Added new PeerJ preprint
2017-09-19 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-FAQ.Rmd: Formatted and cleaned up vignette.
* vignettes/Rcpp-sugar.Rmd: Idem
2017-09-19 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-attributes.Rmd: Formatted and cleaned up vignette.
* vignettes/Rcpp-extending.Rmd: Idem
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-package.Rmd: Idem
* vignettes/Rcpp-quickref.Rmd: Idem
2017-09-18 James J Balamuta <balamut2@illinois.edu>
* DESCRIPTION (Suggests): Added rmarkdown, knitr, and pinp dependencies
* .travis.yml: idem
* vignettes/Rcpp-quickref.Rmd: Translated vignette from highlight/sweave
to RMarkdown for use with the pinp template.
* vignettes/Rcpp-sugar.Rmd: Idem
* vignettes/Rcpp-package.Rmd: Idem
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-FAQ.Rmd: Idem
* vignettes/Rcpp-extending.Rmd: Idem
* vignettes/Rcpp-attributes.Rmd: Idem
2017-09-18 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() and cend() to
the class along with a framework for proper const-correctness in the
future.
2017-09-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2017-09-02 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/vector/VectorBase.h: Defined both iterator AND
const_iterator for future considerations. Currently, as before, only
const_iterator is available (though it used to be called iterator).
Added cbegin() and cend() functions. We should revisit whether there
should be a non-const iterator on VectorBase in the future.
* inst/include/Rcpp/vector/Matrix.h: Added cbegin() and cend()
functions. Iterator defintions inherited from Vector are appropriate.
* inst/include/Rcpp/vector/MatrixColumn.h: Added cbegin() and cend()
functions. Iterator definitions inherited from Vector are appropriate
because Matrix is column-major.
* inst/include/Rcpp/vector/Vector.h: Added cbegin() and cend()
functions. Iterators are appropriate minus the problem with the const
proxy class of objects (which may or may not actually be const depending
on which one).
* inst/include/Rcpp/vector/traits.h: Removed (accidentally) some some
trailing whitespace on lines.
2017-09-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Roll minor version
* vignettes/Rcpp-jss-2011.Rnw: Renamed again from Rcpp-introduction-2011,
added reference to new Rcpp-introduction
* inst/bib/Rcpp.bib: Merged bibliography from new vignette; also added
PeerJ Preprint with new Rcpp Introduction
2017-09-01 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-introduction.Rnw: New introductory vignette from PeerJ
preprints but typeset 'more nicely'
* vignettes/rcpp-docs.cls: New LaTeX style file derived from pnas-new
and its supporting files
* vignettes/figures/: Three support figures for new vignette
* vignettes/intro2Rcpp.bib: New bibliography
* vignettes/Rcpp-introduction-2011.Rnw: Renamed from from Rcpp-introduction
2017-08-26 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (before_install): Use https for curl fetch
2017-08-14 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-FAQ.Rnw: Sunset macOS documentation dealing with
toolchains by redirecting to the R Installation and Administration manual
* vignettes/.gitignore: Added various LaTeX build artifacts to ignore.
2017-08-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version and date
* inst/include/Rcpp/XPtr.h: Whitespace only-changes
2017-08-04 Lei Yu <leiyu_1981@qq.com>
* inst/include/Rcpp/Module.h: Correct one closing parenthesis
2017-07-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.12
* inst/NEWS.Rd: Release 0.12.12
* inst/bib/Rcpp.bib: Release 0.12.12
* inst/include/Rcpp/config.h: Release 0.12.12
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.12
2017-07-10 Jeff Pollock <jeffpollock9@gmail.com>
* inst/include/Rcpp/Module.h: Avoid unused variable warning
* inst/include/Rcpp/Module_generated_Constructor.h: Ditto
2017-07-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto
* inst/NEWS.Rd: Added missing entries
2017-07-08 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/vector/no_init.h: Accept R_xlen_t instead of int
* inst/include/Rcpp/internal/wrap.h: Use R_xlen_t not int in loop unroll
* inst/include/Rcpp/macros/unroll.h: Ditto
* inst/include/Rcpp/vector/Vector.h: Ditto
2017-07-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto
2017-07-02 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Generate C++ native routines with underscore
prefix to avoid export when standard exportPattern is used in NAMESPACE
2017-06-29 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Replace dot (".") with underscore ("_") in package
names when generating native routine registrations.
2017-06-27 Jeroen Ooms <jeroenooms@gmail.com>
* inst/include/RcppCommon.h: Support attribute_visible macro
2017-06-17 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/Dimension.h: Explicit cast to int
* inst/include/Rcpp/exceptions.h: Don't declare unused arguments
* src/attributes.cpp: Ditto
2017-06-14 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Add Shield around parameters in Rcpp::interfaces
2017-06-07 Dirk Eddelbuettel <edd@debian.org>
* README.md: Use alternates for img.shields.io GPL-2+ badges
2017-06-06 Yu Gong <armgong@yahoo.com>
* src/api.cpp: Also permit compilation under Haiku-OS
2017-06-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* man/Rcpp.plugin.maker.Rd: Update manual page to additional Imports
argument
2017-06-02 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Automatically register init functions for
RcppModules
* R/Rcpp.package.skeleton.R: compileAttributes only after all code is
generated
2017-06-01 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Fix registration for exports with name attribute.
2017-05-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/utils/tinyformat.h: Added missing newline
2017-05-23 JJ Allaire <jj@rstudio.com>
* R/Attributes.R: Execute tools::package_native_routine_registration_skeleton
within package rather than current working directory.
* src/attributes.cpp: Execute tools::package_native_routine_registration_skeleton
within package rather than current working directory.
2017-05-22 Dirk Eddelbuettel <edd@debian.org>
* R/inline.R (Rcpp.plugin.maker): Whitespace changes
2017-05-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.11
* inst/NEWS.Rd: Release 0.12.11
* inst/bib/Rcpp.bib: Release 0.12.11
* inst/include/Rcpp/config.h: Release 0.12.11
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.10
2017-05-19 Dirk Eddelbuettel <edd@debian.org>
* inst/NEWS.Rd: Removed one duplicate entry
* inst/include/Rcpp/api/meat/Rcpp_eval.h (Rcpp): Minor whitespace changes
2017-05-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll Date and Version once more
* inst/NEWS.Rd: Updated
* R/Attributes.R (.plugins[["openmp"]]): Fix typo in comment
* src/attributes.cpp (Rcpp): Use size_t (twice) to suppress nags from g++
2017-05-16 JJ Allaire <jj@rstudio.com>
* R/Attributes.R: Automatically generate native routine registrations.
* src/attributes.cpp: Automatically generate native routine registrations.
* R/Rcpp.package.skeleton.R: Don't generate native routines when creating
a package using attributes.
2017-05-09 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Under R 3.4.0, run
tools::package_native_routine_registration_skeleton to create src/init.c
2017-05-07 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version again
* inst/include/Rcpp/module/Module_Property.h: Remove two typed exception
specifications which upset g++ 7.1 or higher
2017-05-05 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/date_datetime/Date.h: Suppress -Wconversion warnings
* inst/include/Rcpp/date_datetime/Datetime.h: Idem
* inst/include/Rcpp/date_datetime/newDateVector.h: Idem
* inst/include/Rcpp/date_datetime/newDatetimeVector.h: Idem
* inst/include/Rcpp/sugar/functions/rowSums.h: Idem
* inst/include/Rcpp/sugar/functions/sample.h: Idem
* inst/include/Rcpp/sugar/functions/strings/trimws.h: Idem
2017-04-26 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h (string_to_try_error): Protect result
from Rf_mkString
2017-04-25 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (.plugins[["cpp11"]]): If R 3.4.0 or newer is used, set
USE_CXX11 (instead of the older USE_CXX1X);
(.plugins[["cpp14"]]): similarly updated for C++14
(.plugins[["cpp17"]]): similarly updated for C++17
(.plugins[["cpp98"]]): added
2017-04-22 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/strings/trimws.h: Added sugar
function trimws with unit tests
* inst/include/Rcpp/sugar/functions/strings/strings.h: Idem
* inst/unitTests/cpp/sugar.cpp: Idem
* inst/unitTests/runit.sugar.R: Idem
2017-04-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* inst/include/Rcpp/exceptions/cpp98/exceptions.h
(RCPP_ADVANCED_EXCEPTION_CLASS): Suppressing some warnings
2017-04-20 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/api/meat/DottedPairImpl.h: Corrected format
specifier from '%s' to '%i'.
2017-04-18 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/vector/Matrix.h: Corrected exception throws from
not_compatible to not_a_matrix.
* inst/include/Rcpp/S4.h: Fixed documentation detailing exception class
throw.
* inst/include/Rcpp/Environment.h: Improved error handling messages
* inst/include/Rcpp/Function.h: idem
* inst/include/Rcpp/Promise.h: idem
* inst/include/Rcpp/String.h: idem
* inst/include/Rcpp/Symbol.h: idem
* inst/include/Rcpp/XPtr.h: idem
* inst/include/Rcpp/as.h: idem
* inst/include/Rcpp/r_cast.h: idem
* inst/include/Rcpp/api/meat/DottedPairImpl.h: idem
* inst/include/Rcpp/internal/export.h: idem
* inst/include/Rcpp/proxy/DottedPairProxy.h: idem
* inst/include/Rcpp/proxy/SlotProxy.h: idem
* inst/include/Rcpp/vector/MatrixColumn.h: idem
* inst/include/Rcpp/vector/MatrixRow.h: idem
* inst/include/Rcpp/vector/Vector.h: idem
2017-04-17 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: Removed
semicolons from RCPP_ADVANCED_EXCEPTION_CLASS to quiet 'extra ;'
-Wpedantic
* inst/include/Rcpp/exceptions.h: Modified exceptions macros to support
a default string and removed generated stop, warning from file.
* inst/include/Rcpp/Rcpp/exceptions/cpp98/exceptions.h: Contains
generated RCPP_ADVANCED_EXCEPTION_CLASS macro, stop & warning.
* inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: idem but
for variadic versions.
* inst/include/Rcpp/utils/tinyformat.h: Enabled ability to use variadic
tinyformat function if c++11 is detected.
2017-04-14 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/utils/tinyformat.h: Refreshed tinyformat.h against
May 13, 2016 upstream, retained local mods.
2017-04-14 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/macros/macros.h: Remove unused variable warning in
BEGIN_RCPP macro
* inst/include/Rcpp/DataFrame.h: Explicitly call parent constructor
* inst/include/Rcpp/sugar/functions/rep.h: Remove variable name in
function declaration to suppress unused argument warning
* src/Rcpp_init.cpp: Ditto
* src/attributes.cpp: Ditto
2017-04-11 Dirk Eddelbuettel <edd@debian.org>
* inst/inst/unitTests/testRcppClass/src/init.c (R_init_testRcppClass): Call
R_registerRoutines() and R_useDynamicSymbols(); also ensure
_rcpp_module_boot_* is registered for each module
* inst/unitTests/testRcppClass/NAMESPACE: Added registration
* inst/unitTests/testRcppClass/DESCRIPTION (Title): Title case
* inst/unitTests/testRcppClass/R/rcpp_hello_world.R (rcpp_hello_world):
Call the renamed C++ function
* inst/unitTests/testRcppClass/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp):
Renamed C++ function to be distinct from R function calling it
* inst/unitTests/testRcppClass/src/rcpp_hello_world.h: Ditto
* inst/unitTests/testRcppClass/man/rcpp_hello_world.Rd: Alias renamed
C++ function
2017-04-09 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/testRcppModule/src/init.c (R_init_testRcppModule): Call
R_registerRoutines() and R_useDynamicSymbols(); also ensure
_rcpp_module_boot_* is registered for each module
* inst/unitTests/testRcppModule/NAMESPACE: Added registration
* inst/unitTests/testRcppModule/DESCRIPTION (Title): Title case
* inst/unitTests/testRcppModule/R/rcpp_hello_world.R (rcpp_hello_world):
Call the renamed C++ function
* inst/unitTests/testRcppModule/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp):
Renamed C++ function to be distinct from R function calling it
* inst/unitTests/testRcppModule/src/rcpp_hello_world.h: Ditto
* inst/unitTests/testRcppModule/man/rcpp_hello_world.Rd: Alias renamed
C++ function
* inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Alias
renamed modules
* inst/unitTests/testRcppModule/tests/modules.R: Call renamed module
2017-04-03 Jim Hester <james.f.hester@gmail.com>
* inst/include/Rcpp/exceptions.h: Added support for throwing
exceptions without call stacks.
* inst/include/Rcpp/macros/macros.h: Idem
* inst/unitTests/cpp/exceptions.cpp: Idem
* inst/unitTests/runit.exceptions.R: Idem
2017-03-28 James J Balamuta <balamut2@illinois.edu>
* inst/vignettes/Rcpp-FAQ.Rnw: Added "Known Issues" section to FAQ
2017-03-25 Dirk Eddelbuettel <edd@debian.org>
* LICENSE: Added
* .Rbuildignore: Do not include LICENSE in package
2017-03-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.10
* inst/NEWS.Rd: Release 0.12.10
* inst/bib/Rcpp.bib: Release 0.12.10
* inst/include/Rcpp/config.h: Release 0.12.10
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.10
2017-03-15 Jeroen Ooms <jeroenooms@gmail.com>
* inst/include/Rcpp/XPtr.h: added finalizeOnExit parameter
2017-02-28 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp_init.cpp (R_init_Rcpp): Call R_useDynamicSymbols()
* DESCRIPTION (Version, Date): New minor version
2017-02-25 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: New subsection on C++11, C++14, C++17
2017-02-17 Dirk Eddelbuettel <edd@debian.org>
* R/tools.R: More #nocov
* inst/include/Rcpp/internal/r_vector.h: Idem
2017-02-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version
2017-02-14 Iñaki Ucar <i.ucar86@gmail.com>
* inst/include/Rcpp/iostream/Rstreambuf.h: Fixed single-character handling
(pull request #649, fixes issue #647)
2017-02-13 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (.plugins[["cpp17"]]): New plugin
(.plugins[["cpp1z"]]): Idem
2017-02-04 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/algorithm.h: Improved setup for Intel's icc
2017-01-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/algorithm.h: Allow algorithm.h to be compiler under
Intel's compiler, add copyright header and include guard
2017-01-31 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/matrix/upper_tri.h: Inherit from MatrixBase
and use correct comparators in get() to fix segfault
* inst/include/Rcpp/sugar/matrix/lower_tri.h: Idem
* inst/unitTests/cpp/sugar.cpp: Added unit tests for upper_tri and
lower_tri
* inst/unitTests/runit.sugar.R: Idem
2017-01-23 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/DataFrame.h: Corrected return type for column size.
2017-01-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/DataFrame.h: Simplified and removed deprecation language.
2017-01-21 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/DataFrame.h: Added alias for column and row size
* inst/unitTests/runit.DataFrame.R: Added unit tests for aliases
* inst/unitTests/cpp/DataFrame.cpp: Idem
2017-01-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version and Date
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Roll minor
* src/Date.cpp (Rcpp): Do not access tm_gmtoff on Solaris
2017-01-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.9
* inst/NEWS.Rd: Release 0.12.9
* inst/bib/Rcpp.bib: Release 0.12.9
* inst/include/Rcpp/config.h: Release 0.12.9
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.9
2017-01-13 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: Added more #nocov tags
* inst/include/Rcpp/api/bones/wrap_extra_steps.h: Idem
* inst/include/Rcpp/iostream/Rstreambuf.h: Idem
* inst/include/Rcpp/traits/named_object.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
* src/Module.cpp: Idem
2017-01-12 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: Moved from vignettes/ directory
* R/bib.R (bib): Idem
* vignettes/Rcpp-FAQ.Rnw: Evaluate \Sexpr{Rcpp:::bib()}
* vignettes/Rcpp-attributes.Rnw: Idem
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-introduction.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-packages.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
* inst/unitTests/runit.misc.R (test.bib): New test
* R/exceptions.R: Added #nocov
2017-01-11 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated references
* src/attributes.cpp (Rcpp): Correct typos in #nocov tags, added tags
2017-01-07 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/sugar/functions/complex.h: Added Arg() function
* inst/unitTests/runit.sugar.R: Added Arg() unit test to complex list
* inst/unitTests/cpp/sugar.cpp: Idem
2017-01-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Mark new minor version
* src/attributes.cpp: Additional nocov tags
2017-01-04 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp (Rcpp): Protect assignment to tm_gmtoff to not being
under MinGW; could potentially bite other too-limited systems
* inst/unitTests/runit.Date.R (test.Datetime.formating): Do not set TZ
when running test, only set digits option
2017-01-01 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Date.R (test.mktime, test.gmtime): New tests
* inst/unitTests/cpp/dates.cpp (test_mktime, test_gmtime): Idem
2016-12-31 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Minor simplification
2016-12-31 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/vector/Matrix.h: Fixed non-symmetric case of matrix
fills by switching to a loop based solution from iterator.
* inst/unitTests/runit.Matrix.R: Added unit tests for diagonally
filling matrices.
* inst/unitTests/cpp/Matrix.cpp: Idem
2016-12-30 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Synchronized internal code with R
* inst/unitTests/cpp/dates.cpp (gmtime_mktime): New test
* inst/unitTests/runit.Date.R (test.mktime_gmtime): Idem
2016-12-26 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Added #nocov markers
* R/Module.R: Idem
* R/exposeClass.R: Idem, added copyright header
2016-12-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* src/api.cpp: Added #nocov markers
* src/Rcpp_init.cpp: Idem
* src/Date.cpp: Date
2016-12-14 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/sample.h: Use vector instead of
manual memory management.
2016-12-13 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/sample.h: Use malloc.h instead of
alloca.h when building on Windows
* inst/include/Rcpp/date_datetime/Date.h: Include time.h when building
on Windows
* inst/include/Rcpp/date_datetime/Datetime.h: Idem
2016-12-12 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/sample.h: In case sample.h from the
RcppArmadillo extensions was included, skip this file
2016-12-10 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/sample.h: New function
sample()
* inst/include/Rcpp/sugar/functions/functions.h: Idem
* inst/unitTests/cpp/sugar.cpp: Unit tests for sample()
* inst/unitTests/runit.sugar.R: Idem
2016-12-10 Dirk Eddelbuettel <edd@debian.org>
* R/loadRcppModules.R: Added #nocov tags
* R/loadModule.R: Ditto
* R/unit.tests.R (test): Adjusted one #nocov tag
2016-12-09 Dirk Eddelbuettel <edd@debian.org>
* R/00_classes.R: Added #nocov tags
* R/01_show.R: Ditto
* R/02_completion.R: Ditto
* R/03_prompt.R: Ditto
2016-12-07 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Add 'using ...' to disambiguate size()
2016-12-04 Dirk Eddelbuettel <edd@debian.org>
* .codecov.yml (comment): Enable more verbose codecov.io reports
2016-12-03 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/cpp/dates.cpp (Datetime_format): Additional ostream tests
* inst/unitTests/runit.Date.R (test.Date.formating): Ditto
* inst/unitTests/runit.system.R (test.RcppCxx): New tests
* R/RcppLdpath.R (canUseCXX0X): Simplified as we can now rely on more
modern compilers; underlying C++ code has not been present for a while
* R/compilerCheck.R (compilerCheck): Added some #nocov tags
* R/unit.tests.R (test, gctortureRUnitTest): Ditto
* R/zzz.R (.onLoad): Ditto
2016-11-29 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version to 0.12.8.2
2016-11-28 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/cpp/dates.cpp (Date_format, Datetime_format): New tests
* inst/unitTests/runit.Date.R (test.Date.formating): Ditto
(test.Datetime.formating): Ditto
* inst/unitTests/runit.sugar.R (test.intersect): Added sort() around
call to Sugar's intersect to ensure sorted output with g++-6.*
2016-11-27 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/Date.h (format, operator<<): Added
* inst/include/Rcpp/date_datetime/Datetime.h (format, operator<<): Ditto
* inst/include/Rcpp/date_datetime/newDateVector.h (operator<<): Ditto
* inst/include/Rcpp/date_datetime/newDatetimeVector.h (operator<<): Ditto
2016-11-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Set minor version
2016-11-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Small
correction concerning timezone attribute to ctor from RTYPE
2016-11-22 Jim Hester <james.f.hester@gmail.com>
* inst/src/api.cpp: Cleanup to stack message parseing
* inst/unitTests/cpp/exceptions.cpp: Unit tests for cleanup
* inst/unitTests/runit.exceptions.R: Ditto
2016-11-19 James J Balamuta <balamut2@illinois.edu>
* inst/unitTests/runit.environments.R: Added environment find unit tests
as well as a symbol access test for environment get.
* inst/unitTests/cpp/Environment.cpp: Idem
2016-11-18 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-extending: Switched to attributes and
added external class pointer macro notes by MathurinD
2016-11-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.8
* inst/NEWS.Rd: Release 0.12.8
* vignettes/Rcpp.bib: Release 0.12.8
* inst/include/Rcpp/config.h: Release 0.12.8
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.8
2016-11-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Nathan Russell added to Authors
2016-11-14 Jim Hester <james.f.hester@gmail.com>
* inst/include/Rcpp/exceptions.h: Improved exception call stack
* inst/include/Rcpp/routines.h: Ditto
* inst/src/api.cpp: Ditto
* R/exections.R: Print and format method for stack straces
* inst/unitTests/runit.exceptions.R: Unit tests
* inst/unitTests/cpp/exceptions.cpp: Ditto
2016-11-13 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (mergeIntoBuildEnv): Correct 'empty' return
2016-11-10 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/newDateVector.h: Added constructor
using VectorBase<>
2016-11-05 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/date_datetime/newDatetimeVector.h: Added constructor
to instantiate newDatetimeVector from VectorBase.
2016-11-04 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/macros/dispatch.h: Modify variadic macros
to not use GNU extensions
* DESCRIPTION: roll minor version
2016-11-03 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/hash/IndexHash.h: Add casts to eliminate
signed / unsigned comparison warning
* inst/include/Rcpp/hash/SelfHash.h: Idem
* inst/unitTests/cpp/sugar.cpp: Added unit tests for sugar function
unique()
* inst/unitTests/runit.sugar.R: Idem
2016-10-30 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: New capabilities field for new date(time) vectors
* inst/unitTests/runit.Date.R (test.DatetimeVector.ctor): Differentiate
in test as case of 'Inf' is handling differently by new and old datetime
classes (and passed through as is by new ones which is better)
* inst/unitTests/runit.InternalFunctionCPP11.R: Small cosmetic edit
2016-10-24 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/sugar/Range.h : fix range sugar ambiguity
* inst/unitTests/cpp/sugar.cpp: range sugar unit test
* inst/unitTests/runit.sugar.R: range sugar unit test
2016-10-24 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/vector/MatrixBase.h: Change sugar
functions eye(), ones(), and zeros() into static methods
in MatrixBase
* inst/include/Rcpp/traits/one_type.h: Idem
* inst/include/Rcpp/traits/traits.h: Idem
* inst/unitTests/cpp/Matrix.cpp: Idem
* inst/unitTests/runit.Matrix.R: Idem
2016-10-24 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/sugar/Range.h: Range sugar uses R_xlen_t as start/end type
2016-10-23 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/matrix/eye.h: New functions
eye(), ones(), and zeros()
* inst/include/Rcpp/sugar/matrix/matrix_functions.h: Idem
* inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
* inst/unitTests/runit.sugar.R: Idem
* inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use
expression rather than parse, correct typo
2016-10-22 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/hash/IndexHash.h: change hashing function to return unsigned int
* inst/include/Rcpp/hash/SelfHash.h: Ditto
2016-10-21 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept R_xlen_t
* inst/include/Rcpp/routines.h: Ditto
* src/barrier.cpp: Ditto
2016-10-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Additional
operator+ for int argument
2016-10-18 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/Date.h (Rcpp): Add operator double()
* inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Ditto
2016-10-17 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Allow
setting of timezone attribute; default not-set leads to local as in R
2016-10-16 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp.h (RCPP_NEW_DATE_DATETIME_VECTORS): Add a new
compile-time #define to switch between 'old' (existing) and 'new'
DateVector and DatimeVector classes. Currently uses 'new' for testing
plan to switch to proper deprecation schedule.
* inst/include/Rcpp/date_datetime/date_datetime.h: New header file (and
directory) regrouping all Date and Datetime headers, scalar and vector
* inst/include/Rcpp/date_datetime/Date.h: Moved one directory down
* inst/include/Rcpp/date_datetime/Datetime.h: Ditto
* inst/include/Rcpp/date_datetime/oldDateVector.h: Moved and renamed
* inst/include/Rcpp/date_datetime/oldDatetimeVector.h: Ditto
* inst/include/Rcpp/date_datetime/newDateVector.h: New implementation
inheriting from NumericVector, still optional
* inst/include/Rcpp/date_datetime/newDatetimeVector.h: Ditto
2016-09-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Roll minor version
* cleanup: Clean two more file type from vignettes/
2016-09-04 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/rowSums.h: New functions
rowSums(), colSums(), rowMeans(), and colMeans()
* inst/include/Rcpp/sugar/functions/functions.h: Idem
* inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
* inst/unitTests/runit.sugar.R: Idem
2016-09-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.7
* inst/NEWS.Rd: Release 0.12.7
* vignettes/Rcpp.bib: Release 0.12.7
* inst/include/Rcpp/config.h: Release 0.12.7
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.7
2016-09-02 Simon Dirmeier <simon.dirmeier@bsse.ethz.ch>
* src/attributes.cpp: Remove leading underscore in header guard
2016-08-14 James J Balamuta <balamut2@illinois.edu>
* inst/examples/FastLM/lmGSL.R: Updated example to use new GSL templates
2016-08-11 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Switch to using run.sh for Travis CI
2016-08-09 Artem Klevtsov <a.a.klevtsov@gmail.com>
* inst/include/Rcpp/macros/dispatch.h: Add variadic conditional macro
when C++11 compiler used
* ints/include/unitTests/cpp/dispatch.cpp: Add unit tests for
RCPP_RETURN_VECTOR and RCPP_RETURN_MATRIX macro
* ints/include/unitTests/runit.dispatch.R: Idem
2016-08-05 James J Balamuta <balamut2@illinois.edu>
* inst/examples/FastLM/fastLMviaArmadillo.r: format fix
* inst/examples/FastLM/lmGSL.R: Updated example to use
Rcpp attributes instead of cxxfunction
* inst/examples/FastLM/lmArmadillo.R: Idem
* inst/examples/functionCallback/newApiExample.r: Idem
* inst/examples/RcppInline/RcppInlineExample.r: Idem
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem
* inst/examples/RcppInline/UncaughtExceptions.r: Idem
* inst/examples/RcppInline/external_pointer.r: Idem
2016-08-04 James J Balamuta <balamut2@illinois.edu>
* src/attributes.cpp: Correct variable re-declaration
* inst/examples/RcppGibbs/RcppGibbs.R: Updated example to use Rcpp
attributes instead of cxxfunction
* inst/examples/RcppGibbs/timeRNGs.R: Idem
2016-08-03 Dirk Eddelbuettel <edd@debian.org>
* .gitattributes: Added to have ChangeLog and NEWS.Rd merge via union
2016-08-02 James J Balamuta <balamut2@illinois.edu>
* R/Rcpp.package.skeleton.R: Added autogeneration warning
* src/attributes.cpp: Fixed invalid C++ Identifiers and modified export
header to warn against hand edits
* vignettes/Rcpp-package.Rnw: Updated code generation snippets
* man/Rcpp.package.skeleton.Rd: Add warning on hand edits to the
autogenerated RcppExports files.
* man/compileAttributes.Rd: Idem
2016-08-02 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/String.h: CE_UTF8 as default encoding
* inst/unitTests/cpp/String.cpp: Update unit test
* inst/unitTests/runit.String.R: Idem
2016-08-01 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/vector/Vector.h: Added decreasing option for Vector
sort
* inst/include/Rcpp/internal/NAComparator.h: Idem
* inst/unitTests/cpp/Vector.cpp: Idem
* inst/unitTests/runit.Vector.R: Idem
2016-07-31 Qiang Kou <qkou@umail.iu.edu>
* inst/examples/SugarPerformance/sugarBenchmarks.R: Remove usage of Rf_eval
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/Module.h: Idem
* inst/include/Rcpp/exceptions.h: Idem
* inst/include/Rcpp/proxy/FieldProxy.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
* inst/unitTests/cpp/language.cpp: Idem
* src/barrier.cpp: Idem
2016-07-24 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/cpp/rmath.cpp: Added RNG unit tests for sugar variants
* inst/unitTests/runit.rmath.R: Idem
2016-07-22 James J Balamuta <balamut2@illinois.edu>
* inst/unitTests/cpp/rmath.cpp: Added unit tests for Rmath RNGs
* inst/unitTests/runit.rmath.R: idem
* inst/include/Rcpp/Environment.h: Added get() & find() that accept
a symbol
* inst/include/Rcpp.h: Modified header load order so that Symbol.h
is now placed before Environment.h
2016-07-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Roll minor release
2016-07-18 Kevin Ushey <kevin@rstudio.com>
* inst/include/Rcpp/r/headers.h: Ensure NORET macro is set appropriately
2016-07-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.6
* inst/NEWS.Rd: Release 0.12.6
* vignettes/Rcpp.bib: Release 0.12.6, RProtoBuf updates
* inst/include/Rcpp/config.h: Release 0.12.6
* README.md: Updated counts for dependents and tests
* debian/*: Changes for Debian release of 0.12.5
2016-07-17 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-quickref.Rnw: Added sections on Rcpp attributes and
plugins. Facelifts on important notes, inline, environments, and calling
R functions.
2016-07-16 Daniel C. Dillon <dcdillon@gmail.com>
* Added a const_interator typedef to VectorBase
2016-07-15 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-FAQ.Rnw: Added section on default function parameters
2016-07-15 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Also point to Rcpp-attributes in Question 1
2016-07-13 Dirk Eddelbuettel <edd@debian.org>
* NAMESPACE: Add import for glob2rx to please R CMD check
* man/cppFunction.Rd: line break below 90 columns to please R CMD check
2016-07-11 J.J. Allaire <jj@rstudio.org>
* R/Attributes.R Add cacheDir argument to sourceCpp to enable caching of
shared libraries across R sessions
* src/attributes.cpp Add cacheDir argument to sourceCpp to enable caching of
shared libraries across R sessions
* man/sourceCpp.Rd: Document new cacheDir option
* man/cppFunction.Rd: Idem
* man/evalFunction.Rd: Idem
2016-07-10 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/algorithm.h: Accomodate clang compiler
2016-07-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Rolling minor version
2016-07-02 Qiang Kou <qkou@umail.iu.edu>
* src/attributes.cpp: Replace '.' in package names
2016-06-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Rolling minor version
* inst/include/Rcpp/exceptions.h (Rcpp): Also expose Rf_warningcall()
within Rcpp namespace (without leading Rf_)
2016-06-20 Qin Wenfeng <mail@qinwenfeng.com>
* inst/include/Rcpp/exceptions.h: add RCPP_USING_UTF8_ERROR_STRING macro
to use UTF-8 encoding exception string in R
2016-06-14 Artem Klevtsov <a.a.klevtsov@gmail.com>
* inst/include/Rcpp/sugar/functions/na_omit.h: Improve na_omit for
vectors without NA
* inst/unitTests/cpp/sugar.cpp: Add unit test for the na_omit
* inst/unitTests/runit.sugar.R: Ditto
2016-06-02 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/algorithm.h: Use "long long" only if available
* inst/include/Rcpp/exceptions.h: Annotate stop() with NORET
2016-05-18 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/algorithm.h: New approach for sugar
* inst/unitTests/cpp/algorithm.cpp: Unit test support
* inst/unitTests/runit.algorithm.R: Ditto
2016-05-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Rolling minor version
2016-05-16 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/String.h: Correct string replacement
* inst/unitTests/runit.String.R: Unit test
2016-05-16 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/sugar/functions/max.h: Fixing constness
* inst/include/Rcpp/sugar/functions/min.h: Ditto
2016-05-15 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/Matrix.h: Correcting ambiguities in
Vector/Matrix and scalar operations
* inst/include/Rcpp/sugar/operators/divides.h: Ditto
* inst/include/Rcpp/sugar/operators/minus.h: Ditto
* inst/include/Rcpp/sugar/operators/plus.h: Ditto
* inst/include/Rcpp/sugar/operators/times.h: Ditto
2016-05-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.5
* inst/NEWS.Rd: Release 0.12.5
* vignettes/Rcpp.bib: Release 0.12.5
* inst/include/Rcpp/config.h: Release 0.12.5
* debian/*: Changes for Debian release of 0.12.5
* vignettes/Rcpp.bib: Updated references
2016-05-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Rolled minor version
* R/compilerCheck.R: Minimal R function to check g++ version sufficiency
* man/compilerCheck.Rd: Documentation
2016-05-11 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Modified to create a package without notes,
warnings, or error even pkgKitten is not available
* R/Rcpp.package.skeleton.R (.playWithPerPackageHelpPage): Added new
helper function to be used when pkgKitten is not available
* inst/skeleton/manual-page-stub.Rd: Stub for per-package help page used
when pkgKitten is not available
2016-05-10 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Also correct Title: and Description: to
satisfy R CMD check in R-release and (current) R-devel
2016-05-08 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/cpp/Matrix.cpp: Made four scalar/matrix tests less
ambiguous for overloads by using double as scalar
2016-05-06 Dirk Eddelbuettel <edd@debian.org>
* R/loadRcppModules.R (loadRcppModules): Add call to .Deprecated
pointing out that loadModule is preferred
* man/Rcpp-deprecated.Rd: Added to list deprecated functions
* man/loadRcppModules-deprecated.Rd: Renamed to -deprecated, added link
to loadModule which is the preferred method
* vignettes/Rcpp-modules.Rnw: Updated with respect to loadRcppModules
deprecation and loadModule being preferred
2016-04-15 Kevin Ushey <kevinushey@gmail.com>
* src/attributes.cpp: Add a missing 'winslash = "/"'
2016-04-14 J.J. Allaire <jj@rstudio.org>
* src/attributes.cpp: Correct handling of dependent file paths on
Windows (use winslash = "/")
2016-04-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Rolling minor version and Date
2016-04-11 Ben Goodrich <goodrich.ben@gmail.com>
* R/Module.R: Avoid calling as.character() on C++Object to prevent race
2016-04-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Rolled to minor version 0.12.4.3
* inst/include/Rcpp/config.h: Ditto
* ChangeLog: Added entries for PRs 453 and 454
* inst/NEWS.Rd: Add two missing \item uses
* R/Module.R: Rename copy to copyObject to avoid function name collisions
* inst/unitTests/runit.Module.R: Ditto
* man/copyObject.Rd: Ditto
* inst/NEWS.Rd: Ditto
* NAMESPACE: Ditto
* inst/unitTests/runit.environments.R: Skip test.environment.child test
2016-03-31 Romain Francois <romain@r-enthusiasts.com>
* R/Modules.R: New top-level functions copy, destruct and is_destructed
* NAMESPACE: New functions copy, destruct and is_destructed exported
* man/copy.Rd: New manual page
* man/destruct.Rd: Ditto
* inst/include/Rcpp/module/class.h: Add copy constructortor + destructor
* inst/include/Rcpp/module/class_Base.h: Ditto
* src/Module.cpp: Ditto
* src/Rcpp_init.cpp: Ditto
* src/internal.h: Ditto
* inst/include/Rcpp/traits/traits.h: New trait detecting copy contructor
* inst/include/Rcpp/traits/has_copy_constructor.h: Ditto
* inst/unitTests/runit.Module.R: Test new copy constructor and destructor
* inst/unitTests/cpp/Module.cpp: Ditto
2016-03-29 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/String.h: Correct Rcpp::String for Rcpp::Nullable
2016-03-27 Qin Wenfeng <mail@qinwenfeng.com>
* R/Attributes.R: Support new R 3.3.0 Windows toolchain
2016-03-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Rolled Date and minor Version
2016-03-23 Sergio Marques <sergio.rtmarques@gmail.com>
* src/api.cpp: Also check a flag __MUSL__ to accomodate Alpine
2016-03-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.4
* inst/NEWS.Rd: Release 0.12.4
* vignettes/Rcpp.bib: Release 0.12.4
* inst/include/Rcpp/config.h: Release 0.12.4
* debian/*: Changes for Debian release of 0.12.4
2016-03-19 Dirk Eddelbuettel <edd@debian.org>
* README.md: Use canonical CRAN URL to please R-devel CMD check
2016-03-12 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/cbind.h: Undefine MakeBindable macro
after use
2016-03-12 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/cbind.h: New cbind() function
* inst/include/Rcpp/sugar/functions/functions.h: Idem
* inst/unitTests/cpp/sugar.cpp: Unit tests for cbind()
* inst/unitTests/runit.sugar.R: Idem
2016-03-09 Colin Gillespie <csgillespie@gmail.com>
* vignettes/Rcpp-sugar.Rnw: Correct typos and indentation
2016-03-09 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/random/rlogis.h: Updated Emacs header and
copyright, aligned indentation
* inst/include/Rcpp/stats/random/rnbinom.h: Idem
* inst/include/Rcpp/stats/random/rnbinom_mu.h: Idem
* inst/include/Rcpp/stats/random/rnchisq.h: Idem
* inst/include/Rcpp/stats/random/rnorm.h: Idem
* inst/include/Rcpp/stats/random/rt.h: Idem
* inst/include/Rcpp/stats/random/runif.h: Idem
* inst/include/Rcpp/stats/random/rweibull.h: Idem
* inst/include/Rcpp/stats/random/random.h: Idem
* inst/include/Rcpp/stats/random/rcauchy.h: Idem
* inst/include/Rcpp/stats/random/rchisq.h: Idem
* inst/include/Rcpp/stats/random/rexp.h: Idem
* inst/include/Rcpp/stats/random/rf.h: Idem
* inst/include/Rcpp/stats/random/rgeom.h: Idem
* inst/include/Rcpp/stats/random/rlnorm.h: Idem
* inst/include/Rcpp/stats/random/rbeta.h: Idem
* inst/include/Rcpp/stats/random/rbinom.h: Idem
* inst/include/Rcpp/stats/random/rgamma.h: Idem
* inst/include/Rcpp/stats/random/rhyper.h: Idem
* inst/include/Rcpp/stats/random/rpois.h: Idem
* inst/include/Rcpp/stats/random/rsignrank.h: Idem
* inst/include/Rcpp/stats/random/rwilcox.h: Idem
2016-03-07 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/beta.h: Updated Emacs header and copyright
* inst/include/Rcpp/stats/binom.h: Idem
* inst/include/Rcpp/stats/cauchy.h: Idem
* inst/include/Rcpp/stats/chisq.h: Idem
* inst/include/Rcpp/stats/f.h: Idem
* inst/include/Rcpp/stats/gamma.h: Idem
* inst/include/Rcpp/stats/geom.h: Idem
* inst/include/Rcpp/stats/hyper.h: Idem
* inst/include/Rcpp/stats/nbeta.h: Idem
* inst/include/Rcpp/stats/nbinom.h: Idem
* inst/include/Rcpp/stats/nbinom_mu.h: Idem
* inst/include/Rcpp/stats/nchisq.h: Idem
* inst/include/Rcpp/stats/nf.h: Idem
* inst/include/Rcpp/stats/nt.h: Idem
* inst/include/Rcpp/stats/pois.h: Idem
* inst/include/Rcpp/stats/stats.h: Idem
* inst/include/Rcpp/stats/t.h: Idem
* inst/include/Rcpp/stats/unif.h: Idem
* inst/include/Rcpp/stats/dpq/dpq.h: Idem
2016-03-05 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/exp.h: Replaced initial Emacs header line with
current one, ran M-x untabify, streamlined indentation, update copyright
* inst/include/Rcpp/stats/lnorm.h: Idem
* inst/include/Rcpp/stats/logis.h: Idem
* inst/include/Rcpp/stats/norm.h: Idem
* inst/include/Rcpp/stats/weibull.h: Idem
2016-03-04 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Function.R: Switched to '/usr/bin/env r'
* inst/unitTests/runit.table.R: Idem
* inst/unitTests/runit.as.R: Idem
* inst/unitTests/runit.Date.R: Idem
* inst/unitTests/runit.misc.R: Idem
* inst/unitTests/runit.Language.R: Idem
* inst/unitTests/runit.subset.R: Idem
* inst/unitTests/runit.wrap.R: Idem
* inst/unitTests/runit.sugar.R: Idem
* inst/unitTests/runit.na.R: Idem
* inst/unitTests/runit.String.R: Idem
* inst/unitTests/runit.Vector.R: Idem
* inst/unitTests/runit.environments.R: Idem
* inst/unitTests/runit.Reference.R: Idem
* inst/unitTests/runit.Matrix.R: Idem
* inst/unitTests/runit.client.package.R: Idem
* inst/unitTests/runit.binary.package.R: Idem
* inst/unitTests/runit.support.R: Idem
* inst/unitTests/runit.S4.R: Idem
* inst/unitTests/runit.RObject.R: Idem
* inst/unitTests/runit.modref.R: Idem
* inst/unitTests/runit.InternalFunctionCPP11.R: Idem
* inst/unitTests/runit.attributes.R: Idem
* inst/unitTests/runit.sugar.var.R: Idem
* inst/unitTests/runit.Module.R: Idem
* inst/unitTests/runit.XPTr.R: Idem
* inst/unitTests/runit.Module.client.package.R: Idem
* inst/unitTests/runit.stats.R: Idem
* inst/unitTests/runit.rmath.R: Idem
* inst/unitTests/runit.DataFrame.R: Idem
* inst/unitTests/runit.wstring.R: Idem
* inst/unitTests/runit.InternalFunction.R: Idem
2016-03-03 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/FastLM/benchmarkLongley.r: Switched to '/usr/bin/env r'
* inst/examples/FastLM/fastLMviaArmadillo.r: Idem
* inst/examples/FastLM/fastLMviaGSL.r: Idem
* inst/examples/FastLM/lmArmadillo.R: Idem
* inst/examples/FastLM/lmGSL.R: Idem
* inst/examples/FastLM/benchmark.r: Idem
* inst/examples/ConvolveBenchmarks/exampleRCode.r: Idem
2016-02-27 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Switched to
using '/usr/bin/env r', switch to using 'cxxfunction' and RcppGSL plugin
* inst/examples/RcppInline/external_pointer.r: Switched to '/usr/bin/env r'
* inst/examples/RcppInline/RcppInlineExample.r: Idem
* inst/examples/ConvolveBenchmarks/overhead.r: Idem
* inst/include/Rcpp/Fast.h (Rcpp): Undo two const declarations
2016-02-23 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/OpenMP/OpenMPandInline.r: Switched to '/usr/bin/env r'
* inst/examples/RcppInline/RcppSimpleExample.r: Idem
* inst/examples/RcppInline/RObject.r: Idem
* inst/examples/RcppInline/UncaughtExceptions.r: Idem
2016-02-21 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/functionCallback/newApiExample.r (vecfunc): Switched to
using '/usr/bin/env r', switch to using 'cxxfunction'
* inst/examples/Misc/fibonacci.r: Switched to using '/usr/bin/env r',
added explicit load of Rcpp package
* inst/examples/Misc/newFib.r: Switched to using '/usr/bin/env r'
* inst/examples/Misc/ifelseLooped.r: Idem
* inst/examples/Misc/piBySimulation.r: Idem
* inst/examples/SugarPerformance/sugarBenchmarks.r: Idem
2016-02-16 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Added answer on fixed-size limit of arguments
2016-02-07 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCppFunction): Use fully matched seq(along.with=...)
* vignettes/Rcpp-FAQ.Rnw: Added a table of contents
2016-02-06 James J Balamuta <balamut2@illinois.edu>
* vignettes/Rcpp-FAQ.Rnw (Rcpp): Additional material, and corrections,
for use on OS X
2016-01-30 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/vector/Subsetter.h: Fix the error under gc
* inst/unitTests/cpp/Vector.cpp : Add tests
* inst/unitTests/runit.Vector.R : Idem
2016-01-29 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw (Rcpp): Add new entry about required TeXlive
installation to build vignettes (issue #422)
2016-01-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Mark as 0.12.3.1
2016-01-22 Daniel C. Dillon <dcdillon@gmail.com>
* R/Attributes.R: Add plugin for cpp14
2016-01-18 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/Nullable.h: Add isUsable()
* inst/unitTests/cpp/misc.cpp: Add tests
* inst/unitTests/runit.misc.R: Idem
2016-01-17 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/median.h: New function
* inst/unitTests/cpp/sugar.cpp: Add tests
* inst/unitTests/runit.sugar.R: Idem
2016-01-17 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/Nullable.h: Add as() and clone()
* inst/unitTests/cpp/misc.cpp: Add tests
* inst/unitTests/runit.misc.R: Idem
2016-01-13 Kirill Mueller <kirill.mueller@ivt.baug.ethz.ch>
* inst/include/Rcpp/Nullable.h: Added const support
* inst/unitTests/cpp/misc.cpp: Added tests for const support
2016-01-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.3
* inst/NEWS.Rd: Release 0.12.3
* vignettes/Rcpp.bib: Release 0.12.3
* inst/include/Rcpp/config.h: Release 0.12.3
* debian/*: Changes for Debian release of 0.12.3
* vignettes/Rcpp.bib: Updated all CRAN reference to current versions
2016-01-09 Dirk Eddelbuettel <edd@debian.org>
* Contributing.md: Added to GitHub repo
* .Rbuildignore: Ensure Contributing.md is not in R package, also
removed two old entries
2015-12-29 Joshua Pritikin <jpritikin@pobox.com>
* inst/include/Rcpp/Module.h: Initialize base class in copy ctor
* inst/include/Rcpp/macros/interface.h: Idem
2015-12-12 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/String.h: std::hash<Rcpp::String>
* inst/unitTests/cpp/wrap.cpp: Unit tests
* inst/unitTests/runit.wrap.R: Unit tests
2015-12-04 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/vector/Matrix.h: Add math operators between matrix
and scalar
* inst/unitTests/runit.Matrix.R: Unit tests
* inst/unitTests/cpp/Matrix.cpp: Unit tests
2015-11-27 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/proxy.h: const_iterators for CharacterVector
now work analogously to iterators
* inst/include/Rcpp/vector/const_generic_proxy.h: Idem
* inst/include/Rcpp/vector/const_string_proxy.h: Idem
* inst/include/Rcpp/vector/traits.h: Idem
* inst/unitTests/cpp/Vector.cpp: Tests for above
* inst/unitTests/runit.Vector.R: Idem
[ All this was commited on Sep 5 but only merged Nov 27 ]
2015-11-25 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Avoid invalid function names when
generating C++ interfaces.
2015-11-15 Kazuki Fukui <kazunoko93@gmail.com>>
* src/attributes.cpp: Insert extra space around & in interface
2015-11-14 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Add token for secure Slack & Travis integration
2015-11-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.2
* inst/NEWS.Rd: Release 0.12.2
* vignettes/Rcpp.bib: Release 0.12.2
* inst/include/Rcpp/config.h: Release 0.12.2
* debian/*: Changes for Debian release of 0.12.2
* vignettes/Rcpp.bib: Updated all CRAN reference to current versions
2015-11-13 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/complex.h: Define a header guard for dplyr to
prevent errorneous redefinition of operator<<() via dplyr
2015-11-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Further simplification
2015-11-11 Qiang Kou <qkou@umail.iu.edu>
* include/Rcpp/complex.h: operator<< for Rcomplex
2015-11-10 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Added transpose for character
matrices as well
* inst/unitTests/runit.Matrix.R: New unit tests
* inst/unitTests/cpp/Matrix.cpp: Ditto
2015-11-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Matrix transpose is now a free
function for both INTSXP and REALSXP
* inst/unitTests/runit.Matrix.R: New unit tests
* inst/unitTests/cpp/Matrix.cpp: Ditto
2015-11-08 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/Nullable.h: No longer prevent assignment of
R_NilValue to Nullable<> in function signatures
* inst/include/Rcpp/vector/Matrix.h: Use showpoint in operator<<()
2015-11-07 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Matrix.h: Beginnings of a Matrix transpose
2015-11-06 Kevin Ushey <kevinushey@gmailcom>
* inst/include/Rcpp/vector/Subsetter.h: Add sugar math operators
* inst/unitTests/runit.subset.R: Unit tests
* inst/unitTests/cpp/Subset.cpp: Unit tests
* inst/NEWS.Rd: NEWS entry
2015-11-01 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/vector/MatrixColumn.h: Fix overflow
2015-11-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Roll Version: to 0.12.1.4
2015-10-30 Nathan Russell <russell.nr2012@gmail.com>
* inst/include/Rcpp/sugar/functions/cummax.h: New sugar function
* inst/include/Rcpp/sugar/functions/cummin.h: New sugar function
* inst/include/Rcpp/sugar/functions/cumprod.h: New sugar function
* inst/unitTests/cpp/sugar.cpp: Unit test support for new functions
* inst/unitTests/runit.sugar.R: Ditto
2015-10-08 Tianqi Chen <tianqi.tchen@gmail.com>
* inst/include/Rcpp/api/meat/is.h: Enhance the check for Rcpp Module
objects (PR #381 fixing #380)
2015-10-01 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Enable export of C++ interface for functions that
return void
2015-09-28 Dirk Eddelbuettel <edd@debian.org>
* inst/NEWS.Rd: GitHub pull requests and issues are now linked
* src/barrier.cpp: Use SET_STRING_ELT() on LHS (with thanks to Luke)
2015-09-21 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/String.h: Before assigning ensure we received
exactly one string argument
2015-09-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.1
* inst/NEWS.Rd: Release 0.12.1
* vignettes/Rcpp.bib: Release 0.12.1
* inst/include/Rcpp/config.h: Release 0.12.1
* debian/*: Changes for Debian release of 0.12.1
2015-09-09 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-attributes.Rnw: Less harsh grey border around code
* vignettes/Rcpp-*.Rnw: Ditto
* inst/include/Rcpp/String.h: More comparison operators
2015-09-08 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/string_proxy.h: More comparison operators
* inst/include/Rcpp/vector/const_string_proxy.h: More comparison operators
2015-09-08 Florian Plaza Onate <florian.plaza@jouy.inra.fr>
* inst/include/Rcpp/Dimension.h: Correct creation and access of large
matrices
* inst/include/Rcpp/vector/Matrix.h: Ditto
2015-09-07 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Nullable.h: New class for objects which may be NULL
* inst/unitTests/cpp/Vector.cpp: Unit tests for Nullable
* inst/unitTests/runit.Vector.R: Ditto
2015-09-06 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/String.h: Make strings and string_proxies comparable
* inst/unitTests/cpp/String.cpp: Unit tests for above
* inst/unitTests/runit.String.R: Ditto
2015-09-05 Daniel C. Dillon <dcdillon@gmail.com>
* inst/include/Rcpp/vector/Matrix.h: Matrix now has appropriate operator<<
* inst/include/Rcpp/vector/Vector.h: Vector now has appropriate operator<<
* inst/unitTests/cpp/Vector.cpp: Unit tests for above
2015-09-01 Florian Plaza Onate <florian.plaza@jouy.inra.fr>
* inst/include/Rcpp/vector/Subsetter.h: Allow logical subsets to be
assigned to a vector of size 1
(pull request #349, discussed in issue #345)
* inst/unitTests/cpp/Subset.cpp: Add unit test for above
* inst/unitTests/runit.subset.R: Ditto
2015-08-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll Version and Date
2015-08-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated RcppGSL entry
2015-08-29 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Add RcppZiggurat entry
* inst/include/Rcpp/utils/tinyformat.h: Updated to current upstream
version keeping our local modifications / adaptations (PR #357)
2015-08-29 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/vector/Subsetter.h: Enable logical subsetting on
both LHS and RHS, eg 'a[b > 3] = b[b > 3]' (pull request #352 addressing
issue #345)
* inst/unitTests/cpp/Subset.cpp: Ditto
* inst/unitTests/runit.subset.R: Unit tests for above
2015-08-26 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/testRcppClass/src/rcpp_module.cpp: Renamed Module
'World' to 'RcppClassWorld' to avoid multiple modules with same name
(pull request #351, fixed issue #350)
* inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Ditto
* inst/unitTests/testRcppClass/R/load.R: Ditto
* inst/unitTests/testRcppClass/NAMESPACE: Ditto
* inst/unitTests/runit.Module.client.package.R: Re-enable test
* inst/unitTests/testRcppModule/src/rcpp_module.cpp: Renamed Module
'World' to 'RcppModuleWorld' to avoid multiple modules with same name
* inst/unitTests/cpp/modref.cpp: Rename 'World' to 'ModRefWorld'
* inst/unitTests/runit.modref.R (test.modRef): Ditto
* inst/unitTests/cpp/Module.cpp: Rename 'World' to 'ModuleWorld'
* inst/unitTests/runit.Module.R (test.Module): Ditto
2015-08-25 Kurt Hornik <Kurt.Hornik@wu.ac.at>
* R/loadModule.R: For now=TRUE, always set .botched to FALSE which
corresponds to the case of the methods package being in the search path
* inst/include/Rcpp/Reference.h: Call call with the internal Namespace
2015-08-24 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated R / R Core references
2015-08-23 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Benchmark/Timer.h: Silence 'g++ -pedantic' by
replaceing one R_xlen_t by size_t (pull request #348)
2015-08-19 Florian Plaza Onate <florian.plaza@jouy.inra.fr>
* inst/include/Rcpp/vector/Vector.h: Add 'at' methods which implement
accessors with bounds cheking (pull request #342, fixes issue #341)
* inst/include/Rcpp/vector/Matrix.h: Ditto
* inst/unitTests/cpp/Vector.cpp: Add unit tests for at acessors
* inst/unitTests/cpp/Matrix.cpp: Ditto
* inst/unitTests/runit.Vector.R: Ditto
* inst/unitTests/runit.Matrix.R: Ditto
2015-08-18 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Module.client.package.R: Disabled for bad
interaction of Rcpp Modules and R 3.2.2
2015-08-15 Florian Plaza Onate <florian.plaza@jouy.inra.fr>
* inst/include/Rcpp/vector/converter.h: Correct conversion from const
char argument (pull request #344, fixes issue #343)
2015-08-14 Florian Plaza Onate <florian.plaza@jouy.inra.fr>
* inst/include/Rcpp/vector/DimNameProxy.h: Add assignment operator,
refactor code, update error message formatting (pull request #339)
2015-08-05 Kevin Ushey <kevinushey@gmail.com>
* src/api.cpp: use `_WIN32` instead of `WIN32`
2015-08-02 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCpp): In no-rebuild-needed case, also set a
default directory restoration via on.exit() (pull request #335,
addressing issue #309)
2015-07-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.0
* inst/NEWS.Rd: Release 0.12.0
* vignettes/Rcpp.bib: Release 0.12.0
* inst/include/Rcpp/config.h: Release 0.12.0
* debian/*: Changes for Debian release of 0.12.0
2015-07-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Symbol.h: Use Rf_installChar(x) instead of
Rf_install(CHAR(X)) if R 3.2.0 or later is used
2015-07-07 Qiang Kou <qkou@umaikl.iu.edu>
* src/include/Rcpp/String.h: Ensure proper initialization of String
objects from two constructors
* inst/unitTests/cpp/String.cpp: New unit test
* inst/unitTests/runit.String.R: Ditto
2015-07-21 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: don't use 'CDDDR'
2015-07-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Rolled minor Date and Version
* R/Attributes.R: Use explicit 'utils::assignInMyNamespace'
* R/Rcpp.package.skeleton.R: Use explicit 'utils::package.skeleton'
2015-07-17 JJ Allaire <jj@rstudio.org>
* Rcpp.Rproj: don't use devtools mode in RStudio (enables the
Test Package command to invoke the RUnit based test-suite)
* src/attributes.cpp: Correctly handle signature termination
characters ('{' or ';') contained in quotes
2015-07-16 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Don't use 'R_ToplevelExec';
ensure Rcpp_eval respects previously established handlers. Capture
errors + interrupts with R-level 'tryCatch'.
* inst/NEWS.Rd: Add news entry
2015-07-14 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: fix crash on second call to sourceCpp
2015-07-07 Qiang Kou <qkou@umaikl.iu.edu>
* src/include/Rcpp/String.h: Use Rcpp_PreserveObject and
Rcpp_ReplaceObject to protect underlying SEXP inside String objects
2015-07-07 Matt P. Dziubinski <matdzb@gmail.com>
* inst/include/Rcpp/sugar/functions/var.h: Variance -- changed from
the unstable formula back to the stable (two-pass) formula, fixed
support for complex numbers (formula correction).
* inst/unitTests/runit.sugar.var.R: Added tests for complex variance
computation, applied simple code refactoring.
2015-07-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated reference to several CRAN packages
2015-07-02 Kevin Ushey <kevinushey@gmail.com>
* .clang_format: Added
2015-06-25 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: reset error after Rcpp_eval
* inst/unitTests/cpp/Function.cpp: unit tests
* inst/unitTests/runit.Function.R: unit tests
* inst/include/Rcpp/Function.h: catch empty error messages
* inst/include/Rcpp/api/meat/Rcpp_eval.h: protect call
2015-06-24 Qiang Kou <qkou@umaikl.iu.edu>
* inst/include/Rcpp/String.h: Support encodings
* src/String.cpp: Ditto
* inst/unitTests/runit.String.R: Add unit tests
2015-06-18 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (evalCpp): Add support for plugings argument
* man/evalCpp.Rd: Document argument
2015-06-07 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Don't load sourceCpp dynamic library if it's
already been loaded
2015-06-05 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Remove
`character. from `requireNamespace()` as it happens to flip
the boolean value too
2015-06-03 Qiang Kou <qkou@umaikl.iu.edu>
* inst/include/Rcpp/*: Finish changing R_len_t to R_xlen_t
* src/*: Ditto
2014-05-27 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/DataFrame.h: Safe DataFram constructor
2015-05-16 Qiang Kou <qkou@umaikl.iu.edu>
* inst/include/Rcpp/*: Begin changing R_len_t to R_xlen_t
* src/*: Ditto
2015-05-17 Matt P. Dziubinski <matdzb@gmail.com>
* inst/include/Rcpp/platform/compiler.h: Added RCPP_USING_CXX0X_OR_LATER
* inst/include/Rcpp/sugar/functions/sapply.h: Updated to support lambda functions
2015-05-01 Kevin Ushey <kevinushey@gmail.com>
* vignettes/Rcpp-FAQ.Rnw: Notes on installing gfortran
2015-05-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.6
* inst/NEWS.Rd: Release 0.11.6
* inst/include/Rcpp/config.h: Release 0.11.6
* debian/*: Changes for Debian release of 0.11.6
2015-04-27 JJ Allaire <jj@rstudio.org>
* src/Module.cpp: Revert parts of PR291 pertaining to Modules and {BEGIN/END}_RCPP
* inst/include/Rcpp/api/meat/module/Module.h: Ditto
* inst/include/Rcpp/InternalFunctionWithStdFunction.h: Ditto
* inst/include/Rcpp/module/Module_generated_CppFunction.h: Ditto
* inst/include/Rcpp/module/class.h: Ditto
2014-04-25 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: update the parameterization of Vector cache
* inst/include/Rcpp/vector/traits.h: ...
* inst/include/Rcpp/vector/00_forward_proxy.h: ...
* inst/unitTests/runit.Vector.R: test for above changes
* inst/unitTests/cpp/Vector.cpp: ...
2015-04-22 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/utils/tinyformat.h: don't use C++11 features
2015-04-14 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (sudo): Adding 'sudo: required' to force older Travis backend
2014-04-14 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/api/meat/is.h: added is__simple<Rcomplex>
* inst/include/Rcpp/config.h: not using floating point arithmetic in preprocessor
2015-04-12 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Also load Rcpp to make cppFunction visible
2014-04-11 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/macros/macros.h: Reworked BEGIN_RCPP and END_RCPP
* inst/include/Rcpp/*: Removed BEGIN_RCPP and END_RCPP from a few files
* src/Module.cpp: But added here
2015-04-19 Jonathan Marshall <jmarshall@xbmc.org>
* inst/include/Rcpp/vector/string_proxy.h: Adds empty() constructor
* inst/include/Rcpp/vector/const_string_proxy.h: Ditto
2015-03-18 Dmitrii Meleshko <Dmitrii@MeleshkoDima.none>
* inst/include/Rcpp/vector/Matrix.h: Added default ctor for 0x0 matrix
2015-03-18 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Revert to use of gcc 4.6.3 with Rtools 3.3
2015-03-16 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Fix failing local include test (normalize path of
base source file so comparisons work on Windows).
2015-03-15 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (.rtoolsPath): Replace trimws() use with a local variant
2015-03-11 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Rtools 3.3 is now located and used for compilation under R 3.2.
2015-03-11 Kevin Ushey <kevinushey@gmail.com>
* inst/include/RcppCommon.h: Move headers into major/minor protection
* inst/include/Rcpp/r/headers.h: New file
2015-03-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.5
* inst/NEWS.Rd: Release 0.11.5
* inst/include/Rcpp/config.h: Release 0.11.5
* debian/*: Changes for Debian release of 0.11.5
2015-03-03 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/routines.h: Additional application of the
'attribute_hidden' macro for a number of routines in Rcpp::internal
2015-03-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/print.h (Rcpp): New inline function Rcpp::print()
* inst/include/RcppCommon.h: Include new header
* src/api.cpp: Commented-out print() in global namespace
* src/Rcpp_init.cpp: Commented-out registration of print()
* inst/include/Rcpp/routines.h: Commented-out initialization
2015-03-01 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: New function print() as a wrapper around Rf_PrintValue()
* src/Rcpp_init.cpp: Corresponding registration for print()
* inst/include/Rcpp/routines.h: Corresponding initialization
2015-02-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/routines.h: Use the 'attribute_hidden' define from
the R header R_ext/Visibility.h to protect symbols (cf #264)
* inst/include/RcppCommon.h: Also include R_ext/Visibility.h
2015-02-24 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Guard against includes referencing themselves
(and thus creating an endless loop of include processing); Process
attributes in included files; Automatically build implementation files
(*.cc; *.cpp) corresponding to local header files if they exist.
2015-02-20 Lionel Henry <lionel.hry@gmail.com>
* inst/include/Rcpp/Function.h New Function constructors that will
perform function-lookup in an environment or in a namespace.
2015-02-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Bump Version: and Date:
2015-02-19 Lionel Henry <lionel.hry@gmail.com>
* inst/include/Rcpp/Environment.h Allow new_env() to create an
environment with a specified parent
2015-02-19 JJ Allaire <jj@rstudio.org>
* vignettes/Rcpp-attributes.Rnw: Add note on using inline
keyword from shared header files.
2015-02-17 JJ Allaire <jj@rstudio.org>
* vignettes/Rcpp-attributes.Rnw: Update attributes vignette
with docs on new features.
2015-02-14 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Allow includes of local files
(e.g. #include "foo.hpp") in sourceCpp
* Rcpp.Rproj: Specify Sweave as Rnw handler for RStudio
* vignettes/*.Rnw: Add driver magic comment and turn off
Sweave concordance.
* vignettes/.gitignore: Ignore artifacts of PDF preview
2015-02-13 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (install): Switch to using ppa:edd/misc to install all the
R packages needed for the Travis CI run as r-cran-* binary packages
2015-02-13 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Allow 'R' to come immediately after '***'
for defining embedded R code chunks in sourceCpp
2015-02-12 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: bump version
* src/attributes.cpp: Add rng parameter to Rcpp::export to
prevent inclusion of RNGScope in generated code; recognize
Rtools 3.2
2015-02-06 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/Subsetter.h: compare CHARSXP pointers
rather than string contents in subsetter
2015-02-03 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: Simplify generated attributes code for
RNGScope (use RObject and it's destructor rather than SEXP
protect/unprotect).
* vignettes/Rcpp-package.Rnw: Update docs on generated code.
2015-02-03 JJ Allaire <jj@rstudio.org>
* inst/include/Rcpp/exceptions.h: Add Rcpp::warning function as
wrapper for Rf_warning
2014-02-03 JJ Allaire <jj@rstudio.org>
* inst/include/Rcpp/XPtr.h: Improvements to XPtr including new
checked_get and release functions and improved behavior (throw
an exception rather than crash) when a NULL external pointer is
dereferenced.
* inst/unitTests/runit.XPTr.R: tests for XPtr improvements.
* inst/unitTests/cpp/XPtr.cpp: tests for XPtr improvements.
2014-02-03 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Include pkg_types.h file in RcppExports.cpp
if it's present in inst/include or src
* src/attributes.cpp: Include pkg_types.h file in generated
C++ interface file if it's present in inst/include or src
2015-02-02 JJ Allaire <jj@rstudio.org>
* R/exceptions.R: Evaluate R code within an R_toplevelExec block
* include/Rcpp/api/meat/Rcpp_eval.h: Evaluate R code within an
R_toplevelExec block
2015-01-25 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/utils/tinyformat.h: define an error handler for
tinyformat (using ::Rcpp::stop) to not spill assert
2015-01-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.4
* inst/NEWS.Rd: Release 0.11.4
* inst/include/Rcpp/config.h: Release 0.11.4
* debian/*: Changes for Debian release of 0.11.4
2015-01-19 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/r/headers.h: move R headers inclusion to own file;
move sysmacros.h workarounds to here
* inst/include/RcppCommon.h: idem
* inst/include/Rcpp/platform/sysmacros.h: idem
2015-01-19 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated to current package versions
* vignettes/getCurrentVersionsOfCitedPackages.R: New helper function
* .Rbuildignore: Added vignettes/getCurrentVersionsOfCitedPackages.R
* R/unit.tests.R (test): Use requireNamespace() instead of require()
* R/unit.tests.R (test): Ditto
2015-01-19 Wush Wu <wush978@gmail.com>
* inst/include/Rcpp/sugar/functions/var.h: Support four vector types
* inst/unitTests/runit.sugar.var.R: Added corresponding tests
2015-01-16 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/String.h: fix push_front()
* inst/unitTests/runit.String.R: test
* inst/unitTests/cpp/String.cpp: test
2015-01-15 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/platform/sysmacros.h: remove leaked macros
'major', 'minor', 'makedev' from <sys/sysmacros.h>
* inst/include/RcppCommon.h: ditto
* inst/unitTests/cpp/Vector.cpp: simple test
2015-01-08 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/OpenMP/GNUmakefile: Renamed from Makefile because it
contains GNU make extentions (which we happen to like)
* inst/examples/ConvolveBenchmarks: Ditto
2015-01-02 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/sugar/functions/setdiff.h: fix for setequals
* inst/unitTests/cpp/sugar.cpp: unit tests
* inst/unitTests/runit.sugar.R: unit tests
2015-01-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/mean.h: Return type is double, not
storage type; also added logical vector case; also added integer case
to correctly deal with NA values
* inst/unitTests/runit.sugar.R: Added unit tests for new sugar mean()
* inst/unitTests/cpp/sugar.cpp: C++ side of new unit tests
2014-12-31 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/mean.h: Support int and complex
2014-12-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/mean.h: Use two-pass method
2014-12-29 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/macros/macros.h: reformat for legibility
2014-12-11 Yixuan Qiu <yixuan.qiu@cos.name>
* inst/include/Rcpp/internal/r_vector.h: Internal functions to
help detect unqualified vector types for sorting, with the help
of Romain Francois
* inst/include/Rcpp/vector/Vector.h: Disallow sorting on List,
RawVector and ExpressionVector, from the discussion with
Dirk Eddelbuettel and Kevin Ushey
2014-11-30 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/proxy.h: Const iteration correction
* inst/include/Rcpp/sugar: Ditto in three files
2014-11-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/grow.h: Apply additional Shield<> use around tail
object as suggested by Martin Morgan on the rcpp-devel list
2014-11-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h: Release version is still 0.11.3
2014-11-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h: New macro RcppDevVersion to account for
four-part development versions such as the current 0.11.3.2
* DESCRIPTION: Version incremented to 0.11.3.2
2014-11-23 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/exceptions.h: Richer formatting for Rcpp::stop
* inst/include/Rcpp/utils/tinyformat.h: Backend for formattinh
* inst/unitTests/runit.misc.R: Added new unit test
* inst/unitTests/cpp/misc.cpp: C++ backend for test
2014-11-19 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Temporary stop-gap measure of setting CRAN to something
other than the RStudio CDN which currently has DNS issue
* inst/include/Rcpp/internal/NAComparator.h: Support sorting of complex
numbers, thanks to patch by Yixuan Qiu (in PR #202)
2014-11-08 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R: Fix regular expression used to find source files for
compileAttributes
2014-11-02 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/RcppTestA: Rename to inst/unitTests/testRcppPackage
* inst/unitTests/testRcppPackage: Updated throughout
* inst/include/Rcpp/Rmath.h: As suggested by Kevin, test for R_VERSION
via #define to conditon on R >= 3.1.2 -- this does not require a hard
constraint in DESCRIPTION yet on newer R will get R::[dpq]nbinom_mu()
2014-11-01 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: Do not include execinfo.h on AIX, per r-devel discussion
with Mike Beddo, and http://sf.net/p/predef/wiki/OperatingSystems/
2014-10-29 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rmath.h: Comment out R::[dpqr]nbinom_mu functions as
not declared by R with Rf_* name-mapping prefixes
2014-10-17 Chenliang Xu <luckyrand@gmail.com>
* R/Attributes: Enable scanning of header files
2014-10-03 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Only look for plugins in the package's namespace
(rather than entire search path)
2014-10-01 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/ListOf.h ListOf<T> inherits relevant proxies
* inst/unitTests/cpp/ListOf.cpp: Idem
* inst/unitTests/runit.ListOf.R: Idem
2014-09-29 Dirk Eddelbuettel <edd@debian.org>
* debian/*: Changes for Debian release of 0.11.3
* inst/NEWS.Rd: Removed a double entry
2014-09-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.3
* inst/NEWS.Rd: Release 0.11.3
* inst/include/Rcpp/config.h: Release 0.11.3
* ChangeLog: Added a few more entries based on commit log
* inst/NEWS.Rd: Idem
2014-09-26 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: Bump version to enable checking for dryRun.
2014-09-23 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Add dryRun parameter to sourceCpp.
2014-09-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Shorten Description: to single paragraph
2014-09-21 Kevin Ushey <kevinushey@gmail.com>
* inst/unitTests/runit.environments.R: Use 'checkIdentical' as it's a
more appropriate expression of intent
2014-09-15 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Use more neutral default name, email settings
* man/Rcpp.package.skeleton.Rd: Document these
2014-09-14 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Similar
update to yesterday's update for testRcppModule
2014-09-14 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/Vector.h: Alternate strategy using SFINAE
* inst/include/Rcpp/traits/traits.h: Idem
* inst/include/Rcpp/traits/enable_if.h: Idem
2014-09-13 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/Vector.h: Allow logical vectors to be created
from bools
* inst/unitTests/runit.Vector.R: Idem
* inst/unitTests/cpp/Vector.cpp: Idem
2014-09-13 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/Rcpp_modules_examples.Rd: Added to document modules examples
* inst/unitTests/testRcppModule/NAMESPACE: Updated for current Modules use
* inst/unitTests/testRcppModule/R/zzz.R: Updated for current Modules use
* inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Also added here
2014-09-10 Dirk Eddelbuettel <edd@debian.org>
* R/R/Rcpp.package.skeleton.R: If available, pkgKitten used for skeleton pkg
2014-09-09 Dirk Eddelbuettel <edd@debian.org>
* R/unit.tests.R: Fully qualify three functions from RUnit via ::
2014-09-03 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Environment.h: make new_env a free function
2014-09-02 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/proxy.h: Finish meat reintroduction + tests
* inst/unitTests/runit.wrap.R: Idem
* inst/unitTests/cpp/wrap.cpp: Idem
* inst/include/Rcpp/proxy/FieldProxy.h: Idem
2014-09-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Vector.h: Reversing change from Aug 30: the
Vector ctor from char* and string are used for CharacterVector()
2014-09-02 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Include LinkingTo in DESCRIPTION fields scanned
to confirm that C++ dependencies are referenced by package.
2014-09-01 Yixuan Qiu <yixuan.qiu@cos.name>
* inst/include/Rcpp/vector/Vector.h: fix return value of range eraser
2014-09-01 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/ListOf.h: `size()` member function should
return `R_len_t` rather than `int`
2014-08-30 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Environment.h: Add 'new_env' function
2014-08-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Vector.h: Mark two 'from string' ctors as
deprecated following a suggestion by Yixuan Qiu [reversed on 2014-09-02]
2014-08-18 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Added a new entry regarding licensing of
packages stressing that any combined work linking to the GPL-ed R will
also be under the terms of the GNU General Public License.
2014-08-13 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/meat.h: Reintroduce meat
* inst/include/Rcpp/api/meat/proxy.h: Idem
* inst/include/Rcpp/proxy/AttributeProxy.h: Idem
* inst/include/Rcpp/proxy/Binding.h: Idem
* inst/include/Rcpp/proxy/NamesProxy.h: Idem
* inst/include/Rcpp/proxy/SlotProxy.h: Idem
* inst/include/Rcpp/proxy/TagProxy.h: Idem
* inst/include/Rcpp/proxy/proxy.h: Idem
2014-08-08 Christian Authmann <authmanc@Mathematik.Uni-Marburg.de>
* inst/unitTests/cpp/InternalFunction.cpp: New unit test support
* inst/unitTests/cpp/InternalFunctionCPP11.cpp: Idem
* inst/unitTests/runit.InternalFunction.R: Idem
* inst/unitTests/runit.InternalFunctionCPP11.R: Idem
2014-08-06 Christian Authmann <authmanc@Mathematik.Uni-Marburg.de>
* inst/include/Rcpp/InternalFunctionWithStdFunction.h: Extend the
existing Rcpp::InternalFunction interface to work with std::function,
conditional on a sufficient C++11 support by the compiler
2014-08-05 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Date.h: Remove a const qualifier which triggers a
warnings as 'type qualifiers ignored on function return type'
2014-08-03 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Updated with respect to OS X installations
requiring Fortran (to e.g. build against RcppArmadillo)
2014-07-29 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/no_init.h: Add no_init for matrices
* inst/include/Rcpp/vector/Matrix.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/unitTests/runit.Matrix.R: Idem
* inst/unitTests/cpp/Matrix.cpp: Idem
2014-07-29 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/proxy.h: Removed operator bool() cast as
discussed by Christian Authmann on rcpp-devel
2014-07-28 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Updated from
corrected creator script
2014-07-25 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Benchmark/Timer.h: Added new static method
get_timers() to return a vector of timers useful for multithreaded
contexts; also removed two unused old member functions (cf #157)
2014-07-14 Kevin Ushey <kevinushey@gmail.com>
* inst/unitTests/runit.Matrix.R: DimNames Proxy
* inst/unitTests/cpp/Matrix.cpp: Idem
* inst/include/Rcpp/vector/Matrix.h: Idem
* inst/include/Rcpp/vector/DimNameProxy.h: Idem
2014-07-12 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R: Strip version in .parseLinkingTo
2014-07-12 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Regenerated
with tighter whitespace and updated header information from updated
generator script in corresponding rcpp-scripts repo
* inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
* inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
* inst/include/Rcpp/module/Module_generated_function.h: Idem
* inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
* inst/include/Rcpp/module/Module_generated_method.h: Idem
2014-07-09 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Language.h: OUT -> RESULT_TYPE
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem
* inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
* inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
* inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
* inst/include/Rcpp/module/Module_generated_function.h: Idem
* inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
* inst/include/Rcpp/module/Module_generated_method.h: Idem
* inst/include/Rcpp/module/get_return_type.h: Idem
* inst/include/Rcpp/sugar/block/SugarBlock_1.h: Idem
* inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem
* inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem
* inst/include/Rcpp/sugar/block/SugarMath.h: Idem
* inst/include/Rcpp/sugar/functions/complex.h: Idem
2014-07-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/InternalFunction.h: Add missing update(SEXP) method
per GitHub Pull Request #152, with thanks to Omar Andres Zapata Mesa
* inst/THANKS: Updated
2014-07-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-unitTests.Rnw: Commented-out copy of results to /tmp
2014-06-29 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: fix setwd problem when sourceCpp used a
relative path and included an R code chunk
2014-06-20 Dirk Eddelbuettel <edd@debian.org>
* include/Rcpp/sugar/functions/ifelse.h: Applied pull request #150 by
Romain to have operator{} return the correct NA type
2014-06-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/macros/macros.h: No longer include
macros/preprocessor_generated.h which was deprecated as of Rcpp 0.10.5
* inst/include/Rcpp/macros/preprocessor_generated.h: Removed
2014-06-08 Dirk Eddelbuettel <edd@debian.org>
* cleanup: Do not remove 'build/Rcpp.pdf', thanks to hint by Kurt / CRAN
2014-06-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.2
* inst/NEWS.Rd: Release 0.11.2
* inst/include/Rcpp/config.h: Release 0.11.2
* debian/*: Similarly updated for new release to Debian
* tests/doRUnit.R: Additional check added for release version case
2014-06-05 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Use -std=c++0x for cpp11 plugin on Windows if R <= 3.0
2014-05-28 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/vector_from_string.h: Protect result of
Rf_mkString
2014-05-24 Dirk Eddelbuettel <edd@debian.org>
* .Rbuildignore: Add .dir-locals.el
2014-05-23 Dirk Eddelbuettel <edd@debian.org>
* R/Module.R (new_dummyObject): Remove erraneous quotes
* .dir-locals.el: Setting tab-width to 8
2014-05-18 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/Vector.h: Safer casting to fix #146
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/api/meat/Environment.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* .dir-locals.el: Added for project-local Emacs settings
2014-05-10 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (compileAttributes): Read Imports: as well
2014-05-07 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to more
reasonable non-empty value
2014-05-06 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to non-empty
value
2014-04-30 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Add plugins for C++0x and C++1y
2014-04-30 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Use USE_CXX1X for cpp11 plugin when R >= 3.1
2014-04-02 Dirk Eddelbuettel <edd@debian.org>
* tests/doRUnit.R: Better RUnit error report with thanks to Murray
2014-03-18 JJ Allaire <jj@rstudio.org>
* man/cppFunction.Rd: Correct package header file example to use .h
2014-03-14 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/DataFrame.h: Add missing return in Impl method
2014-03-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.1
* inst/NEWS.Rd: Release 0.11.1
* inst/include/Rcpp/config.h: Release 0.11.1
* debian/*: Similarly updated for new release to Debian
2014-03-09 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/const_string_proxy.h: Workaround for issue
with constructing proxies from CHARSXPs
2014-03-08 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/proxy/proxy.h: Make sure proxies know about the
const char* wrap shortcut
2014-03-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/proxy/Binding.h: Remove spurious ';' [g++ -pedantic]
* inst/include/Rcpp/proxy/ProtectedProxy.h: Idem
* inst/include/Rcpp/proxy/TagProxy.h: Idem
* inst/include/Rcpp/proxy/AttributeProxy.h: Idem
2014-03-05 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/proxy/FieldProxy.h: bandaid for protection issue
in operator= of FieldProxy
* R/unit.tests.R: modify Rcpp:::test so we can run tests with
gctorture(TRUE)
2014-03-03 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/proxy/SlotProxy.h: Add missing const_SlotProxy ctor
definition
2014-02-24 Kevin Ushey <kevinushey@gmail.com>
* R/Rcpp.package.skeleton.R: make sure we add loadModule
to NAMESPACE when module is TRUE
2014-02-23 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/DataFrame.h: better nrows behavior
2014-02-17 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/un_pointer.h: fix bug in un_pointer for object<T>
2014-02-17 Kevin Ushey <kevinushey@gmail.com>
* src/attributes.cpp: Fix attributes behavior with
::create, and also add an option for a default constructor
(e.g. NumericVector v = NumericVector(10)) gives a default
value of 'numeric(10)' at the R level). Also make NAs
keep their type when exposed to R.
2014-02-16 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp Replace (incorrect) call to
Rcpp::internal::jumpToTop with Rf_onintr
2014-02-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/Reference.h: Add default ctor
2014-02-03 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/vector/Vector.h: Enable conversion from
Rcpp vectors to RObject
2014-02-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.11.0
* inst/NEWS.Rd: Release 0.11.0
* inst/include/Rcpp/config.h: Release 0.11.0
* debian/*: Similarly updated for new release to Debian
2014-02-02 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Use placeholder for .Call to avoid warning
2014-02-01 Dirk Eddelbuettel <edd@debian.org>
* tests/doRUnit.R: Simplified following pattern in RProtoBuf
* vignettes/Rcpp-unitTests.Rnw: Remove a now superfluous global var
* vignettes/Rcpp.bib: Updated references to current packages
2014-02-01 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Embedded R code chunks in sourceCpp can
now be disabled
2014-01-31 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Render code with background boxen
* vignettes/Rcpp-package.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
* vignettes/Rcpp-attributes.Rnw: Switched to highlight driver
* inst/include/Rcpp/Benchmark/Timer.h: Reverted back to using
iterators via use of anonymous namespace for accessors
* inst/announce/ANNOUNCE-0.11.0.txt: Updated
2014-01-31 Dirk Eddelbuettel <edd@debian.org>
* man/Rcpp.package.skeleton.Rd: Also updated
2014-01-31 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Embedded R code chunks in sourceCpp are now
executed within the working directory of the C++ source file.
2014-01-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-package.Rnw: Updates for upcoming release
2014-01-28 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Some updates for upcoming release
2014-01-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Benchmark/Timer.h: Simplified -- Rcpp Gallery
example using it was not building any longer under g++
2014-01-23 Dirk Eddelbuettel <edd@debian.org>
* inst/announce/ANNOUNCE-0.11.0.txt: Added for next release
2014-01-21 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R: Update skeleton package to add proper
Imports: to DESCRIPTION, and importFrom() to NAMESPACE
2014-01-19 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Vector.h: Add missing UNPROTECT in
push_back_name__impl
2014-01-18 Kevin Ushey <kevinushey@gmail.com>
* inst/unitTests/runit.S4.R: Add a test for ctor from slot proxy
* inst/unitTests/cpp/S4.cpp: Add a test for ctor from slot proxy
* inst/include/Rcpp/vector/Vector.h: Add missing r_cast to vector
ctor from proxy
2014-01-18 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: More restrictive matching of C++ file extensions
for compileAttributes.
2014-01-18 Kevin Ushey <kevinushey@gmail.com>
* inst/unitTests/cpp/Matrix.cpp: Add unit test
* inst/unitTests/runit.Matrix.R: Add unit test
* inst/include/Rcpp/api/meat/Matrix.h: Bug fix in operator=
2014-01-17 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdpath.R (RcppCxxFlags): Restore function to supply values
for include files for packages not yet converted to LinkingTo:
2014-01-16 JJ Allaire <jj@rstudio.org>
* inst/include/Rcpp/macros/macros.h: Use Rf_onintr rather than
non-public Rf_jump_to_toplevel
* inst/include/Rcpp/DateVector.h: Fix GreedyVector compilation error
* inst/include/Rcpp/DatetimeVector.h: Fix GreedyVector compilation error
2014-01-15 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: Move stop() into Rcpp namespace
2014-01-03 JJ Allaire <jj@rstudio.org>
* .gitignore: Added src/<object-files>, *.Rproj, and .Rproj.user
* inst/include/Rcpp/Interrupt.h: New checkUserInterrupt function
that provides a C++ friendly implementation of R_CheckUserInterrupt
* inst/include/RcppCommon.h: Include Rcpp/Interrupts.h
* inst/include/macros/macros.h: Check for interrupts in END_RCPP
* src/attributes.cpp: Handle interrupted-error in attribute
function envelope.
2013-12-31 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated CRAN package references
2013-12-20 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/sugar/tools/mapcompare.h: Use a union for
type punning, to avoid compiler warning on aliasing. Also
switch to uint64_t to enforce 64bit comparison.
* inst/include/Rcpp/RObject.h: Add missing *this return for
RObject_impl::operator=
2013-12-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/RObject.h: Applied fix by Kevin Ushey (#88)
* inst/include/Rcpp/vector/Vector.h: Ditto (#89)
2013-12-01 Kevin Ushey <kevinushey@gmail.com>
* R/Rcpp.package.skeleton.R: Fixed bug relating to user-supplied
functions in 'list' argument
* inst/unitTests/runit.Rcpp.package.skeleton.R: Added unit tests
2013-11-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Updated and corrected in several spots
2013-11-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/nt.h: Correct expansion of (d|q|p)nt()
* inst/unitTests/runit.stats.R: Added unit tests for t dist with ncp
* inst/unitTests/cpp/stats.cpp: C++ side of expamded unit tests
2013-11-05 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Added to support continuous integration on github
2013-10-28 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/protection/Armor.h : Armor::operator SEXP has to be const
for it to work properly with wrap.
2013-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.6
* inst/NEWS.Rd: Release 0.10.6
* inst/include/Rcpp/config.h: Release 0.10.5
* debian/*: Similarly updated for new release to Debian
2013-10-17 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: sourceCpp now correctly binds to Rtools 3.0 and 3.1
2013-10-16 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Deprecate
namespace argument which package.skeleton() no longer uses
* man/Rcpp.package.skeleton.Rd: Updated documentation accordingly
2013-10-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/api/meat/is.h : added missing implementation for
is<Language> and is<DottedPair>
2013-10-14 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/protection/protection.h: added
Shield/Shelter/Armor
* DESCRIPTION: bump to version 0.10.5.3
2013-10-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Depends): Rolled Depends: on R to "R (>= 3.0.0)" as
required by the vignette building code (with thanks to Uwe Ligges)
2013-10-08 Dirk Eddelbuettel <edd@debian.org>
* NAMESPACE: Export LdFlags as well as RcppLdFlags
* man/RcppLdFlags.Rd: Updated
2013-10-06 John M Chambers <jmc@r-project.org>
* R/exposeClass.R: avoid warning from unclosed file()
2013-10-06 John M Chambers <jmc@r-project.org>
* NAMESPACE: change classModule to exposeClass
* R/classModule.R: delete
* man/classModule.Rd: delete
* R/exposeClass.R: add
* man/exposeClass.Rd: add
* man/setRcppClass.Rd: update, clarify, recommend exposeClass()
2013-10-03 John M Chambers <jmc@r-project.org>
* R/classModule.R: new function to write module file for class
* man/classModule.Rd: documentation for new function classModule()
* NAMESPACE: export classModule
* R/loadModule.R: clean up an error message
* R/RcppClass.R: defaults for module consistent w. classModule()
* man/setRcppClass.Rd: add defaults, explain need for saveAs
2013-10-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/traits/is_na.h: More fixes thanks to Thomas Tse
2013-10-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/api/meat/is.h: Applied patch by Thomas Tse to
provide missing Character(Vector|Matrix)
* DESCRIPTION: Bump to development release 0.10.5.1
2013-09-28 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.5
* inst/NEWS.Rd: Release 0.10.5
* inst/include/Rcpp/config.h: Release 0.10.5
* debian/*: Similarly updated for new release to Debian
* vignettes/Rcpp-unitTests.Rnw: Switched to Charter font just like
the other eight vignettes
2013-09-28 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppMethod.h : more code bloat
to handle flexible semantics for passing parameters in methods
* include/Rcpp/module/Module_generated_Pointer_CppMethod.h : same
* inst/unitTests/cpp/Module.cpp: testing the above
* unitTests/runit.Module.R: testing
2013-09-27 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-unitTests.Rnw: Re-activated vignette
* DESCRIPTION: Version number bumped to 0.10.4.6
2013-09-27 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppFunction.h : regenerated to
use input_parameter traits for more flexible parameter passing strategy
* unitTests/cpp/Module.cpp : more testing
* unitTests/runit.Module.R : more testing
2013-09-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/diff.h: Declare set_previous
const and add a missing traits:: prefix before is_na
* inst/unitTests/cpp/sugar.cpp: Unit test for diff() of int. vector
* inst/unitTests/runit.sugar.R: Invoke new test
2013-09-21 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-modules.Rnw: Remove vignette-local compilations
which again caused problems for the Windows builds at R-Forge and
win-builder. Unit tests comprise the same functionality and pass.
* vignettes/Rcpp-attributes.Rnw: Refresh look by using Bitstream
Charter, and microtype package (cf http://www.khirevich.com/latex)
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-FAQ.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Idem
* vignettes/Rcpp-quickref.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
2013-09-20 Dirk Eddelbuettel <edd@debian.org>
* R/Module.R: More ':::' cleanups to make R CMD check happy
* R/RcppClass.R: Ditto
* NAMESPACE: Some new exports related to this
* man/setRcppClass.Rd: Document loadRcppClass()
* man/Rcpp-internal.Rd: Added in order to document
cpp_object_initializer() and cpp_object_dummy()
2013-09-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/longlong.h: Unbreak long long by making it (as
before) conditional on g++ (or clang) as well as C++11. The condition
can be OR'ed with another suitably-defined variable, but the default
has to be off as CRAN compliance has to remain the standard
2013-09-19 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/longlong.h: isolate all handling of long long
in a separate file which we might choose not to include by default
* include/Rcpp/traits/r_sexptype_traits.h : unsigned int wrapped as
REALSXP long standing feature request from Murray.
* R/Attributes.R : Added the helper demangle and sizeof functions
* man/demangle.Rd : Documentation for demangle and sizeof
* include/Rcpp/platform/compiler.h : less restritive support of long
long types. But still behind a test for gcc and a test for the
availability of the type, and the __extension__. -pedantic does not
warn about it
2013-09-18 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Don't search the inline package as a fallback when
loading plugins for the the Rcpp::plugins attribute
2013-09-18 Romain Francois <romain@r-enthusiasts.com>
* vignettes/Rcpp-package.Rnw: Updating the vignette. Setting
attributes to TRUE by default.
* R/Rcpp.package.skeleton.R: Setting attributes to TRUE by
default. This is what we should encourage people to use.
* include/Rcpp/as.h: add as<char> specialization
* include/Rcpp/sugar/functions/diff.h : rework the implementation of
diff so that it works even when we don't know the previous value
* unitTests/runit.sugar.R :
* unitTests/cpp/sugar.cpp :
* include/Rcpp/sugar/functions/range.h : factored out of minmax.h
* include/Rcpp/sugar/functions/min.h : factored out of minmax.h
* include/Rcpp/sugar/functions/max.h : factored out of minmax.h
* TODO : 3 less items
2013-09-17 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Call inlineCxxPlugin and Rcpp.plugin.maker without
qualification rather than with ':::'
2013-09-17 Dirk Eddelbuettel <edd@debian.org>
* NAMESPACE: Export RcppLdFlags which is often used to build Rcpp
* man/RcppLdFlags.Rd: Added required manual page
* R/Attributes.R: Call RcppLdFlags() via '::' instead of ':::'
* R/SHLIB.R: Ditto
* R/inline.R: Ditto
* vignettes/Rcpp-FAQ.Rnw: Add %\VignetteEngine{highlight::highlight}
* vignettes/Rcpp-attributes.Rnw: Idem
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Idem
* vignettes/Rcpp-quickref.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Altered to make use of highlight
package; also no longer build embedded demo package (which upsets R
CMD check under R-devel)
2013-09-16 JJ Allaire <jj@rstudio.org>
* R/Attributes.R : Remove calls to non-exported functions from the tools package
2013-09-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/Exporter.h : Specific handling of containers
(std::vector, std::deque, and std::list so that we use their faster
range constructor when we can, and so let the STL optimize how data
is copied
* include/Rcpp/api/meat/export.h : Implementation of the above
* include/Rcpp/vector/Vector.h : added Vector( const char* ) ctor
* DESCRIPTION : bump to 0.10.4.5 (for RcppExtras)
2013-09-15 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/InputParameter.h (Rcpp): Add 'const' case
* inst/unitTests/cpp/Vector.cpp: New unit tests for std::vector
conversions, using both int and double arguments
* inst/unitTests/runit.Vector.R: R complement of these tests
2013-09-15 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/InputParameter.h : added the traits::input_parameter
trait to add another layer of abstration.
* include/Rcpp/macros/module.h : taking advantage of input_parameter
to specialize how to work with module objects
* src/attributes.cpp : using traits::input_parameter<T> instead of
InputParameter<T>
2013-09-14 Dirk Eddelbuettel <edd@debian.org>
* src/attributes.cpp : Precede closing '>' by space to avoid '>>'
* inst/include/Rcpp/platform/compiler.h: Further refine #if test for
'long long' by conditioning __LP64__ on also using clang/llvm
* src/attributes.cpp : Precede closing '>' by space to avoid '>>'
2013-09-13 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : added "long long" to the capabilities function.
* include/Rcpp/platform/compiler.h : demangling is definitely
available on all mac versions using gcc. No point is testing for OSX
version.
* include/Rcpp/InputParameter.h : extra layer of abstraction to allow
for custom handling of references etc ... used in RcppArmadillo
* src/attributes.cpp : using InputParameter
* DESCRIPTION: bump to 0.10.4.4
2013-09-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/platform/compiler.h : patch submitted by Murray for
better support of long long type.
* include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map
and tr1/unordered_set. Previous test was for gcc 4.4.0 for some
reason
2013-08-31 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/*: Moved all vignettes to vignettes/*
* vignettes/*: Minor updates to some vignettes
2013-08-22 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_primitive.h : new trait to identify if a
type is primitive, this is a shortcut of using r_type_traits and
compare it to r_type_primitive_tag
* include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to
handle wrapping map<KEY, VALUE> where KEY can be converted to String
and VALUE can wrap itself
* include/Rcpp/internal/wrap.h : handling map<KEY, VALUE> and vector<T>
where T is a class handled by modules
* include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY,
VALUE>
* unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY
not a string
* unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY
not a string
* include/Rcpp/internal/export.h : added export_range__dispatch for
the r_type_generic_tag tag. Meaning we can now use as< vector<T> >
where T is not a primitive
* include/Rcpp/api/meat/export.h : implementation in meat because it needs as
2013-08-01 Romain Francois <romain@r-enthusiasts.com>
* unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
* unitTests/runit.wstring.R: re-enable the wstring test suite.
2013-07-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Bump development version to 0.10.4.3
* inst/doc/Makefile: Rejigged pdf builds in another attempt at
pleasing whatever runs the builds on r-forge. L'espoir fait vivre.
2013-07-25 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/is_na.h : added is_na for DateVector and
DatetimeVector
* include/Rcpp/Date.h : added is_na method
* include/Rcpp/Datetime.h : added is_na method
* unitTests/cpp/dates.cpp : removed the ignoreme useless parameters
* unitTests/runit.Date.R : idem
* src/attributes.cpp: collecting functions in a FunctionMap. Will use this
for dispatching
2013-07-24 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_module_object.h: trait class that identifies
at compile time if a given type is a type exposed by a module,
i.e. if we used the RCPP_EXPOSED_AS macro
* include/Rcpp/is.h: able to identify if an object is of a given type
exposed by a module (supports references and pointers too).
* src/Module.cpp: implementation of is_module_object_internal that
checks if an object is of a given typeid, used by is<T> where T is
module exposed
2013-07-23 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: support as<T*> and as<const T*> where T is a class
exposed by modules
* include/Rcpp/macros/module.h: idem
* include/Rcpp/traits/un_pointer.h: handle the object<T> case
* include/Rcpp/traits/r_type_traits.h: adding traits to help the with
as<T*> and as<const T*>
* unitTests/runit.Module.R: testing as<T*> and as<const T*>
* unitTests/cpp/Module.cpp: idem
* src/attributes.cpp: take advantage of a more flexible as<>. The
Type class gains a full_name() method that shows const-ness and
reference-ness
2013-07-17 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/instantiation.h: added the DoubleVector alias
to NumericVector
* include/Rcpp/is.h: added is template function
2013-07-11 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Add an OpenMP plugin
2013-07-03 Romain Francois <romain@r-enthusiasts.com>
* unitTests/runit.modref.R: using sourceCpp
* unitTests/runit.Module.R: using sourceCpp
* unitTests/runit.Vector.R: no more uses of inline
* unitTests/runTests.R: we don't need inline no more for testing
* doc/unitTests/Rcpp-unitTests.R: idem
2013-07-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/Vector.h: fill__dispatch was mispelled (as
fill_dispatch) for the non trivial case, so it did not work
* unitTests/runit.Matrix.R: using sourceCpp
* unitTests/runit.misc.R: using sourceCpp
* unitTests/runit.wrap.R: using sourceCpp
* unitTests/runit.support.R: using sourceCpp
* unitTests/runit.rmath.R: using sourceCpp
* unitTests/runit.RObject.R: using sourceCpp
* unitTests/runit.stats.R: using sourceCpp
* unitTests/runit.XPTr.R: using sourceCpp
* unitTests/runit.Vector.R: testing List( int, IntegerVector ) which
eventually uses fill__dispatch
* include/Rcpp/traits/r_type_traits.h: support for as<T&> and as<const T&>
when T is module exposed
* include/Rcpp/as.h: as<T&> and as<const T&> when T is module exposed
* include/Rcpp/module/Module_generated_CppFunction.h: removed the
remove_const_and_reference since as<T&> and as<const T&> is supported
* src/attributes.cpp: automatically populating the environment with
the content of a module, rather than make the module object available
in the environment
2013-07-01 Romain Francois <romain@r-enthusiasts.com>
* R/unit.test.R: added helper function Rcpp:::unit_test_setup to avoid
some boiler plate code in unit test files. See e.g. runit.Function.R for
an example
* unitTests/runit.as.R: using sourceCpp
* unitTests/runit.Function.R: using sourceCpp
* unitTests/runit.DataFrame.R: remove dependency on datasets
2013-06-25 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: Also test for #defined(__sun) when checking for system
lacking a valid backtrace() function for stack traces
2013-06-25 Romain Francois <romain@r-enthusiasts.com>
* DESCRIPTION : devel version 0.10.4.1
* src/Module.cpp : bring a simplified version of RCPP_FUNCTION 1 .. 4
* unitTests/runit.macros.R : removed, as RCPP_FUNCTION ... are deprecated
* include/Rcpp/macros/preprocessor_generated.h : deprecating RCPP_FUNCTION_... macros
2013-06-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: Note the useful wiki page
http://sourceforge.net/p/predef/wiki/Home with #defines for OSs,
compilers, libraries and more
2013-06-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.4
* inst/NEWS.Rd: Release 0.10.4
* inst/include/Rcpp/config.h: Release 0.10.4
* debian/*: Similarly updated for new release to Debian
2013-06-19 Romain Francois <romain@r-enthusiasts.com>
* inst/NEWS.Rd: Document planned depreciation of old RCPP_FUNCION_*
macros which are redundant thanks to Rcpp Modules and Rcpp Attributes
* include/Rcpp/vector/string_proxy.h : added operator
string_proxy::operator==( const string_proxy& ) so that me may
compare x[i] and y[i] (x and y being CharacterVector)
* include/Rcpp/module/Module_generated_Pointer_CppMethod.h : remove
const and reference to OUT type in several places, that was causing
problems e.g. on making the Rcpp-modules vignette
* include/Rcpp/module/Module_generated_CppMethod.h : idem
2013-06-18 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppFunction.h : using
BEGIN_RCPP / END_RCPP as suggested by Ben North on Rcpp-devel. This
should reduce cross dll exceptions issues on windows.
2013-06-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/stats/random/runif.h : removed unused max variable
* include/Rcpp/stats/random/rf.h : removed unused n1 and n2 variables
2013-06-13 Romain Francois <romain@r-enthusiasts.com>
* src/Module.cpp: small buglet in macro. Reported on Rcpp-devel
2013-06-12 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Makefile: Force serial build of vignettes in yet another
effort to not let R-Forge fail when trying to rebuild them
2013-06-08 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp.bib: Updated entries
* inst/doc/Rcpp-introduction.Rnw: Added pointer to 'Rcpp Attributes'
vignette, as well as to 'Rcpp Sugar' and 'Rcpp Modules' vignettes.
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem
2013-06-06 Romain Francois <romain@r-enthusiasts.com>
* unitTests/cpp/Vector.cpp : more unit tests for erase
* unitTests/runit.Vector.R : more unit tests for erase
2013-06-05 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/api/meat/Vector.h : fixed Vector<>::erase(iterator,
iterator) and correct return value of erase
* unitTests/cpp/Vector.cpp : added regression test for the above fix
* unitTests/runit.Vector.R : added regression test for the above fix
* include/Rcpp/module/class.h : removed useless typedef
2013-05-31 Romain Francois <romain@r-enthusiasts.com>
* unitTests/runit.sugar.R : new test for is_infinite and is_nan
* unitTests/cpp/sugar.cpp : new test for is_infinite and is_nan
* include/Rcpp/sugar/functions/is_infinite.h : new function
is_infinite
* include/Rcpp/traits/is_infinite.h : new function is_infinite
* include/Rcpp/sugar/functions/is_nan.h : new function is_nan
* include/Rcpp/traits/is_nan.h : new function is_nan
2013-05-30 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/all.h : bug fixed for the NA=false
case
* include/Rcpp/sugar/functions/is_na.h : header
* include/Rcpp/sugar/functions/is_finite.h : added sugar is_finite
function
* include/Rcpp/traits/is_finite.h : added is_finite trait
* unitTests/runit.sugar.R : added test for is_finite
* unitTests/cpp/S4.cpp : new cpp file to host S4 unit tests
* unitTests/runit.S4.R : rework unit tests to use attributes
* unitTests/runit.Reference.R : unit tests for Rcpp::Reference
* unitTests/cpp/Reference.cpp : unit tests c++ code
2013-05-26 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: Minor tweak for internal formatting
2013-05-24 J.J. Allaire <jj@rstudio.org>
* R/Attributes.R: Disallow compilation for files that don't have
extensions supported by R CMD SHLIB
2013-05-21 J.J. Allaire <jj@rstudio.org>
* R/Attributes.R: Lookup plugins in inline package if they aren't
found within the Rcpp package
* man/pluginsAttribute.Rd: Documentation updates.
2013-05-17 J.J. Allaire <jj@rstudio.org>
* src/attributes.cpp: prevent gc problems with RNGScope destructor
in attributes generated functions; don't include package header
file in generated cpp exports file
* src/api.cpp: use unsigned long for RNG scope counter
2013-04-28 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): No longer use Rd_format(Real|Complex) which is
a very verboten R internal; formatting to string is now very bare
bones
2013-04-27 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars: Improved use as well as a new possible overrride of
/usr/bin/install_name_tool on OS X, once again contributed by Simon
2013-04-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/na_omit.h : new function na_omit to
remove missing values from a vector.
* src/attributes.cpp : portability fix (from Martyn Plummer)
* include/Rcpp/api/meat/Vector.h : portability fix (from Martyn
Plummer)
2013-04-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_na.h: complex version did not work.
added default for VECSXP and EXPRSXP versions
2013-04-02 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Corrected operator-() for Date and Datetime objects
to behave more inline with C++ standard
* inst/include/Rcpp/Date.h: operator-() for Dates now returns a
double as the date itself is fractional double since epoch
* inst/unitTests/cpp/dates.cpp: New file with C++ portion of tests
factored out from R unit test file
* inst/unitTests/runit.Date.R: Rewritten for use with new C++ tests
2013-04-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/generated/DataFrame_generated.h : DateFrame::create
uses List::create and then feeds to the DataFrame constructor, which
seems to work better than the previous approach of calling back to the
data.frame function in R
* include/Rcpp/DataFrame.h : private function from_list, to help
the new implementation of DataFrame::create
* src/api.cpp : impl of DataFrame::from_list
2013-03-31 Dirk Eddelbuettel <edd@debian.org>
* debian/control (Build-Depends): Modified for Debian-only rebuilds
under (rc version of upcoming) R 3.0.0 release
* debian/changelog: Entry for Debian build 0.10.3-2
2013-03-29 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): Re-enable coerce_to_string<>() for real and
complex types with Poor Man's Versions (TM) of Rf_EncodeReal and
Rf_EncodeComplex which the Powers That Be disallow from being used
2013-03-27 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/MatrixRow.h : removed unintended printed
messaged (reported on Rcpp-devel by Michaeal Love)
2013-03-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.3
* inst/NEWS.Rd: Release 0.10.3
* inst/include/Rcpp/config.h: Release 0.10.3
* debian/*: Similarly updated for new release to Debian
2013-03-21 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.wstring.R (test.as_vector_wstring): replace
the "€" symbol with its unicode equivalent "\u20ac"
2013-03-20 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp.bib: Updated versions for several CRAN packages
* inst/CITATION: Add information about forthcoming book
2013-03-20 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_wide_string.h : fixes to re-enable wrap(
vector<char> ) and wrap( vector<wchar_t> ), needed to support package
httpuv
* include/Rcpp/internal/wrap.h : same
2013-03-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h: Define RCPP_USE_NEW_PRESERVE_RELEASE
with default value of 0 to enable/disable new preserve/release code
* src/api.cpp: Bracket the new Rcpp object preserve / release code
with the new variable RCPP_USE_NEW_PRESERVE_RELEASE and fall back
to R behaviour if not set
2013-03-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Module.h: added virtual destructor to CppProperty
2013-03-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: Improved g++ version
detection with thanks to Yan Zhou
2013-02-28 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: standalone roxygen chunks (e.g. to document
a class) are now transposed into RcppExports.R
2013-02-27 JJ Allaire <jj@rstudio.org>
* R/Rcpp.package.skeleton.R: eliminated spurious empty hello world
function definition in Rcpp.package.skeleton
2013-02-24 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: add global package include file to RcppExports.cpp
if it exists; handle Rcpp module definitions in sourceCpp
* src/attributes.cpp: handle Rcpp module definitions in sourceCpp
* man/sourceCpp.Rd: documentation updates
2013-02-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: As deteced by Gong-Yi Liao,
we need to test for __LONG_LONG_MAX__ (defined in limits.h) and not
LONG_LONG_MAX (defined climits which we do not include)
2013-02-19 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : more debugging
* include/RcppCommon.h : move sexp_to_name here. Used in some debugging
* include/Rcpp/vector/MatrixRow.h : fix const version of operator[]
* include/Rcpp/vector/Vector.h : more debugging
* include/Rcpp/internal/wrap.h : more debugging. more dispatch.
2013-02-18 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/string_proxy.h : only declare operator+=
* include/Rcpp/String.h : define string_proxy::operator+=, now that
String is defined.
2013-02-15 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Merge existing values of build related
environment variables for sourceCpp
2013-02-12 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : More careful about RCPP_PROTECTION_STACK init
2013-02-08 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: re-enable as<std::string>(CharacterVector[int])
2013-02-07 Dirk Eddelbuettel <edd@debian.org>
* inst/THANKS: Adding Ben North for the help / bug report on iterators
2013-02-05 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/string_proxy.h : more wstring support
* include/Rcpp/XPtr.h : more debugging. removed delete_finalizer
which is no longer used
2013-02-05 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp : ensure that line comments invalidate block
comments when parsing for attributes
2013-02-04 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/r_type_traits.h : make the
r_type_pairstring_string_tag tag more general, handling wstring as
well as string
* include/Rcpp/internal/wrap.h : using make_charsexp, a more generic
version of charsexp_from_wstring.
* include/Rcpp/as.h : more support fot wstring
* include/Rcpp/internal/wrap.h : rework the support of wstring
* include/Rcpp/internal/export.h : added as_string_elt to rework the
support of wstring
* include/Rcpp/traits/char_type.h : new trait to help the wstring
support
* include/Rcpp/String.h : added some support for wstring
* include/Rcpp/vector/string_proxy.h : adapt to add wstring support
* unitTests/runit.wstring.R : unit tests for wstring support
* unitTests/cpp/wstring.cpp : unit tests for wstring support
2013-02-03 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/wrap_type_traits.h : support for wrap( wstring )
* include/Rcpp/internal/export.h : exporting wstring and containers
of wstring
* include/Rcpp/internal/wrap.h : support for wrap( wstring ) and
containers of wstring
* include/RcppCommon.h : definition of charsexp_from_wstring
* src/api.cpp: implementation of charsexp_from_wstring
2013-02-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/MatrixRow.h: correct operator++(int) and
operator--(int)
* include/Rcpp/internal/Proxy_Iterator.h: correct operators ++ and --
* include/Rcpp/sugar/Range.h: correct operators ++ and --
* include/Rcpp/sugar/tools/iterator.h: correct operators ++ and --
* include/Rcpp/vector/MatrixBase.h : correct operators ++ and --
* include/Rcpp/vector/VectorBase.h : correct operators ++ and --
* unitTests/cpp/Vector.cpp: new unit tests
* unitTests/runit.Vector.R: new unit tests
* src/api.cpp: comment dropTrailing0 which is not used anymore
* include/Rcpp/as.h: support for as<wstring>
* include/Rcpp/internal/export.h: more support for wstring
2013-01-15 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): Commented-out coerce_to_string() for real and
complex arguments as R-devel (as of today) dislikes use of non-API
functions Rf_EncodeComplex’, ‘Rf_EncodeReal’, ‘Rf_formatComplex’
* .Rbuildignore: Added inst/include/Rcpp/preprocessor and
sugar/functions/impl which are currently empty directories
* src/Timer.cpp (Rcpp): Avoid a 'long long' warning from a const
2014-01-15 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: don't add source directory as an include path for
sourceCpp; fix duplicate inclusion of Rcpp directory
* R/RcppLdpath.R: don't quote paths on windows
2014-01-14 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: bump version to 0.10.2.3
* R/Attributes.R: handle build paths with spaces on windows
* R/RcppLdpath.R: handle build paths with spaces on windows
* R/tools.R: handle build paths with spaces on windows
* src/Timer.cpp: fix OSX build (remove __MACH__ define check)
* R/: set svn eol-style native for source files
* src/: set svn eol-style native for source files
* inst/include/: set svn eol-style native for source files
2014-01-13 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: use plugin includes in cppFunction; stop with
explicit error on Windows then the Rcpl libPath or sourceCpp target
file contains spaces in it's path; add source file directory as an
include path for sourceCpp; special handling for sourceCpp include
paths on windows
* man/pluginsAttribute.Rd: clarify which fields of plugin are
used by sourceCpp
2014-01-12 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: bump version to 0.10.2.2
* NAMESPACE: add registerPlugin function
* R/Attributes.R: add registerPlugin function; add plugins parameter
to cppFunction
* man/cppFunction.Rd: documentation updates
* man/pluginsAttribute.Rd: documentation updates
* man/registerPlugin: documentation updates
2014-01-11 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: initial support for Rcpp::plugins attribute; add
built-in cpp11 plugin
* src/attributes.cpp: initial support for Rcpp::plugins attribute
2014-01-04 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: null check on pkginfo depends field
2013-01-02 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Applied refinement of previously applied
patch re *BSD builds, see http://bugs.debian.org/697032 for more
2012-12-30 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Added defined() tests for more *BSD family
members as the build also failed with the FreeBSD Kernel on Debian
2012-12-27 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Applied patch kindly supplied by Rainer
Hurling to support compilation on FreeBSD
2012-12-26 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: return invisibly from void functions
* src/attributes.cpp: return invisibly from void functions
2012-12-21 Romain Francois <romain@r-enthusiasts.com>
* NAMESPACE : remove C++ObjectS3 and C++ClassRepresentation classes
* R/00_classes.R: remove unused S4 classes
* src/internal.h: added Rcpp_PreserveObject, Rcpp_ReleaseObject and
Rcpp_ReplaceObject as replacements to R_ versions. The back end of the Rcpp_
version is a list (generic vector) instead of a linked list and
is faster
* src/Module.cpp: more debugging
* src/barrier.cpp: added get_Rcpp_protection_stack used in the new
stack system for protecting/releasing objects in Rcpp
* src/api.cpp: implemetation of Rcpp_PreserveObject, Rcpp_ReleaseObject
and Rcpp_ReplaceObject. RObject::setSEXP now uses the new system.
The RObject(SEXP) constructor now directly uses Rcpp_PreserveObject
More debugging for the RObject class
Changes in api classes to better use the new protection system
* unitTests/cpp/language.cpp: hosting unit test in sourceCpp form
* unitTests/runit.Language.R: update unit tests
* unitTests/runit.Module.client.package.R: remove code that has been
commented for ages
* include/Rcpp/DottedPair.h: better use of the RObject constructor
* include/Rcpp/vector/Vector.h: better use of the RObject constructor
* include/Rcpp/vector/Matrix.h: Using update_matrix instead of the virtual
update which has been removed.
* include/Rcpp/Module.h : more careful about types and constructors
* include/Rcpp/XPtr.h: more debugging
* include/Rcpp/macros/debug.h: more debugging macros
* include/Rcpp/module/class_Base.h: using classes instead of SEXP
* include/Rcpp/module/class.h: using classes instead of SEXP
* include/Rcpp/generated/Language__ctors.h : using update_language_object
instead of the virtual update which has been removed.
* include/Rcpp/api/meat/Vector.h : using update_vector instead of the
virtual update that has been removed, more debugging
* include/Rcpp/api/meat/Matrix.h : more debugging, using update_matrix
instead of the virtual update which has been removed
* include/Rcpp/Language.h : added update_language_object to
replace update which was virtual
* include/Rcpp/RObject.h : only keep declarations here
2012-12-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.2
* inst/NEWS.Rd: Release 0.10.2
* inst/include/Rcpp/config.h: Release 0.10.2
* debian/*: Similarly updated for new release to Debian
* inst/doc/unitTests/Rcpp-unitTests.R: added one more variable so
that unitTest vignette can be built against new sourceCpp based files
2012-12-15 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/exceptions.h: added exception_to_r_condition
* exceptions.cpp: new implementation of forward_exception_to_r that
directly calls stop rather than a function in Rcpp
* R/exceptions.R: remove code rendered useless
* src/Rcpp_init.c: less exports
* src/api.cpp: less going back to the R side
2012-12-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/clamp.h: clamp was pretty wrong
* unitTests/runit.sugar.R: new unit test for clamp
* unitTests/cpp/sugar.cpp: new unit test for clamp
2012-12-12 JJ Allaire <jj@rstudio.org>
* src/Attributes.R: always generate new dynlib file for rebuild=TRUE
* src/attributes.cpp: set svn:eol-style to native; always generate
new dynlib file for rebuild=TRUE; don't declare attributes constant
strings extern
2012-12-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Symbol.h: c_str becomes const and added
Symbol::operator==(const char* )
2012-12-11 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: always print output when shared library is not
created
* src/attributes.cpp: consolidate attributes into single file
* src/Attributes.cpp: consolidate attributes into single file
* src/AttributesGen.h: consolidate attributes into single file
* src/AttributesGen.cpp: consolidate attributes into single file
* src/AttributesParser.h: consolidate attributes into single file
* src/AttributesParser.cpp: consolidate attributes into single file
* src/AttributesTypes.h: consolidate attributes into single file
* src/AttributesUtil.h: consolidate attributes into single file
* inst/NEWS.Rd: additional notes on changes to attributes
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: update for changes to
attributes in 0.10.2
2012-12-11 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/String.h: missing operator +=( const StringProxy& )
* include/Rcpp/sugar/functions/strings/strings.h : string sugar functions
* include/Rcpp/sugar/functions/strings/collapse.h : collapse
function, implementing paste( . , collapse = "" )
* include/Rcpp/complex.h: operator==( Rcomplex, Rcomplex )
* src/api.cpp: implementation of operator==(Rcomplex, Rcomplex)
* include/Rcpp/vector/Vector.h: added const version of operator[](string)
2012-12-10 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: warn when depends attribute is not matched with
required entries in package description; add Rtools to PATH for
duration of sourceCpp
* src/Attributes.cpp: warn when depends attribute is not matched with
required entries in package description
* src/AttributesGen.cpp: prune unnecessary includes from RcppExports
* src/Timer.cpp: fix timer build issues on windows
2012-12-10 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp: import r_cast.cpp, coerce.cpp, RcppCommon.cpp
and debugging.cpp content
* include/platform/compiler.h: put here compiler specific deduction things
* src/internal.h: new header to host function declarations for
routines that are not exported into Rcpp.h
* src/Rcpp_init.c: export capabilities (renamed rcpp_capabilities)
* include/Rcpp/traits/traits.h: master file for all traits includes
* include/Rcpp/macros/macros.h: master file for all macros includes
* include/Rcpp/DataFrame.h: just have declaration for DataFrame
* include/Rcpp/Benchmark/Timer.h: move it into the Rcpp:: namespace
* include/Rcpp/cache.h: clean
* include/Rcpp/Reference.h : field was declared const and should not
be. added a ConstFieldProxy class for read only use
2012-12-09 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp: merge many .cpp files here to reduce compile time
* src/barrier.cpp: merge with cache.cpp to reduce compile time
* include/Rcpp/exceptions.h: drop forward_uncaught_exceptions_to_r
* src/exceptions.cpp: drop forward_uncaught_exceptions_to_r
* src/Date.cpp: merge all Date related files
2012-12-08 Romain Francois <romain@r-enthusiasts.com>
* src/Timer.cpp: implementation of Timer
* include/Rcpp/Benchmark/Timer.h: internal performance timer, based on
the code from the microbenchmark package
* include/Rcpp/api/meat/Matrix.h: move more in Matrix meat
* src/Date.cpp: import the code from posixt.cpp
2012-12-07 JJ Allaire <jj@rstudio.org>
* src/AttributesGen.cpp: use __ prefix for variables in generated
code; add RNGScope for attribute exported functions.
2012-12-07 Romain Francois <romain@r-enthusiasts.com>
* src/random.cpp: instantiations of random generators here
* include/Rcpp/stats/random/random.h: only have declarations of
random generators here. Rework the Generator template so that it
inherits RNGScope to provide automatic calls to GetRNGstate and
PutRNGstate
2012-12-06 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: revert DOS newlines; use new shared library name
for each rebuild in sourceCpp
* src/Attributes.cpp: revert DOS newlines; define RCPP_NO_SUGAR;
use new shared library name for each rebuild in sourceCpp
* src/AttributesGen.cpp: revert DOS newlines; convert 'try-error'
to exception for C++ interfaces
* src/AttributesGen.h: 'try-error' to exception for C++ interfaces
* src/AttributesParser.cpp: revert DOS newlines; define RCPP_NO_SUGAR
* src/RcppCommon.cpp: conversion from exeption to 'try-error'
* include/Rcpp/exceptions.h: conversion from exeption to 'try-error'
* include/Rcpp/preprocessor.h: add END_RCPP_RETURN_ERROR macro
to convert exceptions to 'try-error' objects
* include/Rcpp/iostream/Rstreambuf.h: revert DOS newlines
* DESCRIPTION: bump version to 0.10.1.5
2012-12-06 Dirk Eddelbuettel <edd@debian.org>
* src/exceptions.cpp: Added include of cstdlib to compile
2012-12-06 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/api/meat/Environment.h: meat for Environment
* src/exceptions.cpp: include config so that it knows that Rcpp can
demangle
* unitTests/runit.environments.R: using sourceCpp
* src/Environment.cpp: less includes
* src/Evaluator.cpp: less includes
2012-12-05 Romain Francois <romain@r-enthusiasts.com>
* src/cache.cpp: added get_cache
* include/Rcpp/hash/IndexHash.h: use a cached integer vector for the
hash table payload. The cache vector increases as needed.
* include/Rcpp/iostream/Rostream.h: make Rostream a template
* include/Rcpp/iostream/Rstreambuf.h: make Rstreambuf a template
* src/AttributesGen.cpp : include exceptions.h which was included
implicitely by Rostream.h before
* include/Rcpp/macros/debug.h : factor out the debugging macros
* include/Rcpp/api/meat/RObject.h : only declare templates that use
as and wrap. they are implemented later in the meat directory
* include/Rcpp/api/meat/meat.h: directory containing implementations
of templates using as and wrap
* include/RcppCommon.h: removed unused test_named
* src/RcppCommon.cpp: removed unused test_named
* src/r_cast.cpp: less includes
* src/posixt.cpp: less includes
2012-12-05 JJ Allaire <jj@rstudio.org>
* src/Attributes.R: direct hookup of external ptr in sourceCpp
* src/Attributes.cpp: use code generation for compileAttributes;
direct hookup of external ptr in sourceCpp
* src/AttributesGen.cpp: use code generation for compileAttributes;
direct hookup of external ptr in sourceCpp
* src/AttributesGen.h: use code generation for compileAttributes;
direct hookup of external ptr in sourceCpp
* src/Module.cpp: fix typo in GetCppCallable
* include/Rcpp/iostream/Rstreambuf.h: add cstdio include
* DESCRIPTION: bump version to 0.10.1.4
2012-12-04 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/hash/hash.h: Added include inttypes.h for intptr_t
2012-12-04 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: use simple code generation for sourceCpp
* src/Attributes.cpp: move generators into their own source file;
use simple code generation for sourceCpp
* src/AttributesGen.cpp: move generators into their own source file;
add C++ default argument parsing
* src/AttributesGen.h: move generators into their own source file
* src/AttributesParser.cpp: move generators into their own source file
* src/AttributesParser.h: move generators into their own source file
* src/AttributesTypes.h: new header for attributes types
* src/AttributesUtil.h: new header for attributes utilities
2012-12-04 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/hash/hash.h: new implementation of IndexHash, based on
Simon's fastmatch package
* include/Rcpp/sugar/functions/match.h: more efficient version of match
using new IndexHash
* include/Rcpp/sugar/functions/unique.h: more efficient version of
unique and in using IndexHash
* include/Rcpp/sugar/functions/duplicated.h: more efficient version
of duplicated and in using IndexHash
* include/Rcpp/sugar/functions/self_match.h: more efficient version
of self_match and in using IndexHash
* include/Rcpp/vector/Vector.h: more efficiently create Vector from
sugar expression that are already vectors, i.e. grab the SEXP
2012-12-03 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Applied patch kindly contributed by Yan
Zhou which provides a number of more refined definition for support
of both the C++11 standard and different compilers
* inst/include/Rcpp/internal/wrap.h: Idem
* inst/include/Rcpp/sugar/sugar.h: Idem
* inst/include/Rcpp/traits/comparator_type.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/unitTests/runit.wrap.R: Idem
* src/RcppCommon.cpp: Idem
* DESCRIPTION: Increase minor dev. version once more
2012-12-03 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: added function to check whether R development
tools are currently installed
2012-12-03 Romain Francois <romain@r-enthusiasts.com>
* src/Module.cpp: move BEGIN_RCPP/END_RCPP to Module__invoke
* src/coerce.cpp: added coerce_to_string implementations
* include/RcppCommon.h : nicer formatting for RCPP_DEBUG_*, now up to
RCPP_DEBUG_5
* include/Rcpp/vector/Vector.h: debugging
* include/Rcpp/String.h: The String class
* include/Rcpp/as.h: support for String
* include/Rcpp/vector/converter.h : support for String
* include/Rcpp/vector/string_proxy.h: support for String
* include/Rcpp/internal/wrap.h : support for String
* include/Rcpp/internal/r_coerce.h: support for String
* include/Rcpp/sugar/functions/sapply.h: debugging
* include/Rcpp/traits/wrap_type_traits.h: support for String
* include/Rcpp/traits/r_type_traits.h: support for String
* unitTests/cpp/String.cpp : unit tests for String
* unitTests/runit.String.R: unit test for String
* include/Rcpp/sugar/sets.h: support for String
2012-12-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Applied patch by Yan Zhou to add support
for clang++ with libc++, and Intel's icpc when std=c++11
2012-11-29 Romain Francois <romain@r-enthusiasts.com>
* unitTests/runit.DataFrame.R: using sourceCpp
* include/Rcpp/vector/Matrix.h: fix yet another const correctness issue
2012-11-27 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/iostream/Rostream.h: Check before deleting buf
2012-11-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.1
* inst/NEWS.Rd: Release 0.10.1
* inst/include/Rcpp/config.h: Release 0.10.1
* debian/*: Similarly updated for new release to Debian
* DESCRIPTION: Added paragraph about Rcpp attributes
* debian/control: Idem
2012-11-26 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Module.h: comment out the unused and unuseable
converter overload.
* include/Rcpp/sugar/functions/pmin.h: be consistent about how the
pmin_op helper struct is defined (always a struct).
* include/Rcpp/sugar/functions/pmax.h: same for pmax
* include/Rcpp/stats/random/rbeta.h: fixed constructor issue
* unitTests/runit.sugar.R: rework to use sourceCpp instead of inline
* include/Rcpp/vector/Vector.h: added ctor to deal with
SingleLogicalResult
* include/Rcpp/vector/Matrix.h: another const correctness fix
2012-11-25 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: use echo = TRUE for sourceCpp R code chunks
* src/Module.cpp: BEGIN_RCPP/END_RCPP in InternalFunction_invoke
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation
on correct semantics for signaling error conditions
2012-11-24 JJ Allaire <jj@rstudio.org>
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: expand discussion
of binary compatibility issues.
2012-11-23 Romain Francois <romain@r-enthusiasts.com>
* src/AttributesParser.cpp : attempt to fix build issue on r-forge
* include/Rcpp/DataFrame.h: nrows() method
* include/Rcpp/vector/RangeIndexer.h: now derives from VectorBase so
that we can use it in sugar.
2012-11-22 JJ Allaire <jj@rstudio.org>
* include/exceptions.h: new exception constructor / stop function
* src/exceptions.cpp: new exception constructor / stop function
* include/RcppCommon.h: new exception constructor / stop function
2012-11-22 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/iostream.h: use delete rdbuf() as recommended by
Martyn Plummer
* include/Rcpp/sugar/functions/self_match.h: self_match, giving a
functionality similar to match( x, unique(x) )
* src/coerce.cpp: added coercion to STRSXP
* include/Rcpp/internal/r_coerce.h : added r_coerce<.,STRPSXP>
* include/Rcpp/sugar/functions/table.h: sugar table
* include/Rcpp/sugar/functions/duplicated.h: sugar duplicated
2012-11-21 JJ Allaire <jj@rstudio.org>
* R/Rcpp.package.skeleton.R: add 'attributes' and 'cpp_files'
parameters to Rcpp.pacakge.skeleton
* inst/skeleton/rcpp_hello_world_attributes.cpp: version of hello world
that uses attributes
* man/Rcpp.package.skeleton.Rd: doc updates
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: doc updates
* DESCRIPTION: bump version to 0.10.0.3
2012-11-21 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/Misc/piBySimulation.r: New simple example using Rcpp
attributes in a 'compute pi by simulation in R and C++' exercise
* inst/examples/Misc/piSugar.cpp: Corresponding C++ variant
2012-11-21 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/iostream/Rostream.h: Fix warning given by -Wreorder
* include/Rcpp/sugar/functions/mapply/mapply_3.h: more flexible
* include/Rcpp/vector/Vector.h: More efficient assign_object, which
is used in the assignment operator
* include/Rcpp/sugar/functions/clamp.h: added clamp function
2012-11-20 JJ Allaire <jj@rstudio.org>
* src/Attributes.cpp: ensure dynlib cache state is always updated
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: elaborate further
on exporting C++ interfaces from packages
2012-11-20 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/iostream/Rostream.h: change order of initiaization in
ctor. was making solaris compiler unhappy
* include/Rcpp/stats/random/rnorm.h: not using function pointer
generators, as this generates (anachronisms) warning on
solaris. Also, this version is more efficient since there is no need
to dereference the function pointer
2012-11-19 JJ Allaire <jj@rstudio.org>
* src/AttributesParser.h: support for argument default values
* src/AttributesParser.cpp: support for argument default values
* src/Attributes.cpp: support for argument default values
* man/exportAttribute.Rd: documentation updates
* man/compileAttributes.Rd: documentation updates
* man/sourceCpp.Rd: documentation updates
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation
on changes to attributes in 0.10.1
2012-11-18 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: sourceCpp embedded R code; print warning if no
export attributes are found in source file
* src/AttributesParser.h: sourceCpp embedded R code
* src/AttributesParser.cpp: sourceCpp embedded R code; new scheme
for mixing user and generated C++ headers
* src/Attributes.cpp: sourceCpp embedded R code; include <Rcpp.h>
above generated modules
* man/sourceCpp.Rd: documentation updates
* man/interfacesAttribute.Rd: documentation updates
2012-11-18 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/converter.h: allow CharacterVector::create(
NA_STRING )
* include/Rcpp/sugar/functions/mapply/mapply_2.h: more cases in mapply
2012-11-17 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Change free function name
'range' to 'uniformRange' to protect it from getting clobbered by the
new sugar function range.
2012-11-17 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/wrap_end.h: have calls to wrap as late as
possible so that they "see" all (potentially user defined) overloads
of wrap.
* include/Rcpp/internal/SEXP_Iterator.h: directly iterate over SEXP.
const iterator for List and ExpressionVector
2012-11-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/Vector.h : added static methods Vector::is_na
and Vector::get_na
* include/Rcpp/sugar/functions/setdiff.h: initial version of setdiff
and intersect
* include/Rcpp/vector/MatrixColumn.h: dealing with const-ness
* include/Rcpp/vector/MatrixRow.h: dealing with const-ness
* include/Rcpp/vector/traits.h: dealing with const-ness
* include/Rcpp/vector/proxy.h: dealing with const-ness
* include/Rcpp/vector/MatrixBase.h: dealing with const-ness
* include/Rcpp/vector/Vector.h: dealing with const-ness
2012-11-15 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/logical/SingleLogicalResult.h : apply patch
suggested by Karl Millar
* R/Attributes.R: new R function areMacrosDefined
* man/evalCpp.Rd: documentation update
* include/Rcpp/sugar/functions/match.h : generic version of match
* include/Rcpp/sugar/tools/iterator.h: help iterator that helps
writing match in terms of stl algorithms.
* include/Rcpp/vector/Vector.h: class no_init that can be used to create
an uninitialized vector. e.g. IntegerVector out = no_init(10) ;
* include/Rcpp/sugar/functions/unique.h: sugar version of %in% using
unordered_set
* include/Rcpp/sugar/functions/minmax.h: min, max, and range
2012-11-14 JJ Allaire <jj@rstudio.org>
* src/Attributes.cpp: create sourceCpp context list using single
statement
2012-11-14 Dirk Eddelbuettel <edd@debian.org>
* inst/announce/ANNOUNCE-0.10.0.txt: Fix typo spotted by Martin
Morgan in announcement mail
2012-11-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/wrap.h: fix for wrap( std::complex<double> )
* include/Rcpp/module/class_Base.h: factored out from Module.h
* R/00_classes.R: the C++Class gains the parents slot to hold information
about parent classes of the class
* src/Module.cpp : The CppClass constructor fills the parents slot of C++Class
2012-11-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.0
* inst/NEWS: Release 0.10.0
* inst/include/Rcpp/config.h: Release 0.10.0
* debian/*: Similarly updated for new release to Debian
2012-11-13 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: as<enum>
* include/Rcpp/internal/wrap.h : wrap( enum )
* include/Rcpp/traits/wrap_type_traits.h: trait to help wrap( enum )
* include/Rcpp/traits/r_type_traits.h: trait to help as<enum>
* include/Rcpp/module/macros.h: macros RCPP_EXPOSED_ENUM to help as/wrap
of enums
2012-11-12 Dirk Eddelbuettel <edd@debian.org>
* inst/announce/ANNOUNCE-0.10.0.txt: Announcement draft
2012-11-12 JJ Allaire <jj@rstudio.org>
* inst/doc/Rcpp-attributes/*: New vignette
2012-11-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/Vector.h : adding const_iterator and associated
begin() and end() methods
* include/Rcpp/vector/Matrix.h : idem
2012-11-11 JJ Allaire <jj@rstudio.org>
* src/Attributes.cpp: fully qualify _ in generated code
2012-11-11 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/iostream/Rstreambuf.h: implementing sync() so that
flush works
* src/Rstreambuf.cpp: implementation
* src/Rostream.cpp : added Rcerr that forwards to REprintf
2012-11-10 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: ensure function definitions are never stale
* src/Attributes.cpp: add optional hook for inclusion of package types
* examples/Attributes/Export.cpp: example use of Rcpp::export
* examples/Attributes/Depends.cpp: example use of Rcpp::depends
* examples/Attributes/sourceCpp.R: example use of sourceCpp()
* examples/Attributes/cppFunction.R: example use of cppFunction()
2012-11-09 Romain Francois <romain@r-enthusiasts.com>
* R/Attributes.R: Passing verbose from evalCpp to cppFunction
* include/RcppCommon.h: include <limits> instead of <limits.h>
* include/Rcpp/vector/CharacterVectorExtractionIterator.h: iterator
class to quickly iterate over the content of a CharacterVector. The
content that is iterated over is to be considered read-only.
2012-11-08 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: special sourceCpp handling for file within the src
directory of a package; use .h as suffix for generated headers
* src/Attributes.cpp: add information on arguments to Rcpp module;
use inline rather than static linkage for generated C++ shims;
generated headers: add header guard and use .h suffix;
* man/cppFunction.Rd: update documentation
* man/sourceCpp.Rd: update documentation
* man/evalCpp.Rd: update documentation
* man/exportAttribute.Rd: update documentation
* man/interfacesAttribute.Rd: update documentation
2012-11-08 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: Module functions taking no arguments don't get the ellipsis
anymore in their formals
* src/Module.cpp: passing up the number of arguments of the function
* R/Attributes.R: added evalCpp
* man/evalCpp.Rd: documentation for evalCpp
2012-11-07 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: derive depends from package LinkingTo; change
sourceCpp plugin parameter to depends and respect Rcpp::interfaces
generated include files
* src/Attributes.cpp: validate exported C++ functions before calling;
use static rather than inline for stubs to avoid call-site bloat;
improved error message when package hpp already exists; import Rcpp
namespace into package shim namespace
* src/AttributesParser.h: add signature and isHidden methods
* src/AttributesParser.cpp: add signature and isHidden methods
* src/exceptions.cpp: add function_not_exported exception
* include/Rcpp/exceptions.h: add function_not_exported exception
* man/cppFunction.Rd: update documentation
* man/sourceCpp.Rd: update documentation
* man/compileAttributes.Rd: update documentation
* man/dependsAttribute.Rd: update documentation
* man/exportAttribute.Rd: update documentation
* man/interfacesAttribute.Rd: update documentation
2012-11-07 Romain Francois <romain@r-enthusiasts.com>
* src/Language.cpp: Language gains a fast_eval method, without the whole try/catch
* src/barrier.cpp: function char_nocheck to avoid the check in using CHAR
* include/Rcpp/sugar/functions/unique.h: sugar unique and sort_unique
using unordered_set (perhaps we could use it from c++11).
2012-11-06 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: tweak whitespace in verbose mode
* src/AttributesParser.h: support for interfaces attribute
* src/AttributesParser.cpp: support for interfaces attribute
* src/Attributes.cpp: support for interfaces attribute; refactor
code generators; use single module for exports; return list of
updated files from compileAttributes
* src/Module.cpp: add package parameter to GetCppCallable
* include/Rcpp/Module.h: add package parameter to GetCppCallable
* man/compileAttributes.Rd: documentation updates
2012-11-05 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Module.h: added class CppInheritedProperty to handle
inherited properties
* include/Rcpp/module/class.h: implemented inheritance of properties
2012-11-05 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: use modules for attribute code generation
* src/Attributes.cpp: use modules for attribute code generation
* src/AttributesParser.h: use modules for attribute code generation
* src/AttributesParser.cpp: use modules for attribute code generation
2012-11-04 Dirk Eddelbuettel <edd@debian.org>
* tests/doRUnit.R: In "development releases" (such as 0.9.15.5) we
now default to setting the required CRAN-test-workaround-kludge
"RunAllRcppTests" to "yes" as a default -- but not for actual
releases (with versions such as 0.9.15)
2012-11-04 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/CppFunction.h: fixed module bug (virtual function
was not defined)
2012-11-03 JJ Allaire <jj@rstudio.org>
* Use CLINK_CPPFLAGS rather than PKG_CXXFLAGS for LinkingTo
include directories (identical behavior to inline)
2012-11-03 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/which_min.h : sugar which.min
* include/Rcpp/sugar/functions/which_max.h : sugar which.max
* include/Rcpp/module/Module.h : added get_function_ptr which returns
the pointer of the target function as a DL_FUNC
2012-11-02 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.rmath.R: More tests added
2012-11-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/CppFunction.h : factored CppFunction in its own
file and added the get_function_ptr virtual method. added
documentation
* include/Rcpp/module/Module_generated_CppFunction.h: implementation
of get_function_ptr in classes that derive CppFunction
* src/Module.cpp: s/get_function_ptr/get_function/
* include/Rcpp/module/Module.h : factored out and documented.
s/get_function_ptr/get_function/
2012-11-01 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.rmath.R: New unit test file added
2012-11-01 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: change 'envir' param to 'env' for consistency with
the interface of loadModule
* man/sourceCpp.Rd: documentation updates
* man/cppFunction.Rd: documentation updates
2012-11-01 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/logical/or.h : implementing x | y where x and y
are Logical sugar expressions
* include/Rcpp/sugar/logical/and.h : implementing x & y where x and y
are Logical sugar expressions
2012-10-31 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: add cppFunction for inline-style definitions;
change 'local' param to (more clear and explicit) 'envir' param;
change 'show.output' param to 'showOutput'; add parameter to
onBuild hook to indicate if the source was from a 'code' parameter
* src/Attributes.cpp: factored parser into it's own file
* src/AttributesParser.h: attributes parser header
* src/AttributesParser.cpp: attributes parser implementation
* man/sourceCpp.Rd: documentation updates
* man/compileAttributes.Rd: documentation updates
* man/cppFunction.Rd: documentation for cppFunction
* NAMESPACE: export for cppFunction
2012-10-31 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/class.h: factored out of Module.h which started to
be too big. class_ gains a derives<Parent>( "Parent" ) for so that the
class inherits method that were exposed by its parent.
* include/Rcpp/Module.h: template class CppInheritedMethod for
implementing inherited method
* src/Module.cpp: get_class_pointer implementation
2012-10-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rmath.h: Finalised adding Rmath functions
2012-10-30 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: new functions sourceCpp and compileAttributes that
use C++11 style attributes (embedded in comments) to perform
automatic generation of boilerplate marshaling code
* src/Attributes.cpp: support functions for attribute handling
* include/Rcpp/exceptions.h: file io exception classes
* man/sourceCpp.Rd: documentation for sourceCpp
* man/compileAttributes.Rd: documentation for compileAttributes
* man/exportAttriute.Rd: documentation for export attribute
* man/dependsAttribute.Rd: documentation for depends attribute
* NAMESPACE: exports for sourceCpp and compileAttributes
2012-10-30 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: new bare_as to simplify uses of as
* include/Rcpp/module/Module_generated_Factory.h: using bare_as
* R/Module.R: promoting the show method
* src/Attributes.cpp: remove g++ warning (int != size_t)
2012-10-29 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rmath.h: More Rmath functions
2012-10-29 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: Taking care of a check warning
* include/Rcpp/module/macros.h: adding RCPP_EXPOSED_CLASS_NODECL
* include/Rcpp/Module.h: introducing converter to facilitate
conversion between classes.
* R/Module.R: Methods registered internally with converter will
generate the appropriate "as" S4 method.
2012-10-28 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Rmath.h: Beginnings of a namespave 'R' around
Rmath functions so that Rcpp users can call the (scalar) functions
R::pnorm() which helps with adapting or integrating programs writting
outside of Rcpp
2012-10-27 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/module/macros.h: Add forward declaration of class
to macro 'RCPP_EXPOSED_CLASS'
2012-10-25 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/wrap.h: wrapping module object with the help
of the RCPP_EXPOSED_CLASS
* include/Rcpp/module/macros.h: improving the macros so that wrap and
as are covered
* include/Rcpp/traits/wrap_type_traits.h: wrapping module objects
* include/Rcpp/module/Module_generated_class_factory.h : factories
are alternatives to constructors. For now, we can expose as factories
any free function that returns a pointer to the target class
* include/Rcpp/module/Module_generated_Factory.h : factories
* include/Rcpp/Module.h: exposing factories
2012-10-24 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_pointer.h: traits to identify if a type is a
pointer
* include/Rcpp/traits/un_pointer.h: traits to remove a pointer
* include/Rcpp/module/Module_generated_get_return_type.h : handle
pointer return types
* include/Rcpp/config.h: define RCPP_HAS_DEMANGLING for MAC OS <=
10.7 (up to Lion)
* include/Rcpp/module/macros.h: new file that contains macro to help
with modules
* include/Rcpp/traits/r_type_traits.h : new tag to allow as<T> where
T is some class exposed in a module
* include/Rcpp/as.h : implementation of as<T> in that case
2012-10-23 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/wrap.h: new function module_wrap used
internally by modules
* include/Rcpp/module/Module_generated_CppMethod.h: using module_wrap
and simplified the code (removing 35% of the generated code now
rendered useless)
* include/Rcpp/module/Module_generated_PointerCppMethod.h: using
module_wrap and simplified the code
* include/Rcpp/traits/module_wrap_traits.h : new file. helping
implementation of module_wrap
* R/00_classes.R: C++OverloadedMethods gets the field "nargs" to
capture the number of arguments
* R/01_show.R: cleanup
* R/Module.R: handle the case where a method has no argument. In that
case, the ellipsis does not end up in the formals
* include/Rcpp/Module.h: exposing nargs in C++OverloadedMethods
2012-10-22 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: support for as<> for module objects
* include/Rcpp/Module.h: idem
* include/Rcpp/traits/r_type_traits.h: idem
* src/Module.cpp: idem
2012-10-21 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/wrap_type_traits.h: support for wrapping module objects
* include/Rcpp/internal/wrap.h : idem
* include/Rcpp/Module.h: idem
2012-10-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.15
* inst/NEWS: Release 0.9.15
* inst/include/Rcpp/config.h: Release 0.9.15
* debian/*: Similarly updated for new release to Debian
2012-10-08 Dirk Eddelbuettel <edd@debian.org>
* src/exceptions.cpp: Additional PROTECT for parsing exception
messages before returning them to R, from a suggestion by Ben North
2012-10-07 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Date.R: Added a few more tests
2012-10-06 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Date.h: Dates are now represented as doubles,
also added accessor functions for double and retained int
* src/Date.cpp: Convert from SEXP to double, added constructor from
double and added checks for 'finite' representation before converting
to 'struct tm' adding support for NA, NaN and Inf
* src/DateVector.cpp: Instantiate Date types as double
* src/Datetime.cpp: Also added support for NA, NaN and Inf values
* inst/unitTests/runit.Date.R: A few additional tests
2012-10-05 Dirk Eddelbuettel <edd@debian.org>
* src/exceptions.cpp: Applied patch by Martin Morgan which untangles
the clang includes driven by version, and uses direct tests for
presence of the header file
* inst/include/RcppCommon.h: No longer define CLANG version meta
variables as we can directly include the relevant header
2012-09-30 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.14
* inst/NEWS: Release 0.9.14
* inst/include/Rcpp/config.h: Release 0.9.14
* debian/*: Similarly updated for new release to Debian
2012-09-08 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.sugarOps.R: More sugar Ops unit tests
2012-09-07 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.sugarOps.R: (Incomplete) beginnings of new
unit test file for sugar operations on vectors and matrices
2012-09-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/sign.h: Sign gets a SEXP operator
2012-09-03 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/math.h: Added new sugar
function trunc(), round() and signif()
* inst/unitTests/runit.sugar.R: Added unit tests for these
2012-09-01 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Makefile: The 'all' target is now empty to prevent
autobuilders such as R-Forge from falling over
2012-07-23 Dirk Eddelbuettel <edd@debian.org>
* R/bib.R: Trim the trailing ".bib" from the generated bibtex
filename as Windows adds one anyway leading to two and an error
2012-07-21 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Module.h (Rcpp): Corrected typo / incomplete
reference in finalizer use
2012-07-06 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h: In order to not attempt to include
exception_defines.h if on OS X (as the clang runtime may not have
predictable access to g++ headers providing these), do not define
RCPP_HAS_DEMANGLING which is used in src/exceptions.cpp
2012-06-28 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.13
* inst/NEWS: Release 0.9.13
* inst/include/Rcpp/config.h: Release 0.9.13
* debian/*: Similarly updated for new release to Debian
* tests/doRUnit.R: Updated, added (by default commented-out) setting
to enforce all tests to run, added standard copyright headers noting
heritage off work by Martin Maechler and Gregor Gorjanc
* inst/unitTests/runTests.R: Only check environment variable to run
all tests if it is not already set (to cooperate with doRUnit.R)
2012-06-27 Dirk Eddelbuettel <edd@debian.org>
* src/Environment.cpp: Default ctor initializes its RObject with
R_GlobalEnv; SEXP constructor does not use a default arg as it tests
* inst/include/Rcpp/Environment.h: Corresponding change
* inst/include/RcppCommon.h: #define(s) for before/after clang++ 3.0
* src/exceptions.cpp: Added support for clang++ (>= 3.0) which (just
like g++ 4.6 or later) needs bits/exceptions_defines
* inst/unitTests/runit.modref.R: re-activated
* inst/unitTests/runit.Module.client.package.R: re-activated core
* inst/unitTests/runit.modref.R: Run only if RunAllCppTests var set
* inst/unitTests/runit.Module.client.package.R: Idem
* inst/unitTests/runit.support.R: Idem
* inst/unitTests/runit.rcout.R: Idem
* inst/unitTests/runit.environments.R: Idem
* inst/unitTests/runit.Language.R: Idem
* inst/unitTests/runit.Function.R: Idem
2012-06-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.12
* inst/NEWS: Release 0.9.12
* inst/include/Rcpp/config.h: Release 0.9.12
* debian/*: Similarly updated for new release to Debian
* src/Environment.cpp: Remove empty constructor which is redundant
since fix in rev3592 with default SEXP value of R_GlobalEnv
* inst/include/Rcpp/Environment.h: Idem
* inst/unitTests/runTests.R (allTests): Command-line flag --allTests
sets an environment variable indicating that all tests should run
* inst/unitTests/runit.Module.R: Run only if RunAllCppTests var set
* inst/unitTests/runit.Module.client.package.R: Idem
* inst/unitTests/runit.client.package.R: Idem
* inst/unitTests/runit.XPtr.R: Idem
* inst/unitTests/runit.macros.R: Idem
* inst/doc/unitTests/Rcpp-unitTests.R: Ensure Rcpp-unitTests
vignette is built with RunAllCppTests flag set
* cleanup: Also clean in inst/unitTests/testRcppClass/src
* DESCRIPTION: Set Maintainer: to edd@debian.org as CRAN prefers to
receive upload email from the same address the Maintainer field
2012-06-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.11
* inst/NEWS: Release 0.9.11
* inst/include/Rcpp/config.h: Release 0.9.11
* debian/*: Similarly updated for new release to Debian
* DESCRIPTION: Increased Depends to R (>= 2.15.1)
2012-06-21 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Updated to reflect use
under R 2.15.1
* inst/skeleton/zzz.R: Idem
2012-06-20 Dirk Eddelbuettel <edd@debian.org>
* R/loadRcppModules.R: Use lib.loc= argument on packageDescription()
as suggested by Kurt, and fetch libname from enclosing environment
* DESCRIPTION: Typo and grammar fixes with thanks to Kurt and Doug
2012-05-25 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/zzz.R: Added new 'evalqOnLoad()' call for R-devel,
currently commented out
2012-05-24 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/Num.cpp: Added to Rcpp.package.skeleton(); will be
added when module=TRUE in call
* inst/skeleton/stdVector.cpp: Idem
* inst/unitTests/testRcppModule/src/rcpp_module.cpp: added more
comments, added copyright header, corrected output of example
functions by not escaping "backslash-n" twice
* inst/unitTests/testRcppModule/src/stdVector.cpp: added some
comments, added copyright header
* inst/unitTests/testRcppModule/src/Num.cpp: Idem
* inst/unitTests/runit.Module.client.package.R: Added four simple
tests for Rcpp Modules
* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Some extensions and
clarifications added
2012-05-13 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/iostream/Rostream.h: Added Rstreambuf.h include
as per rcpp-devel discussion with Alexey Stukalov
2012-05-09 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Expanded R CMD SHLIB discussion
after suggested changes from SC8ren HC8jsgaard; also expanded compiler
section a little mentioning clang/clang++ and icc.
2012-05-02 Dirk Eddelbuettel <edd@debian.org>
* src/Environment.cpp: Move one default argument to Environment.h
* src/Function.cpp: Move one default argument to Function.h
* inst/THANKS: Thanks to Anirban Mukherjee for these two changes
2012-04-28 John M Chambers <jmc@r-project.org>
* R/RcppClass.R: use globalVariables() from R 2.15.1 (with exists()
test to no break older versions) to declare C++ fields and methods
* inst/unitTests/testRcppClass/R/load.R: test use
2012-04-22 Dirk Eddelbuettel <edd@debian.org>
* src/debugging.cpp: Expanded 'if defined()' test to included Cygwin
thanks to a patch submitted by Dario Buttari
2012-04-19 Dirk Eddelbuettel <edd@debian.org>
* src/Evaluator.cpp: errorOccuredSym never used and commented out
2012-04-18 John M Chambers <jmc@r-project.org>
* R/RcppClass.R: New version of setRcppClass, allowing R classes to
extend C++ classes used via Rcpp modules
* R/loadModule.R: New function, replaces uses of .onLoad()
* man/*: Added/updated corresponding documentation
2012-04-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: bug fix. reported on Rcpp-devel
http://comments.gmane.org/gmane.comp.lang.r.rcpp/3292
2012-03-29 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Vector.R: unit test for containsElementNamed
2012-03-29 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: Vector<> gains the
containsElementNamed method to test for presence of named element
2012-03-24 Romain Francois <romain@r-enthusiasts.com>
* src/cache.cpp: Using a single Rcpp_cache, stored in the Rcpp
namespace
* src/Evaluator.cpp: Using tryCatch instead of rcpp_tryCatch, no more
using .Internal; but still define rcpp_TryCatch for backwards compat.
2012-03-23 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added short subsection on how to
test a package from the command-line, expanding a patch by Glenn
Lawyer in response to an initial rcpp-devel post by Dirk
2012-02-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.10
* inst/NEWS: Release 0.9.10
* inst/include/Rcpp/config.h: Release 0.9.10
* debian/*: Similarly updated for new release to Debian
2012-02-16 Douglas Bates <bates@stat.wisc.edu>
* src/Evaluator.cpp: PROTECT the expr argument to Evaluator::Run.
Reorganize code.
2011-12-15 Douglas Bates <bates@stat.wisc.edu>
* src/Evaluator.cpp: Avoid Rf_install inside an R API call
2012-02-12 Dirk Eddelbuettel <edd@debian.org>
* R/excections.R: Revert to previous use with .Internal
* R/tools.R: Add branch for R 2.15.0 which can use
assingInMyNamespace; else still use unlockBinding
2012-02-12 Dirk Eddelbuettel <edd@debian.org>
* Rcpp-introduction.Rnw: Small wording fix thanks to Pat Burns
2012-02-06 Romain Francois <romain@r-enthusiasts.com>
* R/exceptions.R: one less .Internal call
* src/Evaluator.cpp: one less .Internal call
2012-02-03 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Extractor.h: remove use of Fast in Extractor
* inst/include/Rcpp/sugar/functions/mapply/mapply.h: new sugar
function, similar to sapply, but with 2 or 3 (for now) input vectors
2012-02-01 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/iostream/Rostream.h: no need to include Rcpp.h
here
* inst/include/RcppCommon.h: include Rostream.h here, instead of ...
* inst/include/Rcpp.h: ... here (needed for RcppArmadillo)
2012-01-29 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/diff.h: custom implementation of diff for the
REALSXP case, skipping unnecessary NA tests
2012-01-24 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New FAQ entry on passing a single
option to g++, based on a rcpp-devel question by Whit Armstrong.
2012-01-15 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: fixing IntegerVector(int,int),
reported by Gregor Kastner on rcpp-devel
* inst/unitTests/runit.Vector.R: regression test for the above
2011-12-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.9
* inst/NEWS: Release 0.9.9
* inst/include/Rcpp/config.h: Release 0.9.9
* debian/*: Similarly updated for new release to Debian
2011-12-24 Dirk Eddelbuettel <edd@debian.org>
* Reverting the 'int64' changes listed below (during the period from
Oct-31 to Nov-07) which adversely affect packages using Rcpp
We will re-apply the 'int64' changes in a way which should
cooperate more easily with 'long' and 'unsigned long'
This covered svn revisions 3264 to 3308.
* DESCRIPTION: Remove (for now) Depends: on int64
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Ditto for int64_t example
* inst/unitTests/runit.Module.client.package.R: On Windows,
deactivate 'test.Module.package'
* inst/unitTests/runit.client.package.R: On Windows, deactivate
'test.client.packageA' test
2011-12-23 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runTests.R: unit tests output 'fallback' directory
changed to '..' and files are now in top-level of $pkg.Rcheck/
2011-12-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.8
* inst/NEWS: Release 0.9.8
* inst/include/Rcpp/config.h: Release 0.9.8
* debian/*: Similarly updated for new release to Debian
2011-12-20 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/zzz.R (.onLoad): correct order of arguments
2011-12-18 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/FastLM/lmArmadillo.R: Link with -llapack when using
external Armadillo library (but RcppArmadillo makes all this easier)
2011-12-18 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/*: Fixes to various vignettes for new version of highlight
2011-12-16 Douglas Bates <bates@stat.wisc.edu>
* inst/unitTests/runit.stats.R: Correct cut+paste typo in qbinom
* inst/include/Rcpp/XPtr.h: Check for XPtr type constructing from SEXP
2011-12-12 John M Chambers <jmc@r-project.org>
* R/RcppClass.R: Added setRcppClass for classes extending C++ classes
* man/setRcppClass.Rd: Added corresponding documentation
* NAMESPACE: Added corresponding exports entry
2011-11-13 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/f.h: Correct call to not require ncp parameter
* inst/unitTests/runit.stats.R: Add unit tests for pf(), pnf(),
pchisq(), pnchisq() and pcauchy()
2011-11-07 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/wrap.h: implemented wrap_dispatch_importer__impl
for int64 and uint64, needed for RProtoBuf
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Add int64_t usage example
2011-11-06 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/modules/Module_generated_Pointer_method.h: added code to deal
with const free "methods", e.g. OUT foo( const Class*, ...) in modules
Before const_method could only deal with actual const methods of the class,
e.g. OUT Class::foo( ... ) const
* include/Rcpp/modules/Module_generated_Pointer_CppMethod.h: idem
* include/Rcpp/as.h: deal with as<int64_t> and as<uint64_t>
* include/Rcpp/internal/export.h : deal with as< some_container<int64_t> >
and as< some_container<uint64_t> > where some_container is some container
that has iterators, e.g. std::vector
2011-10-31 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/int64/int64_lite.h: handling int64_t and uint64_t types,
based on the int64 package
* include/Rcpp/internal/wrap.h: new dispatch layers to handle int64_t,
uint64_t and containers of these
* DESCRIPTION: new depending on int64
2011-10-28 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/iostream/Rostream.h (Rcpp): Added tentative patch
for operator<< also contributed by Jelmer Ypma -- but kept commented
out for now
2011-10-25 Dirk Eddelbuettel <edd@debian.org>
* src/Rostream.cpp: Patch by Jelmer Ypma which adds a new device
'Rcout' not unlike std::cout but uses Rprintf internally
* src/Rstreambuf.cpp: Idem
* include/include/Rcpp/iostream/Rostream.h: Idem
* include/include/Rcpp/iostream/Rstreambuf.h: Idem
* include/include/Rcpp.h: Include new headers
* inst/unitTests/runit.rcout.R: Added simple unit test
2011-09-29 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.7
* inst/NEWS: Release 0.9.7
* inst/include/Rcpp/config.h: Release 0.9.7
* debian/*: Similarly updated for new release to Debian
* inst/include/Rcpp/sugar/block/SugarBlock_1.h: Apply second path by
Martyn Plummer to permit compilation on Solaris
* inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem
* inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem
* inst/include/Rcpp/sugar/matrix/outer.h: Idem
* inst/include/Rcpp/vector/LazyVector.h: Idem
* inst/unitTests/testRcppModule/src/stdVector.cpp: Idem
2011-09-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Extractor.h: Apply patch by Martyn Plummer to
help with compilation on Solaris
* inst/include/Rcpp/sugar/block/Vectorized_Math.h: Idem
* inst/include/Rcpp/sugar/functions/math.h: Idem
* inst/include/Rcpp/sugar/block/SugarBlock_2.h: Also applied path by
Martyn Plummer, but with additional #ifdef layer for SunPro Compiler
* inst/include/Rcpp/vector/LazyVector.h: Idem
2011-08-26 Douglas Bates <bates@stat.wisc.edu>
* inst/examples/OpenMP/OpenMPandInline.r: Added another variant
using import_transform for the Rcpp Vector class.
2011-08-26 Dirk Eddelbuettel <edd@debian.org>
* inst/include/*h: Removed exception specifiers in function headers
* src/*cpp: Corresponding changes in implementations
* inst/examples/OpenMP/OpenMPandInline.r: Added two std::transform()
variants as suggested in rcpp-devel email by Davor Cubranic
2011-08-25 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/OpenMP/OpenMPandInline.r: Added new example for
OpenMP via inline, comparing simple loops with plain Rcpp and sugar
2011-08-23 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/Misc/ifelseLooped.r: Added new example based on blog
post today, and a StackOverflow ansers---and which shows how Rcpp can
accelerate loops that may be difficult to vectorise due to dependencies
* inst/examples/Misc/: New directory for small examples regrouping
the new example as well as the fibonacci example added in Rcpp 0.9.6
2011-08-17 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added a short section including an
example on the issue raised by Murray wherein 64 bit 'long' integer
types can be cast with loss to numeric types without error or warning.
2011-07-28 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Function.R: new unit test for accessing a
non-exported function from a namespace
2011-07-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.6
* inst/NEWS: Release 0.9.6
* inst/include/Rcpp/config.h: Release 0.9.6
* debian/*: Similarly updated for new release to Debian
2011-07-24 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/Fibonacci/fib.r: New example showing how to compute a
Fibonacci sequence using Rcpp and compare it to R and byte-compiled R
2011-07-14 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/RcppGibbs/RcppGibbs.R: New example RcppGibbs,
extending Sanjog Misra's Rcpp illustration of Darren Wilkinson's
comparison of MCMC Gibbs Sampler implementations;
* inst/examples/RcppGibbs/timeRNGs.R: added short timing on Normal
and Gaussian RNG draws between Rcpp and GSL as R's rgamma() is seen
to be significantly slower
2011-07-13 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/is_eigen_base.h: helper traits to
facilitate implementation of the RcppEigen package. The is_eigen_base
traits identifies if a class derives from EigenBase using SFINAE
* inst/include/Rcpp/internal/wrap.h: new layer of dispatch to help
RcppEigen
2011-07-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/XPtr.h: The XPtr class template gains a second
template parameter allowing the developper to supply his/her own
finalizer instead of the default one that calls delete
2011-07-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.5
* inst/NEWS: Release 0.9.5
* inst/include/Rcpp/config.h: Release 0.9.5
* debian/*: Similarly updated for new release to Debian
2011-07-02 Dirk Eddelbuettel <edd@debian.org>
* cleanup: Also clean in examples/OpenMP/
2011-06-09 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/zzz.R (.onLoad): Force load of methods package before
calling loadRcppModules() to make 'R CMD check' happier
2011-06-06 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h : init becomes protected to fix the bug
reported by Doug Bates on Rcpp-devel.
2011-05-31 Romain Francois <romain@r-enthusiasts.com>
* R/loadRcppModules.R: New argument "direct" in loadRcppModules
* R/tools.R: New unexported function forceAssignInNamespace
2011-05-29 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/random/rlnorm.h: Repaired accidental header
guard from 'norm' to 'lnorm' so that the file really gets included,
make several calls to standard library 'exp()' explicit as '::exp()'
and fixed a cut-and-paste typo
2011-05-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/internal/wrap.h: For arguments of type const char *,
wrap now checks for NULL arguments before calling Rf_mkString()
* unitTests/runit.wrap.R: Added unit test for this
2011-05-14 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Corrected an error in STL
example and added two more STL examples
2011-04-27 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/OpenMP/piWithInterrupts.cpp: Beginnings of new
contributed example on OpenMP as well as user interrupt handling
2011-04-26 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/mean.h: new sugar function: mean
* inst/include/Rcpp/sugar/functions/var.h: new sugar function: var
* inst/include/Rcpp/sugar/functions/sd.h: new sugar function: sd
2011-04-19 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example setting row and column
names for matrices
2011-04-16 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example using Rcpp.plugin.maker
2011-04-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.4
* inst/NEWS: Release 0.9.4
* inst/include/Rcpp/config.h: Release 0.9.4
* debian/*: Similarly updated for new release to Debian
2011-04-12 Romain Francois <romain@r-enthusiasts.com>
* inst/unitTests/testRcppModules/src/stdVector.cpp: compiler
disambiguation
* src/r_cast.cpp: use a callback to R's "as.character" instead of
calling Rf_coerceVector, which did not work as expected for factors
2011-04-11 Romain Francois <romain@r-enthusiasts.com>
* R/loadRcppModules.R: New R function "loadRcppModules" that looks
for the "RcppModules" field in the DESCRIPTION file, loads and
populates the modules into the package NAMESPACE
* man/loadRcppModules.Rd: documentation
* inst/unitTests/testRcppModule: using loadRcppModules
2011-04-11 Dirk Eddelbuettel <edd@debian.org>
* inst/man/Rcpp-package.Rd: Added JSS reference in \references{}
* inst/doc/*: Added JSS reference to vignettes
2011-04-09 Dirk Eddelbuettel <edd@debian.org>
* inst/CITATION: Finalized using JSS data on volume, number, pages
2011-04-07 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Add patch by Christian
pointing out need for Rcpp:: namespace qualifier, and hint for Rcpp-FAQ
2011-04-05 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added OS X entry for min. sufficient
versions of OS X itself and Xode based on Simon's post to rcpp-devel
2011-04-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.3
* inst/NEWS: Release 0.9.3
* inst/include/Rcpp/config.h: Release 0.9.3
* debian/*: Similarly updated for new release to Debian
2011-04-05 Romain Francois <romain@r-enthusiasts.com>
* R/01_show.R: set of cosmetic changes to the show method for C++
classes
* inst/include/Rcpp/Module.h: fixed module bug by not using
singletons of the class_ template
2011-04-03 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-introduction.Rnw: Updated to forthcoming JSS paper
* inst/CITATION: Added citation() support using forthcoming paper
* inst/doc/Makefile: Trying make parallel builds possible by not calling
'clean' in the 'all' target; thanks to Brian Ripley for the heads-up
2011-04-02 Dirk Eddelbuettel <edd@debian.org>
* cleanup: Also clean in inst/unitTest/testRcppModule/src/
* inst/include/RcppCommon.h: Define new variable for g++ < 4.6.0
* src/exceptions.cpp: Include <exception_defines.h> up to g++-4.5 only
* inst/unitTests/testRcppModule/src/stdVector.cpp: Use #ifdef not #if
* inst/include/Rcpp/module/Module_generated_ctor_signature.h: Add a
bit of null-op code to suppress a 'unused parameter' warning in the
initial (and non-templated) ctor_signature() function
2011-03-21 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/testRcppModule/src/stdVector.cpp: Protect push_back
declaration by #ifdef as it conflicts with -std=c++0x use for g++-4.5
2011-03-17 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Condition the typedef for 'long long'
of rcpp_long_long_type on the (still experimental) support for C++0x
which can be enabled with the non-portable g++ flag '-std=c++0x';
adding a test for C++0x support suppresses a new warning with g++ about
long long being part of C++98; thanks to Kurt Hornik for raising this
2011-03-10 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/grow.h: Applied another patch kindly supplied by
Murray which fixes another clang/llvm and C++ conformance issue by
re-ordering declarations as unqualified names must be declared before
they are used, even when used within templates.
2011-02-28 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Makefile: Call R and Rscript relative to R_HOME/bin
2011-02-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.2
* inst/NEWS: Release 0.9.2
* inst/include/Rcpp/config.h: Release 0.9.2
* debian/*: Similarly updated for new release to Debian
* inst/include/RcppCommon.h: Apply patch by Alexey Stukalov to enable
basic Intel Compiler support without Cxx0x or TR1 features
* inst/THANKS: Added some Thank You! to Baptiste, Alexey and Ken
* inst/include/Rcpp/Module.h: Minor reworking of module loading
macro to get rid of one g++ warning
2011-02-22 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Module.client.package.R: Add a test for OS X
10.5.* or older and do not execute the test here as g++ 4.2.1 balks
at some of the Rcpp modules code. Thanks to Simon Urbankek for
pinning this down and Baptiste Auguie for additonal testing.
2011-02-20 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added RcppArmadillo example
2011-02-19 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added three more setup-related
questions in the first section following another rcpp-devel question
2011-02-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.1
* inst/NEWS: Release 0.9.1
* inst/include/Rcpp/config.h: Release 0.9.1
* debian/*: Similarly updated for new release to Debian
2011-02-13 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Module.h: Cache return of Rf_install("Module") in
a static helper function used by the LOAD_RCPP_MODULE macro
2011-02-11 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added two more examples
2011-02-10 Douglas Bates <bates@stat.wisc.edu>
* inst/include/Rcpp/XPtr.h: Replace calls to EXTPTR_PTR with
R_ExternalPtrAddr. The distinction is important when R is
compiled with PROTECTCHECK enabled.
2011-02-01 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: extra PROTECT'ion in several places
2011-01-25 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/DataFrame_generated.h: Assign Rf_install() result
to local SEXP (by modifying generator script creating the file)
* inst/include/Rcpp/DataFrame.h: Assign Rf_install() result to local SEXP
* inst/include/Rcpp/DottedPair.h: idem
* inst/include/Rcpp/grow.h: idem
* inst/include/Rcpp/Module.h: idem
* inst/include/Rcpp/vector/eval_methods.h: idem
* inst/include/Rcpp/vector/Vector.h: idem
2011-01-25 Douglas Bates <bates@stat.wisc.edu>
* src/exceptions.cpp: Assign Rf_install() result to local SEXP
* src/Evaluator.cpp: idem
* src/Reference.cpp: idem
* src/S4.cpp: idem
* inst/include/Rcpp/Date.h: Use predefined symbol.
2011-01-22 Dirk Eddelbuettel <edd@debian.org>
* src/cache.cpp: Assign Rf_install() result to local SEXP
* src/Environment.cpp: idem
* src/Evaluator.cpp: idem
* src/Function.cpp: idem
* src/Function.cpp: idem
* src/RObject.cpp: idem
* src/Symbol.cpp: idem
* inst/doc/Rcpp.bib: Added SoDA (some time ago)
2011-01-13 Douglas Bates <bates@stat.wisc.edu>
* src/Reference.cpp: Protect the value being set in Reference::FieldProxy::set
2011-01-11 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/string_proxy.h: fix implicit conversion to int,
reported by Daniel Sabanes Bove on Rcpp-devel
* inst/unitTests/runit.vector.R: unit test for the above fix
2011-01-08 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp.bib: Updated a number of CRAN versions
2011-01-07 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h (RCPP_VERSION): Set to 0.9.0, at last.
2011-01-06 Douglas Bates <bates@stat.wisc.edu>
* R/zzz.R (.onLoad): Don't call init_Rcpp_cache here.
* src/Rcpp_init.c: Don't register init_Rcpp_cache. It should only
be called once and it is called in the C function R_init_Rcpp.
* NAMESPACE: Use registered symbols instead of relisting them.
Registration allows for checking the number of arguments.
2011-01-04 Dirk Eddelbuettel <edd@debian.org>
* src/debugging.cpp: Treat the *BSD flavours like Windows and offer
file and line number but not stack trace (for lack of execinfo)
* src/Makevars: Replace implicit variable $^ with explicit list
2011-01-02 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Applied patch with
additional documentation by Christian Gunning
2010-12-23 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/RObject.h: New internal class SEXPstack to handle
garbage collection. Presumably more efficient than R_PreserveObject
and R_ReleaseObject
* inst/include/Rcpp/sugar/operators/times.h: More efficient operator*
for REALSXP sugar expressions, avoiding unnecessary NA tests.
* inst/include/Rcpp/sugar/operators/divides.h: More efficient
operator/ for REALSXP sugar expressions, avoiding unnecessary NA
tests.
* inst/include/Rcpp/sugar/operators/minus.h: More efficient operator- for
REALSXP sugar expressions, avoiding unnecessary NA tests.
2010-12-22 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/operators/plus.h: More efficient operator+
for REALSXP sugar expressions, avoiding unnecessary NA tests.
2010-12-22 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.Vector.R: Applied patch by Christian Gunning
to add more tests for complex-typed vectors
2010-12-20 Dirk Eddelbuettel <edd@debian.org>
* R/inline.R (Rcpp.plugin.maker): Reverse order in PKG_LIBS
2010-12-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.9.0
* debian/*: Similarly updated for new release to Debian
2010-12-18 Dirk Eddelbuettel <edd@debian.org>
* inst/announce/ANNOUNCE-0.9.0.txt: Started announcement post
* inst/unitTests/runit.Date.R: Added new unit tests for date and
datetime from string
2010-12-17 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Datetime.h: correct default format to use %OS for
fractional seconds and not the popular typo %OS (i.e. ooh, not zero)
* src/Datetime.cpp: add missing as.POSIXct() after strptime for
constructor from string as we then use the constructor from double
* src/Date.cpp: add missing as.Date() after strptime for constructor
from string as we then use the constructor from int
2010-12-13 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/string_proxy.h: List::Proxy did not
convert bool correctly, reported on Rcpp-devel by Daniel SabanC)s
BovC) <daniel.sabanesbove@ifspm.uzh.ch>
2010-12-12 Romain Francois <romain@r-enthusiasts.com>
* R/SHLIB.R: new unexported R function SHLIB, small wrapper around
R CMD SHLIB
* inst/include/Rcpp/sprintf.h: returning a std::string to avoid leaks
2010-12-10 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sprintf.h: Use vsnprintf() instead
2010-12-10 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/barrier.h: faster versions (crossing the write
barrier) for string_elt, etc ...(to be used only internally)
* src/barrier.cpp: implementation of the above
2010-12-09 John M Chambers <jmc@r-project.org>
* src/Module.cpp: Rcpp/src/exceptions.cpp,
Rcpp/src/Rcpp_init.c, etc. add a not_initialized exception and a
dummy_pointer to identify such objects, throw exc. back to R
2010-12-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/matrix.h: Matrix gains a nested ::Sub
typedef
2010-12-05 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/module/Module_generated_class_constructor.h: the
default constructor was always considered valid because of the use of
&yes instead of &yes_arity<0>
* R/Rcpp.package.skeleton.R: Rcpp.package.skeleton( "foo",
example_code = FALSE) did not work properly. Rcpp.package.skeleton
gains some arguments
2010-12-05 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Add 1900 to tm.year after mktime00() call as we now
no longer assume the field is '1900-less'
* src/Date.cpp: Define new static const variable baseYear as 1900
and use throughout
* inst/unitTests/runit.Date.R (test.Date.getFunctions): Added unit
tests for the get* functions of the Date class
* R/bib.R (bib): Correct expression for default Rcpp bibtex file
2010-12-04 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Date.h: Remove addition of 1900 in getYear()
2010-12-04 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: documentation patch by
Christian Gunnning <xian@unm.edu>
* inst/include/Rcpp/vector/matrix.h: fix SubMatrix. Bug reported by
Christian Gunnning <xian@unm.edu> on Rcpp-devel
* inst/include/Rcpp/vector/SubMatrix.h: factored out of matrix.h
* inst/include/Rcpp/sprintf.h: new sprintf template to format strings
2010-12-03 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.RObject.R: fix 'inherits' test added today
* inst/include/Rcpp/module/Module_generated_Constructor.h: Applied
patch by Tama Ma <pingnang@phys.ethz.ch> for up to seven args in ctor
* inst/include/Rcpp/module/Module_generated_class_constructor.h: Idem
* inst/include/Rcpp/module/Module_generated_ctor_signature.h: Idem
2010-12-03 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/RObject.h : new inline method inherits that
checks if an object inherits from a given class (wrapper around
Rf_inherits)
* inst/unitTests/runit.RObject.R: unit test for the above
2010-12-02 Douglas Bates <bates@stat.wisc.edu>
* inst/include/Rcpp/generated/Function__operator.h,
inst/include/Rcpp/Function.h: operator() becomes const.
2010-11-29 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: trying to please suncc after
CRAN checks
* R/Module.R: protect the module$refClassGenerators <- generators
line against the case where there are no classes (triggered a
problem with the parser package)
2010-11-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.9
* debian/*: Similarly updated for new release to Debian
2010-11-26 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: List::create( _["foo"] ) sets
the SEXP to R_MissingArg, usueful for formal arguments
specifications, simpler form than List::create( _["foo"] =
R_MissingArg )
* inst/include/Rcpp/macros/unroll.h: helper macro RCPP_UNROLL_LOOP
* inst/include/Rcpp/vector/MatrixColumn.h: added
MatrixColumn::operator=( MatrixColumn& ) otherwise it gets
synthetized by the compiler
* inst/include/Rcpp/vector/MatrixRow.h: same for MatrixRow
* inst/include/Rcpp/vector/Matrix.h: added Matrix( SubMatrix ) and
Matrix::operator=( SubMatrix )
2010-11-25 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/module/Module_generated_function.h: new .function
with formal argument specification
* inst/include/Rcpp/module/Module_generated_CppFunction.h: helper
classes for the above
* R/Module.R: using the formal argument specification if available
* R/populate.R: new R function populate to dump the contents of a
module into an environment or a namespace
* man/populate.Rd: documentation for populate
2010-11-24 Romain Francois <romain@r-enthusiasts.com>
* R/00_classes.R: formals<- method for C++Function that allows to set
default arguments, etc .. to a C++ function
2010-11-23 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Makefile: Call Rscript with --vanilla to skip user settings
2010-11-23 Romain Francois <romain@r-enthusiasts.com>
* R/00_classes.R: C++Class gains a docstring slot to host self
documentation
* R/Module.R: calling an exposed C++ more efficiently by using the xp
directly rather than traversing the map internally
* R/00_classes.R: C++Function gains a docstring slot to host self
documentation of the internal function. And a "signature" slot to
host the C++ signature of the function
* R/01_show.R: updated show( C++Function ) to display the docstring
and the signature. updated show( C++Class ) to display the docstring.
* inst/include/Rcpp/module/Module_generated_CppFunction.h: self
documentation for exposed C++ functions and extraction of the
signature
* inst/include/Rcpp/module/Module_generated_function.h: idem
2010-11-22 Romain Francois <romain@r-enthusiasts.com>
* R/00_classes.R: C++OverloadedMethods gains an "info" class methods,
factored out from Module.R
* R/01_show.R: more information printed in show( C++Class )
* inst/include/Rcpp/Module/Module_generated_get_signature.h:
templates to grab method signatures
* inst/include/Rcpp/Module.h: CppMethod gains a signature method that
returns the signature of the method.
* R/00_classes.R: C++OverloadedMethods gains a "signatures" field
that contains the signature of each overload
* R/Module.R: registered method gain an automatically generated self
description that contains the method(s) signature(s) and the
docstring that is declared in .method
* inst/include/Rcpp/Module/Module_generated_CppMethod.h: implement
signature
* inst/include/Rcpp/Module/Module_generated_Pointer_CppMethod.h: idem
2010-11-21 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: internal version of cpp_hasDefaultConstructor
* src/Module.cpp: implementation (Class__has_default_constructor)
* inst/include/Rcpp/Module.h: support (class_.has_default_constructor)
* inst/include/Rcpp/module/Module_generated_class_constructor.h: new interface
for exposing constructors, the init_ disappears and the template arguments
are directly applied to the .constructor function
* inst/include/Rcpp/module/Module_generated_Constructor.h: removed init_*
* inst/include/Rcpp/module/Module_generated_method.h: .method gains a docstring
argument to allow self documentation of exposed methods
* inst/include/Rcpp/module/Module_generated_PointerMethod.h: idem
* R/Module.R: grab method docstrings
2010-11-20 John M Chambers <jmc@r-project.org>
* R/Module.R: now checks for the existence of a default constructor
for a C++ class and generates a suitable $initialize() method accordingly.
2010-11-20 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/MatrixRow.h: added missing return *this ;
* R/Module.R: dispatch based on void-ness of the methods. For example
if all methods are known to be void, etc ...
* R/00_classes.R: more information in the C++OverloadedMethods ref
class
* src/Module.cpp: new .External CppMethod__invoke_void and
CppMethod__invoke_notvoid that are used when we know for sure that
all overloaded methods are void, or not void
* inst/include/Rcpp/Module.h: class_ gains invoke_void and
invoke_notvoid to support the changes above
2010-11-18 Douglas Bates <bates@stat.wisc.edu>
* inst/include/Rcpp/module/Module_generated_[class_]Constructor.h:
allow up to 6 arguments to .constructor
2010-11-18 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h: rework the class_ template to allow
overloaded methods
* R/00_classes.R: The C++Method class disappears and the
C++OverloadedMethods enters. a "C++OverloadedMethods" object points
to a set of overloaded C++ methods that all share the same name.
* R/Module.R: adapt some of the code to cope with changes above
2010-11-17 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/as_vector.h: added the as_vector function
that turns a sugar matrix expression into a vector of the appropriate
type
* inst/include/Rcpp/vector/Matrix.h: new SubMatrix class
2010-11-13 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h: expose constructors as the
"cpp_constructor" field of "C++ClassRepresentation" and the
"constructors" slot of "C++Class"
2010-11-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/operators/minus.h: fixed
Minus_Vector_Primitive<RTYPE,false,T>
* inst/unitTests/runit.sugar.R: new test for the above
2010-11-05 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h: exposing multiple constructors in modules
* src/Module.cpp: The mangled class name is now "Rcpp_" plus the
class name. The previous version used the address of the external
pointer to the module, which was not constant.
2010-11-04 Douglas Bates <bates@stat.wisc.edu>
* inst/include/Rcpp/module/Module_generated_Constructor.h: remove
redundant 'return's.
2010-11-04 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h: experimental way to specify which
constructor to use in classes exposed by modules. This is still too
restrictive as it only allows one constructor.
* inst/include/Rcpp/sugar/block/SugarMath.h: extend the SUGAR_MATH_1
macro so that we can apply functions (e.g. sqrt) directly on SEXP
2010-11-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Release 0.8.8
* debian/*: Similarly updated for new release to Debian
2010-10-30 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: New define IS_GCC_450_OR_LATER
* inst/include/Rcpp/Extractor.h: Do not enable Rcpp::Fast if g++
4.5.0 or later is used -- we need to figure out what upsets it
2010-10-23 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/MatrixRow.h: Faster row indexing
* inst/include/Rcpp/vector/Matrix.h: added use of _ to get columns
and rows of a matrix. For example if x is a NumericMatrix, x(_,i)
returns the same as x.column(i) and x(i,_) returns the same as
x.row(i)
* inst/unitTests/runit.Matrix.R: unit tests for the above
* inst/include/Rcpp/sugar/functions/sum.h: the sugar version of sum
now takes care of missing values correctly
* inst/include/Rcpp/sugar/functions/cumsum.h: sugar version of cumsum
2010-10-21 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/MatrixColumn.h: Fixed indexing
bug (mismatch between number of rows and number of columns
* inst/unitTests/runit.Matrix.R: test fix above based on the
R-help/Rcpp-devel thread:
http://article.gmane.org/gmane.comp.lang.r.rcpp/851
* inst/include/Rcpp/vector/MatrixColumn.h: Column gains a operator=
taking a sugar expression. Faster indexing (caching the pointer
instead of calling nrow many times)
* inst/include/Rcpp/vector/Matrix.h: first pass at making matrix
indexing faster
2010-10-21 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Module.h: Reorder instantiation for class_
2010-10-20 Dirk Eddelbuettel <edd@debian.org>
* include/Rcpp/XPtr.h: Applied patch by Karl Millar
* include/Rcpp/vector/Vector.h: Idem
2010-10-19 Dirk Eddelbuettel <edd@debian.org>
* src/posixt.cpp: Correct POSIXct, POSIXt ordering for R 2.12.0
2010-10-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version): Release 0.8.7
* debian/*: Similarly updated for new release to Debian
2010-10-10 Romain Francois <romain@r-enthusiasts.com>
* tests/doRUnit.R: workaround to disable tests on windows 64 until we can
figure out what upsets R CMD check.
* R/Module.R: expose the finalizer
2010-10-07 John M Chambers <jmc@r-project.org>
* R/Module.R: modify cpp_refMethods to substitute the .External
directly with the method and class pointers.
2010-10-03 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/random/r*: Added comment reminding users
read up on Section 6.3 of "Writing R Extensions" and the need to
call GetRNGstate() and PutRNGstate() when using R's RNGs
2010-09-30 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/MatrixRow.h: Matrix row inherits
VectorBase so that it becomes a sugar expression, so that we can do
something like this:
NumericMatrix x( ... ) ;
NumericVector x0 = x.row(0) ;
* inst/include/Rcpp/vector/MatrixColumn.h: idem for columns
* cleanup: run make clean in the inst/doc directory to install
the fake vignettes
2010-09-27 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/is_sugar_expression.h: new trait class
to recognize sugar expressions
* inst/include/Rcpp/vector/Vector.h: operator=( sugar expression)
no longer allocate unnecessary memory.
2010-09-26 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rpp/Fast.h: new helper class Rcpp::Fast that allows
faster indexing of Vector
* inst/include/Rcpp/sugar/operators/plus.h: port to operator+ the same
improvements than in operator*
2010-09-25 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/routines.h: declare routines that are registered
* src/Rcpp_init.c: register routines
* R/*.R: use registration information in many .Call and .External
functions to speed things up
* inst/include/Rcpp/RangeIndexer.h: experimenting with loop unrolling
2010-09-24 John M Chambers <jmc@r-project.org>
* R/Module.R: modify cpp_fields to substitute the .Call
directly with the field and class pointers; supplements the
changes entered by Romain on 9-22. (svn rev 2165, 2141)
* src/Rcpp_init.c: set up registration of .Call's (rev 2167)
2010-09-24 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/Range.h : Range gains some
operators (++,--,n etc ...)
* inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: using the new
Range operators
* inst/include/Rcpp/sugar/operators/times.h: speed improvements. Not
using pointer to member functions seems to be beneficial.
* inst/include/Rcpp/sugar/nona/nona.h: sugar function that wraps a
sugar expression in an object that pretends it does not contain any
missing values. This allows many sugar functions and operators to use
their fast versions when we know that the object does not contain
missing values.
2010-09-22 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: set [[ and [[<- as regular methods too, which restores
previous behavior
2010-09-17 Romain Francois <romain@r-enthusiasts.com>
* src/Reference.cpp: new objects are created via a callback to R's
new function, as R_do_new_object did always return the same
environment
* R/00_classes.R: new ref class C++Method to represent C++ methods
and holding their external pointers directly (same idea as C++Field)
* inst/include/Rcpp/Module.h: internal support for
C++Method (template class S4_CppMethod)
2010-09-17 John M Chambers <jmc@r-project.org>
* R/00_classes.R, R/02_completion.R, et al.: use of environment
underlying the reference classes removes need for slots in
C++Object class (svn rev's 2133, 2134)
2010-09-16 Romain Francois <romain@r-enthusiasts.com>
* R/00_classes.R: moving classes definition here
* inst/Rcpp/Module.h: added C++ class S4_field that builds S4 objects
of class C++Field. Build the list of fields as part of the creation
of the C++Class objects
* src/Module.cpp: .Call functions CppField__get and CppField__set to
get/set values of an object's field using external pointers
directly (no std::map lookup internally)
* R/Module.R: (unexported) functions .getField and .setField that
call CppField__get and CppField__set
* inst/include/Rcpp/Reference.h: skeleton for a Rcpp::Reference class
that will help dealing with reference classes on the C++ side
* src/Reference.cpp: implementation (needs update)
2010-09-16 John M Chambers <jmc@r-project.org>
* R/Module.R, tests/modRef.R: un-generic of new(); return a
generator object for C++ classes. Use environment as superclass.
2010-09-15 Romain Francois <romain@r-enthusiasts.com>
* DESCRIPTION: added the declaration MinimumSvnRev to control which
version of R-devel we need so that Rcpp fully works, currently set to
52905
* R/zzz.R: check the svn revision of R against the declared
MinimumSvnRev requirement and print a message if necessary (this will
only stay for the interim period while we develop 0.8.7 so that we
all are on the same page.
* inst/include/Rcpp/Module.h: added methods to class_Base :
methods_arity and methods_voidness to query the number of arguments
of methods of a class and if the method is void
* R/Module.R: implement referenceMethods (from methods) for 'C++Class'
2010-09-11 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Add include of unistd.h to make Solaris happy
2010-09-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.6
* debian/*: Similarly updated for new release to Debian
2010-09-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppCommon.h: Also include typeinfo header file
2010-09-08 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h : added class_Base::property_names
method to grab the names of all fields (properties)
* src/Module.cpp : added R access (.Call) function
CppClass__properties to grab the names of the fields (property) from
the XP of a class
* inst/include/Rcpp/Module.h : added class_Base::property_is_readonly
method to query if a property is read only
* src/Module.cpp : added R access (.Call) function
CppClass__property_is_readonly to query if a class property is read
only
* inst/include/Rcpp/Module.h : added class_Base::property_class
method to grab the C++ class of a property
* src/Module.cpp : added R access (.Call) function
CppClass__property_class to grab the C++ class of a property
2010-09-06 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/ConvolveBenchmarks/exampleRCode.r: Rewritten /
simplified using the rbenchmark::benchmark() function
* DESCRIPTION: Added Suggests: on rbenchmark package
2010-09-04 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/ConvolveBenchmarks/exampleRCode.r: Some cosmetics
* inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: Remove one
unneccessary loop to set values to zero (which the ctor does for us)
2010-09-03 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-extending/Rcpp-extending.Rnw: Add highlight definitions
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem
* inst/doc/Rcpp-package/Rcpp-package.Rnw: Idem
2010-09-02 Dirk Eddelbuettel <edd@debian.org>
* src/msvcmath.cpp: Undo unmotivated msvc patch
* inst/include/Rcpp/msvc/: Idem
* inst/include/Rcpp/XPtr.h: Idem
* inst/include/RcppCommon.h: Idem
* src/Date.cpp: Idem
* DESCRIPTION: Added Suggests: on highlight package
2010-08-20 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/complex.h : binary operators for Rcomplex : +,-,*,/
2010-08-15 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/SugarBlock.h: more control of the NA behavior
in SUGAR_BLOCK_2. SUGAR_BLOCK_2 will now propagate the NA, and the new
SUGAR_BLOCK_2_NA will use a fixed NA (can be true or false). This can be
useful if the function that is sugar'ed never generates NA.
* inst/include/Rcpp/sugar/undoRmath.h : undo the macros done by Rmath.h
2010-08-13 Douglas Bates <bates@stat.wisc.edu>
* include/Rcpp.h: undo more defines from Rmath.h
2010-08-13 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/complex.h: simplify complex sugar functions
Re, Im, Conj, Mod
* inst/include/Rcpp/sugar/complex.h: new sugar functions operating on
complex expressions: exp, log, sqrt, cos, sin, tan, acos, asin, atan,
acosh, asinh, atanh, cosh, sinh, tanh
* inst/unitTests/runit.sugar.R: added regression test for complex functions
which did not handle NA properly before
* DESCRIPTION: no longer requireing GNU make as we dont use it anymore
* src/Makevars: removed the use of ifeq (which was the last thing requiring
GNU make)
2010-08-12 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/math.h: replace previous versions of floor,
abs, exp, ceil, ceiling with versions generated by the SUGAR_MATH_1
macro
2010-08-11 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/vector.h: Vector gains constructor
taking size and function pointers, acting as generators :
Vector( const int& siz, stored_type (*gen)(void), bool seed = true )
template <typename U1>
Vector( const int& siz, stored_type (*gen)(U1), const U1& u1,
bool seed = true)
template <typename U1, typename U2>
Vector( const int& siz, stored_type (*gen)(U1,U2), const U1& u1,
const U2& u2, bool seed = true)
so that for example :
NumericVector( 10, norm_rand )
generates a N(0,1) vector of size 10
* inst/include/Rcpp/stats/random/rlnorm.h: Added rlnorm and rlnorm_
* inst/include/Rcpp/stats/random/rgamma.h: Added rgamma and rgamma_
* inst/include/Rcpp/stats/random/rt.h: Added rt and rt_
* inst/include/Rcpp/stats/random/rbinom.h: Added rbinom and rbinom_
* inst/include/Rcpp/stats/random/rnchisq.h: Added rnchisq and rnchisq_
* inst/include/Rcpp/stats/random/rgeom.h: Added rgeom and rgeom_
* inst/include/Rcpp/stats/random/rhyper.h: Added rhyper and rhyper_
* inst/include/Rcpp/stats/random/rnbinom_mu.h: Added rnbinom_mu and rnbinom_mu_
* inst/include/Rcpp/stats/random/rnbinom.h: Added rnbinom and rnbinom_
* inst/include/Rcpp/stats/random/rpois.h: Added rpois and rpois_
* inst/include/Rcpp/stats/random/rweibull.h: Added rweibull and rweibull_
* inst/include/Rcpp/stats/random/rlogis.h: Added rlogis and rlogis_
* inst/include/Rcpp/stats/random/rwilcox.h: Added rwilcox and rwilcox_
* inst/include/Rcpp/stats/random/rsignrank.h: Added rsignrank and rsignrank_
* inst/include/Rcpp/stats/random/rnorm.h: some optimization
* inst/include/Rcpp/stats/random/rf.h: calculate n2/n1 just once
* inst/include/Rcpp/sugar/SugarBlock.h : templates and macros to facilitate
generation of sugar functions that take one or two double parameters
* inst/include/Rcpp/sugar/math.h: using SugarBlock to generate new
sugar functions:
(1 parameter) : gamma, lgamma, digamma, trigamma, tetragamma,
pentagamma, expm1, log1p, factorial, lfactorial,
cos, acosh, atan, cos, cosh, log, log10, sqrt, sin, sinh, tan, tanh
(2 parameter) : choose, lchoose, beta, lbeta, psigamma
2010-08-10 Douglas Bates <bates@stat.wisc.edu>
* include/Rcpp/stats/nbinom[_mu].h: Replace conflicting data member name
'size' by 'siz'
2010-08-10 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/stats/random/rnorm.h: Added rnorm and rnorm_
* inst/include/Rcpp/stats/random/runif.h: Added runif and runif_
* inst/include/Rcpp/stats/random/rbeta.h: Added rbeta and rbeta_
* inst/include/Rcpp/stats/random/rcauchy.h: Added rcauchy and rcauchy_
* inst/include/Rcpp/stats/random/rchisq.h: Added rchisq and rchisq_
* inst/include/Rcpp/stats/random/rexp.h: Added rexp and rexp_
* inst/include/Rcpp/stats/random/rf.h: Added rf and rf_
* inst/include/Rcpp/stats/stats.h : fixed name clash reported on Rcpp-devel
http://permalink.gmane.org/gmane.comp.lang.r.rcpp/610
2010-08-09 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/stats/lnorm.h: Added d-p-q (lnorm|weibull|logis|f)
generated by the script
* inst/include/Rcpp/vector/Vector.h: further dispatch to allow generators
to be passed to constructors of Vector
* inst/include/Rcpp/traits/has_iterator.h: new SFINAE detection of
generators
* inst/include/Rcpp/Generator.h : base template class for generators
2010-08-06 Douglas Bates <bates@stat.wisc.edu>
* unitTests/runit.stats.R: Corrected instances of numeric
arguments passed as integers, deleted tests for binomial with
fixed parameter values.
2010-08-06 Romain Francois <romain@r-enthusiasts.com>
* ../scripts/stats.R: R script to generate the template code for dpq functions
* include/Rcpp/stats/unif.h: Added d-p-q unif and tests
* include/Rcpp/stats/gamma.h: Added d-p-q gamma and tests
* include/Rcpp/stats/chisq.h: Added d-p-q chisq
2010-08-05 Douglas Bates <bates@stat.wisc.edu>
* include/Rcpp/stats/beta.h: Added d-p-q beta and tests
* include/Rcpp/stats/binom.h: Added pbinom and qbinom,
and tests of same in runit.stats.R
* include/Rcpp/stats/pois.h: Added ppois and qpois (plus
tests in runit.stats.R).
* include/Rcpp/stats/norm.h: Added pnorm and qnorm and
corresponding tests in unitTests/runit.stats.R
2010-08-05 Dirk Eddelbuettel <deddelbuettel@wtchi-stat-l2.wolve.com>
* inst/include/Rcpp/stats/norm.h: Added dnorm sugar function
* inst/include/Rcpp/stats/t.h: Added dt, pt, qt sugar functions
* inst/include/unitTests/runit.stats.R: Added corresponding tests
2010-08-05 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/seq_along.h: added seq(int,int) to
mimic the R syntax : seq( 0, 5 )
* inst/include/Rcpp/sugar/Range.h: fixed compiler confusion
* inst/include/Rcpp/stats: new sugar functions Rcpp::stats::dpois and
Rcpp::stats::dbinom inspired by Richard Chandler post on Rcpp-devel:
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-August/000940.html
* inst/include/Rcpp/sugar/sum.h: preliminary version of Rcpp::sum (does not
deal with NA properly yet)
2010-08-04 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/: rework sugar matrix so that operator()(int,int)
is always used instead of operator[](int)
* inst/include/Rcpp/sugar/matrix/outer.h: new implementation based on
LazyVector, so that the value from the vector expression is only
retrieved once
2010-08-02 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/XPtr.h: give default values to tag and prot in XPtr ctor
2010-07-30 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/Rcpp-quickref/* : new vignette Rcpp-quickref: quick reference guide
to Rcpp API
2010-07-28 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/exp.h: adapt to stricter standards on solaris/suncc
2010-07-25 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.5
* debian/*: Similarly updated for new release to Debian
2010-07-17 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/Vector.h: faster lhs use of names, only
using callback to R if necessary. (discovered while profiling
RProtoBuf)
* inst/include/Rcpp/RObject.h : faster lhs and rhs use of
RObject::slot, using R API functions R_do_slot and R_do_slot_assign
2010-07-16 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Small fix which may make Solaris/SunStudio happy
2010-07-16 Romain Francois <romain@r-enthusiasts.com>
* man/Rcpp-package.Rd : removed old content and point to the
Rcpp-package vignette for current guidelines.
* DESCRIPTION: Updated to mention sugar and modules
2010-07-10 Romain Francois <romain@r-enthusiasts.com>
* src/Makevars: Remove last call to $shell by turning C++0x
detection off (and into a switch users can edit) which should
make builds more stable
* src/Makevars.win: Idem
* src/cxx0x/cxx0x.R: Detection script deprecated for now
2010-07-10 Romain Francois <romain@r-enthusiasts.com>
* man/CppClass-class.Rd: changed use of \linkS4Class to suppress a
warning with the development version of R
* man/CppObject-class.Rd: idem
2010-07-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.4
* debian/*: Similarly updated for new release to Debian
2010-07-09 Romain Francois <romain@r-enthusiasts.com>
* src/RObject.cpp: adapt the SlotProxy class to deal with the special
case of the .Data slot (slot<- changes the internal SEXP)
* R/Module.R: the C++Class now inherits from "character", to facilitate
S4 method dispatch
* src/Module.cpp: The CppClass ctor sets the .Data of the C++Class object
to an obfuscated name to avoid class names clashes at the R level.
2010-07-08 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/head.h: new sugar function : head
* inst/include/Rcpp/sugar/functions/tail.h: new sugar function : tail
* inst/include/Rcpp/sugar/functions/tail.h: new sugar function : diag
2010-07-07 Dirk Eddelbuettel <edd@debian.org>
* inst/README: Updated and now pointing to all the other documentation
2010-07-07 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/rep.h: version of rep that takes a
primitive as the first argument
2010-07-07 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runTests.R: Reverted to running all tests now that
tests are reorganised using the one-compile-per-function scheme which
significantly speeds up running of the numerous unit tests
2010-07-06 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Imported mktime() from R (which is due to Arthur Olson)
2010-07-06 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/functions/ifelse.h: using compile time dispatch
based on the NA-ness of the condition type. ifelse handles primitive
arguments on the lhs, rhs or both
* inst/include/Rcpp/sugar/functions/rev.h: new sugar function: rev
2010-07-05 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/RcppCommon.h : no more using variadic macros in
RCPP_DEBUG
* inst/include/Rcpp/vector/Matrix.h: move ncol, nrow, rows and cols
in Matrix (used to be in Vector)
* inst/include/Rcpp/traits/matrix_interface.h: new SFINAE helper to
detect matrix interface (helps matrix sugar expressions)
2010-07-03 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/result_of.h : also deal with functions
taking two arguments (useful for e.g. outer)
* inst/include/Rcpp/vector/MatrixBase.h : new CRTP base class
for Matrix to facilitate sugar syntax on matrices.
* inst/include/Rcpp/sugar/matrix/outer.h : new sugar function: outer
* inst/include/Rcpp/sugar/matrix/row.h: new sugar function: row
* inst/include/Rcpp/sugar/matrix/col.h: new sugar function: col
* inst/include/Rcpp/sugar/matrix/lower_tri.h: new sugar function: lower_tri
* inst/include/Rcpp/sugar/matrix/upper_tri.h: new sugar function: upper_tri
* inst/include/Rcpp/sugar/functions/rep.h: new sugar function : rep
* inst/include/Rcpp/sugar/functions/rep_len.h: new sugar function : rep_len
* inst/include/Rcpp/sugar/functions/rep_each.h: new sugar function : rep_each
2010-07-02 Dirk Eddelbuettel <edd@debian.org>
* src/RcppStringVector: Now uses std::vector<std::string>
* inst/include/classic/RcppStringVector.h: Idem
* inst/unitTests/runit.List.R: Added simple test for RcppStringVector
2010-07-01 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDateVector: Index argument is int here as well
* src/RcppDatetimeVector: Idem
* inst/include/classic/RcppDateVector.h: Idem
* inst/include/classic/RcppDatetimeVector.h: Idem
* inst/unitTests/runit.List.R: Added simple test for RcppList
2010-06-30 Dirk Eddelbuettel <edd@debian.org>
* src/DateVector: Index argument is int; throw declared
* src/DatetimeVector: Idem
* inst/include/Rcpp/DateVector.h: Idem
* inst/include/Rcpp/DatetimeVector.h: Idem
2010-06-28 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/Im.h:
* inst/include/Rcpp/sugar/Re.h:
* inst/include/Rcpp/sugar/Conj.h:
* inst/include/Rcpp/sugar/Mod.h: added sugar functions for
complex vectors: Re, Im, Conj, Mod
2010-06-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.3
* debian/*: Similarly updated for new release to Debian
* inst/unitTests/runTests.R: Stop-gap measure to reduce the number of
tests run on Windows as we now have so many tests that the build
exceeds the time limit granted by the win-builder service. The forced
reduction of tests can be overcome by adding --allTests as a
command-line argument on Windows, or by running on another platform.
2010-06-25 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/posix.h: anticipate R 2.12.0 switch of classes
POSIXt and POSIXct
* inst/include/classic: New home for the 'classic' API headers. Also
some refactoring of the internals so that they can interoperate
better withuse the new API.
2010-06-24 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/vector/RangeIndexer.h: factored the RangeIndexer
class out of Vector, so that we can at a later time specialize it for
character vectors, lists, etc ...
2010-06-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Date.h: add struct tm member variable and
sensible (ie non-intra-day) accessor functions; add SEXP ctor
* src/Date.cpp: Implementation of the above
* inst/unitTests/runit.Date.R: tests for the above
* inst/include/Rcpp/Datetime.h: New Datetime class
* src/Datetime.cpp: Implementation for new Datetime class
* inst/unitTests/runit.Datetime.R: first tests for Rcpp::Datetime
* inst/include/Rcpp/Datetime_forward.h: API Integration
* inst/include/Rcpp/DatetimeVector.h: New DatetimeVector class
* src/Datetime.cpp: Implementation for new DatetimeVector class
2010-06-23 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Import mktime00() from R's src/main/datetime.c,
completed class implementation
* inst/include/Rcpp/Date.h: Add mktime00() declaration
* inst/include/Rcpp/DateVector.h: New DateVector class
* src/Date.cpp: Implementation for new DateVector class
2010-06-23 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Date_forward.h: forward declaration of Rcpp::Date and
support for wrap( container of Rcpp::Date ), e.g. wrap( vector<Date> )
* inst/include/Rcpp/sugar/Range.h: added the concept of range to allow
modification of several elements of a vector.
* inst/examples/ConvolveBenchmarks: version of the convolution function
using sugar indexing.
2010-06-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/Date.h: New Date class (not yet complete)
* src/Date.cpp: Implementation for new Date class (not yet complete)
* inst/unitTests/runit.Date.R: first tests for Rcpp::Date
2010-06-21 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/SugarPerformance/: New example to benchmark the new
syntactic 'sugar' classes
2010-06-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/RcppDoxygenExamples.h: Correct three wrong paths for
ConvolveBenchmak example files, and add missing FastLM/ examples
2010-06-18 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/sugar/*: implementation of Rcpp sugar, covering
binary operators (<,>,<=,>=,!=,==) for logical vectors or logical
expressions, arithmetic operators (+,-,*,/) for vectors and
expressions, and several functions similar to the R functions of the
same name, currently: abs, all, any, ceiling, diff, exp, ifelse,
is_na, lapply, pmin, pmax, pow, sapply, seq_along, seq_len, sign
* inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw: vignette documenting Rcpp sugar
2010-06-17 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Vector.h: split into more manageable files
* inst/include/Rcpp/vector/VectorBase.h: simplify the VectorBase class
so that it is just implementing CRTP. It does not inherit from RObject anymore.
This will help implementation of sugar.
2010-06-16 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDateVector.cpp: Also provide non-const operator()(int i)
* inst/include/RcppDateVector.h: Idem
2010-06-16 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/InternalFunction.h: new class Rcpp::InternalFunction
* R/Module.R: R support for Rcpp::InternalFunction
* inst/include/Rcpp/Module.h: added the LOAD_RCPP_MODULE macro to
allow loading a module from C++
* R/Module.R: if the first argument is an external pointer already,
Module assumes it is a module pointer. (R support for the item above)
2010-06-15 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDatetimeVector.cpp: Use std::vector internally
* inst/include/RcppDatetimeVector.h: Idem
* src/RcppDateVector.cpp: Use std::vector internally
* inst/include/RcppDateVector.h: Idem
2010-06-14 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDatetimeVector.cpp: Add constructor from int
* inst/include/RcppDatetimeVector.h: Idem
* src/RcppDateVector.cpp: Add constructor from int
* inst/include/RcppDateVector.h: Idem
2010-06-13 Dirk Eddelbuettel <edd@debian.org>
* src/RcppResultSet.cpp: Proper template specialisation for wrap
* inst/include/RcppResultSet.h: Idem
* src/RcppDateVector.cpp: Add const qualifier to operator()(int i)
* inst/include/RcppDateVector.h: Idem
2010-06-13 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Vector.h: added new factory functions for Vector:
Vector::import and Vector::import_transform
2010-06-12 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDate.cpp: Simple RcppDate(SEXP) ctor added
* inst/include/RcppDate.h: Idem
* src/RcppResultSet.cpp: carved out four new wrap() functions by
splitting the existing code in add() methods off
2010-06-11 Romain Francois <romain@r-enthusiasts.com>
* R/help.R: workaround to allow the syntax "Rcpp ? something" to
bring Rcpp documentation
* inst/include/Rcpp/Module.h: support for exposing public data
members
* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: a section to mention fields
as a way to expose data members
* inst/Rcpp/traits/is_na.h : new helper class Rcpp::traits::is_na
2010-06-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.2
* debian/*: Similarly updated for new release to Debian
2010-06-08 Romain Francois <romain@r-enthusiasts.com>
* src/RcppCommon.cpp: track if demangling is available (currently
only available with gcc)
2010-06-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.1
* debian/*: Similarly updated for new release to Debian
2010-06-07 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-extending*: Extended mini vignette "Rcpp-extending"
2010-06-07 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/Rcpp-extending*: Added new mini vignette "Rcpp-extending"
2010-06-05 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-FAQ*: Extended mini vignette "Rcpp-FAQ"
2010-06-05 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/Rcpp-FAQ*: Added new mini vignette "Rcpp-FAQ"
2010-06-04 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h:
* R/Module.R: support for properties of C++ objects
2010-06-03 Romain Francois <romain@r-enthusiasts.com>
* src/RcppCommn.cpp: added show method for C++Object and C++Class
* inst/include/Rcpp/XPtr.h: getTag and getProtected are deprecated, will be
removed in Rcpp 0.8.2. methods tag and prot should be used instead. The new
methods support both lhs and rhs use.
2010-06-02 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/r_type_traits.h: added missing support for
std::complex<double>, needed by RcppArmadillo
* src/RcppCommon.cpp: added internal .Call function as_character_externalptr
to extract the address of the pointer wrapped by an external pointer
2010-06-01 Romain Francois <romain@r-enthusiasts.com>
* inst/doc/Rcpp-package*: new mini vignette "Rcpp-package" to improve the
documentation of Rcpp.package.skeleton and details the steps involved in
making a package that uses Rcpp
* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: document how to use modules
in other packages (namespace, etc ...)
* R/Rcpp.package.skeleton: added the module argument
* R/Module.R: prompt method for Module objects to generate skeleton of an Rd
file with the list of functions and classes defined by the module.
2010-05-30 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: completion for C++ modules.
2010-05-29 Romain Francois <romain@r-enthusiasts.com>
* R/Module.R: when a Module is loaded, it creates extensions of the
class C++Object for each internal class to enable S4 dispatch
* R/Module.R: support for completion of methods of C++ objects
2010-05-28 Romain Francois <romain@r-enthusiasts.com>
* R/cppfunction.R: withdrawn, we now use inline::cxxfunction which is
more flexible and we no longer need to depend on inline
* man/cppfunction.Rd: *
* inst/unitTests/runTests.R: The tests now require a recent version
of inline (>= 0.3.4.2)
2010-05-27 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h: adding support for registering a free function
that takes a pointer to the class of the wrapped object as first argument
in class_
2010-05-26 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Module.h:
* src/Module.cpp : limited support for exposing c++ classes in Rcpp modules
* R/Module.R : classes "C++Class", "C++Object" holding external pointers
and $ method dispatching internally
2010-05-24 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp*.cpp: Moved template code from the older API to headers
headers in inst/include/*.h; removed empty source files
2010-05-21 Romain Francois <romain@r-enthusiasts.com>
* R/exceptions.R: rework rcpp_tryCatch to prevent evaluating the
expression too early (reported by Doug Bates on Rcpp-devel)
* src/Evaluator.cpp: rework Evaluator::run() so that it correctly
evaluates inside an environment (reported by Doug Bates on
Rcpp-devel)
2010-05-20 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Vector.h : correct throw specs for
vector_from_string (reported by Brian Ripley from solaris)
* inst/include/Rcpp/internal/Proxy_Iterator.h: fixed constness of
several operators in Proxy_Iterator to try to suite suncc/solaris
* inst/include/Rcpp/config.h: define RCPP_ENABLE_MODULES to hide
the experimental module features from the official api
* R/getDLL.R: removed and promoted to getDynLib in inline
2010-05-19 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/as.h: add throw specification to as
specialization, reported by suncc compiler on CRAN checks
* inst/include/Rcpp/Module.h : adding the concept of Rcpp modules,
inspired from boost.python
* R/Module.R: R side support for modules
* R/getDLL.R: generic (s4) function to get the DLL based on either
its name e.g. getDLL( "Rcpp" ) or an object of class CFunc (from the
inline package)
2010-05-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.8.0
* debian/*: Similarly updated for new release to Debian
2010-05-11 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/*.h: added support for long long int and
unsigned long long int, which is size_t on win64
2010-05-10 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Dimension.h: added a const operator[], requested
in the Rcpp-devel thread :
http://article.gmane.org/gmane.comp.lang.r.rcpp/327
* inst/include/Rcpp/preprocessor.h: added __rcpp_info__ pseudo
reflection information to RCPP_XP_FIELD
* inst/unitTests/runit.macros.R: testing RCPP_XP_FIELD
2010-05-06 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/DataFrame.h: DataFrame( RObject::SlotProxy ) and
DataFrame( RObject::AttributeProxy ) constructors
* inst/include/Rcpp/DataFrame.h: DataFrame::create now uses the R
function data.frame and not as.data.frame, which respects the
stringsAsFactors argument.
* inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD_SET and
RCPP_XP_FIELD_SET macros to generate getter and setter for a field of
a class handled by an external pointer. RCPP_XP_FIELD is modified to
generate both getter and setter
2010-05-05 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/S4.h: S4 gains a "is" method to identify if an
object is of a given S4 class, following Doug's advice in lme4a
* inst/include/Rcpp/algo.h: new STL-like algorithms Rcpp::any and
Rcpp::any_if
* inst/include/Rcpp/Vector.h: Vector gains a constructor taking an
RObject::SlotProxy and a constructor taking an RObject::AttributeProxy,
allowing this construct NumericVector x( y.slot( "foo" ) )
2010-05-04 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/preprocessor_generated.h: new macros to hide most of
the boiler plate code
RCPP_FUNCTION_0, ..., RCPP_FUNCTION_1
RCPP_FUNCTION_VOID_0, ...
RCPP_XP_METHOD_0, ...
RCPP_XP_METHOD_CAST_0, ...
RCPP_XP_METHOD_VOID_0, ...
2010-05-03 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.DataFrame.R: unit tests for Rcpp::DataFrame
2010-05-03 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/exceptions.h : move the what methods of exception
classes so that the symbol is defined for sure in the shared
library. This seems to make a difference due to vague linkage
issues. Decrypted from http://gcc.gnu.org/wiki/Visibility
2010-05-02 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/as.h: add throw(not_compatible) in Rcpp::as
* inst/include/Rcpp/clone.h: the clone(SEXP) moves to the headers
2010-04-28 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/Vector.h: changed Vector( size_t ) to Vector( int )
to allow Vector( 0 ) and Vector::create()
2010-04-27 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/preprocessor.h: new macro RCPP_ENUM_TRAITS to
generate traits needed to support wrap for an enum type (used in
RProtoBuf)
* R/Rcpp.package.skeleton.R: correctly handle the example_code
argument
2010-04-26 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/DataFrame_*.h: new class Rcpp::DataFrame
* inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD macro
* inst/include/Rcpp/preprocessor_generated.h: added the set of macros
RCPP_WRAPPER_0, ..., RCPP_WRAPPER_65 to help wrapping existing
C functions into .Call callables functions
2010-04-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.12
* debian/*: Similarly updated for new release to Debian
* RcppLdpath.R: Remove shQuote() from trying to protect spaces in
Windows pathnames as it breaks backticks expansion usage
2010-04-06 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/traits/*.h: added support for long
2010-04-04 Romain Francois <romain@r-enthusiasts.com>
* inst/include/* : headers are moved to inst/include so that they are
are not duplicated on multi arch platforms
* R/RcppLdPath.R: RcppCxxFlags is updated to reflect the above change
* src/Makevars: simplified as the headers don't need to be copied to each
arch lib directory anymore
* src/Makevars.win: same
* inst/include/Rcpp/Vector.h : Vector<> gains a templated assignment
operator
2010-04-02 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Formula.h: new Rcpp::Formula class
* inst/unitTests/runit.Formula.R: unit test for Rcpp::Formula
2010-03-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.11
* debian/*: Similarly updated for new release to Debian
* inst/examples/FastLM: Updated to use new create() method
* inst/unitTests/runit.Matrix.R: New unit test new Matrix constructors
2010-03-26 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h: Fixed bug in diag()
2010-03-23 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.CharacterVector.R: New unit test for bug found by Doug
2010-03-23 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h: fixed critical bug. Vector did not have copy constructor
and assignement operators
* src/exceptions.cpp: added the demangle helper function to help debugging
* src/RcppCommon.h: added the DEMANGLE macro and the RCPP_DEBUG macro to help
debugging.
2010-03-20 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h : Vector gains a templated fill method to fill all
elements of a vector with the same value
2010-03-19 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h : Matrix gains a diag method to create diagonal
matrices
* src/Rcpp/Named.h: Named is no longer a class, but a templated function.
This preserves all the existing interface, but also allows Named to be used
in making simple vectors, e.g through the Vector::create factory functions
* src/Rcpp/Vector.h: Vector gains the "create" factory methods taking up
to 20 arguments that can be named (using the Argument class or the _
placeholder)
* src/Rcpp/make_list.h: removed since Vector::create does the job more generically
and more efficently
2010-03-19 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp/Vector.h: Matrix now also accepts a single int in the
constructor to create matrices of square sizes
* src/RcppFrame.h: Patch by Alistair Gee to make ColDatum more robust
src/RcppFrame.h: Idem
* inst/unitTests/runit.RcppFrame.R: New unit test for RcppFrame
2010-03-16 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/make_list.h: set of helper factories make_list to facilitate
production of named generic vectors.
* src/Rcpp/Named.h: new class Rcpp::Argument similar to Named but does not
contain the object, just the name. The templated Argument::operator= makes
a Named. This allows an application to define a set of arguments that it uses
in order to have a nicer construct. see the runit.Argument.R file for an example
2010-03-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.10
* debian/*: Similarly updated for new release to Debian
* RcppLdpath.R: Use shQuote() to protect spaces in Windows pathnames
2010-03-15 Romain Francois <romain@r-enthusiasts.com>
* inst/codebloat/codebloat.R: script to generate code (creating a
pairlist with up to n arguments).
* src/Rcpp/Function.h : Function gains a body method to retrieve
the body of the function (using the BODY macro from Rinternals.h)
2010-03-14 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/S4.h : Rcpp::S4 gains a new constructor taking a string
reference and building a new S4 object of that type. This throws an
exception if the object is not successfully created (e.g the class
is not a known S4 class)
2010-03-13 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/S4.h : new class Rcpp::S4
2010-03-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.9
* debian/*: Similarly updated for new release to Debian
2010-03-12 Romain Francois <romain@r-enthusiasts.com>
* inst/unitTests/runit.environments.R: mac os has a different locale
* src/Rcpp/traits/is_convertible.h: the detection is now performed without
the help of cxx0x or tr1 which makes it compatible with gcc 4.2
* src/Rcpp/traits/is_same.h: new traits is_same to help detect if two types
are the same (not currently used)
* src/Rcpp/traits/wrap_type_traits.h: use "unsigned int" instead of "size_t"
in the template specializations (64 bit compatibility)
2010-03-10 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdPath.R: More specific about quote-protection of path on Windows
* inst/doc/Rcpp-introduction.Rnw: Applied several fixes kindly suggested
by Matt Kraai
2010-03-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.8
* debian/*: Similarly updated for new release to Debian
2010-03-09 Romain Francois <romain@r-enthusiasts.com>
* man/Rcpp.package.skeleton.Rd: some more documentation
2010-03-07 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp-introduction.Rnw: Added vignette based on a recent paper
2010-03-07 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/StringTransformer.h: new class template StringTransformer
that allows using a character by character function to modify
elements of a string vector (example available in package RcppExamples)
* src/Rcpp/Vector.h: string_proxy::iterator is made const char* because
R uses a global cache for the CHARSXP
2010-03-05 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h: string_proxy gains begin(), end(),
size(), and operator[] for iterating over characters of the CHARSXP
2010-03-02 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h: Vector gains a nested r_type type that is an
integral_constant<int,RTYPE> to facilitate TMP
* src/RcppCommon.{h,cpp}: added RCPP_CALL_VECTOR and RCPP_CALL_MATRIX
macros to facilitate calling a function templated by T = Vector<RTYPE>
the macro hides the boiler-plate switch( TYPEOF(x) ){ case INTSXP : ... }
2010-03-01 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h: more typedef : CharacterMatrix, StringMatrix,
GenericMatrix, ExpressionMatrix, ListMatrix
* src/ExpressionVector.cpp : replaced by templates in Vector.h
* src/Rcpp/Vector.h: use templates to cover ExpressionVector additional
methods : eval() and eval(const Environment& )
2010-02-28 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Vector.h : more generic code for vectors. All vector
types are now generated from the template Rcpp::Vector<int RTYPE>
where RTYPE is one of INTSXP, LGLSXP, REALSXP, RAWSXP, STRSXP,
VECSXP or EXPRSXP.
2010-02-24 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/exceptions.h: some exception classes factored out
* src/Rcpp/VectorBase.h: now a template, using the
Curiously recurring template pattern (the type parameter is
the derived class)
* src/Rcpp/SEXP_Vector.h: the intermediate class
SEXP_Vector_Base is removed, reverting the change on
2010-02-09. This will facilitate the introduction of the
Curiously recurring template pattern on vectors
* src/Rcpp/MatrixRow.h : Row has been factored out of SimpleVector
into a separate template class Rcpp::MatrixRow
* src/Rcpp/SimpleVector.h: gains a row method that returns
a SimpleVector::Row, aka MatrixRow<SimpleVector>
* src/Rcpp/CharacterVector.h : gains a row method that returns
a CharacterVector::Row, aka MatrixRow<CharacterVector>
* src/Rcpp/SEXP_Vector.h : gains a row method that returns
a SEXP_Vector::Row aka MatrixRow<SEXP_Vector>
* src/Rcpp/MatrixColumn.h : Column class to access elements of a
matrix column
2010-02-23 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/SimpleVector.h: added the class SimpleVector::Row
to support STL algorithms working on a row of a matrix.
* src/Rcpp/internal/ListInitialization.h: new class that
supports use of operator, (inspired from blitz) giving this
notation: IntegerVector x(3); x = 0, 1, 2 ;
2010-02-21 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/as.h: more generic as implementation. primitive
types are handled through templates which for example makes
it possible to as<GPB::int64> in RProtoBuf. std::deque<T>
and std::list<T> become as'able when T is a primitive type
as indicated by the Rcpp::traits::r_type_traits
* src/as.cpp: removed since as is now fully implemented via
templates
2010-02-19 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/as.h: as now delegates to a template class
Exporter since partial specialization was not possible with
the interface of as. It is possible to partially specialize
Exporter. std::vector<T> when T is a primitive type is
now handled through Exporter. Some support Exporter have been
added and used in RcppArmadillo
* src/Rcpp/internal/wrap.h: support for std::complex<double>
and std::complex<float> (needed for RcppArmadillo)
* src/Rcpp/traits/wrap_type_traits.h : The Importer concept
has been introduced to support wrap() of more types. If a
class has a typedef "r_import_type" then the following interface
is assumed and used. The corresponding class must have methods
int size() and r_import_type get(int). As usual further dispatch
is performed based on r_import_type (primitive, etc ...).
RcppArmadillo has an example of this for wrapping arma::field<T>
objects using the FieldImporter<T> class.
2010-02-18 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Language.h: added fixed_call to support STL algorithms
similar to generate.
* inst/unitTests/runit.Language.R: unit test for fixed_call
* src/Rcpp/Environment.h: Environment gains a find method
which searches for a binding in the associated environment
but also in all its parents, as opposed to get which just
looks in the environment.
2010-02-17 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars: Simplified as RcppExample.cpp is shipped off
* src/Makevars.win: Simplified as RcppExample.cpp is shipped off
2010-02-17 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/SEXP_Vector.h : The lhs use of operator[](string) has
been improved so that if the name does not exist in the vector,
the vector grows.
* inst/unitTests/runit.GenericVector.R: new unit test
test.List.implicit.push.back about the new operator[](string)
* src/Rcpp/SimpleVector.h : new template class SimpleMatrix<int>
that derives from SimpleVector<int>, with typedefs NumericMatrix
IntegerMatrix, LogicalMatrix, RawMatrix, ComplexMatrix. The actual
functionality comes from SimpleVector but SimpleMatrix has
constructors and assignment operators that behave slighlty
differently : they check that their input is a matrix
* src/Rcpp/traits/wrap_type_traits: added support for float
* src/Rcpp/Rcpp.h: now including RObject here instead of in
RcppCommon.h because RObject is a client of implicit converters
(attr) and so we need to leave a hook for third party code, e.g.
RcppArmadillo
2010-02-16 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars.wim: Applied improved version kindly supplied by Brian Ripley
* R/RcppExample.R, man/RcppExample.Rd: Moved to RcppExamples package
* man/RcppDate.Rd, man/RcppParams.Rd, man/RcppResultSet.Rd, RcppVector.Rd,
src/RcppExample.cpp: Idem
* inst/examples/FastLM: Slightly reworked, actual code factored out
and used in a per-library demo/test script and a joint benchmark.r
2010-02-15 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/FastLM: New example directory with two 'fast lm'
implementations using, respectively, GNU GSL (in C) and Armadillo
(in C++); Armadillo is seen as faster for lack of extra copying
2010-02-14 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Language.h: accepting Function in unary_call and
binary_call to support STL algorithms using R functions.
2010-02-14 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.7
* debian/*: Similarly updated for new release to Debian
2010-02-14 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Language.h: fixing serious bug. The 'code bloat'
constructors taking a std::string did not explicitely
create a symbol, so the created calls were wrong.
* src/Rcpp/Language.h: new template classes Rcpp::unary_call
and Rcpp::binary_call to allow use of Language objects
in STL algorithms.
* inst/unitTests/runit.Language.R: unit test and example
of using unary_call and binary_call
2010-02-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.6
* NEWS: Updated
* debian/*: Similarly updated for new release to Debian
2010-02-12 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/Environment.h: Environment gains a default
constructor. This is needed for RInside.
2010-02-10 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/SEXP_Vector.h: SEXP_Vector (and therefore
ExpressionVector and GenericVector, a.k.a List) gain
methods push_front, push_back and insert that are templated and
use the 'implicit wrap idiom' to add an element to the front
or, the back or an arbitrary (valid) position of the list,
pushing other elements. Internally the SEXP is actually copied.
* src/Rcpp/SEXP_Vector.h: SEXP_Vector gains an erase method
modelled after std::vector<>::erase to remove elements from
a list. erase has a single iterator (or int) form that removes
one element, and a range based version
erase(iterator first, iterator last) that erases all elements
between first and last.
* src/Rcpp/VectorBase.h: VectorBase gains a version of
offset to support retrieving the offset of a given name of a
vector: offset( const std::string& name)
* src/Rcpp/SimpleVector.h : uses the new offset to perform
names based indexing (FR #808)
* src/Rcpp/SEXP_Vector.h: same
* src/Rcpp/CharacterVector.h: same
* inst/unitTests/runit.GenericVector.R: unit tests for names
based indexing
* inst/unitTests/runit.IntegerVector.R: same
* inst/unitTests/runit.CharacterVector.R: same
2010-02-09 Dirk Eddelbuettel <edd@debian.org>
* inst/skeleton/Makevars: Use $R_HOME/bin indirection
* inst/skeleton/Makevars.win: Idem
2010-02-09 Romain Francois <romain@r-enthusiasts.com>
* src/Rcpp/SEXP_Vector.h: The functionality of SEXP_Vector
that was independent of the template parameter was factored out
into a new base class SEXP_Vector_Base. This follows the advice
of item 44 of Effective C++.
* src/Rcpp/SEXP_Vector.h: SEXP_Vector_Base::iterator is introduced
as well as methods begin() and end() to support use of stl
algorithms on lists.
* inst/unitTests/runit.GenericVector.R: new unit test for
testing SEXP_Vector_Base::iterator and illustrating a c++
version of lapply using std::transform
* src/Rcpp/CharacterVector.h: CharacterVector gains a random
access iterator, begin() and end() to support STL algorithms.
The iterator dereferences to a StringProxy
* src/Rcpp/RObject.h: remove RObject::asFoo methods which were
deprecated in Rcpp 0.7.5. The alternative is to use Rcpp::as<Foo>
2010-02-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.5
* debian/*: Similarly updated for new release to Debian
2010-02-07 Romain Francois <francoisromain@free.fr>
* src/RcppSexp.h: class RcppSexp removed (was deprecated)
* src/Rcpp/*.h: defaults copy constructors and assignment
operators have been added for all classes extending RObject.
Otherwise the compiler generates default versions that circumvent
the garbage collection management
2010-02-06 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/functionCallback/newApiExamples.r: Added simpler
version using the new API
* inst/examples/functionCallback/newApiExamples.r: Updated
* inst/unitTests/runit.RcppVector.R: added test for NA/NaN
* inst/unitTests/runit.RcppMatrix.R: idem
2010-02-06 Romain Francois <francoisromain@free.fr>
* src/Rcpp/RObject.h : asFoo methods are deprecated.
* src/Rcpp/DottedPair.h : using R_len_t instead of int
to anticipate future changes in R
* src/Rcpp/VectorBase.h: idem
* src/DottedPair.cpp: idem
* src/VectorBase.cpp: idem
* src/as.cpp: idem
* src/Rcpp/SimpleVector.h: SimpleVector is now only parameterized
by the SEXP type. The c type is automatically retrieved using
the storage_type trait class.
2010-02-05 Dirk Eddelbuettel <edd@debian.org>
* inst/THANKS: Added in order to show our appreciation
2010-02-04 Romain Francois <francoisromain@free.fr>
* src/Rcpp/DottedPair.h: code bloat to allow creation of
DottedPair containing up to 5 objects without variadic templates
RInside for example needs this.
* src/Rcpp/Language.h: same
* src/Rcpp/Pairlist.h: same
* src/Rcpp/grow.h: same
* src/Rcpp/internal/wrap.h : one more level of dispatch to
identify if there needs a cast between the primitive
iterated over and the target storage type. For example
size_t needs a cast to be stored in an integer vector. This
will be useful for the RProtoBuf package with e.g. types like
google::protobuf::int64 which needs to be cast to double.
Consequently the special handling of bool has been withdrawn
as bool can now be assimilated to a primitive type that does
require casting (to int)
2010-02-03 Romain Francois <francoisromain@free.fr>
* src/Rcpp/VectorBase.h: VectorBase gains a names method that
uses the proxy pattern to get or set the names of a vector
* src/Rcpp/DottedPair.h: DottedPair gains a << operator to
add an object to the queue of the list. this is much useful
when variadic templates are not available
* src/Rcpp/RObject.h: support for slot assignment. The slot
method now uses the proxy pattern.
* inst/unitTests/runit.S4.R: unit test for slot assignment
2010-02-02 Romain Francois <francoisromain@free.fr>
* src/internal/r_coerce.h : coercion is now handled by a templated
function r_coerce<int,int>, for example r_coerce<INTSXP,REALSXP>
takes an int, performs coercion and returns a double
* src/traits/has_iterator.h : introduce a trait that uses the
SFINAE idiom to check if a class T has a nested type called
"iterator". This helps wrap dispatch which now uses the
range based wrap implementation in that case
* src/Rcpp/wrap.h: The range based wrap function is exposed
at the Rcpp:: level. The interface is
wrap( InputIterator first, InputIterator last )
and dispatch is performed internally using iterator traits
2010-02-01 Romain Francois <francoisromain@free.fr>
* src/traits/wrap_type_traits.h: new namespace Rcpp::traits::
to host Rcpp type traits used by the template meta programming
dispatching of wrap
2010-01-31 Dirk Eddelbuettel <edd@debian.org>
* doxyfile: several updates plus improvements related to examples/
* src/RcppDoxygenExamples.h: A phony empty file needed mainly to
define a few \example tags for Doxygen
2010-01-31 Romain Francois <francoisromain@free.fr>
* src/Rcpp/internal/wrap.h: more wrap for stl templates are
candidate for wrap (when T can be wrapped)
std::list<T> -> vector or list
std::multiset<T> -> vector or list
std::map<std::string,T> -> named vector or named list
std::multimap<std::string,T> -> named vector or named list
std::tr1::unordered_map<std::string,T> -> named vector or named list
std::tr1::unordered_set<T> -> vector or list
std::tr1::unordered_multiset<T> -> vector or list
* inst/unitTests/runit.wrap.R : unit tests for the new
wrappable types
2010-01-30 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.4
* debian/*: Similarly updated for new release to Debian
* inst/unitTests/runit.RcppMatrix.R: also test STL return
* inst/unitTests/runit.RcppVector.R: added
2010-01-30 Romain Francois <francoisromain@free.fr>
* src/Rcpp/internal/wrap.h: rework wrap using traits and
template meta programming. wrap is now really a template
and has many generated specializations. This file is
a private header and should only be included by RcppCommon.h
* src/Rcpp/Language.h: Language gains Function aware constructors
and eval methods
2010-01-28 Romain Francois <francoisromain@free.fr>
* src/Rcpp/DottedPair.h: DottedPair::Proxy are no more lazy, i.e
traversal of the pair list happens at construction time, so
that the proxy can be created once and used many times more
efficiently.
* src/Rcpp/DottedPair.h: Pairlist and Language are now derived
from the new virtual class DottedPair since both class were
almost identical
* src/Rcpp/SimpleVector.h: simple vectors gain a range
based assign method and a range based assign constructor
* inst/unitTests/runit.IntegerVector.R: new unit test
test.IntegerVector.range.constructors
* src/Rcpp/Dimension.h: new class Rcpp::Dimension to support
creation of vectors with dimensions
* src/Rcpp/*Vector.h: using Rcpp::Dimension
* src/Rcpp/SimpleVector.h: data is initialized with 0 when
the object is constructed from size or Dimension constructor
* inst/unitTestsrunit.CharacterVector.R: new unit test to test
constructors using Dimension
* inst/unitTests/runit.IntegerVector.R: idem
* inst/unitTests/runit.GenericVector.R: idem
* R/unit.tests.R: new unexported function "test" to trigger
unit tests using installed test cases
* src/Rcpp/CharacterVector.h: minor bug fix in assign
* inst/unitTest/runit.RcppResultSet.R: compare time using
as.numeric to avoid timezone problems
2010-01-27 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.RcppMatrix.R: added
* inst/unitTests/runit.RcppMatrixView.R: added
* inst/unitTests/runit.RcppVector.R: added
* inst/unitTests/runit.RcppVectorView.R: added
2010-01-27 Romain Francois <francoisromain@free.fr>
* src/Rcpp/CharacterVector.h: CharacterVector gains a default
constructor
* src/Rcpp/CharacterVector.h: CharacterVector gains range
constructors and range based assign methods facilitating
construction from iterators
* inst/unitTests/runit.CharacterVector.R: unit tests for assign
and range based constructors
* src/Rcpp/CharacterVector.h: CharacterVector::StringProxy
gets a printing operator <<(std::ostream& )
* src/Rcpp/Environment.h: removed the static
Environment::RCPP_NAMESPACE which caused problems when
embedding R
* src/Rcpp/RObject.h: RObject::AttributeProxy::operator RObject
replaced by templated implicit conversion operator, delegating the
actual work to as<>.
* src/Environment.h: Binding::operator RObject is removed since
it can be automatically generated by the templated implicit
conversion operator
* man/RcpUnitTests.Rd: fix html rendering
* inst/doc/Makefile: clean the index.html file before copying it
2010-01-26 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDatetime.cpp: New SEXP-based constructor
* src/RcppDatetime.h: idem, bug fix for operator-
* src/RcppDate.h: new accessor getJulian() [relative to epoch
just like R's julian()] to complement getJDN()
* inst/unitTests/runit.RcppDatetime.R: added
2010-01-26 Romain Francois <francoisromain@free.fr>
* src/Rcpp/clone.h: explicit cloning of RObjects. The clone
template function creates a new object of the same class
as the object it is passed in, encapsulating a duplicate
of the SEXP contained by the input RObject.
* src/Rcpp/r_cast.h: new template function to handle casts
from one SEXP to another. This is mostly useful internally
* src/Rcpp/VectorBase.h: VectorBase gains a offset method
that is responsible to calculate the correct offset based
on variable number of size_t arguments. currently the number
of arguments can be 1 (vector indexing) and 2 (matrix indexing)
but arbitrary number of arguments will be added later
for arbitrary array-like indexing.
* src/Rcpp/SimpleVector.h: outsourcing offset calculation
to VectorBase::offset
* src/Rcpp/CharacterVector.h: use offset to implement matrix-like
indexing for matrices of strings
* inst/unitTests/runit.CharacterVector.R: unit test for matrix
indexing (test.CharacterVector.matrix.indexing)
* inst/Rcpp/SEXP_Vector.h: use offset to implement matrix like
indexing on lists
* inst/unitTests/runit.GenericVector.R: unit test for matrix
indexing (test.List.matrix.indexing)
2010-01-26 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.RcppDate.R: added
2010-01-25 Romain Francois <francoisromain@free.fr>
* src/Rcpp/wrap.h: wrap is back at being a template. The
template parameter T is first converted to SEXP implicitely
and the wrap(SEXP) method is used. This allows clients to only have to
implement an implicit conversion to SEXP operator for their class
and have wrap for free.
* src/Rcpp/SEXP_Vector.h: factored out ExpressionVector and
GenericVector into a templated SEXP_Vector class parameterized
by the SEXP type (VECSXP or EXPRSXP). GenericVector and
ExpressionVector now are generated from the template. This will
ease adding features to both classes.
* src/as.cpp: also use coercion for as<bool>, as<int>, as<double>
as<Rbyte> (FR #768)
* src/Rcpp/as.h: smarter template as<T>, now the template
attempts to create an object by passing the SEXP as the first
parameter, so any class that has a constructor taking a SEXP
can be as<>'ed. see item below for how this can be useful
* src/Rcpp/Environment.h: lhs use of Environment::Binding is now
a bit smarter and uses as<> to implicitely convert the SEXP
to the requested type, so that if as<Foo> makes sense, this
works: Foo foo = env["x"] ;
* src/Rcpp/Environment.h: Environment::assign gains a templated
form so that we can assign anything that can be wrapped to
a name in an environment.
* inst/unitTests/runit.environments.R: new unit test
'test.environment.assign.templated' to test the templated assign
* src/Makevars(.win?): listen to the RCPP_CXX0X environment variable
and if set to "yes" attempt to add c++0x support if possible
2010-01-24 Dirk Eddelbuettel <edd@debian.org>
* configure.in: Withdrawn as OS X universal binaries are only built
when there is src/Makevars and neither src/Makefile nor configure
* configure: idem
* src/Makevars: Again a static file, content copied from Makevars.in,
-std=c++0x selection back to simply unabling a comment
2010-01-24 Romain Francois <francoisromain@free.fr>
* src/SimpleVector.h : new template to replace simple vector
classes. now NumericVector, IntegerVector, LogicalVector,
ComplexVector and RawVector are all generated from the same
template class. A first attempt at matrix indexing is added
as part of this.
* inst/unitTests/runit.NumericVector.R: new unit tests about
matrix indexing
* src/Rcpp/VectorBase.h: added the exception not_a_matrix
that is thrown when attempting to perform matrix indexing on
a vector that is not a matrix.
2010-01-23 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.RcppParams.R: added
* inst/unitTests/runit.RcppResultSet.R: added
2010-01-23 Romain Francois <francoisromain@free.fr>
* src/wrap.cpp: s/copy/std::copy/
* src/RcppDateTime.h: explicitely include <time.h> (win64 warning)
2010-01-22 Romain Francois <francoisromain@free.fr>
* src/Makevars.win: disable c++0x entirely (for now)
* src/Rcpp/Environment.h: make sure what() is const. (suncc finding)
* src/RcppCommon.h: pre declare classes, as an attempt to
deal with the suncc warning "RObject may not have a type qualifier."
* src/Rcpp/*.h: make sure RcppCommon.h is the first included header
* src/*cpp: make sure foo.cpp only include Rcpp/foo.h
* src/Environment.cpp: use Evaluator instead of R_ToplevelExec
* src/RcppFunction.{h,cpp}: listen to some suncc warnings
* src/RcppFrame.cpp: listen to some suncc warnings
* src/as.cpp: use transform instead of assign, which should
make the code more portable (particularly suncc) and also
deal with coercion
2010-01-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.3
* debian/*: Similarly updated for new release to Debian
* INDEX: updated
* configure.in: Some more small cleanups
* inst/skeleton/Makevars.win: Add missing default file
2010-01-21 Romain Francois <francoisromain@free.fr>
* configure.in: Some small cleanups, add RCPP_CXX0X env var
2010-01-20 Romain Francois <francoisromain@free.fr>
* src/*: make update private virtual in RObject and couple it with
setSEXP so that it gets called automatically, instead of manually
* src/*: move more code depending on c++0x from cpp files to header
files
2010-01-20 Dirk Eddelbuettel <edd@debian.org>
* configure.in: Detect C++ capabilties (via g++ major/minor) via
small C++ program embedded in autoconf macro
2010-01-19 Romain Francois <francoisromain@free.fr>
* configure.in: use the cxx0x.R script to discover if the
compiler being used is c++0x capable
* configure: regenerated from updated configure.in
* src/Makevars.in: using CLINK_CPPFLAGS variable
* src/Makevars.win: using CLINK_CPPFLAGS variable with the
cxx0x.R discovery script
2010-01-18 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdpath.R: Rewrote logic for LdFlags() to decide when linking
is static: default now is everywhere but Linux, and choices can be
overriden as before
2010-01-18 Romain Francois <francoisromain@free.fr>
* inst/discovery/cxx0x.R: replaces the cxx0x.c file to take
care of compiling, etc...
2010-01-17 Romain Francois <francoisromain@free.fr>
* src/exceptions.cpp: slightly less dumb exception logic
on non GCC compilers. exceptions will now trigger an R error
with a default message (we don't attempt to get the
exception class or message because we don't know how to)
* src/Rcpp/Pairlist.h: Pairlist lacked a default constructor
which is needed when the variadic templates are not
available
* inst/unitTests/*: add -std=c++0x in inline when necessary
* R/RcppLdPath.R : new script RcppCxx0xFlags() and Cxx0xFlags()
that compile, load and call a simple C file in order to check
the compiler version and add the -std=c++0x flag
* inst/discovery/cxx0x.c: discovery script. simple C script that
returns "-std=c++0x" if it is compiled with GCC >= 4.3 and
"" otherwise
2010-01-16 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp/*h: call Rf_length() etc as ::Rf_length() to ensure we get
the one from the top-level namespace
2010-01-16 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Environment.h: Environment gains a new_child method
to create an environment enclosed by this
* inst/unitTests/runit.environments.R: unit test for new_child
* src/Rcpp/ExpressionVector.h: ExpressionVector gains a
convenience methods eval to evaluate itself
* inst/unitTests/runit.ExpressionVector.R: added unit tests
for ExpressionVector::eval
* src/Rcpp/ExpressionVector.h: ExpressionVector gains a
constructor ExpressionVector( const std::string& ) that
parses the string as R code
* inst/unitTests/runit.ExpressionVector.R: added unit tests
to cover the new constructor
* src/Rcpp/Environment.h : the Rcpp namespace is cached because
we use it in many places and retrieving it is an "expensive"
operation that requires a round trip to the R side
* src/Evaluator.cpp: use the cached Rcpp namespace
* R/Rcpp.package.skeleton: now generating example C++ and R
code that uses Rcpp, also the generated Makevars contains
a hack so that the generated package can pass check (after
edition of Rd files, NAMESPACE, etc ...)
* inst/skeleton: added example code used by the skeleton
generator
2010-01-15 Romain Francois <francoisromain@free.fr>
* src/Rcpp/NumericVector.h: cache the start of the array to
improve performance of operator[]
* src/NumericVector.cpp: idem
* src/Rcpp/IntegerVector.h:
* src/Rcpp/RawVector.h:
* src/Rcpp/ComplexVector.h:
* src/Rcpp/LogicalVector.h: idem
* src/IntegerVector.cpp:
* src/RawVector.cpp:
* src/ComplexVector.cpp:
* src/LogicalVector.cpp: idem
2010-01-13 Romain Francois <francoisromain@free.fr>
* R/cpp.package.skeleton.R: new function cpp.package.skeleton
to extend the code generation performed by package.skeleton
to Rcpp features
* man/cpp.package.skeleton.Rd: documentation for cpp.package.skeleton
* src/Rcpp/VectorBase.h: new virtual class Rcpp::VectorBase
to manage common things of all vectors (length, names, etc ...)
all Vector classes now derive from VectorBase
* src/Rcpp/Environment.h: Environment::Binding gains a templated
conversion operator, to facilitate distance 2 implicit conversion
making this possible:
Environment env("package:stats") ;
Function f = env["rnorm"] ;
* src/Rcpp/GenericVector.h: GenericVector::Proxy gains an
assignement operator to deal with Environment::Binding. This is
to work around distance 1 implicit conversion restrictions
* src/Rcpp/NumericVector.h: operator[], begin and end are
promoted to inline member functions
* src/Rcpp/IntegerVector.h: idem
* src/Rcpp/RawVector.h: idem
* src/Rcpp/LogicalVector.h: idem
2010-01-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.2
* debian/*: Similarly updated for new release to Debian
* .Rbuildignore: Add 'inst/doc/{html,latex,man} as we no
longer ship the voluminous doxygen-generated content
* inst/doc/examples/ConvolveBenchmarks/convolve2*: Added simple
benchmark on the well-known vector convolution example from
'Writing R Extensions' to compare C and C++ implementations
* inst/doc/examples/ConvolveBenchmarks/buildAndRun.sh: idem
inst/doc/examples/ConvolveBenchmarks/exampleRCode.r: idem
2010-01-12 Romain Francois <francoisromain@free.fr>
* inst/doc/examples/ConvolveBenchmarks/convolve2*: Added additional
C++ examples to convolution benchmark highlighting performance gains
2010-01-11 Romain Francois <francoisromain@free.fr>
* src/Rcpp/CharacterVector.h: StringProxy gains operator+=
* src/CharacterVector.cpp: implementation
* src/Rcpp/*Vector.h: operator[] now throws index out of bounds
exception when needed (FR#770)
* src/*Vector.cpp: same
* src/Rcpp/Environment.h: operator[](string) for environment
allowing to get/set values of a binding in this environment.
The Environment::Binding class has been created to act as
a proxy.
* src/Environment.cpp: idem
* inst/unitTests/runit.environments.R: unit tests for the above
2010-01-10 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Pairlist.h: operator[] for pairlist using proxies
* src/Pairlist.cpp : idem
* inst/unitTests/runit.Pairlist.R: new unit tests
* src/Rcpp/Language.h: same for Language
* src/Language.cpp : idem
* inst/unitTests/runit.Language.R: new unit tests
* inst/unitTests/runit.Function.R: added unit test for function
throwing exceptions
* src/Function.cpp: grab the condition message and not the call
2010-01-09 Romain Francois <francoisromain@free.fr>
* src/Rcpp/RObject.h: attr can now be used to get or set the
attribute (used to be read only). This is another manifestation
of the proxy pattern. The rhs can be anything wrap can handle
* inst/unitTests/runit.RObject.R: added test.RObject.attr.set
unit test (setting attribute).
* src/Rcpp/Function.h: Function::operator() now throws an
exception if an R error occurs.
2010-01-08 Dirk Eddelbuettel <edd@debian.org>
* configure.in: provide basic support for c++ compiler version detection
at build-time so that we can add -std=c++0x when applicable;
provide defaults in case we do not use g++
* src/Makevars.in: copied from Makevars, set C++ flags from configure
* configure.win: simply log what g++ version is being used
2010-01-08 Romain Francois <francoisromain@free.fr>
* src/Rcpp/wrap.h: added wrap( size_t ) to disambiguate it
* int/unitTests/runit.XPTr.R: forgot to set the finalizer on the
external pointer
* src/Rcpp/Pairlist.h: Pairlist gains a push_back, replace,
length, size, remove and insert methods
* src/Rcpp/Language.h: idem for Language
2010-01-07 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Pairlist.h: gains a push_front method
* src/Rcpp/wrap.h : now the result type of the various wrap
functions depends on the parameters. wrap( bool ) makes a
LogicalVector, etc ... wrap(SEXP) dispatches to the
appropriate Rcpp:: class depending on TYPEOF
* src/Rcpp/RObject.h: added methods "isS4", "slot"
and "hasSlot" to deal with S4 objects
* inst/unitTests/runit.S4.R: unit tests
* src/Rcpp/ComplexVector.h: new class Rcpp::ComplexVector
to manage ... complex vectors (CPLXSXP)
* src/ComplexVector.cpp: implementation
* inst/unitTests/runit.ComplexVector.R: unit tests
* src/Rcpp/Promise.h: new class Rcpp::Promise to manage
promises (PROMSXP). only read access so far (no way to force
the promise)
* src/Promise.cpp: implementation
* src/Rcpp/RObject.h: the result of attr is now an RObject
rather than a SEXP. This does not change previous behavior
because of the implicit conversion
* src/Rcpp/ExpressionVector.h: new class Rcpp::ExpressionVector
which shares a lot with GenericVector.
* src/ExpressionVector.cpp: implementation
* inst/unitTests/runit.ExpressionVector.R: unit tests
* src/Rcpp/CharacterVector.h: new class Rcpp::CharacterVector
to manage character vectors (STRSXP). StringVector is a
convenience typedef equivalent to CharacterVector
* src/CharacterVector.cpp: implementation
* inst/unitTests/runit.CharacterVector.R: unit tests
* src/Rcpp/WeakReference.h: new class Rcpp::WeakReference
to wrap WEAKREFSXP with accessors to the key and value
* src/WeakReference.cpp: implementation
* src/Rcpp/Rcpp_Rinternals.h: borrowed from Rinternals so that
we can use VECTOR_PTR (which R forbids unless we define
USE_RINTERNALS, but defining it disables NO_R_REMAP)
* src/Rcpp/GenericVector.h : added begin and end to allow
stl type iteration over generic vectors. Now using the
Proxy pattern (from Item 30 of More Effective C++) to
allow getting and setting the elements of the list through
the operator[].
* int/unitTests/runit.GenericVector.R: examples are reworked
using [] where set and get were used.
2010-01-06 Dirk Eddelbuettel <edd@debian.org>
* src/RcppCommon.h: Protect definition of logTxt by #ifndef
* inst/doc/Rcpp-unitTests.Rnw: Minor LaTeX tweak
2010-01-06 Romain Francois <francoisromain@free.fr>
* src/Rcpp/wrap.h : wrap can now use initializer lists (available
on on GCC >= 4.4).
* src/wrap.cpp: implementation
* int/unitTests/runit.wrap.R: unit tests
* src/RObject.cpp : make methods RObject::asFoo
calling Rcpp::as<Foo> to avoid code duplication
2010-01-05 Romain Francois <francoisromain@free.fr>
* src/Rcpp/GenericVector.h : new class Rcpp::GenericVector
and an alias Rcpp::List to handle lists (VECSXP), aka generic
vectors
* src/GenericVector.cpp : implementation
* inst/unitTests/runit.GenericVector.R: unit tests
* src/Rcpp/IntegerVector.h : new class Rcpp::IntegerVector
to manage integer vector (INTSXP). IntegerVector can be
constructed from SEXP of appropriate type, from an int which
simply allocates a vector that big, or using an
initialization list (the last is GCC >= 4.4 only).
Additionally IntegerVector defines begin() and end() so that
they can be used in STL algorithms
* src/IntegerVector.cpp : implementation
* inst/unitTests/runit.IntegerVector.R: unit tests
* src/Rcpp/NumericVector.h : same as above, but for numeric
vectors (REALSXP)
* src/NumericVector.cpp : implementation
* inst/unitTests/runit.NumericVector.R: unit tests
* src/Rcpp/RawVector.h : same as above, but for numeric
vectors (RAWSXP)
* src/RawVector.cpp : implementation
* inst/unitTests/runit.RawVector.R: unit tests
* src/Rcpp/LogicalVector.h : same as above, but for numeric
vectors (RAWSXP)
* src/LogicalVector.cpp : implementation
* inst/unitTests/runit.LogicalVector.R: unit tests
* src/RcppCommon.h: improve the conditional compiling logic
with macros HAS_VARIADIC_TEMPLATES and HAS_INIT_LISTS instead
of CXX0X. This ensures the package can be compiled with
older GCC, with lower functionality
* src/RcppCommon.{h,cpp}: added a capabilities function that
can be used to bring the result of the two above macros to R
* R/RcppLdPaths.R: added unexported function RcppCapabilities
to call the internal capabilities. capabilities is an alias
to RcppCapabilities so that we can call Rcpp::capabilities()
2010-01-04 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Function.h: new class Rcpp::Function to manage functions
(closures, primitives and builtins) all share the Function class
(at least for now). This is implemented as a functor taking
variable number of arguments, so it looks pretty similar to the
R function
* src/Function.cpp: implementation
* inst/unitTests/runit.Function.R: unit tests
* src/Rcpp/Pairlist.h: new class Rcpp::Pairlist to manage dotted
pair lists (LISTSXP). unsurprisingly this shares a lot of
similarities with Language class
* src/Pairlist.cpp: implementation
* inst/unitTests/runit.Pairlist.R: unit tests for Rcpp::Pairlist
* src/Rcpp/wrap.h: wrap no more a template. this was not a good
idea as it prevented implicit conversion to SEXP behavior when
wrap'ing a RObject.
* src/Rcpp/Environment.h: added the remove method
* src/unitTests/runit.environments.R: remove unit test
* src/unitTests/runit.Language.R: remove verbose=TRUE in cfunction
call (generated noise)
* src/wrap.cpp: added a few missing PROTECT
2010-01-04 Dirk Eddelbuettel <edd@debian.org>
* src/excections.cpp: Get rid of another unused variable
* src/RcppCommon.cpp: Idem
2010-01-03 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Environment.h: Environment gains the parent
method that returns the parent environment
* src/Rcpp/as.h: template as<> to convert SEXP to classic
C++ types, factored out of RObject
* src/as.cpp: specific implementations. as<int>, as<bool>
as<string>, ...
* inst/unitTests/runit.as.R: unit tests
* src/Rcpp/wrap.h : factored out from RObject. there is now a
template wrap in addition to the specific implementations. The
template generates a warning and return NULL
* src/wrap.cpp: specific implementations of the wrap template
(factored out of RObject)
* src/Rcpp/pairlist.h : variadic templates to
recursively generate a pairlist
(CAR and CDR) from any number of "wrap("'able objects.
(factored out of Language)
* src/pairlist.cpp: end of recursion for the above
* src/Rcpp/grow.h : grow a pairlist with any wrappable
object. Used in pairlist
* src/grow.cpp : specific implementation for Named object
to allow tagging the head of the pairlist.
* src/Rcpp/Named.h : new class Named that is used to specify
named elements in a pairlist.
* src/Named.cpp: implementation
* src/Rcpp/RObject.h: added wrap(const char* const) RObject factory
method
* src/Rcpp/RObject.h: rework the garbage collection mechanism so that
it is automatic and hidden. methods preserve and release are now
private to the RObject class and the SEXP may only be changed using
the protected setSEXP member function. isPreserved and forgetPreserve
are defunct.
* src/Rcpp/RObject.h: RObject gains assignment operators and copy constructors
* src/RcppCommon.h: added the CXX0X define that controls whether
we can use C++0x features offered by the gcc. currently the define
is hardcoded, but this will eventually be a configure guess. The
canUseCXX0X function can be called to bring this back to R
* R/RcppLdPath.R: added the canUseCXX0X R function to query
the internal canUseCXX0X function, use this in RcppCxxFlags so that
code linking against Rcpp (inline code or packages) can take
advantage of it
* src/Rcpp/Language.h : new class Rcpp::Language to manage calls
(LANGSXP SEXP)
* src/Language.cpp : implementation
* inst/unitTests/runit.Language.R: unit tests
* src/Rcpp/Environment.h : added constructors and made the SEXP based
constructor smarter (using as.environment)
* inst/unitTests/runit.environments.R: more unit tests
* src/Rcpp/Symbol.h: new class Rcpp::Symbol to encapsulate
symbols. This allows to use Symbol("rnorm") instead of the most cryptic
Rf_install("rnorm")
* src/Symbol.cpp: implementation
* inst/unitTests/runit.Symbol.R: unit tests
2010-01-03 Dirk Eddelbuettel <edd@debian.org>
* doxyfile: updated to current doxygen standard using -u
2010-01-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.1
* debian/*: Similarly updated for new release to Debian
2010-01-02 Romain Francois <francoisromain@free.fr>
* pkg/src/RcppSexp.h: Added to preserve existing interface,
implementation use the redesigned class src/RObject.h
2010-01-01 Romain Francois <francoisromain@free.fr>
* pkg/src/Rcpp/RObject.h: RObject::RObject constructors are
replaced by the Rcpp::wrap set of functions. Currently the wrap
functions make a RObject object but it is likely that as new
classes become available in the new API, wrap will return
instances of classes that extend RObject.
* pkg/src/Rcpp/RObject.h: s/protect/preserve/, added methods
isPreserved and forgetPreserve
* ** : adapted examples, code, and unit tests to reflect both
above items
2009-12-31 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Evaluator.h : new class Rcpp::Evaluator that eases
evaluation of R expression with error capture. so that we can for example
throw C++ exceptions
* src/Evaluator.cpp : implementation of Rcpp::Evaluator
* inst/unitTests/runit.evaluator: unit tests of Rcpp::Evaluator
* inst/Rcpp/RObject.h: RObject::RObject(SEXP) now initializes isProtected
* inst/src/Environment.cpp: use of exceptions
2009-12-30 Romain Francois <francoisromain@free.fr>
* src/Rcpp/Environment.h : added support for environment through the
Rcpp::Environment class
* src/Environment.cpp: idem
* inst/unitTests/runit.environments.R: testing the above
* src/RcppCommon.h: now includes <R_ext/Callbacks.h>, needed for the
environment support
2009-12-30 Romain Francois <francoisromain@free.fr>
* src/Makevars* : adapt for allowong copy of the Rcpp directory
* src/Rcpp_RObject.h: replace by src/Rcpp/RObject.h
* src/Rcpp_XPtr.h: replaced by src/Rcpp/XPtr.h
* src/*.cpp: adapt to the Rcpp directory
* cleanup: idem
2009-12-30 Romain Francois <francoisromain@free.fr>
* inst/unitTests/runit.RObject.R: new unit tests
* inst/unitTests/runit.exceptions.R: idem
* inst/unitTests/runit.XPtr.R: idem
* man/RcppUnitTests.Rd: shows and link unit test reports generated at
build time
2009-12-29 Romain Francois <francoisromain@free.fr>
* src/Rcpp_RObject.{h,cpp}: new namespace Rcpp and new class
Rcpp::RObject to replace RcppSexp with the same functionality.
* src/Rcpp_XPtr.h: replaces RcppXPtr.h and the class is now
Rcpp::XPtr<> and extends Rcpp::RObject
* inst/examples/RcppInline/external_pointer.r: use the new namespace
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: idem
* inst/examples/RcppInline/RcppSexpTests.r: idem
* DESCRIPTION: marked as version 0.7.0.5
* inst/doc/*: fake (empty) vignette and unit test trigger
* inst/unitTests/*: prepare the space for unit tests
* tests/doRUnit.R : added the usual RUnit tests trigger
2009-12-29 Romain Francois <francoisromain@free.fr>
* src/RcppXPtr.h: now RcppXPtr extends RcppSexp and RcppSexp manages
garbarge collection, attributes, etc ...
* src/exceptions.cpp: replaces src/exception_handling.cpp
* DESCRIPTION: now suggesting RUnit.
2009-12-29 Romain Francois <francoisromain@free.fr>
* src/RcppXPtr.h: added operator SEXP() to class
RcppXPtr to ease implicit conversion from RcppXPtr to SEXP.
This means we can directly return the RcppXPtr object to R when the
return type of the function is SEXP. (no need to explicitely call
asSexp anymore)
* src/RcppSexp.{h,cpp} : idem
2009-12-29 Romain Francois <francoisromain@free.fr>
* src/RcppXPtr.h: new smart external pointer wrapper. The RcppXPtr
template can be used to wrap a external pointer (SEXP) so that it
looks like the dumb pointer it is wrapping (as far as the * and ->
operator are concerned). The template parameter controls the type
of object that is wrapped by the pointer.
* src/Rcpp.h: importing the RcppXPtr.h header
* src/RcppExample.cpp: added an example of RcppXPtr usage
* inst/examples/RcppInline/external_pointer.r: added example using
the RcppXPtr template
* DESCRIPTION: marking this as 0.7.0.4
2009-12-28 Romain Francois <francoisromain@free.fr>
* R/exceptions.R: s/uncaught_cpp_exception/cpp_exception/ and added a
'class' argument to hold the class name of the C++ exception
(range_error, etc ...)
* inst/examples/RcppInline/UncaughtExceptions.r: extend examples to
show how to grab details of the C++ exception
* src/exception_handling.cpp: factored out from RcppCommon.cpp, now
able to grab the class name of the exception and its message.
2009-12-27 Dirk Eddelbuettel <edd@debian.org>
* R/RcppInline.R: Removed as we now use cfunction() from inline (>= 0.3.4)
* man/{RcppInline,internals}.Rd: idem
* NAMESPACE: removed entries related to cfunction and methods
* DESCRIPTION: Added 'Suggests: inline (>= 0.3.4)
* inst/examples/RcppInline/*R: Add library(inline) or require(inline)
2009-12-27 Romain Francois <francoisromain@free.fr>
* src/RcppCommon.{h,cpp} : added experimental uncaught exception
management
* R/zzz.R : added .onAttach, used to register the uncaught exception
management on package attach
* R/exceptions.R : added R side of the exception management, unexported
as it is only used by internal C++ code
* inst/examples/RcppInline/UncaughtExceptions.r: demo of the
uncaught exception system
* src/RcppSexp.{h,cpp} : added method isNULL to test if the
underlying SEXP is NULL
* src/RcppSexp.{h,cpp} : added some methods to deal with attributes
attributeNames : the names of the attributes as a vector<string>
hasAttribute : test whether the SEXP has the given attribute
attr : extract the attribute (might return NULL)
* src/RcppSexp.{h,cpp} : added RcppSexp(bool), RcppSexp(vector<bool>)
constructors and RcppSexp.asBool(), RcppSexp.asStdVectorBool() methods
* inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the
above items
2009-12-26 Romain Francois <francoisromain@free.fr>
* src/RcppSexp.{h,cpp} : added std::set<{int,double,Rbyte,string}> as
accepted input type for the RcppSexp class (needed by RProtoBuf)
* inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the above
2009-12-21 Romain Francois <francoisromain@free.fr>
* src/RcppSexp.{h,cpp} : support for raw vector added into RcppSexp
* inst/examples/RcppInline/RcppSexpTests.r: examples of raw vector
support
2009-12-20 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Minor
simplifications using new RcppSexp types, added third example
2009-12-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.7.0
* DESCRIPTION: Descrition fields reworded and expanded to explicitly
mention 'inlining' ability as well as simple SEXP support.
* src/RcppSexp.{h,cpp}: Switch to R_PreserveObject and R_ReleaseObject
with a big thanks to Romain for the most appropriate suggestion
* src/RcppSexp.{h,cpp}: Added converters for vectors of
int, double, and std::string vectors
* src/RcppResultsSetp.{h,cpp}: Added simple single SEXP return
* src/RcppCommon.{h,cpp}: Adding simple logging facility
* inst/examples/RcppInline/RcppSexpTests.r: expanded for new types
2009-12-18 Dirk Eddelbuettel <edd@debian.org>
* R/RcppInline.R: Another improvement for Rcpp use
* inst/examples/RcppInline/RcppSimpleExamples.r: Another simple case
2009-12-17 Dirk Eddelbuettel <edd@debian.org>
* R/RcppInline.R: Improved / simplified in light of getting it to
work on Windoze too so switched to setting env var explicitly;
also split into three args for CPPFLAGS, CXXFLAGS and LIBS
* man/RcppInline.Rd: Updated accordingly to reflect new args
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem
2009-12-16 Dirk Eddelbuettel <edd@debian.org>
* src/RcppSexp.{h,cpp}: Added simple RcppSexp class for simple
conversion from and to single-element SEXPs -- currently limited
to int, double, std::string
* inst/examples/RcppInline/RcppSexpTests.r: Simple tests for this
2009-12-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: License changed to 'GPL (>= 2)'
* COPYING: Changed from LGPL 2.1 to GPL 2 (or later)
* src/*.{h,cpp}: Relicensed under GPL 2 (or later)
2009-12-13 Dirk Eddelbuettel <edd@debian.org>
* R/RcppInline.R: Extended to for additional header and library
arguments so that we can work with arbitrary other projects
* man/RcppInline.Rd: Added documentation for these arguments
* inst/examples/RcppInline/RcppInlineWithLibsExamples.r: New
examples using GNU GSL to show how to compile + link via inline
2009-12-11 Dirk Eddelbuettel <edd@debian.org>
* R/RcppInline.R: Imported function 'cfunction' from the inline
package, along with small patch to directly support Rcpp. The
inclusion may be temporary -- if our patch is integrated into
inline we may just depend on that package
* man/RcppInline.Rd: Imported from inline, plus change for Rcpp
* inst/examples/RcppInline/RcppInlineExample.r: Small example
taken from the 'Intro to HPC with R' tutorials
* R/RcppVersion.R: Removed as unused as redundant given read.dcf() in R
* man/RcppVersion.R: idem
* NAMESPACE: updated accordingly
* INDEX: idem
2009-11-18 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Add Dominick back into Authors per his new request
reversing his requests to be removed from last December
2009-11-17 Dirk Eddelbuettel <edd@debian.org>
* man/RcppParams.Rd: applied patch by Frank S. Thomas to fix example
2009-11-15 Dirk Eddelbuettel <edd@debian.org>
* src/RcppDateVector.{cpp,h}: Moved out of Rcpp.{h,cpp}
* src/RcppDatetimeVector.{cpp,h}: idem
* src/RcppFunction.{cpp,h}: idem
* src/RcppMatrix.{cpp,h}: idem
* src/RcppMatrixView.{cpp,h}: idem
* src/RcppNumList.{cpp,h}: idem
* src/RcppResultSet.{cpp,h}: idem
* src/RcppStringVector.{cpp,h}: idem
* src/RcppStringVectorView.{cpp,h}: idem
* src/RcppVector.{cpp,h}: idem
* src/RcppVectorView.{cpp,h}: idem
* src/RcppCommon.cpp: takes remaining utility function from Rcpp.cpp
2009-11-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.8
* src/RcppParams.{cpp,h}: Code reorginsation, moved out of Rcpp.{h,cpp}
* src/RcppDate.{cpp,h}: idem
* src/RcppDatetime.{cpp,h}: idem
* src/RcppCommon.h: New header file for common defines and includes
* src/Makevars{,.win}: Updated and generalised to reflect new files
2009-11-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.7
* man/RcppVector.Rd: Remove erraneous use of \R in \title{} section
noticed by the Rd parser in R-devel (with thanks to Kurt Hornik)
2009-11-06 Dirk Eddelbuettel <edd@debian.org>
* src/RcppList.{h,cpp}: Added a simple class to accept list()
objects in order to cope with non-rectangular data-types -- this
comes from the RProtoBuf code currently only on r-forge where
we need accept lists that are potentially nested.
The API for RcppList is not fully fleshed out and needs a few
more append() member functions. Also length is currently fixed.
* cleanup: Change header file removal to Rcpp*.h
* inst/README: Added short README about history and status
* inst/doc/: Updated doxygen documentation
2009-09-29 Dirk Eddelbuettel <edd@debian.org>
* inst/examples/functionCallback/*: Added simple C++ / R example of
defining an R function that is passed to and called from C++
2009-08-03 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.6
* src/Rcpp.{h,cpp}: Added exists() method for RcppParams to test
for existence of a named parameter.
* inst/doc/: Updated doxygen documentation
2009-04-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.5
* COPYING: Added
2009-03-30 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars: Add $(R_ARCH) to target directory path when copying
the header file as an OS X user reported not finding it with
default settings.
2009-03-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.4
* .Rbuildignore: Added to exclude debian/ from source tarball
2009-02-25 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars.win: Renamed from Makefile.win, added missing mkdir
* cleanup: Remove a few more Windows files
2009-02-24 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/{html,latex,man}: Added new documentation of the C++ classes
* doxyfile: Added Doxygen configuration file for doc generation
2009-02-22 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp.{h,cpp}: cleaner use of namespace 'std' by formal prefix
rather than via 'using namespace std'
* src/Rcpp.h: define R_NO_MAP and use Rf_* form of R API functions
2009-02-18 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp.{h,cpp}: Added a few explicit casts, and removed unused
loop variable; all to make 'g++ -Wall' happy
2009-02-10 Dirk Eddelbuettel <edd@debian.org>
* src/Rcpp.{cpp,h}: Expanded a few of the throw() messages
2009-01-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.3
* R/RcppLdpath.R: Also defined shorter functions CxxFlags() and
LdFlags() which cat() the longer forms RcppCxxFlags() and
RcppLdFlags() to further simplify use via litter or Rscript in
Makefile or Makevars
* man/Rcpp-package.Rd: Mention short form CxxFlags() and LdFlags()
* src/Makevars: Applied another build correction for OS X suggested
by Simon Urbanek
* src/Rcpp.{cpp,h}: Added 'view-only' classes RcppVectorView,
RcppMatrixView and RcppStringVectorView contributed by David Reiss
2008-12-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.2
* R/RcppLdPath.R: Correct output for the default Linux case
2008-11-30 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.6.1
* src/Makevars: Added, replacing src/Makefile: thanks to Simon for a
rewrite that provides OS X support
* src/Makefile: Retired
* src/Makefile.win: Now build libRcpp.a instead of Rcpp.a
* src/Rcpp.{cpp,h}: Removed #ifdef statements related to QuantLib and
Date ops as we no longer need to split this off -- one build for all
uses; also added another date offset for the difference between the
Unix epoch of Jan 1, 1970 and what certain spreadsheets use (which is
what QuantLib) follows. With this change, Rcpp is completely
decoupled from QuantLib headers, yet can be used from QuantLib 0.2.10
or later. However, this also removes data conversion from R/Rcpp to
QL as Rcpp no longer 'knows' QL.
* R/RcppLdPath.R: Adds new functions RcppLdPath() to return lib/
directory path, and RcppLdFlags() to return arguments, including the
optional rpath settings on Linux
* R/RcppExample.R: Added new example 'RcppVectorExample()', extended
default print method for examples
* man/Rcpp-package.Rd: Expanded / updated documentation of package
use when building other packages
* cleanup: Removing static libraries too but do not remove src/Makevars
2008-11-05 Dirk Eddelbuettel <edd@debian.org>
* Release 0.6.0
* New maintainer
* src/Makefile{,.win}: New files, including functionality from both
configure and RcppSrc/Makefile; we now build two libraries, one for
use by the package which also runs the example, and one for users to
link against
* src/Makevars.in: Removed
* src/Rcpp.{cpp,h}: moved in from ../RcppSrc
* src/Rcpp.{cpp,h}: Add new type RcppDatetime corresponding to
POSIXct in with full support for microsecond time resolution
between R and C++
* man/*: Several new manual pages added
* configure{,.in,.win}: Removed as src/Makefile* can handle this more
easily
* DESCRIPTION: Minor cleanup and reformatting, Date: now uses
svn:keyword Date property
* NAMESPACE: Renamed RcppTemplateVersion to RcppVersion,
deleted RcppDemo
* demo/ directory removed as vignette("RcppAPI") is easier and more
reliable to show vignette documentation
* R/zzz.R: RcppTemplateDemo() removed, vignette("RcppAPI") is easier
* man/RcppTemplateDemo.Rd removed as well
* R/RcppExample.R: reindented, rewritten to set default arguments
* R/RcppTemplateVersion.R: renamed to RcppVersion.R
* man/RcppTemplateVersion.Rd: renamed to RcppVersion.Rd
* RcppSrc/Rcpp.{cpp,h}: moved to src/ directory
* RcppSrc/Makefile{,.win}: removed
* inst/doc/RcppAPI.{Rnw,pdf}: Added footnote onto titlepage about how
this document has not (yet) been updated along with the channges made
|