1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373
|
commit 4e0031258b9098c5dc02b34e5eb570e54307e6b5
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 22 08:05:08 2014 -0700
Version bump
Change-Id: I4da6558dfa2dd2aaae6343d2363b7fcfc7786f45
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit e2897e156f697ce4d89e8df50f7083fff7909372
Author: John Cummings <jcummings2@users.sf.net>
Date: Thu Apr 17 13:43:19 2014 -0500
Remove rejection lines that cause the sample_list test to fail
These functions (except createComplexList) are are needed by the test.
Prior to 5b39f7fd9e21, the rejections were not being recognized; removing
them returns the wrappings to their previous state and allows the test to
pass again.
Change-Id: I3efb08383b2d59f9917a4e4a0200e0516db9c83e
Reviewed-by: Matthew Woehlke <mw_triad@users.sourceforge.net>
Reviewed-by: John Ehresman <jpe@wingware.com>
commit bca7c117e141ed78b4666c7a8b868a180bd18173
Author: John Ehresman <jpe@wingware.com>
Date: Wed Apr 16 12:08:20 2014 -0700
Remove protected from samblebinding test
The protected sections triggered a generation bug when avoiding
the protected hack
Change-Id: I6346cdb74a25f1ddf49263d9f74670a3b105b07a
Reviewed-by: Matthew Woehlke <mw_triad@users.sourceforge.net>
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
commit ebf3ba51187b6bb54cf819e5a0101c2f75e11de1
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Wed Apr 16 10:02:21 2014 -0400
Add parsing of 'noexcept' keyword
Teach Shiboken to parse the 'noexcept' keyword. This doesn't add any
features (and we only support unconditional 'noexcept' for now), but
addresses an internal error that causes shiboken to SEGV trying to parse
modern versions of boost::intrusive_ptr. A test case to replicate the
crash (without the other changes) is also added.
Change-Id: I4713593dfd189c02ef4a2d7447d785b6d378019c
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 35d006a7bf9b33807c1df93f5f9439ff83cd32c0
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Sun Nov 10 17:09:31 2013 -0500
Fix function rejections (i.e. support overloads)
Add an additional check to AbstractMetaBuilder::traverseFunction to also
perform a quick-and-dirty construction of the function signature, and to
check that against the rejections. Add a unit test for matching full
signatures.
Before, we were only testing the function name; as a result, a rejection
like 'foo()' would never match (because the name does not have ()'s).
This is especially helpful for rejecting specific overloads of functions
while allowing others to be wrapped normally. (The unit test shows a
not-so-far-fetched example why one might want to do this.)
The signature building logic isn't very sophisticated and likely
requires a very exacting match to the signature as it appears in the
wrapped sources, but that's likely not a serious issue, and at any rate
this is much better than not being able to match overloads at all.
Change-Id: Ic686377477aacf54f79c7bd2013e9aea8521a4ea
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 5b39f7fd9e216dd16e32ee5950d8d3d781cf1d17
Author: Hugo Osvaldo Barrera <hugo@barrera.io>
Date: Wed Mar 26 13:02:22 2014 -0300
Fix building with python 3.3 and 3.4.
FindPython3Libs.cmake lists hardcoded versions of python3 to look for,
which include up to python 3.2.
Added python 3.3 and 3.4 to this list so that building on these versions
works.
A better solution would be ideal in future, so as to avoid having to
add python versions to this list as time passes. However, this fixes
the issue for now.
Change-Id: I9c113f70164c30dc3a94a5c946facbc38901f68e
Reviewed-by: John Ehresman <jpe@wingware.com>
commit cb0671914f0ea3c88b59200a56648478faf5fc44
Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
Date: Wed Dec 25 20:12:24 2013 +0200
doc: Stop requiring sphinx.ext.refcounting.
Sphinx 1.2 made a backwards-incompatible change and removed its
`refcounting' extension module because it "is very specific to CPython
and has no place in the main distribution".
Fix the build with Sphinx 1.2+ by not requiring it in conf.py.in; we were
not using it before anyway (the `refcount_file' variable was not set) and it
was likely added by default when the configuration file was generated.
Change-Id: I6c775fb4c1c2daae25aade68079efc2e77225a0f
Reviewed-by: John Ehresman <jpe@wingware.com>
commit a527dd51e69b80c2d5be3a1d8cd60ab2b2616fa5
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Dec 31 14:30:53 2013 -0500
Fix for containers with 'const' values
Fix omission of 'const' specifier when generating binding code for
containers whose value type is 'const', which would lead to binding code
that does not compile due to 'const' mismatch. Includes test case.
Change-Id: Iff99a16ee071bb255f78e86e2456e5206cc00cfb
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit faa44f349170667fb918fc25e51cc5f392bfc6ad
Author: Brian Jensen <Jensen.J.Brian@gmail.com>
Date: Sat Oct 26 21:48:48 2013 +0200
Fix compilation issue on OS X 10.9
Starting with OS X 10.9 the system toolchain defaults to libc++.
This is a problem with the current sparse hash config as it defaults
to using c++11 functionality under the std::tr1 namespace instead
of std, which fails for libc++ since it does not implement the tr1
namespace. This change allows libc++ based systems to use the correct
namespace.
Change-Id: Ia8dd49fb5fad2915f41e44240e45a7af9d6453a8
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 0490b3000a29bcf72d83349dcb7a077f6a6c6c44
Author: John Ehresman <jpe@wingware.com>
Date: Mon Nov 11 19:10:06 2013 -0500
Only use fields in PyTypeObject when defining types
Allocate and use separate structures for as_* fields in the PyTypeObject
rather than using fields in the PyHeapTypeObject. This is a step
away from using the PyHeapTypeObject, which is unnecessary and will
make supporting stackless python easier.
Change-Id: I6e5c514ab6db5b8bee9bee3107b97d6fbd582641
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 2f8abc0c22539e96b1158e283f4da97acfbe98f8
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Oct 15 11:38:02 2013 -0400
Fix buffer overrun processing macro definitions
Fix potential buffer overrun (__first iterator becomes > __last and
starts processing garbage) when parsing macro definitions that would
occur if a macro definition ends in a comment. This would cause the
macro definition to contain incorrect content or even outright garbage
(i.e. random memory) if the trailing comment is at the end of the file,
as in boost/type_traits/detail/type_trait_def.hpp. In this worst case,
the macro expansion could contain a NUL byte which would cause parsing
to prematurely halt at the point of expansion.
Change-Id: I94ded39d9a20dc9510d827bc18adb2dc1bad17f0
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 1bc255c4b5f8ac2d71d0aa91b3a063c3f8978a8f
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Fri Oct 4 16:40:38 2013 -0400
Fix 'special' include handling
Fix handling of includes like '#include BOOST_USER_CONFIG'. This was
failing due to an obvious logic error in how the preprocessor tests if
the expanded symbol looks like an include file location.
Change-Id: Ia085e5c081078d328d6fc84ff2a99681913a30b9
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit a4bfd1948ba4e8f20d7bcd116fb756fc3559e078
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Wed Oct 2 16:40:47 2013 -0400
Don't warn when inheriting from container
Change AbstractMetaBuilder::setupInheritance to not warn about classes
that inherit from known container types, even if the container type does
not have a corresponding wrapper class (which in many or most cases it
won't). Remove now-unneeded suppression for the same in 'sample'.
Change-Id: I0a45636791eba36cf070ea082eb6ead6cb5947ef
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit cdd1bdc5f0f56cbb2a0a1172d4cd947417fed163
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Wed Oct 2 16:40:25 2013 -0400
Fix finding container base classes
Move logic to find template classes to its own helper method, and newly
use the helper in AbstractMetaBuilder::getBaseClasses. This fixes the
latter not finding template base classes, which fixes class topological
sorting in some cases.
Unfortunately I have not figured out a reliable unit test for this,
although printing a debug warning when finding the parent fails (or when
a template lookup succeeds) is able to verify that this change is doing
something useful.
Change-Id: I2a5e0df4035393288b6f69ebc41dc0e64866a182
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit e95be43deb8ace9da4ea67022b4d4a5648d35f01
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Wed Oct 2 16:25:35 2013 -0400
Revert "Remove useless code."
This reverts commit 02c6e63ac8dbb8acde3bc19abd36fff0db65fd11. Apparently
types derived from containers can have a container base class without
the container class having a metaclass.
This fixes the sample_strlist unit test crashing. (There may be another
bug here, in Shiboken's don't-write-generated-source-if-not-changed
logic, as the failure doesn't seem to reliably appear/disappear after an
incremental build.)
Change-Id: I5f60bfb784dca02d9766a32e7b7b8a8a529df5af
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 1aeeae8382cc9ed5d8c03dd168c8566b6594d399
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Thu Sep 26 15:54:48 2013 -0400
Refactor and improve added function resolving
Add a public function to create an AddedFunction::TypeInfo from a
signature string. Change translateType to use this to do full recursive
resolution on template arguments. Create a new helper function to do
more intelligent parsing of template type name signatures, and use this
in translateType.
Taken together, this means that we now recognize both multiple arguments
to template types of added functions, as well as template arguments that
are themselves template types. We couldn't do this before due to the use
of a regular expression to attempt to separate the template type name
from its arguments. The test cases are updated to test these new
features.
Note, however, that it is now a fatal error if the template argument
type cannot be determined. (Before we would just drop it and treat the
type as a non-container.) However, 1) this should not be happening in a
well formed type system, and 2) it's questionable if things wouldn't
have fallen apart anyway from treating the presumed container as
something else.
Change-Id: I23c3a7f7e311e046642d951d6ad2236571fda6b8
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 02c6e63ac8dbb8acde3bc19abd36fff0db65fd11
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Aug 27 19:30:53 2013 -0400
Remove useless code.
Remove code to set the type entry base container type in
AbstractMetaBuilder::setupInheritance outside of setting up the
container meta class. We do it anyway when the meta class is found, and
fail if we can't find the meta class, so having just the type entry set
is not really useful. (And this will allow us to simplify the code going
forward.)
Change-Id: I90389efc574d516703df0d6a26ba130769adfea7
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 22aa9ced0d6b167ee835b4b184511c5df3f79591
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Wed Aug 28 12:18:22 2013 -0400
Write inititializations in topological order
Add methods to various places in the hierarchy so that the generator can
access the topologically ordered class list (in addition to the
unordered class list). Modify CppGenerator::finishGeneration to use
this.
This fixes a failure to correctly create Python wrapper classes due to
subclass wrappers being initialized before their base class (with the
result that the looked-up type object for the base class is null,
causing the derived class to be created without referencing the base).
Also change one of the test cases to test that we correctly wrap a
typedef of a template class derived from a non-template base (which was
failing before this change for the aforementioned reason).
Change-Id: Ib4dc2626a41cb7bb905ff4a302c2613ea12d026b
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 8287ee801965f2fbeea573e1eb652cc851920f86
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Aug 13 16:48:02 2013 -0400
Work around MSVC's deficient <cmath>
Change libsample/transform.cpp to use the MSVC-specific _finite on
Windows, rather than std::isfinite, which MSVC does not implement.
Change-Id: If7b33e17bcb7c2e4432d670d44b559205f88796d
Reviewed-by: John Ehresman <jpe@wingware.com>
commit eb04a968b60da4e799ca89f2936a75ff63d915b1
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Aug 13 16:09:22 2013 -0400
Remove unnecessary line feed
Remove explicit '\n' from echo command in 'dist' target. This isn't
needed (echo should output one regardless, so it only creates an
additional empty line), and it is being parsed by CMake, which results
in generating a build.ninja on at least Windows that cannot be parsed
due to an unterminated string.
Change-Id: I5d8aba12c71f5a9c29a07108c50499081ba7203a
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 1f8db21ef969d16702eb962d2311ee3e50f39ce1
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Aug 6 16:22:18 2013 -0400
Fix description of sample/transform unit test
Change-Id: I942d2f450c8c57bed779925636a9abae572da98c
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit a43c815a6fe38d60ded59776ba6e71d87a1eedc1
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Thu Aug 1 13:58:20 2013 -0400
Clean up style
Change wrapping and indent of some code in Handler::startElement to
improve consistency.
Change-Id: I13bae6bbb732e3c5791cf0079154feed8d8dcbd1
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 43857068b0706f4a473c5f0a8d8c545ccab89cd9
Author: John Ehresman <jpe@wingware.com>
Date: Mon Jul 1 16:05:25 2013 -0400
Updated authors file
Change-Id: I43bc9ad2b32fc24bdbbc38728ae34e60ea843103
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 46db89a2a500c5b760c6f2b35ecde38d7e5ebfb6
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Fri Jul 26 12:16:45 2013 -0400
Fix '%#' substitution for # > 9
Change '%#' substitution to use a regular expression for the 'old' text
to enforce a word boundary after '#', such that we don't perform e.g.
'%1' replacement on inputs like '%10'. This fixes problems trying to
modify functions with more than nine arguments, such as the example from
the previous commit (which now compiles and passes). Also add a test
case for this.
Change-Id: I9956804b3c65bddf7e36838866641b24ceb87c57
Reviewed-by: John Ehresman <jpe@wingware.com>
commit ae2a80453b95775364e93ed1a4647429b2fd7bad
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Fri Jul 26 12:11:21 2013 -0400
Improve dependencies for tests
Add the global header and typesystem XML, and shiboken itself, as
dependencies to running Shiboken for generating the wrapped code used in
the unit tests. This gives a better example in case of users looking at
this code for how to do things in their own projects, and also makes
test writing easier by removing the need to do a clean build or touch
files to force the wrapping code to be recreated when modifying the test
code or the generator. Change command invocation to use shiboken as a
target name (CMake will recognize it as a target and use the correct
path automatically), and remove the now redundant dependency of the
wrapping libraries on the same. (This is superfluous both because using
shiboken as a target will cause CMake to add an implicit dependency on
it for users of the generated files, but also because it isn't really
needed; the generate command having it as a dependency covers needing it
built first, and is what we really care about as far as rebuilding
anything if it changes.)
Change-Id: If5cdf2e98602e500b49ba7b000e4e30e77e1a136
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 9da47455fa23323c68af13f1cd44ee2380b6c682
Author: John Ehresman <jpe@wingware.com>
Date: Sun Jul 21 18:05:35 2013 -0400
Bump version number to 1.2.1
Change-Id: I96686740c2572818fce36de23cf2c16f127fdda9
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Reviewed-by: John Cumming <john@jsolutions.co.uk>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit fddf371c86bb3c2339c518859f6bd3e1721dda88
Author: John Ehresman <jpe@wingware.com>
Date: Fri Jul 12 11:15:08 2013 -0400
Return None for .name of enum if no name for value.
This fixes segfaults when trying to get the name of a dead key
from a qt key event.
Change-Id: Ie631e2245bca0a3fee8616854f6479d3dec0c2bb
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 1d8690ab38f1ec4d7902eece201d79c18c65d002
Author: John Ehresman <jpe@wingware.com>
Date: Fri Jun 28 10:15:22 2013 -0500
Bump the library version number to 1.2
Change-Id: I5dde75c011a976a1da235d11847bdc69014df5df
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 69a454e663aef660e96d0f089ca5eb5809e34395
Author: John Ehresman <jpe@wingware.com>
Date: Fri Jun 28 17:36:45 2013 -0400
Removed old logos from html docs
Change-Id: I7b546aa11b7380049c533a44d9c9159edd73d73b
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
commit 9fcd4f5cd5c53fd0eb9dae17e1760662ce4ca497
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Thu Jun 27 17:29:25 2013 -0400
Add missing return on module init error
Add 'return' before 'SBK_MODULE_INIT_ERROR' when module initialization
fails due to a missing dependency. This appears to have been
accidentally lost in 0b1f8df512047c6ace60701180ec1e4f6e97484e.
Change-Id: I1bc1453c8515e7b67c101c8e8f13a1266d04433f
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 288f57f34fe1ebec409ec60868d5bde057440886
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Thu Jun 27 17:25:34 2013 -0400
Don't break -Werror=non-virtual-dtor
Classes with virtual methods but non-virtual destructors are dangerous,
because users often hold pointers-to-base-class of derived classes,
which cannot correctly destruct the derived class if deleted. As such,
there is the aforementioned warning that developers may like to promote
to an error. Add virtual (empty) destructors to some classes that were
tripping this, so that we build successfully if said flag is used, and
because they should probably be present.
Change-Id: I930ad5f5d122cf94c57e52bf28479cf3ca7950d4
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 297f2708dfd049b8b475ee1e680a788f0dfe164b
Author: Stefan Landvogt <stefan@valvesoftware.com>
Date: Fri Jun 28 11:55:25 2013 -0700
Fixing shiboken test for minimal binding test
Don't execute typedef_test.py, when NumPy is not installed
Change-Id: I452944822177f616ea640ed0ee005d0436ab518b
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 42f40dc10b715cd91d8d020a4708154a5d7f6a6d
Author: John Ehresman <jpe@wingware.com>
Date: Tue May 28 10:13:37 2013 -0400
Decref reference to type object
A decref is needed if the type is not subclassed when an instance
is deallocated
Change-Id: I2c64d7cb5b726c5bf108c1cbc5283cf315a5f8e9
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 79e32dd6c67cfbd0d0e2b163e6d1959ea5161465
Author: John Ehresman <jpe@wingware.com>
Date: Sun Jun 16 18:10:53 2013 -0400
Fix segfault when using shiboken.delete
When an object is deleted, invalidate / releaseWrapper needs to
be called before cptr array is deleted.
Change-Id: I82f71f569d5a0f52084fbe1cc3d7846e764c7ef6
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit f060e1ce92fdb4714ca2cface9474db33f1d8e95
Author: John Ehresman <jpe@wingware.com>
Date: Sun Jun 23 15:07:57 2013 -0400
Use non-static method def for instance methods
For methods that can be called as either class or instance methods
(e.g. PySide's QObject.connect), a non-static variant of the
PyMethodDef struct is needed in Python 3.3 when method is used
as an instance method. Fixes
https://bugreports.qt-project.org/browse/PYSIDE-145
Change-Id: Ie8876a381614f33815f9b6449ea4a61cde9e5cee
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 7d56c8e1d3025edb967906d9481075c38290574c
Author: John Cummings <jcummings2@users.sf.net>
Date: Fri Jun 21 13:57:14 2013 -0500
Fix bug introduced when recursive_invalidate was added.
If a Python object is passed to recursive_invalidate and is a sequence,
each item in the sequence is invalidated
Add unit test for recursive invalidate of a sequence
Change-Id: I70834f8e027bd17a04c0e443bc7d584d1fde26c1
Reviewed-by: John Ehresman <jpe@wingware.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit b137af6d67c65b7e0e362acbdfc0cce0a321e90c
Author: Matthew Woehlke <matthew.woehlke@kitware.com>
Date: Tue Jun 11 16:27:12 2013 -0400
fix build in C++11 mode
Add spaces between string literals and preprocessor symbols. These are
required because C++11 defines string prefix and suffix operators, and
confuses preprocessor tokens adjacent to string literals as unrecognized
string literal modifies, resulting in compile errors.
Some of these changes are also needed to prevent generating code with
the same problem (which affects both Shiboken building itself, but also
any users of Shiboken).
Change-Id: I99f2d3c61fd9df682f915a29f27321fee2ce759e
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 709f98d254efde9f98476913e79ea02fd88cd7c2
Author: John Ehresman <jpe@wingware.com>
Date: Mon May 27 21:53:02 2013 -0400
Prevent infinite recursion in invalidate
Change-Id: I8946a8572b608bf8ede211d270f797f135f8083a
Reviewed-by: John Cummings <jcummings2@users.sf.net>
commit 45268bd0ad5a6569adad2e529574d7bf536d0bff
Author: Teemu Kaukoranta <teemu.kaukoranta@digia.com>
Date: Wed May 22 11:03:09 2013 +0300
Replaced Nokia copyrights in header
Replaced old Nokia copyrights with Digia copyrights.
Removed "All rights reserved" strings without leading copyrights were
removed (for example, 'Copyright SomeCompany, all rights reserved
remain untouched).
Did NOT touch contact details, will change them later.
Excluded folders that have '3rdparty' in path.
Used command:
find . -path '*/3rdparty/*' -prune -o
-exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; |
tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/
\1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I')
>(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I')
This excludes binary files and retains whitespace and #* characters in
the beginning of the edited lines.
Change-Id: I0d49f991c3dbd45d804843f185714e8681bc6c51
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
commit 4f4a3e6522d139b223060634ad3bbbb343f79564
Author: Robin Dunn <robin@alldunn.com>
Date: Mon May 6 11:08:31 2013 -0700
Fix possible conflict with garbage collector.
Ensure that the GC is no longer tracking object an object before starting
to delete it. Since Shiboken's object deletion goes through several steps
we need to ensure that the GC will not try to delete the same object.
Change-Id: Ia3337c72204b0ebf524959e1c99fbef7c1a02249
Reviewed-by: John Ehresman <jpe@wingware.com>
commit e2288e227e85e61df2215ce8f9a38a8c7e832e89
Author: Robin Dunn <robin@alldunn.com>
Date: Mon May 6 11:02:03 2013 -0700
Fix possible crash at exit.
The interpreter may already be finalized when it gets to ~BindingManager() so ensure that the interpreter is still valid before doing anything that could result in Python being called for a DECREF or etc.
Change-Id: I8a68322f404a1dcaa9203923d6f699ed57e9d319
Reviewed-by: John Ehresman <jpe@wingware.com>
commit 91142c00a45b78d6dafd9e0a472243cff951a507
Author: Sébastien Sablé <sable@users.sourceforge.net>
Date: Fri Mar 1 11:37:20 2013 +0100
Fix handling of unsigned long long and provide unittests.
Change-Id: I29674a2d758ebf4650e2fe26cdc2e663c0bae5c7
Reviewed-by: Sébastien Sablé <sable@users.sourceforge.net>
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 00d80865b7ef20440a4c925940c5576bbc8e248b
Author: Sebastien Sable <sable@users.sourceforge.net>
Date: Thu Feb 21 12:09:32 2013 +0100
Add test to illustrate issue on typedef enum
Change-Id: I0c95a5ba46a3392d5ff6bb5f40d300b07facf7e9
Reviewed-by: Sébastien Sablé <sable@users.sourceforge.net>
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 76a92c3cc6bda8511e5a8e19d159385361ac84a9
Author: John Ehresman <jpe@wingware.com>
Date: Thu Dec 20 17:39:11 2012 -0500
Use getWrapperForQObject to convert if generating for PySide
Change-Id: I4a83bc3642c9853e61597093fb0a7f25fdfec46b
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 4aa901db487cc1202680046091f074ea58544ea3
Author: John Ehresman <jpe@wingware.com>
Date: Thu Dec 20 12:57:24 2012 -0500
Allow compilation without a python shared library.
The use case is compiling against a python built with shared
library support disabled.
Change-Id: Ic919ebcf7c85261a0275a013ebc1523c1fe5a755
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 48259be8b3dc5f0c7b5026cc2821545b422d2c4f
Author: John Ehresman <jpe@wingware.com>
Date: Tue Dec 11 17:29:43 2012 -0500
Use parent class's metaObject if wrapper is NULL.
Return metaObject from parent class if wrapper has been
invalidated, which currently happens in the *Wrapper class
destructor.
Change-Id: I1d5ef8802acf796cced7838b3ecc76f51201d906
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 46fe1eac50b094a6252e7a6a678a438f1b2c8f9a
Author: John Ehresman <jpe@wingware.com>
Date: Tue Dec 11 15:44:59 2012 -0500
Optionally assert on free'd pointer with a valid wrapper.
Use a debug mode callback that's called every time free is
called to detect wrappers that are still in the binding manager's
map after the C++ object is deleted. When it's enabled 10+
of the PySide tests fail.
Change-Id: I30a40d48f6c4560ff0a3755d61c26ea4c6dd2758
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit fdf8e4b70e2a82cda581ceae06a1c98fb20114f0
Author: John Ehresman <jpe@wingware.com>
Date: Tue Dec 11 12:53:24 2012 -0500
Find python3 libraries when built with pydebug enabled
Change-Id: I5ab48078f8a4468865bc0a961f78d2d578b8f81c
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit eb293c2839cfbc726f0e085e1435c94b6f6561f9
Author: John Cummings <jcummings2@users.sf.net>
Date: Tue Sep 11 10:59:08 2012 -0500
Fix PYSIDE-108 bug and add example
Replace "::" with "_" in protected enum name to fix issue
Add test case to libsample and samplebinding
Change-Id: I2edea2dfa8adecfe5fa34f777da9f60cfe4c6ee4
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit a3cecbab9735d40f97c0a031dd17ac594cf39e82
Author: Nathan Smith <nathanjsmith@gmail.com>
Date: Tue Jul 3 17:55:04 2012 -0500
PYSIDE-83 Fix segfault calling shiboken.dump
shiboken.dump would segfault when called on an object whose C++ object
had been deleted or whose parent C++ object had been deleted. This now
checks to see if the data pointers beneath the PyObject are NULL before
printing data.
Change-Id: I89763a3ca3a5d25fad4142ff924692cd232c9c40
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit e1a91dd721c17727bea41b591336d1cacca6dea4
Author: Nathan Smith <nathanjsmith@gmail.com>
Date: Tue Jul 3 17:35:27 2012 -0500
Fix and test case for bug PYSIDE-72.
The address of the PyObject is used directly as the hash rather than a
member of that object. This avoids segfaults when the C++ object has
been deleted, rendering the child pointers NULL.
Removed a test case verifying that hash(QObject()) != hash(QObject())
because they in fact can be equal. The first QObject dies and is reaped
before the second QObject is created, meaning that the second QObject
may be allocated at the same address as the first QObject, giving them
both the same address. If a reference is held to the first object,
though, then they will get different hash values.
Change-Id: I116463f88b837726a98720bae36770d53b13f4ee
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit 7e5c76981d6bcb04b72a407a6bc4076170ee414e
Author: John Ehresman <jpe@wingware.com>
Date: Thu Jun 14 14:59:23 2012 -0400
Override all functions with the same name, not just one.
This allows pyside to compile with Visual Studio 2008 when built
against qt 4.8. There are still test failures, however.
Change-Id: I83da30211e5032b1352102f189cb93dfb741eb38
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit f92ea511050786900ee9b648fdd7cefae13e3973
Author: John Cummings <jcummings2@users.sf.net>
Date: Thu Jun 14 15:30:27 2012 -0500
Update vector conversion
Incorporate Hugo's comments from change Id2ea1a5f
Change-Id: I5f0c93b7036f5d2908cd2ee2038eb570f9889b58
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 22b6e8243784aa57c820d01b73ed16e604d7bca8
Author: John Cummings <jcummings2@users.sf.net>
Date: Thu Jun 7 11:25:55 2012 -0500
Add typedef examples to minimal
Add an example for a typedef of a template
Add an example for a typedef of a typedef
Add a python unit test for these examples
Change-Id: Id2ea1a5f1e4b3d865c081625f2d5b7ed4c38bbdb
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit f465efbff6830866c0a82b30193389bb97ab2210
Author: John Cummings <jcummings2@users.sf.net>
Date: Thu Jun 14 13:36:17 2012 -0500
Add test files back to cmake
Change-Id: If4f2cd745fe0c6e81d876c0f890cd94dc73f5721
Reviewed-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit 8bce7870aebd415a3d842cda3c29b82461802214
Author: John Ehresman <jpe@wingware.com>
Date: Fri Mar 30 15:11:57 2012 -0400
Don't use it->second after erasing it
Change-Id: I77bda667d4119a7982ec93175ff0b3153277ad8e
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit e40e993cecd1663636e2f0d33b3e2a6204d64984
Author: John Ehresman <jpe@wingware.com>
Date: Thu Jun 7 20:44:19 2012 -0400
Find function modifications defined in the 2nd+ base class.
Fixes bug PYSIDE-54
Change-Id: Ic5c341741170cc77e8ebb59c46c746211582ddeb
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit 54cce10fa8a9942450c9e1a9d9a9d2a1b688f243
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 2 21:45:52 2012 -0300
Set a default hash function for all ObjectTypes.
Fix bug PYSIDE-42
Change-Id: I1392374dcf0055309152082e674cc1e3e6472d4d
Reviewed-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 9a8eaf81a4694088cb2a5f3fcea753ea588cb7cf
Author: Paulo Alcantara <pcacjr@zytor.com>
Date: Wed May 2 20:24:56 2012 -0300
Fix compilation when there is no libxslt installed on the system.
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Change-Id: I7ea373535ff936b6a4fbf0071aff0a690925db15
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 1f7127acd36492cd37c7b86e09e62c51557c9ad3
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 17 15:18:45 2012 -0400
Install the shiboken module to site-packages
Change-Id: Ia11858b90183ef6b599e1c0f299e730cd4ff9334
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit f169a8c0e154ddd1a531e2aab51288ab1209ebb9
Author: Roman Lacko <backup.rlacko@gmail.com>
Date: Mon Apr 30 23:36:11 2012 +0200
Fixed resolving of SOABI. SOABI is implemented on Linux, but not on Windows
Change-Id: I472321506b53ff21ba608ebf72b0b7b458121387
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 8c5297bb10daf508f787646b66a2e4c21e4e15f6
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 17 12:30:49 2012 -0400
Don't use inline methods in dllexported classes to keep VC++ happy
Change-Id: I2e954bedfe4699a621047a757b3dbd202655e97b
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 815159e28d786d83c984670cd8867d5ce3d314f4
Author: John Ehresman <jpe@wingware.com>
Date: Fri Mar 30 15:13:18 2012 -0400
Use SpooledTemporaryFile in 2.6+ os.tmpfile() fails on win32 if process doesn't have admin permissions
Change-Id: Ic231d5faac08360a793ce33c091eef251d7b35e4
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 1a6bd4513e85eec3ad1648e545cd596cb6ab3858
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Apr 27 14:41:26 2012 -0300
Version bump to 1.1.2.
Change-Id: Ib7c918b91679240223ae8091c90d9069392b3423
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 03650317cdf3c22e8f7353e3dfee03cd4030558d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Apr 27 14:32:49 2012 -0300
Disable docstring generation if tools aren't found.
Change-Id: I11d6b90c2ba924fbe182924e747fa39adc6981c6
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 49bc8fbb0803f91d391211356492fba9bc4e68dc
Author: Jason McCampbell (Enthought, Inc) <jmccampbell@enthought.com>
Date: Thu Mar 15 16:07:22 2012 -0500
Don't clear weakrefs if Python interpreter isn't running
Change-Id: I51ba2fcf5f881abb38e9b69b115fb98c536e2146
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit edd5baf707a87cb681fc1300a8942f6f2f348e56
Author: Andy Kittner <andkit@gmx.de>
Date: Wed Feb 29 21:28:42 2012 +0100
Use set instead of list to store children
Should fix issue #pyside-4
Change-Id: I2500c3b80b07697c1750b136eaef332643658956
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit 9536f1388bc768722a7407c61504ea5e6227f57f
Author: Andy Kittner <andkit@gmx.de>
Date: Wed Feb 29 21:00:47 2012 +0100
Use correct variable replacement syntax
Fixes issue #PYSIDE-5
Change-Id: I8950416b743f99c3646a89640a1ac35c4c4362a1
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
commit 02c1fd0749fcee5c0c869d1bf822b33d32fed8ad
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 13 11:03:34 2012 -0300
Remove data dir from ApiExtrator, it doesn't need to install anything now.
commit db17a2f368049ccb9050d6f4e7b51bb6aeae87e2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Feb 29 00:48:41 2012 -0300
We don't need GENERATOR_BINARY define anymore.
Reviewer: Trust me.
commit 2c2883fc2253da9e3e4ae344bc7c0ce888d39ca9
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Feb 29 00:47:11 2012 -0300
Removed all visibility macros from ApiExtractor since it's now a static lib.
commit 323a511f4920a2001ae353b584f47f2aa30534c5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Feb 29 00:33:33 2012 -0300
ApiExtractor merged into Shiboken as a static library.
commit 037696b4cfc6fe172f3d3200c6737813b054faa1
Merge: bd2df4e 14e2207
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 13 10:52:23 2012 -0300
Merge ApiExtractor into Shiboken to be used as a static library.
Conflicts:
.gitignore
commit 14e2207a58e79360bd48507b5e386ec944d8dd74
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 13 10:48:37 2012 -0300
Move ApiExtractor into ApiExtractor directory to ease the merge into Shiboken.
commit 744d018dd857543f93f3961cf9e7f70adcc7ce65
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Wed Jan 4 15:40:37 2012 -0300
Fix BUG #1086 - "generatorrunner segfault processing #include..."
Boost headers typically include the character '#' at the beginning of
any line and just do nothing elese with that unnamed directive. So as
that's not actually an error, rather that's just a just-do-nothing
directive we'll ignore this situtation. There's still a problem when
using #include directives and passing macros as arguments rather than a
path to the header file. Instead of asserting this issue we'll print a
warning message about this issue.
One can also include a path between brackets (for e.g., when defining a
macro or so) so that we cannot simply ignore that. So we need to handle
this kind of stuff as well.
See http://bugs.pyside.org/show_bug.cgi?id=1086.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit 002efe18aa6208dca588a8da737c87c0e13a8a76
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 30 15:11:00 2011 -0300
Version bump to 0.10.11.
commit 4889efc199243af54cf71accffb3f9554cba933d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 23 15:10:17 2011 -0300
Added the "<custom-type>" tag, and better requirements for function signatures.
Trying to find a non-qualified (without scope information) class, found
in a function signature or return type, was a bad idea for it makes the
parsing awfully slow when dealing with huge libraries. If the user
writes a type in short form in a function signature (e.g. "SomeClass",
instead of "Namespace::SomeClass"), APIExtractor will exit with a
message indicating the error and the possible candidates for the type.
The "<custom-type>" tag is for types of the target language ("PyObject"
in Python, for instance) and will be handled by the generator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Paulo Alcantara <pcacjr@gmail.com>
commit ab94961a639cc7b364fcb1e3f68531792c312990
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 22 14:23:22 2011 -0300
Function signatures including return types are reported as invalid.
This fixes bug #1101: "Report invalid function signatures in typesystem"
http://bugs.pyside.org/show_bug.cgi?id=1101
commit 3fed11c07c214e4c396f2ecfd19236ac1dcedb07
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 21 18:43:02 2011 -0300
Fixed type resolution for types inside scopes, but their names omit this information.
commit 8550517e9d3a03603ece294e4183853040e16fd8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 21 18:42:52 2011 -0300
Fixed typo on warning message.
commit c19323bbe798f6e3a5cc4d2714789ede8b025e0d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 20 19:42:14 2011 -0300
AbstractMetaTypes for object types used as values must have the Value usage pattern.
commit 470991329c637150eb44a223a9e061a62ea6ce2f
Author: Jerzy Kozera <jerzy.kozera@gmail.com>
Date: Thu Oct 20 20:21:19 2011 +0200
Fixed compilation error for gcc versions < 4
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit e648d0b0398f46afd2d5c5113a3b95a0522f5c2a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 13 21:11:09 2011 -0300
Fixed insert-template tag when used inside a module level inject-code tag.
Also added unit tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 5e5009140ec778dd217ce254770ed25c755a906c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 9 20:32:15 2011 -0200
Don't report cyclic dependency when there not a single to form a graph.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 933e955e6b67422e7fd70130d4d3e84f7ee471c8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 9 20:33:21 2011 -0200
Version bump to 0.10.10.
commit 5b610437268a09ca51f05efd36e270816f38258b
Merge: 93001f6 9ccc24f
Author: Bruno Araújo <bruno.araujo@gmail.com>
Date: Fri Nov 18 10:10:10 2011 -0800
Merge pull request #18 from baraujo/master
Doxygen support
commit 9ccc24fdac4179c3f533509baed0da2dd4ee21f4
Author: Bruno dos Santos de Araujo <bruno.araujo@openbossa.org>
Date: Fri Nov 4 13:31:54 2011 -0400
Doxygen support
commit 93001f6a1fe8fa1fe7bf4d7d5dcda7fefae888b8
Author: Yaakov <yselkowitz@users.sourceforge.net>
Date: Thu Oct 27 11:17:44 2011 -0200
Fix bug 1008 - "ApiExtractor Cygwin patch"
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 9bd43d046bfc93eefa682bbce95ccc53fc1b0550
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 27 11:20:05 2011 -0200
Bump version to 0.10.9.
commit fe7944368f2b1ed62b7002dae33bba5352c6f637
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 11:31:32 2011 -0200
Version bump to 0.10.8.
commit f12e470665c66101baf3a52fca0737b5102d5420
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 19 14:27:36 2011 -0300
Fixes setting of template argument's usage pattern.
Comes with an unit test.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 6b0d3bae3a0c015c3341a6d615a6b6d799322d8a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 16 19:43:38 2011 -0300
Fixed modifications to global functions.
Also added unit test.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 35ab8b8e722b73a3a3ed9312379f6ab849252e19
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 25 22:44:53 2011 -0300
Added improved functionality for the 'conversion-rule' tag.
It works for primitive, container and value types. Object types doesn't
have conversion rules because they can not have implicit conversions,
and the regular conversion is always the same (get C++ object held on
Python wrapper, and finding/creating a Python wrapper to a C++ pointer).
Unit tests were added.
Documentation was updated.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit e7fdca6465740132bd881ffd9d20e61be47472d0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 1 18:53:22 2011 -0300
Fixes method's argument types that are templates but the template variable wasn't declared.
An unit test was added.
Other unrelated tests had minor improvements.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 2d3a55bd847616a9b666531795d3b99e5c78a56a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 31 15:08:49 2011 -0300
AbstractMetaBuilder fixed to set base container type correctly in meta class' type entry.
commit da35e24a6c8eee2f42646a50186ef776e211c167
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 31 14:53:54 2011 -0300
Fix outdated info on docs.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit f60da508aa6e45232dbb1ae2831c4a45479d168e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 29 18:22:00 2011 -0300
Revert "Implement getTypeIndex function for types no generated types and primitive types."
This commit broke the macosx build of PySide.
This reverts commit e9758a01f15bc53de8e03b77ec8beb5673b1b1af.
commit 16dc50e25109274f400a064b4d672384d09b22f7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Aug 26 14:32:37 2011 -0300
Optimize isCppPrimitive function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit dfd0bc442d5f3c04d03ee23606b399ed18d304f7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 24 17:54:56 2011 -0300
Implement getTypeIndex function for types no generated types and primitive types.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit eef4208e789cff36e5f6a40a49a239d6461f8683
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 24 17:03:55 2011 -0300
Version bump to 0.10.7
commit d151c052d5113fbe1e8d1b921dff3b45105e94ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 16 11:05:32 2011 -0300
Added setTargetLangPackage and targetLangPackage methods to PrimitiveTypeEntry.
Updated tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 15b355dca205090adf9fe338f02963f945263d98
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 15 16:20:39 2011 -0300
Included the unsigned types in TypeEntry::isCppPrimitive() method list of types.
Also added a test for a typedef of an unsigned numerical type.
commit 26eeabae2ac5f8b449d34bf472b1e506efdf35cd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 11 17:46:41 2011 -0300
Version bump
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit fbabe7a32b49d214ee5653cf6f0ced2f936c81ab
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 11 16:54:44 2011 -0300
Fix bug 731 - "Can't specify more than a single 'since' argument"
commit 7c2acc64fb7d345c184c91336ed20913a6d6d791
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 10 15:20:30 2011 -0300
Fix link on rel bar.
commit 44a69e123dd2f610f0b7ecdd505a61130152e58c
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:32:35 2011 +0200
Update pysidedocs theme to rely more on sphinx's base theme:
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 0540c82e917293ec97b73760ecf6ceb7fb06425c
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:31:19 2011 +0200
Drop superflous .directory file.
commit c956f7307362d8ea2f0c2658b5954264fbf2bc05
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Aug 7 14:01:53 2011 -0300
AbstractMetaClasses now hold the instantiation types for the templates they implement.
AbstractMetaClasses that are typedefs for template class instantiations
use to keep the template from where they derive, but didn't keep the
values used for the derivation. Now this is fixed, and with an unit test.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 389dab874764823c7a4b7a0b8a257f001d83ec02
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 4 18:46:37 2011 -0300
Compute the type indexes if needed when calling getMaxTypeIndex().
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo@openbossa.org>
commit 68976e42cd1d765baa73a85bc1b80da829996ec1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 3 17:10:31 2011 -0300
Set code generation flags on TypeSystem type entry.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit e486e0bbe2065bbc228f84f93178e0636475021b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jul 20 11:53:01 2011 -0300
Added default constructor option for value types.
The unit test is in place and the 'value-type' tag documentation was
update with information about the 'default-constructor' attribute.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit b3644ccd1f52073ed70ce8b6e0ed4f58a07632d7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jul 27 18:04:59 2011 -0300
Copied AbstractMetaBuilder::decideUsagePattern() method to AbstractMetaType.
The decideUsagePattern on AbstractMetaBuilder now calls the new
AbstractMetaType's method.
commit 1a989347e029e9f90b5c2c727243a02d1c1aa496
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 25 14:37:48 2011 -0300
Added a test for operator methods removal.
commit dda325de53c44decafe8f95a803e561b66dbe43f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 25 16:28:10 2011 -0300
Fixed TypeEntry::isCppPrimitive() to process typedefs and "long long" type.
And added an unit test.
commit 4430af6307cc0aa599f99eb7aaa5570eb80a7bc2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jul 11 19:01:42 2011 -0300
Fix PySide code generation.
commit 28510ddcf9d856c9ae351a30abb7593d418b7dd6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 7 14:09:04 2011 -0300
Check inconsistencies for enums and disable generation of private entities.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Filho <renato.filho@openbossa.org>
commit 9aabb6c3a5505da1e44be2dbec366f51fb2249ba
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jul 5 19:22:51 2011 -0300
Added docs for typesystem new attributes.
commit 2cc6e2afa7b9845ccfc62b9dce72b498034e8de9
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jul 5 19:11:04 2011 -0300
Added revision attribute to type entries tags and flags-revision to enum-type tag.
These attributes will be useful to separate the wrapped API in revisions and ease
the task of producing ABI compatible bindings.
commit 31df158c68385c300f6c9b7cb0fe06bb3a789300
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jul 11 14:26:41 2011 -0300
Bump version to 0.10.5.
commit 902bc687fd1a6503106594080e3075c8a68f248b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 21 17:52:35 2011 -0300
Version bumped to 0.10.4.
commit 72df9d496c4efa0ad154f0623a4a41b9ebfb948b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 16:14:56 2011 -0300
Show perm links only when the mouse hover on title.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 86f3ce6210c9ecfe07b2ec730742ab6706bd0d1a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 16:14:50 2011 -0300
Doc js files sync with latest release of sphinx.
commit b78dcfc72e3dcfdcbb2ba80790bc2d243c1b0888
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jun 3 15:46:10 2011 -0300
Fix bug 464 - "Can't create target lang package and namespace with the same name"
commit e3de600d1823595b6b9d43f0214acdb36bb60152
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 31 11:37:58 2011 -0300
Fix bug 827 - "Anchor sign for headers to copy links for sections"
commit 2acdd73d6a0e63e0df9f8744ab8b6ee20c336666
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon May 16 17:26:39 2011 -0300
Fix bug 851 - "Shiboken recognizes dereference operator overload as times operator overload."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 38e7c4839a89fa2bf7602143d779eb99dee5c9de
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Apr 8 15:06:58 2011 -0300
Fixed conversion operators type resolution for references to types.
This is fixes bug #716: http://bugs.pyside.org/show_bug.cgi?id=716
Unit tests were added as usual.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 190b04bd9d47ed5e4b6d9d401b8574b36da105e5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 11 18:49:38 2011 -0300
Don't compute function modification from API versions greater than the current version.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 33eb60d19f0884d9c7ecbe26b571c82de2d77b51
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 10 16:04:09 2011 -0300
Fix bug 417 - "Support nested naming of flags"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit df47f8ad80e92952fcdb1f09a794cd15cc17f3ec
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Apr 28 17:51:54 2011 -0300
Bump to version 0.10.3
commit fd5c0f2a8a114ce11390fee445976d7cc0d213f3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 25 15:01:35 2011 -0300
Add support to template types as arguments on user added functions.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 427992fc248b60dc38e21a4a2e2a48f64c1cbe2c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Apr 14 19:47:06 2011 -0300
Add support for adding reverse operators with add-function tag.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a4196f6b63d3050a7bc631e6276e17e0af4dc1eb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 11 15:50:53 2011 -0300
Add AbstractMetaFunction::isCallOperator() method.
Returns true when the function is a call operator.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit e3019fc3e235bee97447a80f0ec9424d3171898c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 11 15:56:59 2011 -0300
Remove GCC 4.6 warnings on abstractmetabuilder.cpp and parser.cpp
abstractmetabuilder.cpp:1792:9: warning: variable ‘firstDefaultArgument’ set but not used [-Wunused-but-set-variable]
parser.cpp:2136:17: warning: variable ‘global_scope’ set but not used [-Wunused-but-set-variable]
commit 2ee4fa594678cfd2e3b874ef7235d410e6126da0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Apr 6 18:17:59 2011 -0300
Skip functions added on base classes.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 988de2f105e30e59c5df649ce6d46f9f66a211d8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Apr 7 17:29:41 2011 -0300
Removed warning about unused variable when using gcc 4.6.
commit 17f8e2a2435874df7103826641ab46b7761c010a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Apr 4 15:34:23 2011 -0300
Added support for module extra includes.
Unit tests were also added.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit eea55215f0f172c7103e881ec1423891784a2790
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Apr 6 16:05:01 2011 -0300
Version bump to 0.10.2
commit 4cffc36a1564069342ec1435d5cdf9223c856554
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Mar 31 18:35:14 2011 -0300
Version bump
commit 7297460400873c28a183113ad66d4eec11452306
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Mar 25 13:00:09 2011 -0300
Use QDir::currentPath() to avoid problems with armel-Meego target.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 55b5e13e496ba035166af43ba133083d1f95bd6b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 24 11:04:59 2011 -0300
Fixed AbstractMetaType::cppSignature() method.
The usage pattern *must* be decided *after* the possible template
instantiations have been determined, or else the absence of
such instantiations will break the caching scheme of
AbstractMetaType::cppSignature().
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 1e2dc2d50f90f71c13f405b0a2bd82af994f7457
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 24 09:23:03 2011 -0300
Added tests for template containers used as arguments for functions.
commit 23e950c9a2c9ac493d539f892c5051f703004d32
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Feb 17 15:58:47 2011 -0200
Turn some regex static, so we don't need to compile them in every function call.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2b671a5452d9f8c528948e4dcd707a11d3b8962b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Feb 17 15:47:23 2011 -0200
Add more cache stuff to speed up the generation process.
commit 3932724b812f711893461038d0d0808dc1e2d79f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jan 4 13:44:24 2011 -0200
Cache the value of AbstractMetaType::name
commit d63acce85c01257af96809f1081ab479d1f703a8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 17 10:15:45 2011 -0300
Added a depth counter to avoid segmentation faults when discarding type entries.
And an unit test was added.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 2ca6e422c0a4c58fad74fe523abb25716df81ce2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 08:22:51 2011 -0300
Added the "ApiExtractor::setDropTypeEntries(QString)" method.
It gets a string of semicolon (;) separated type system entry names
that will be passed to the type system parser to deal with the given
entries.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 6fda7c1130e1ca7512ea2936ce2336722381fe07
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 08:22:04 2011 -0300
Added a test for dropped type system entries.
Also updated the TestUtil class to deal with dropped entries.
commit eab5d72e3f7727f5726fa49267985cfcbd8e2c07
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 08:14:45 2011 -0300
Type system parser has now the ability to ignore entries as demanded by the user.
The entries that could be dropped are:
* Object and Value types
* Global functions
* Namespaces
* Enums
The entry name must be fully qualified with scope items separated by a
dot (.) and beginning with the module/package name.
Example: to drop the class "Bar" inside the namespace "Foo" from the
"Pkg" package specify it with: "Pkg.Foo.Bar".
TODO: The parser will later complain that dropped entries found on the
headers are not found in the type system. That's obviously incorrect,
but to fix it all the type entries should store the name of the package
from where the came. And that's a needed improvement!
commit f66bede561b7e1b282c835395f14f08437c407f8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 17:18:07 2011 -0300
Bump version to 0.10.0.
commit 88b59c7c1519327a731671d266521263d4deb4b2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 07:37:15 2011 -0300
Removed unused variable.
commit 6fc7f20b4c876d93ecbb22a36c6a026a4b604f5d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 21:51:57 2011 -0300
Moved down AbstractMetaType creation line to avoid possible memory leak.
commit 181789982339a85ae6ad7a973816b2adeb48739a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 18:02:43 2011 -0300
Update documentation for reference-count tag.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2c927a298b845cbf08a551614884e2a4a12482a9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 17:36:29 2011 -0300
Added an alias for the confusing index values for the ArgumentOwner class.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 27f41bcac569037d1440b960d16f149b5499870a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 8 18:19:39 2011 -0200
Uncomment usefull code to get reference-count action attribute work again for all values.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7ee3543fd19e49fffaf6f3213cc553ebb3ee636e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 4 17:12:41 2011 -0300
Global functions can now be renamed.
This is accomplished via the "rename" attribute on the "function" tag.
An unit test was added and the documentation updated.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 517993907bb165daafda75c9c5165985ea454794
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Feb 2 15:12:13 2011 -0300
Bump version to 0.9.5.
commit e97526444566ae2f6aad339c082d7e0a69e785e5
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Feb 1 16:22:37 2011 -0300
Fixed Cmake files used to find the library after the installation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit b9862f6a783ad302e6ef6f6f850ac95a5071c4ca
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jan 26 14:23:10 2011 -0200
Use QCoreApplication instead of QApplication for TestModifyDocumentation.
This change was made just to avoid a crash on our FREMANTLE/ARMEL buildbot,
the test still the same.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit c1978362f242419bb0e1f8f432c6e200cd26654d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 24 18:09:12 2011 -0200
Avoid crash reported on http://bugreports.qt.nokia.com/browse/QTBUG-16868
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 7697ce94003f4a0647cdabe1988fe254fa35af40
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 24 10:23:30 2011 -0200
Fix bug#636 - "Unable to navigate back to the main site from the generated documentation"
commit 8b3713eb810b63bc006b7a46dfff775a76f9c5f6
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 21 15:51:35 2011 -0300
Bump to version 0.9.4
commit 175871f9468b083a59554394ef2fa72ef6098070
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Jan 13 15:00:12 2011 -0300
Un-hardcode test resources path
Instead of hardcoding (through the __FILE__ macro)
use the current application directory to find the
resources. The previous scheme didn't allow running
the tests when the source code isn't available.
List of resources:
- a.xml -> testmodifydocumentation
- utf8code.txt -> testcodeinjection
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
commit e3f8e67d859a6fd005c3569fb8fc3695ad4029b0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 6 15:37:00 2011 -0200
Fix documentation typo.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit e7ea28a5aebcc984c25c2bcd9872c02f17ba9199
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Jan 6 20:13:38 2011 -0300
Bumped version to 0.9.3.
commit f5fb9ef30e72c3609e62034bdef3029abf9d2daf
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Jan 5 17:07:59 2011 -0300
Fixed polymorphic value for classes.
Fixes bug #587.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit b6fdc5e8e6555aa7ee2cfe709fc68725ddc68ea4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 16:36:26 2010 -0200
Add support to fix bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 82aaafc79c78a16717be5433e84aed3c51c4a4c8
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Mon Dec 20 14:57:28 2010 -0300
Bumped version to 0.9.2.
commit 2175ccbcb773d345ebe16df6a89892a1b7101628
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 15 18:16:59 2010 -0300
Renamed the "define-ownership" tag "calss" attribute value from "shell" to "native".
This was done to keep consistency with the rest of the type system tag
attributes, which use "native" instead of "c++" or "shell".
Documentation was updated accordingly.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 62e80ae1b79bd2cc63a4f969168edd544c7034a0
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Dec 13 15:43:58 2010 -0300
Make installed tests executable
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 7611d0a4d22dd60a9236623c810e25f7e12ad377
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Dec 8 15:45:46 2010 -0300
Add option to install the tests binaries.
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit b56272a3b61835045d061afed4326ff657e4230c
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Dec 3 14:06:43 2010 -0300
Include "generate" attribute for namespace type into documentation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit cff03f33d032f4723078d430b36494ee35e0a636
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Nov 25 17:42:39 2010 -0300
Bumped version to 0.9.1
commit 8839242cca9a5d0730f0c09f5c8e34dffa45fb87
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 24 11:29:29 2010 -0300
Bump version to 0.9.0
commit 840f54bb66ed4aae3b1659c518a9af83fc6a5f76
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:38:12 2010 -0300
Updated documentation for the 'remove' attribute of the 'modified-field' tag.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 991f3c6902f1fb77bd952b3168f006e39126db05
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:23:44 2010 -0300
Discards class' fields removed in the type system binding description.
commit 8a8c0f521c0f2224e8f26e8ad2b5676aaa4ddc69
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:22:49 2010 -0300
Added the 'AbstractMetaField::isModifiedRemoved' method.
commit c79374b5a72959f541fdeb95d7e6b57396ed6b15
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:17:24 2010 -0300
Added the 'remove' attribute to the 'modify-field' type system tag.
Also created a static convenience function to process the 'remove'
attribute content and set the error message if needed.
commit 7a6b3c64d4b424c09928bfd593ca4aa0738b1e02
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:11:05 2010 -0300
Moved members of FunctionModification to parent Modification class.
'removal' public attribute and 'isRemovedModifier' public method were
moved from FunctionModification to Modification, this benefits
FieldModification class, that inherits from the latter.
commit 5e5eba2c5c8bb8558c6df1dd9bef18f3d531a476
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:09:59 2010 -0300
Fixes spelling on warning message.
commit fc170a368630a90a74fea796aa20f8f2c7fe7cc5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 22 19:09:00 2010 -0300
Added unit test to field removal.
commit 548b2ea5b535b5a80ddf4881430faef064c7226c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 18:50:57 2010 -0200
Fix TypeEntry::isCppPrimitive to return true on void types.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 59d60a65b22acf21f62314dd5ab6a047509bb7e4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 27 18:15:16 2010 -0200
Add helper method TypeEntry::isCppPrimitive.
Returns true is the type is a primitive C++ type.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit e5ecbe66d2f1ccfe8c80d58e3e66f4344f3e5505
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 28 13:56:52 2010 -0200
Bump version to 0.8.2
commit 99862b71c95e1e061ac743fb864a041fa0a1fbf8
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 8 15:51:48 2010 -0300
Implemented support to added functions for TypeAlias.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 6ab94ebbe402a92a7587e5b947f821712b6ee605
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 6 11:35:03 2010 -0300
Fix extraction of documentation from namespaced classes.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit bf3a54b93944ae86f82db2e49ccffe8efdaa3517
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Oct 5 14:31:14 2010 -0300
Better qproperty function check
Now checking for the full specs:
Getter: TYPE name(void)
Setter: void name(TYPE)
Resetter: void name(void)
The previous behavior was crashing when there is a different
overload with the same name of one of the property functions.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 8db091fd280d5e965c90b2da4b26dd030e4b0f54
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 4 11:38:07 2010 -0300
Change "or" to "||".
commit fc57e7dd0846f28c319db3bc5c902b3055042fc7
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 1 16:45:58 2010 -0300
Implement support to target conversion.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 35c500c84b6be8f400f8cd1029c528172bca49c7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 30 17:30:23 2010 -0300
Add toStringCapability attribute to AbstractMetaClass.
This capatility indicates that the given type has a QDebug::operator<<
function, so it's only useful when using PySide extensions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 128c833f6b51a3709a2b0162f639121981389af2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 30 10:57:29 2010 -0300
Added a better support for resolution of enum value attribution.
Plus tests.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit f1987763b81d4a73063ebbd494dd3d09fef6383d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 30 10:50:04 2010 -0300
Private enums are now accepted in the type system database.
This is done to allow enum value evaluation.
Comes together with a nice test.
commit 7c1048b86bc76e68f728e4819fe832d17276bfe6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 29 10:46:48 2010 -0300
Improved resolution of enum value attributions.
In particular when an enum item is set to the value of an item from
other enum. The code for this was moved to the method
AbstractMetaBuilder::findOutValueFromString.
Tests were added as well.
s# ../tests/.testenum.h.swp
commit 0f84794301386a9371c374e5ed062fc000c96f17
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Sep 29 15:39:11 2010 -0300
Avoid check ifr include file exists during the generation.
Fixes bug #382.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0dd7d12ca18255ec186293bc00918cd68e516fa6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 28 15:19:06 2010 -0300
Fixed AbstractMetaBuilder to handle enum values receiving boolean values.
In other words, this
enum {
Positive = true,
Negative = false
};
is now properly recognized.
Tests were added as usual.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2bfe59a2b8a588b338da7b9472d4ec6f66c2d10a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 24 14:28:42 2010 -0300
Add retrieveModuleDocumentation(modName) function to DocParser API.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit f3a9cdbeb96ba5346f11ea5ef618b127684cfc72
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 24 14:25:30 2010 -0300
Fix doxygen tags on comments.
commit fd481fc78302cea1fc7d63a471ecdb71968c310f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 27 15:06:01 2010 -0300
Fixes compiler warning on AbstractMetaBuilder.
commit aa4fe2fa4520de55c8f074ccdd6b8378ca448391
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 27 14:57:31 2010 -0300
Fixes segmentation fault caused by bad handling of global enums.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit eac6125bac2029389594c8bad0b0fa48cffe1d6b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 23 17:19:15 2010 -0300
Argument types that are arrays with specified sizes are correctly recognized.
The AbstractMetaBuilder::translateType method now tries to figure out
properly the size of array argument types specified with enum items
instead of literal numbers.
Test cases were also added.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 5633a2dbe3aba94292e1e3d03ccabe8cf25b802a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 23 17:18:03 2010 -0300
Fixed AbstractMetaClassList::findEnumValue to search for the enum in all classes.
commit b3c0b0493fe48d2ca416f4a509a93dd1344e15b1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 23 17:13:55 2010 -0300
Fixed AbstractMetaClass::findEnumValue method.
It was doing the opposite that it should be doing.
commit 2994593b09a644ac49e733d02824fc888bc9e57e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 23 17:11:19 2010 -0300
The AbstractMetaBuilder::figureOutEnumValues method now operates over global enums.
commit 7e0b83f158ee45657c0824d2dc05dd2b28d1798a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 23 16:51:16 2010 -0300
Added tests for global enums.
They check if the AbstractMetaEnumValues hold the correct value
information about the enum item described.
commit 3f4f28d14b3dfc7be0834ef13a0a04350dec752b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 23 14:57:47 2010 -0300
Removed files not used by our current documentation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 47cf0c2fafd1cdf594a319a7e42c606880ce0d51
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 19:29:57 2010 -0300
Updates tests to use nesting of type declarations.
Also added a new cases to test the nesting of type tags a bit more.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit e6b15c234864cc8061f43a1c238ad57b78dcc61f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 19:24:40 2010 -0300
Adds support for nested type declarations on the type system file.
Instead of:
<enum-type name="Foo::Bar"/>
<value-type name="Foo"/>
the nested version could be used:
<value-type name="Foo">
<enum-type name="Bar"/>
</value-type>
The old usage is still allowed.
commit 614bab3782a20d534f3b17ba35d69518a9ac73c3
Author: renatofilho <renato.filho@openbossa.org>
Date: Mon Sep 20 18:54:27 2010 -0300
Use CMAKE_<CONFIG>_POSTFIX on config files, used for cmake and pkgconfig.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ed78ef787f52a9c5f7d791e3f02a853c88ad6e3f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 11:30:14 2010 -0300
Added documentation for "enum-type" tag attribute "identified-by-value".
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 5179bca73955373e087d6b51edcabf038c964ac8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 11:36:45 2010 -0300
Anonymous enums now supported.
commit c182be3e4c89fe81c15722708d8b712598a528b8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 11:36:12 2010 -0300
Added tests for anonymous enums.
commit 266fafd7336016d8326e0ea852584103daed3c3f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 17:07:15 2010 -0300
Add "doc" target to be able to build the docs out of the source directory.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9550b32660b676774a669f30ecb4d29bf1c120b3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 14:47:59 2010 -0300
Bump version.
commit 2a3467c699108d539325b91e5f2c68471e4c67b0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 14:47:10 2010 -0300
Bump version show in documentation.
commit d60308ead4a5df126176d034ebd728bc5be5cb3c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Sep 9 15:36:20 2010 -0300
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 4c79cca936632da8fd6c9174babd4a9f72624f52
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 9 15:30:54 2010 -0300
Bumping the version due to a BIC change in commit ce7f2121cd3583d67f26bcc87e8a1d2d11e599a6.
commit 396b71f4ddcbcdd7772bb9c02be8df642b7a1be2
Author: Modestas Vainius <modestas@vainius.eu>
Date: Thu Sep 2 10:51:13 2010 -0300
Fixes various memory alignment issues which cause generator to crash on alignment-sensitive architectures.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 2d170a0b8b1519befc4cdad57a0a46ccf8d16e0a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 1 13:35:40 2010 -0300
Fixed function modification propagation.
Now all modifications on base function will be propagate until a new modification was found.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Lauro Moura <lauro.neto@openbossa.org>
commit 869b35c10ef573771532c6f2cb017dbfab315e61
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 31 16:11:26 2010 -0300
Add support for distributed compilation using icecc.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 7ba853bece5756a361b6ed8a69d3dc2f43a0ac75
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 30 19:11:38 2010 -0300
Created function to discovery when a class implement a container type.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b55c812e620e4c31c0b4658534c74930124995a4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 30 15:44:46 2010 -0300
If a class have a non final method doesn't mean that class is polymorphic.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
commit db29a857e3734f6d36d3d8cd919574a0dd286ad9
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Aug 25 11:43:31 2010 -0300
Avoid removing temporary file when in DEBUG mode.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 729bb0a501941a7b6bb85995d4e1263567017ec3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 15:11:36 2010 -0300
Colored output is disabled by default on Windows.
Define the NOCOLOR constant to disable it in other systems.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit de371608299b190ba310923a99ef2619bf632cd3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 17:30:17 2010 -0300
Use binary dir to install libraries on windows when not using msvc.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6e5ab7a42253697511a5153a80b66760a04e5f45
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 16:50:03 2010 -0300
Use CMake DEFINES to export symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 199eb768315920a3479251e2e247a5257a6a6dfd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 18 16:18:50 2010 -0300
Fix flags used when compiling using MSVC.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit e78a0f399a6c565efb17adc8921f189f825d0547
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 17 15:01:39 2010 -0300
Fixed error during the property functions parser.
Fixes bug #302
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 93bb443dc983d686ba8d645b3c4c6c9763b04b0e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 16 17:06:50 2010 -0300
Disable colored output on windows (msvc)
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 20c9b77b712211f6d04c0166c78f579e19869473
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 16 15:02:59 2010 -0300
Make libxml2 and libxslt optional dependencies.
commit 900370cf73a8ad8bd2b61285123ddc0089452089
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 11 17:22:42 2010 -0300
Detect operator() as operator overload.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 243d81b4f730d4f939603aa1c5f8d60423c2c4d0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 10 14:20:23 2010 -0300
Does not consider private operators.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 8b84c3340b7869fa80a0037bb3a5339ce2845329
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 3 19:41:00 2010 -0300
Bump to version 0.7.1.
commit 0aa33dc0846503b67245593ed21ab306b1d8a106
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 2 15:20:52 2010 -0300
Updated allocator class.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 694326a3ba5547556072afc3c0f63c29e311bc9b
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Jul 28 14:22:12 2010 -0300
Fix wrong behaviour of topological sort.
When dealing with repeated and unordered classes it can generate an
invalid result array.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 28da24d29cfc5137a4cf1940c9fa45d519334e17
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 22 18:01:54 2010 -0300
Fixed memory leak.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6cb4e7de26ca84cac29775d9a7360c4a20b5cfbf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 15 15:45:11 2010 -0300
Fixed tag processing to accept "inject-code" as child tag of "add-function".
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 9ffc134e0a810ae2deb1d44c24c5d0e4e8123c86
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 9 09:59:16 2010 -0300
Put back variable-name in 'reference-count' tag.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 8f129f10f2fc325b37d017224796aa91f965a83b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:29:11 2010 -0300
Bump version due to ABI changes.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9961a25273bd6ff59efdef4d482269eea8c069d0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:05:21 2010 -0300
Fix bug#260 - "Can't modify argument name of a function added with add-function tag."
commit 681f738fe473239d73172fdc979c208fdf434e2d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 14:16:51 2010 -0300
Removed unused global variable.
commit 19130a4576b4abe8cd1d054863e1343aa38442c7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 10:32:19 2010 -0300
Init struct values on constructor.
Newer versions of parser do this, e.g. the version used on kdevelop4.
commit ab3fd527a3c7f4131fbf48b6c06166ef684431d3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jul 6 17:43:38 2010 -0300
Fix bug#253 - "Segmentation Fault when clicked on ListWidget with TableModel"
Tag not only abstract functions but also non private functions with "EmptyFunction" when
their visibility was reduced.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 439524d314304c3bcfd7e351d040387b3fd60d2e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 30 16:11:19 2010 -0300
Added a method to return the template list from AbstractMetaBuilder.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit fff2628c407b0e53bab6b47bcb82621f37111c0b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 30 16:08:24 2010 -0300
Added test for a class inheriting from a container template.
The test is simple and only checks if the classes were inherited
properly.
commit d3435da2648113d21fa85dc93b5b4f65a80f1731
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 29 17:19:44 2010 -0300
Namespaces must be traversed recursively as they should.
commit 007442264ec64071abceede296c47f3bbf162776
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 29 17:16:19 2010 -0300
Added test for class member inside a two nested namespaces.
commit ec74d012b6dc5eb49df4259dd64e33e455b8c5cc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 29 10:38:17 2010 -0300
Guarantees that namespaces and inner classes will not be repeated.
Lists of global namespaces, inner classes and inner namespaces now
have duplicated entries removed.
commit 310cd9c13635c5001bc9f63bdcb79ea93cbfccd5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 29 10:36:00 2010 -0300
Added test for template inheritance involving forward declaration and namespace.
This test case is similar to a previous test with forward declaration
except that this time everything is inside a namespace. This slightly
different situation could trigger problems in a different place
on AbstractMetaBuilder.
commit 2cf33f010b56520bdefacf5a93e15a580f48e641
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 20:33:34 2010 -0300
Adds test case to namespace members, namely enums and functions.
commit 51cd6edb17866dbfe96990e3db15273d6d26bf75
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 19:48:53 2010 -0300
Fixes usage of std::unique method.
std::unique looks for adjacent duplicates in a list, so it needs
to be sorted for the algorithm to work in all items.
commit 068900d4f0af107e03dca9b530fff47deac4066d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 17:42:24 2010 -0300
Added test for template inheritance involving a forward declaration.
When things goes awry methods from the template parent class got
duplicated in the inheriting class.
commit 28401810fe9be0dafea604a50b4139d10f75873a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 10:53:41 2010 -0300
Class members are traversed after the classes themselves.
To prevent a method that uses a type that was not ready at the moment
of analysis, the classes are traversed separately and before the class
members, namely fields and methods.
commit 8265cf08db5817c60f7427e21d85e1a8e8ae5508
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 10:48:02 2010 -0300
Type translation now looks in the class' parent scope.
When trying to figure out a type the AbstractMetaBuilder::translateType
method should also look in the class' parent scope.
commit 509769c4d96752265f652ce2cc0f5931ebfae42b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 10:43:23 2010 -0300
Added test for type resolution order.
Methods or functions signatures using any type from the library being
wrapped must be processed after all the library types or else the
function/method will be rejected.
commit 1930fb468bf5b81a02a18d564be90b5737fa7242
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 30 18:10:49 2010 -0300
Implemented support to namespace on documentation.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2d266c0947c72635c2a1c3550a44497f16473d91
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 24 16:31:16 2010 -0300
Fixed namespace resolution name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2236d656664f6a07e52ffde474b5c7d6e5b78467
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 24 16:30:46 2010 -0300
Created test for namespace resolution name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit fa32db5bfb6247407aa25af0d30b5c939cc8e04d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 23 16:03:31 2010 -0300
Fix cmake files used by other libs to detect ApiExtractor.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit bb81e23761fdff05f2becaa90839ae3384c28fd5
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Jun 11 16:11:32 2010 -0300
Fix compilation and instalation on MSVC.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b23a67365cfa2e93f71aea81feeca51c08b4f24e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 18 10:43:45 2010 -0300
Fix trivial spelling errors.
Author: Didier Raboud <didier@raboud.com>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 40b10e15dae3fe1422452446ecc35574a1abbc8a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 16 19:36:55 2010 -0300
Fixes AbstractMetaBuilder::fixDefaultValue method.
For some reason if a default value given to above mentioned function
is exactly "QVariant::Invalid" it is turned into "0". This is done
for no apparent reason and causes the Python binding generator to
produce bad source code for the QtSql module bindings.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 29c834e6bfc6bc2952844d98c4e3502c70c40063
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Jun 9 19:54:03 2010 -0300
Exclude signals from named arguments check test.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit f8b1ef0db2a4671d8103271dab8521b40d46ebe1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 18:45:11 2010 -0300
Documented rename to tag inside of argument modification.
commit d322b45e1b8c588177f4d5e08713dc9e3cd66acc
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 18:10:43 2010 -0300
Append more details on message related to nameless arguments.
commit cf3a3e20dd430274e88fcec8b683d8bac42a5785
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 16:59:20 2010 -0300
Only display warning for unnamed arguments when this argument has
default value.
commit 3e2500cab4c5a8b0bd0fb532ca6ed155c36c6dd5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 15:15:46 2010 -0300
Fixed warning message output.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 3649c91f1bdad3ce7db3ff895ae40edf06fc232e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 11:11:37 2010 -0300
Enable warning for arguments without name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 96316113bcd6e60bc602def066cb03ec5ece436b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 10:45:17 2010 -0300
Implemented support to "rename to" in argument modification
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2cf5be8e2354e81298ab0df8c328949845143604
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 8 15:27:02 2010 -0300
Make the progress message funny.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Hugo Parente Lima <hugo.lima@openbossa.org>
commit 4b3801acb8ecbd95f73ee92e16f2a10f5a1a8c39
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 8 11:36:26 2010 -0300
Simplify progress message.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Hugo Parente Lima <hugo.lima@openbossa.org>
commit 877498e6b8cecd86a500c4f562159b4ce717191b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 7 11:01:45 2010 -0300
Updated documentation version.
commit 89696d216b41239f950e599a88093e18bf2724c8
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Jun 3 16:47:55 2010 -0300
Use qualified c++ names instead to do the topological sort.
Not using topological sort will generate an incorrect sorting when
there are two or more classes with the same name in different scopes.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
commit 644d7b74d18a5838a7f26de02bd0aa9a212de85c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 7 16:18:58 2010 -0300
Added the "default-constructor" attribute to the "primitive-type" tag.
The default-constructor attribute specifies a way to build an instance
of a class declared as primitive type using default arguments.
Documentation and a test were also added.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 99d400c0ca0f139714448bc8ab3796495d8b316d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 7 09:52:56 2010 -0300
Bump to release 0.6.1.
commit a728ed9024dff823d2c09d2a48604eca330ba176
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 3 11:22:10 2010 -0300
Bump version to 0.6.0
commit 576c9b5c6045940da2586500b7c6bec44d00da69
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 2 15:53:37 2010 -0300
Added methods to AbstractMetaClass to verify the presence of protected members.
Added methods to verify the presence of protected fields and members in
general in a class.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit bf5dbc2df39d014860a21884f55209ace04d2846
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon May 31 15:51:33 2010 -0300
Added methods ApiExtractor::findAbstractMetaEnum.
The new methods returns an AbstractMetaEnum for a given TypeEntry,
EnumTypeEntry, FlagsTypeEntry or AbstractMetaType.
commit 0ae936e54e7f5e6a57db75dccfc8aa23b83fe6ef
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 11:55:03 2010 -0300
Use external CXX_FLAGS on compilation flags.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2ec60aeab9c503325b39fa9a7d162ff80590bb96
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 10:54:45 2010 -0300
Disabled GCC optimization flags by default.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit cd72613d2c371c839628a4fad03863daf8b9ed25
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 19:18:56 2010 -0300
Fixed invalid links flags on MacOS.
commit 23889e6f48036ee7882f6097bb058130f78518db
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu May 27 14:42:18 2010 -0300
The initialisation of TypeDatabase must happen first in TestUtil constructor.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit 14921132fd12abbf283c436ebf54d07ed54e50d0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu May 27 14:41:20 2010 -0300
Fixes a misspelling.
commit 9b2c13330ea14a2e7892d53162e27b4b0b60e7bb
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 26 19:29:29 2010 -0300
Imitialize apiVersion on typesystem.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit da684da266fe4ca63c7dd7a880988ef08a1fe4ac
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 16:15:23 2010 -0300
Document about the flag "since".
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2060c23e8d2d80c721dd4eb31a777f4be0fefdfc
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 16:15:05 2010 -0300
Created unittest to flag "since".
commit 6ddb2e91990b119017819c6290ca6de6c6b6ea21
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 16:13:19 2010 -0300
Implemented support to flag "since" on typesystem.
With this flag you can specify after which version the tag became
valid.
commit 73d7cfa75642672e4fe2ccd52eae872a16953dba
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 21 11:19:09 2010 -0300
Avoid export unnecessary symbols to public api.
Fixes bug #209.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Hugo Parente Lima <hugo.lima@openbossa.org>
commit 5c8f288633bede95d3f7d8a587f439c3e068e395
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu May 20 17:30:16 2010 -0300
Revert "Fix files to link against on Windows."
This reverts commit a7bce60de9bc884506b4f4d13ea538702d459597.
This CMAKE LINK_LIBRARY PREFIX does not exists on cmake 2.6.
commit 22f0c2b7b75a58e417163dc2c24234924917448b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 15:02:02 2010 -0300
Remove ancient code commented out years ago.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 1785eb816851e19f06fb46124d02c30b12a3a739
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 15:00:15 2010 -0300
Comestic changes to follow our code style.
commit 63d79a46e11ecf046d74e58669744c9af18f9ed8
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 14:44:16 2010 -0300
When the class is a alias for a template class, proper rename their constructors.
commit ea82a7c78ebd0ecfb5f7f771cc5cd777e06b3d5c
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 14:43:12 2010 -0300
When the class is a alias for a template class, copy all properties from the base class.
commit aeecb5f46be002dce7b80182e8c067f553a67486
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 14:41:48 2010 -0300
Add more tests for hasNonPrivateCtor method, when the type is a alias for a template class.
commit 81079a9c9f4a9ee6f7f017b10bfab2967f1212e0
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed May 19 14:02:03 2010 -0300
Remove useless castType variable.
commit e91afbd99e5397c83bfb408133904738536ef25a
Author: Catalin Iacob <iacobcatalin@gmail.com>
Date: Sun May 9 16:31:29 2010 +0200
Fix MSVC compilation failure.
The error message was:
apiextractor\include.h(78) : error C2375: 'qHash' : redefinition; different linkage
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 1a4bd60b7fa94252378514dab38febee51120b4c
Author: Catalin Iacob <iacobcatalin@gmail.com>
Date: Sun Apr 11 19:38:09 2010 +0200
Fix files to link against on Windows.
On Windows there is a distinction between a DLL (foo.dll) and the import library
(foo.lib) that a program links to in order to use that DLL.
It seems that CMAKE_LINK_LIBRARY_SUFFIX is perfect for this distinction - the
suffix will be .lib on Windows and .so on Linux.
commit ad4b2999f4c29946ebaf8969503f40211b272ba4
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon May 17 18:26:46 2010 -0300
Do not add the base class as a dependency if the base class is not in the graph.
commit 1124238d66a51f5ebf0074c29475594c4b41a90b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon May 17 18:26:03 2010 -0300
Add better error message when a cyclic type dependency is found.
commit c8438a7ce830aa3151f12e71721b9457b33be41d
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon May 17 18:24:15 2010 -0300
Do not copy the QList, use a const reference instead.
QList copy is cheap, because it's implicity shared, but const references are much more cheap indeed.
commit 7104ff092dd4c8891422b5febec7aed459a1b393
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 18:39:56 2010 -0300
Bump version to 0.5.2.
commit 7049c25b7799de2458a8e36b96f7ad7183f9441e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 10:54:38 2010 -0300
Updated git-archive use to keep compatibility with git version 1.6.
commit 5255204923e448eedea5d7a86661ae56885b8e4b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 10:36:52 2010 -0300
Fix soname of ApiExtractor.
commit 4e1fe043771af09c6894ba5bc3438dcc1c4be904
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 10:37:37 2010 -0300
Bump version to 0.5.1.
commit 515c9921ce242714b1fab38035e9f980f4c40a26
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 3 18:27:28 2010 -0300
added gitattributes.
commit 30c35ad08eb0610caf37d343e7bd0dda7820cf4d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Apr 30 16:01:29 2010 -0300
Fixed QFlags lookup.
commit ffae84ae273f46916d1898ade33c1728f324c707
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 30 10:35:16 2010 -0300
Tag user added function inside namespaces as static functions.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit deb5e6ffeecbabeff84b021a374e4d75bc12790b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 17:25:16 2010 -0300
Bump the documentation version
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
Reviewer: Willer Moreira <willer.moreira@openbossa.org>
commit 4bab4ec7e92fa9cc758d30ad8ff7887760fbbdbb
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 11:39:34 2010 -0300
Added tests for template instanciations using enum values, all under a nice namespace.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit ca3eac504857ade114fadb614631fe6ab78c5aad
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 28 15:40:56 2010 -0300
Fixes template instanciation when the template parameter is a enum value.
commit 4adc6f3519a25060db98182eee66f3dcb9a60999
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 28 15:39:35 2010 -0300
Only add an enclosing class to the dependency graph if it's part of the graph.
commit c615b9c1db720d97034263081ad83f80496404a7
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 28 15:07:51 2010 -0300
Add EnumValueTypeEntry.
Enum values are in global namespace, so sometimes you need to get them from TypeDatabase,
a use case for this is a template class where the template parameter is a enum value.
commit 3026fe34cabf67394c7d45becccf30e8fd9e0a2e
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 23 15:21:58 2010 -0300
Remove detection of duplicated enum values, this was implemented due to a bug on boost::python which
doesn't exists nowadays.
commit b42f0be98cf4a4e679d4ec6c50447ae1ae817efe
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Apr 20 16:40:58 2010 -0300
Support 'void' argument.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Renato Filho <renato.filho@openbossa.org>
commit 62c659481f9a105ffa789b32040375db5cbc959c
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Apr 20 16:40:42 2010 -0300
Adding tests for 'void' argument in functions
commit d8b38821c1a2c4405506cefcf3dba284cbf2162d
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 23 16:27:01 2010 -0300
Do not generate bindings for global functions when the typesystem was loaded with generate=no.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 1e2a9f164bfd612c1ee102a9847309f39e1e92d2
Merge: d843013 1daed74
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Apr 23 15:25:24 2010 -0300
Merge remote branch 'luck/fixprivctor'
commit d8430135a0747071d7f047329c841a7ae51c3cd9
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 22 16:31:23 2010 -0300
Add method setTypeEntry to AbstractMetaFunction.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit 1daed740c2bb04f7e28e538e3f5240f9848b3c3b
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Apr 21 11:39:31 2010 -0300
Update class info once a default ctor is added.
commit 20e999b731191a1e427ab7e1183f2b37790678c7
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 22 16:15:18 2010 -0300
Added documentation for function tag.
commit 38367298e39ee0710a86fda4aae294fb88981356
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Apr 19 16:19:31 2010 -0300
Show a warning if a global function defined in typesystem was not found by the parser.
commit 8241ca049d9e0339a3b7b6b68a38ad826f63eb81
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Apr 19 15:52:19 2010 -0300
Fix constness of FunctionTypeEntry methods.
commit ba1ec45a45a197a3b1b9a3c00bd3f91a2dea13b8
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Apr 19 15:16:10 2010 -0300
Do not create two AbstractMetaClass for every template class.
commit 9800093dbfb9054354ec04a1a035b7f85f328af4
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Apr 19 14:48:40 2010 -0300
Remove hardcoded QXmlStreamStringRef class from ApiExtractor.
commit 293dca7e9b7909a54f057cf658bdea7c07fb49ee
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 19:39:47 2010 -0300
Fix class dependence in topological sort.
- An inner class depends on their enclosed class.
- A class depends on their namespace.
commit 8d37c58c29ca9cea1617e878e1a8a10a7f8ae9c4
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 19:38:05 2010 -0300
Write graph nodes using quotes on Graph::dump.
commit 5b91402b2496f603b80c0a84cdfe3e9b18a19c87
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 15 18:48:53 2010 -0300
Bump version to 0.5.0, due to ABI breackage.
ApiExtractor is not prepared for binary compatibility, so this will happen
a lot.
commit 8c03a55d03b2e63b760ec3be4a37285304b65b32
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 15 18:45:40 2010 -0300
Do not set the include file on TypeEntries when the include file does not exists or
it's the global header.
commit d75aeacd396691d5b26af1ac2a9669e407639155
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 8 14:52:54 2010 -0300
Added ContainerTypeEntry::typeName() method.
With this method we can get the string used in typesystem to declare the
container type (list, set, map, pair, etc).
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit f267a89cfb4d5bf4e405db9ab1360d90ee70f867
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 15 11:45:50 2010 -0300
Fix constness of TypeDatabase methods.
commit 6acf826b4b2eab32237845f98228171bb8be213c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 30 19:30:25 2010 -0300
Adds reverse operator functions to the proper classes.
AbstractMetaBuilder::traverseOperatorFunction does additional checks
to avoid mistaken a class' reverse operator as a direct operator of
another class.
An unit test was added to check for this case.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit dd7f06be4d8687cd4ed45a41aac674ec50e645ed
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 15 11:29:12 2010 -0300
TypeDatabase class moved to its own header/cpp.
commit 74d3c1bb12280ffb2b810ee4bd1272ba6fb8127f
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 14 19:32:37 2010 -0300
Added the "function" tag to ApiExtractor.
This change the behaviour of ApiExtractor regarding to global functions.
All global function you want to be exported to python *need* to be especified
in the type system with the function tag, otherwise they wont be exported at all.
The syntax for this new tag is:
<function signature="..." />
This is just the initial work for this tag, it is missign support for:
- Function modifications.
- Add a function overload with add-function tag.
commit 46cd570358601d83be0e23a378fc688d8ed706b6
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 14 16:44:37 2010 -0300
Include class moved to its own .h/.cpp file.
commit 97bff103c6de76a80088083ed2b909527f32c50f
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 14 15:51:22 2010 -0300
Removed methods includeFile and setIncludeFile from AbstractMetaAttribute.
These methods were moved to AbstractMetaFunction, because they are created
to store the include file of global enums and functions, but for enums, we
store the include file in TypeEntry, as functions doesn't have TypeEntries,
only global functions need this.
Also the new version of includeFile returns a instance of Include class
instead of a QString.
commit 523a07f9b6c10dcd7809523e2491241bc2c1992a
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue Apr 13 21:14:55 2010 -0300
Set the include file for enums.
commit 133479369928c590d4c351064a356be575debd6c
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue Apr 13 21:13:57 2010 -0300
Fixed constness of Include::isValid.
P.S.: This is a ABI change.
commit 5325b5ba762865ad63e76595cf3e7c0562a7f76b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue Apr 13 21:12:14 2010 -0300
Added qHash, operator<<(QTextStream,Include) and operator== to class Include.
commit c3e111369e3c4a60455fe5667d0adce341867dea
Author: Carlos Goncalves <mail@cgoncalves.info>
Date: Wed Mar 24 23:16:47 2010 +0000
Do not build tests if explicitly wanted to. Default is to build.
The majority of users don't need tests built. This will reduce build time
significantly, and packagers will be thanked for it. To not build tests append
-DBUILD_TESTS=False to cmake parameters.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 458735ffaf282cf703698a86ec54f25a0df077d9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 29 19:13:25 2010 -0300
Do not add an operator function to a class from a referred type system.
API Extractor does not add operator functions from the module being
processed for generation to a class belonging to a referred module,
that should not be generated.
commit 53c64681f115bfecf7dbdef8de905d25aa3dc301
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 20:15:50 2010 -0300
Adds many tests regarding default copy constructors.
Also updated other tests dealing with constructor counting.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 9a6d442226667bb55eac1b5c6c2e95edcbf1f5e6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 18:42:45 2010 -0300
Value type classes now have implicit copy constructors added when needed.
commit c583958bc28ab69bc05a7009c9e512d1a227c985
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 18:40:22 2010 -0300
Marks user added constructors with one argument of a custom type as explicit.
This prevents the generation of undesired implicit conversions.
commit 6b0973be81abe9c67f49336d92370e758b2a44e1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 18:36:24 2010 -0300
Adds convenience methods regarding copy constructors to AbstractMetaClass.
commit 4b275c5317256b66596ed289332f1df4d372b9e5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 15:46:08 2010 -0300
Tests if added constructor with custom type creates an implicit converter.
commit 02f68822d7cfa18d44d484ea156618701601c3e2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Mar 25 12:56:05 2010 -0300
Fixes attributes for default constructors and class' "isPolymorphic" flag.
When a class has no constructor explicitly declared a default is
provided by API Extractor, but it should be marked as "Final".
The setting of the "isPolymorphic" flag done in the
AbstractMetaClass::addFunction method must take into account if
the class has a virtual destructor, as it is done in the
AbstractMetaClass::setFunctions method.
The already existing tests cover the cases affected by the changes.
commit afc91022a1ef73ecc47fc04fe9a49862b5052605
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Mar 25 11:53:08 2010 -0300
An inner class should not be polymorphic just because his enclosing class is.
This commit adds a test for that situation.
commit b721351c714cbfa71467bc56b53f2912b56c0646
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 23 10:33:35 2010 -0300
Changed routine to build source packages.
Our changelog is just the output of git log, so it's added only on source packages
and don't need to stay in the git repository.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 84ee7678b9e251305951f0284638e0fd7240aceb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 18:47:40 2010 -0300
Bump version to 0.4.1
commit a8c7de762214a48b1c52ad3ddcc32391fff39cef
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 18:46:35 2010 -0300
Bump version to 0.4.0
commit e8f37f7ee2b7ea6a7d25732dbd335687b5493ec3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 10:31:34 2010 -0300
Meta type minimal signature should place reference symbol after pointer symbols.
The minimalSignature method was placing '&' before '*'. For example,
the signature "foo(Bar*&)" was becoming "foo(Bar&*)".
An unit test was added to verify AbstractMetaType::minimalSignature().
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 60c0865c6af16c91244123fe6f2c328f5fc912a4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 14:37:49 2010 -0300
Remove some java-oriented stuff from ApiExtractor inherited from QtJambi generator.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
commit bd2df4ea6fd11f1285c07591367259f3900a93fc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 28 23:44:50 2012 -0300
generators directory renamed to generator.
This makes sense as now there only one generator that you can
tweak it into different modes (a.k.a. generator sets).
Reviewer: Trust me
commit 363d1104a92a8d4a9bb7eb5838dcf941d710d042
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 28 23:40:48 2012 -0300
--generator-set command line switch is working again.
QtDocGenerator also working again and the directory layout was changed a bit.
Reviewer: Trust me
commit 00a27e8d6c410c980e7deb8603d4f765b0758500
Merge: 43c3b4e bbb7d41
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Mar 9 19:01:39 2012 -0300
Merge GeneratorRunner inside Shiboken.
Conflicts:
CMakeLists.txt
data/CMakeLists.txt
doc/CMakeLists.txt
doc/_templates/index.html
doc/_templates/layout.html
doc/_themes/pysidedocs/static/pysidedocs.css
doc/commandlineoptions.rst
doc/conf.py.in
doc/contents.rst
doc/images/bindinggen-development.png
doc/images/boostqtarch.png
tests/CMakeLists.txt
commit 43c3b4e7e876ebc7a38f76b948337166bb6eb985
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Mon Jan 23 16:00:11 2012 -0300
Remove ambiguous constructor from libsample's HandleHolder.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit 01a092b1453aced87eb10454fb03ea2f9a085cf3
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Wed Jan 18 23:29:44 2012 -0300
On Fedora systems we usually have the binary of the Python interpreter compiled with debug as "python2.7-debug" for example. So we also need to check its suffix as debug, not only as dbg (which is a Debian specific case).
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit f4e5ec5018b948cf774f2ef20dd46faced13d18e
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Wed Jan 18 14:21:29 2012 -0300
Fix BUG #1113 - "Instantiating QObject in user-defined QML element's constructor crashes if instantiated from QML"
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit eb2614d3ac818a6e2dfe85b1d1b98408f2d37f06
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Mon Jan 9 18:24:56 2012 -0300
Fix BUG #1105 - "Spyder fails with HEAD"
When handling typedef'd primitive types we don't need to create indices
for them, nor converters. Instead, we must use the underlying primitive
type converters.
See http://bugs.pyside.org/show_bug.cgi?id=1105.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit 633836a403355d2bc245819aab07f29b05ac901f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 2 16:49:24 2012 -0300
Added missing pictures in converter documentation.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 41980deff0a53a539a248ffbb1674585e5b1fcea
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 5 18:51:44 2012 -0200
Bump dependencies.
commit b1a0660a5837bef959bf2bfedc13c7ab70e50be3
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Thu Jan 5 16:38:02 2012 -0300
Fix BUG #1092 - "shiboken names itself a 'generator'"
See http://bugs.pyside.org/show_bug.cgi?id=1092.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit 074b0896e2fcd2fb48b01847a7bf4d30c5dba621
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 30 15:27:33 2011 -0300
Version bump to 1.1.1.
commit 2cd966ad20f64c03205f3a1e3f70920510247cc0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 30 15:27:12 2011 -0300
Version bump to 1.1.0.
commit 7ca708a09839e4a9a9bb2f1fb600bf683d42c1e9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 29 17:02:26 2011 -0300
Updated documentation for type converters.
Expanded the Complex type conversion unit test.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Paulo Alcantara <pcacjr@gmail.com>
commit 3991d3b23bcce3f3ac5f468d35a1510a50ec8cba
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 26 17:51:46 2011 -0300
Added a generation/compilation test for container types.
commit c226e110d53cf9d06695bea3b79db8fd1371e0d2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 22 21:49:25 2011 -0300
Declares Python types using the new "<custom-type>" tag.
commit 3ca9f740017276506f97e8d7b6da95852bcc3d57
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 21 11:29:09 2011 -0300
Improved error message for %CONVERT... macros replacement.
commit 88a481ce3b5574a79c23bc86b1d85872d613c364
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 20 19:43:57 2011 -0300
Added a compilation test for containers of object types used as values.
commit d7452d0b39fca516719bb103f076a22db6f25c2e
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Thu Dec 22 16:27:42 2011 -0300
Fix BUG #1097 - "QtGui.QShortcut.setKey requires QKeySequence"
E.g., when calling QtGui.QShortcut.setKey(QtCore.Qt.CTRL +
QtCore.Qt.Key_Delete) it was being called as
QtGui.QShortcut.setKey(long) (in Python 2) when it should be actually
QtGui.QShortcut.setKey(int). So that resulted in a TypeError exception
when using Python version 2 with that small code.
See http://bugs.pyside.org/show_bug.cgi?id=1097.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit eab3275c2cfa244a3407a858297e35c0ea01e8f6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 15 22:20:59 2011 -0300
Simplified the conversions of the arguments in a QFlags binary operation.
commit 2e77640c7f4bfcbb464388a0007a2e4f9c8d0c90
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 15 22:18:07 2011 -0300
Register the correct names for QFlags.
commit 6267972924ea9c9f7de5d61a3182c57ac1178016
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 15 22:16:05 2011 -0300
nb_long and nb_nonzero functions for QFlags now use C's int instead of long.
Using long causes erratic behaviour on linux in 64-bits architectures.
Sometimes.
commit 207805bfe49121b3b9a2e25e5896d386debbca10
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Dec 13 19:24:05 2011 -0200
Cast enums to int, not long.
commit 4389601e22f8a8a3b5b6d4a92969030104cf4cd6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 13 14:31:05 2011 -0300
Fixed/refactored Shiboken::warning function.
commit 016a34e8eb8d5be5ddd27d49ab141c59359beea7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 12 21:00:32 2011 -0300
Removed commented section of test file.
commit bebb9009a1f400fae548ba2a6e0553fc2643c6e2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Dec 11 23:13:29 2011 -0300
Removed the last pieces of code generation that uses the old template Converters.
commit fb37b84fa723af8fa911910932090b6569589e0f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 12 14:37:56 2011 -0200
Fix conversion for HANDLE type.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 4f1b77a6310d77f521f484bbf567e7c75b9890ca
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 9 21:45:10 2011 -0300
Fixed CMake configuration of sbkversion.h header.
commit 429724968d80cd292707d1b1e925f67972452edb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 6 16:37:58 2011 -0300
Fixed dynamic building of AbstractMetaTypes.
Also removed erroneus deletions of said AbstractMetaTypes - they
are kept in a cache and should be deleted only when the generator
is finished.
commit f399ccd75bff7bb4880f0943b69a398dca5f15ef
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 1 17:37:37 2011 -0300
Removed type resolver related generator functions.
commit aac5c3cd8f1476e60caa4da9aabef8a2a91b9bcd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 1 17:35:02 2011 -0300
Remove occurrences of Shiboken::makeTuple from test bindings.
commit 2e39ac022309a4d88f31d5f6ca7c6319a31fa6b3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 18 16:57:19 2011 -0300
Removed useless register type writer function for enums.
commit 862dd8faedc56e2abdec43eb9ba12b495d368a87
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 15 18:28:53 2011 -0300
Added a convenience method to check if a converter belongs to a wrapper type.
commit df0ca8b2d02af3673960004e2ea547972ddf2b75
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 4 20:01:33 2011 -0300
Added adapter class SpecificConverter to provide type conversion based on a given string.
Also added code to register a couple of type conversions by name,
a bunch of related tests, and some fixes to the converter functions.
commit f189875436c5024fff6819aa9f2a651f48118599
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 1 18:40:18 2011 -0300
Added a "to Python" converter function that gets a SbkConverter object.
commit f7412abd308626809d7acb348d36ac905bd4c519
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 1 18:37:57 2011 -0300
Register enum converters by name.
Also added unit tests.
commit 249b15aa297663da2def92c817298e9c543777a4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 1 16:17:01 2011 -0300
Added some setting and converting functions to the new converter's API.
commit 8ff54f682c5dc478d268b9bf6e1e5768fc40428e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 31 14:51:12 2011 -0300
Added functions to the new converters API to check if a type is value or object.
Comes with unit tests.
commit 9584b5a7c220e74c5181d6117f1833ac835cfb21
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 28 17:56:24 2011 -0300
Container types now register their converters by name.
Added unit tests that query for the container types using their
C++ signatures.
commit 180d72b79e530810b0f6d9c63dfa02c4fba383e8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 28 17:11:15 2011 -0300
Fixes code generation for typedefs of C++ primitive types.
Added unit tests that query for the Python types using their names.
commit 670cde3115f372b70768f14cf19d236f0d019f99
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 28 15:25:22 2011 -0300
Register type converters by name.
This way they can be queried as the soon-to-be-deprecated TypeResolvers.
commit 121373c06d6b99a6614c7577c17812dec2237895
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 24 16:22:32 2011 -0300
Fixed generation for enum arguments with default values when avoiding the protected hack.
Also added an unit test.
commit c995a7d382e1a51b0898939e51ff18dabdac027d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 24 10:58:46 2011 -0300
Added the API exporting macro to the protected test classes.
commit b64c2001d14b8b1102af6b6029eb9c317e5d8008
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 19:56:48 2011 -0200
Make converter branch work on a Python3.2 setup.
commit dc022d65ce87882fdf6add900038e957f399453b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 21 14:11:58 2011 -0200
Fix crash in PySequence converters.
commit 4a05efa3768e572c72aea594506ca7ddd5639712
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 21 17:22:36 2011 -0300
Fixes SBK_CONVERTER macro and SbkEnumType structure.
Fixes provided by Hugo Parente Lima.
Unit test added.
commit b35f28ca167a5b8280ef37566966701f540b8933
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 18 09:48:49 2011 -0300
New converters for C++ enum and qflags types.
Also removed a lot of unused and commented code.
commit 01acb23113d4a22eae474bcb9be30e4d661b505e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 18 16:59:55 2011 -0300
Updates std::list methods writer to use the new converters.
Also added a couple of related unit tests.
commit 7dc999dab8eccfbee983206d70f7925fb1f629df
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 18 15:48:24 2011 -0300
Updated custom code for ByteArray's read/write buffer protocol.
commit c27cfbae2f17e93509eb527a198a922775213364
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 18 16:23:38 2011 -0200
Accept inject code as a way to deal with primitive type pointers.
commit 58665363412d5f43704d69440082fd8e87a23086
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 17 20:07:57 2011 -0300
Modifies HANDLE test to fix win32 linking problem.
commit 074f99759150eaa5e4adf8d501396a67fd370404
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 17 20:06:04 2011 -0200
Added SBK_CONVERTER, a macro to get the type converter whatever the type, but primitive types.
commit 3baf8722684f09201b56f207a484d9c9c5e39822
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 14 19:20:08 2011 -0300
Fixed code generation for functions arguments that use object types as values.
commit 15e40bc3b44cef5bc0ae6ab614e5a93a477031c6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 14 17:13:57 2011 -0300
Created convenience method to tell if an object type is used as value.
commit bfc3b14b368c3069067e3316c43ad3653e35355d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 14 17:00:55 2011 -0300
Fixed code generation for functions returning object types as values.
commit 836ebb910f0dec27ae20f25dab4e9041780fccd7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 11 18:04:08 2011 -0300
Added unit test for bug 969.
commit f6128fb64a591afaa22ed82cc1419ffbbd991583
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 14 11:40:34 2011 -0300
Stores C++ enum type names on enum types itself instead of yet another hash.
commit 9d2d5abbe17d825233ba6ad45bf1d28e8aca9bce
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 14 11:25:52 2011 -0300
Don't call PyTypeReady on QFlags types in createEnum function, this is done when QFlags types is created.
commit 07359cb7e777e47b2d84d6ef0389f0c255281c04
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 14 11:15:29 2011 -0300
Updates creation of QFlags types at runtime.
commit 7745b66a4a197be4615564c304fab264f4b58317
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 11 18:58:01 2011 -0300
Shiboken's enums now have converters.
commit 6e4789d62120ac99bc6abbd96ae1cd4cf378baaa
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Oct 13 17:29:54 2011 -0300
Added a test for a typedef of a pointer to a struct.
This is only a compilation test, no Python test was provided.
commit 59ed4b9d8952615d59614ba7b8e1ad51df433a84
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 11 16:34:30 2011 -0300
Fixed Python 2.5 compatibility header for PyLong_FromSize_t and PyLong_AsSsize_t functions.
commit 276eb948c371b08bdaf71c1571f20c61308d71da
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 11 13:35:50 2011 -0300
Fixes win32 symbol exporting for instantiated template classes.
commit d0ad52388ee2718c0c9b265ea78b2842f0a5a67f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 11 11:11:34 2011 -0300
Fixed generation when avoiding to use the protected hack.
commit 81530b3ecb04af77e96f56e1426669d0590c47a8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 23 17:02:15 2011 -0300
Moved some methods from ShibokenGenerator to GeneratorRunner.
commit 4d77535bba26186effaf65016a271df18863134d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 22 16:36:07 2011 -0300
Do not attribute a value for container variables, except when they have default values.
commit ff0b861b59b41387e771d9cd565e13de8b2750d1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 13 16:32:47 2011 -0300
Shiboken exits with error for not handled pointers to primitive types.
commit 0adc55471d864d307034dd995d6c70c18952b279
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 15 18:52:16 2011 -0300
SbkConverter's copyToPython function now returns Python None for C++ NULL pointer.
commit 78e516f87f62c930b552b0522c8c2a01f669a9d2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 13 13:30:30 2011 -0300
Added test for implicit conversion with primitive type.
commit f4800a705caacbbdada1074d5b5bfd1abf1316c3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 2 18:49:49 2011 -0300
Added test for instantiated container type used as primitive-type.
commit 7ae96ccd9b11f918b392accc7e5048c5c8905a0a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 24 21:58:56 2011 -0300
New conversions for containers.
commit b72430b834aee0d9bc4cdcd8442e336716d42db4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 23 11:35:07 2011 -0300
Converter can be registered and retrieved for string representations of types.
commit 4d35b3ef170a00fe46c15f15f204dcc596297057
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 16 16:03:21 2011 -0300
New converters for C++ primitive types.
commit 6b2b4f0cf9157e044965acba63fb6b5ee1e9cf15
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 11 19:37:11 2011 -0300
New converters for user added primitive types.
Win32 fix for zero length type converter array.
commit b8bd47404fd3860bdb282750a1e5919921ca80df
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 8 03:29:21 2011 -0300
Implemented new type converters, but only for wrapper types.
commit df0378d142c55fe63b89735e3dd8f14988893a3e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 4 11:08:12 2011 -0300
Added an enum test to libminimal.
commit 1291121270dea7f3fe807e21fe93db291d4f8d0a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 9 19:37:52 2011 -0200
Fix Windows build of shiboken module.
commit cd110ab3f4f912e2f9e400909f2d3d90abbb9d60
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 9 19:00:11 2011 -0200
Implemented PSEP 0106.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Paulo Alcantra <pcacjr@gmail.com>
commit 26e008d9b3135cdeedfb6cd2f36b3369d1fc7c71
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Dec 6 19:49:36 2011 -0200
Remove missuse of m_traverse function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit d285aff26db82f3af467f107272104db82d1bf52
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 2 11:14:54 2011 -0200
Fix bug 1010 - "Shiboken Cygwin patch"
commit 853042aa0c2d295a6e0b0439edb0fde07b659abf
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Thu Dec 1 15:47:08 2011 -0300
generator: function must return a value
Fix msvc9 compile error.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Willer Moreira <willer.moreira@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c97a88d7b397923a062150d4e25a799c0f2851ed
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Wed Nov 23 15:29:09 2011 -0300
Fix BUG #1057
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 0d29fa4a50bfa1cf7720bb0ffc073838d85cd292
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Tue Nov 15 19:30:46 2011 +0000
basewrapper: cleanups
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit caed911998b542620961b988b4fddf7654b89db7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 31 19:06:36 2011 -0200
Fix bug 1037 - "shiboken fails to build against python 3.2 (both normal and -dbg) on i386 (and others)"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2b677ef0eb94f15b257f7a6ccf7e9447c32d36b9
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 28 17:23:56 2011 -0200
Create qflags at runtime.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2a5330b26469914db917c019b97b5966e4f26014
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 28 15:22:20 2011 -0200
Fix bug 1033 - "QDialog.DialogCode instances and return value from QDialog.exec_ hash to different values"
commit 05aae9a59e9dbc8eec6eb33f86df8de4de71cc67
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 28 15:12:19 2011 -0200
Fix bug 1013 - "connect to QSqlTableModel.primeInsert() causes crash"
commit ebbc17b83cedcd5e41a402bef8ab294c2e9b0152
Author: Yaakov <yselkowitz@users.sourceforge.net>
Date: Thu Oct 27 14:53:31 2011 -0200
Fix bug 1010 - "Shiboken Cygwin patch."
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 18dca4b184bff9978992f728ead0c25658d95071
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 27 14:48:21 2011 -0200
Version bump to 1.0.10.
commit b7cac57f40cd7fa990d98a6e7dad81ed266cece9
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 19:58:11 2011 -0200
Bump version to 1.0.9.
commit 47c50216cc722fa88fffd14539e101bffb9ebea6
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Oct 20 19:42:28 2011 -0300
Fix regression with enums.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
commit 84f15f4239715a0cb8c3c61bb3819db5e0285483
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 13:53:47 2011 -0200
Fix ABI break and link error on MS Windows.
commit 77664040fab3aceab972e66a7cc1f6af6adc1528
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 11:38:30 2011 -0200
Version bump to 1.0.8.
commit faacc898e03e239d6f76ab18ae4cdb4805525b28
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 17 17:15:37 2011 -0200
Don't delete parentInfo when it seens to be useless to avoid crash on garbage collector.
commit ba1e6dfea28a472e4137984581ac96c7486c89b7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 17 15:02:08 2011 -0200
Add constructor overload AutoDecRef(SbkObject*).
commit 42e73675311c4ef43361865fac2b467680ac366d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 17 10:50:04 2011 -0300
Fixes writeReturnValueHeuristics to not mess with constructors.
Also fixes isWrapperType to avoid erring when the type is an
object type passed as value.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit fec8b8974eaba911ab8659cae3d651be9f27c757
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 14 15:26:21 2011 -0300
Fixed code style on sbkenum.cpp
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 980f4119e332f6eff936b5061bb9a2bc28923e89
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 14 15:24:13 2011 -0300
Fixed regression that made enums not hashable.
commit 0b1b29bf42271754657ec6b73471f59b38f9e462
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 11 09:59:03 2011 -0300
Made SbkChar_Check macro safer with parenthesis.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit bf52cec4e9709071ac8eab5b88282fcae6b08553
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 10 16:03:41 2011 -0300
Fix PySide compilation with Python 2.5.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 13c40649f9cc6011df5fe460aa6f2bf2c4e59b8e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 10 11:42:58 2011 -0300
Removes printfs and fixes str test.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit b63fb5b842459170647eba9036fda522ef251b23
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 20:44:40 2011 -0300
String::convertible renamed to String::isConvertible.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 251284d5be98d3648df76933b8155e7ab3a80198
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 19:05:42 2011 -0300
Added new line to end of shibokenbuffer.h.
commit 45ae3858fda50a73556b2a67f0f4d42562c7ee5f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 18:43:32 2011 -0300
Small changes to sbkstring.cpp.
commit 6ab58b767993ccac1de9fe6bf43983bbf75d72d1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 18:03:50 2011 -0300
Use sbkpython instead of Python.h.
commit 0bdb5f609941bc5faaf5002fcaa5c2020dcf829d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 17:35:10 2011 -0300
Add macros to kept python 2.5 compatibility.
commit 7d8ed0c40f5f3144694ce5fbecad006652169285
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 18:49:14 2011 -0300
Avoid string variable to be used unitialized.
commit 8d819060e031499119e6bb0ee8af6c4059a019dd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 6 15:52:05 2011 -0300
Fix detection of Python2 on system where "python" means "python2".
commit c05a81d41fad2a08a1af2557c70f96f7ede03029
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Oct 6 11:33:29 2011 -0300
Removed invalid test.
commit d295b8da7ca28d08a31cc7e9338b57f889e998a1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Oct 6 10:54:11 2011 -0300
Fix string.
commit 56e713fd3ca68fe2fc615426469fe7a0e209c3ed
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:33:37 2011 -0300
Fixed char conversion to work with both python 3.x and 2.x
commit f10f587d43a27500540bee7ae4251a78a4a444a2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:33:12 2011 -0300
Fixed object destruction.
commit fea5022ce62c637b03b5f8d9c2d91ca8d706358b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:32:46 2011 -0300
Fixed shiboken buffer to work with python 3.x
commit 18e8f69fad1acb261080388531beec6a68d310b3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:32:08 2011 -0300
Updated str test to work with both python 2.x and 3.x
commit 480fea82870d311ae474cee7f5931c82dd08a3a8
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:31:40 2011 -0300
Fixed compat header.
commit 26e1ee103d1fdec28751acd09664fe6afabc2439
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:31:11 2011 -0300
Fix python 2.x generation.
commit 47d101967ce384752af1a21859ecff6eb42078f7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:30:45 2011 -0300
fix shiboken enum.
commit adefbf0bb47a92dd8282ff1a1af57af1280c728d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Oct 5 19:30:09 2011 -0300
fix string class.
commit a1295af4fbb91fb3e416a58a80926278354279dc
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:09:15 2011 -0300
Updated shiboken generator to works with python3 code.
commit 7cc329679e14a00b699e944f733cda2ffbb3854f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:08:45 2011 -0300
Updated char conversion for works with python3 unicodes.
commit 301f46c17c26aab4698d5dce76949fec9c31e746
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:08:05 2011 -0300
Updated Shiboken python version compat header.
commit 5a5ab030e94ca2b682e5ff48a168ca64ef69812f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:06:58 2011 -0300
Fixed Shiboken::Buffer implementation for python 3.
commit 181a0e9d43c7a95bf78dd0269b357ed4f5ade2a3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:06:02 2011 -0300
Updated Shiboken::String functions.
commit 3de584066e350e4b8cf269e5a3729a0d319f9ce3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:05:24 2011 -0300
Replaced use of PyBytes_AS_STRING to Shiboken::String functions.
commit 0d2b0a21ed96719ad45e5bf9da799aef71863f48
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Oct 4 16:04:37 2011 -0300
Update enum implemantation.
commit b9ab302dd7aff3ecbbbc7ffe1ef2ef0bf4956a5a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 17:55:54 2011 -0300
Fixed tests to work with python3.x and python2.x
commit 6b21c2fa5eeb6a7c7b6533f1c966a47d8ef07e69
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 17:55:19 2011 -0300
Fixed regressions caused on python2.x.
commit e5e92df4a71ec01cbe849907b7113f0f65eb5163
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 17:53:49 2011 -0300
created py3k file to make tests compatible with python3.x and python2.x
This file is necessary due some problem with syntax generated by 'file'
named argument.
commit 5c3e73b48f8d9b2fb0f1b5abef10df3736a93f68
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:49:53 2011 -0300
Create Module macro compatible with python 2.x and 3.x.
commit 7681b23a5c4fb578ec050f65945bfe87c37c36e5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:49:29 2011 -0300
Updated Shiboken::Buffer API to Py3k.
commit 274c66a017891b6c2f01c159929e9849be1407e7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:46:52 2011 -0300
Implemented support to py3k on Shiboken::Enum.
commit f0aa20eda397c9e734ced759634031f77662c0de
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:46:13 2011 -0300
Updated enum_test for support py3k.
commit 52fdebcb0b3822180a374ee821f3503d746656c1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:48:27 2011 -0300
Update string usage to new Shiboken::String API.
commit c6b9bb836c98a6bcf922ad6ad4dda60e3383d41b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:45:27 2011 -0300
Created Shiboken::String API to support py3k.
commit 26672bda4a67e69c81b8a385d222d56419f286ff
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 28 15:41:11 2011 -0300
Fix CMake FinPython3 script.
commit 2d47b4ec2e4f8119b11cdabe0e56ca55152c120d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 23 18:11:27 2011 -0300
Fixed duck punch unti test to work with Python3.
commit 3534d8d0a7dc65f6fb8110abbaf570b70d729584
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 14 15:30:16 2011 -0300
Updated CMake to find for python3.
commit 701466409c3c13ae4573bf73957f6a874ce5ccbf
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Sep 23 14:32:01 2011 -0300
Create SHIBOKEN MODULE INIT macro.
commit d27ed2fea367d787aa7319531d1df1bbd6739e71
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 20 19:34:40 2011 -0300
Added py3kcompat.py to test suite to make tests pass on Python3.x and 2.x.
commit ee15e0606a2abccb7374e82fd7cd8c70e128a1df
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 21 17:22:46 2011 -0300
Fix getattro function on Python3.
commit 5d6f2193395afab85e444b61761484197d45a93c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 20 19:32:38 2011 -0300
Added SBK_PyString_FromCString and SBK_PyString_FromFormat as helper macro for Py3k port.
commit a2d5bb825977e1f7952a89c64ed2e6e307ae1f78
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 21 15:14:22 2011 -0300
Correctly prints the return type of virtual functions instead of a C++ expression.
commit 23162dccb763c81f762ea5e0ec60b3931fe5b5f1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 21 11:25:48 2011 -0300
Fix converter of std::map.
commit 2d8f8d8ac79bc6f266564afd7d0ffe702a7cdf58
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 20 19:29:12 2011 -0300
Fix SbkDbg() << PyObject on Python 3.x
commit 0b1f8df512047c6ace60701180ec1e4f6e97484e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 16 18:24:56 2011 -0300
Port module initialization to Python3.
commit cbfebc05a591a2370c3fad044e7a45a305c8ba4a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 16 18:23:51 2011 -0300
Use PyBytes instead of PyString on generated code.
commit 2cc05efe4c28c90d5dd6126d251f5ca9a9ebde07
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 16 18:20:50 2011 -0300
Use ErrorCode class when writing enums.
commit fd5dd85d0d0dcc4faaf3a1ca5bd6a5df857f7844
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 16 14:27:32 2011 -0300
Port libsample typesystem and glue codes to Python 3.
commit 9785f258d93b4976872a17fbf61bd27a4c4123cd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 15 19:10:22 2011 -0300
Port Shiboken buffer interface to Python3.
commit eea010d0beeffed9c448111aba914f71e0018954
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 15 18:39:51 2011 -0300
Use PyModuleCreate to create modules under Python3.
commit c8aebee93e58d6a07de6dcd7f24a96799e284dcf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 15 17:49:50 2011 -0300
Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT.
commit 6bf564204fe977dccf94ed58ddea7fd5eaf4a1fa
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 15 15:26:40 2011 -0300
Using Py_TYPE macro instead of direct access to ob_type to work with Python 2.x and 3.x.
Enclosing PyCObject uses inside #ifdefs
commit 24206196a34b4faeb4b720efcc84747f35accf94
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 14 15:44:01 2011 -0300
Added sbkpython.h to deal with conflicts and missing symbols between Python2 and 3.
commit dfd3c75a8ba6bc8a1ac42909d96bc6d4c11c6bd7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 14 15:25:11 2011 -0300
Replaced all PyString_* by PyBytes_* as preparation for a Python 3.x port.
commit 31c44fea50380513bdc16d58891ba9e5ba7ecc31
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 21 11:33:37 2011 -0300
Version bumped.
commit db9874a33cfb35d639b9ddf5347d7c60d5647b9a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Sep 20 18:21:12 2011 -0300
Fixed invalidate function in objects with refereces to other objects.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 4e17f2620f10677e09b9cb93c7ba8efa703b158b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 16 14:29:25 2011 -0300
Revert "Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module"."
This reverts commit bc8448d7fb91733ff08c2a6a3a878702c14a24e0.
The PSEP didn't reach the final version yet, so this commit can't be released.
commit c686942f6efbac4ac43cf859bfdd2c7209b783ea
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 13 17:43:16 2011 -0300
Fix bug 995 - "QDeclarativeView.itemAt returns faulty reference. (leading to SEGFAULT)"
commit 987010cb2c5740bf1cb7af54b2c6dc3142c44805
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Sep 8 15:03:55 2011 -0300
Use internal dynamic metaobject insted of created by pyside.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9040f2afccd26647071a8f1753370f6935408231
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 30 19:28:53 2011 -0300
Safer type index define line generation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 472aea289e7e036202e645f98528f3bfc1bdfd4b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 30 16:14:02 2011 -0300
Created unit test for cyclic dependency.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d9e3c8899f80eabafed3cc03ea9d6ecdf38396b8
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 30 16:12:14 2011 -0300
Fixed cyclic dependency resolution.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 711c0db5734dabc8473deb08d8de59224c31509b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 30 11:20:46 2011 -0300
Fiexed default __repr__ function generation.
Fixes bug #991.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9c1db342e06fee686f7e8268704741329ccf6b2e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Aug 5 17:18:05 2011 -0300
Documentation for shiboken module.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 784a4bbb707d132b26bcb177521745575dc0823f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 4 16:10:34 2011 -0300
Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module".
commit 8b1ddcd3ef711bab70bb7cdebc26558a26f42df9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 26 14:55:03 2011 -0300
Implmented support to q_metacall function modification.
Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 26c49c0b87e0efc065bcb7667aad71231f769028
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 22 17:47:56 2011 -0300
Version Bump.
commit 126d5e91482f4951a327ef6dfd766ea41c0a4658
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 22 16:05:38 2011 -0300
Not print warning if the typedef used on signal is QFlags.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 7f5a81448b4a9f1516bf3989c8faa16f38162f2b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 18 23:42:34 2011 -0300
Centralized the place where the TypeResolver creation is written.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit b9dba4ed938302740b4ea7ea2d4824518077444e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 18 23:10:24 2011 -0300
Creates type registers for enums in createScopedEnum and createGlobalEnum.
Instead of generating the register code.
commit e5fb8ee50dbcb0eab68260efe95c985ddc979e00
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 18 17:00:32 2011 -0300
Fixed generator to consider conversion rules for the return type of wrapper methods.
Tests were added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit b7169ca7fe92c5874076ff47f9b4ec7954acc480
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 18 13:12:09 2011 -0300
Added a test case for a bit-field structure member.
Also moved a couple of tests from samplebindings to otherbindings.
commit 4f782f5d0f97633261690a19de7dfa62eeec2741
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 15 22:33:31 2011 -0300
Added a test for an user defined primitive type from a required module.
Also sorted the tests order alphabetically and fixed inject code for
SampleNamespaces' passReferenceToObjectType method.
commit 9c5a9169cf0d710fe4cfab305e096623d8cbdaaf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 15 17:19:54 2011 -0300
Added test for typedef of unsigned short.
commit b148ca6f876030a41ac7556ec5be2a7374e86bd5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 15 15:37:36 2011 -0300
Added test for user defined primitive type used as public class field.
commit ba27bc0dd1beeb1f088a4b76395432a358d82c2c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 13 12:04:07 2011 -0300
Added test for implicit conversion with user's primitive type.
commit 91a2dbd2e84e653ba0e0b36f4c46bfc23014e29b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 13 11:51:52 2011 -0300
Added a method modification test dealing with code injection and user's primitive type.
The inject code has a %CONVERTTOPYTHON that receives an user's primitive type.
commit e5d7ccddfee37eb10e3c594f96bdddb49864c340
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 11 09:50:01 2011 -0300
CppGenerator's writeCopyFunction method now uses cpythonToPythonConversionFunction.
The new overload of cpythonToPythonConversionFunction, that is.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 81307ef0b1255143e2eb560bc80d80d9dda796ed
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 10 17:50:36 2011 -0300
CppGenerator's method writeReprFunction now uses writeCppSelfDefinition.
commit a6eb186fa5a349af171295d0ea9d60c4aec049b3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 12 14:50:44 2011 -0300
Check for NULL pointer on transferOwnership function.
fixes bug #965.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
commit 593b6345a8906b043d854a57bcb84a55f3955340
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 10 17:12:40 2011 -0300
Mark deprecated functions as deprecated.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit ac626ce3684ec42c56ab44dccc92fd2022ba5d7b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 11 10:24:41 2011 -0300
Check for python debug enviroment to print debug messages on
typeresolve class.
commit c7713d00f71e96f33ca25e2152cbec8907dcf80e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 10 16:10:10 2011 -0300
Implemented unit test for deprecated functions.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a1a8ea866cb039854190da70332717e816908d65
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 10 16:07:13 2011 -0300
Functions marked as deprecated will raises a python warning.
Fixes bug #873.
commit 9c6b541ceef3039e9e19a1d9a12223851a849cf6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 10 00:59:19 2011 -0300
Improved the generation of argument conversion in modified functions.
Added the SBK_UNUSED macro to libshiboken to prevent compilation warnings.
An unit test was added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 711ee3d4169acca59b87df61b9ccb26d74a329b4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 9 17:35:20 2011 -0300
Improved type system converter variable usage in the sample test binding.
ShibokenGenerator uses qDeleteAll for the cached meta types.
commit 313c6906077cd94311fb09cbaf5a6194eb87c756
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 9 16:43:55 2011 -0300
CppGenerator's writeHashFunction now uses writeCppSelfDefinition.
commit 8cbeb5c0305b6d81ae8fd7ab16aaf94e16d80389
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 10 13:05:14 2011 -0300
Removed last js files.
commit 9eee51f91bb72735e8d4bb5b9ecca9e4aa00a740
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:32:35 2011 +0200
Update pysidedocs theme to rely more on sphinx's base theme:
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 6a12afd5cb3e0b7deec82147263e8f57bd18124a
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:31:19 2011 +0200
Drop superflous .directory file.
commit 669fd4076b4c5ff13f89a5b9e04288db941b7efa
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 8 21:55:57 2011 -0300
The type system converter variable replacement was moved to a single method.
Such a method is safer than the previous that used only a regular
expression, because now it tries to build a meta type for the type
found in the user's custom code.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 07048428fd2db051b0ad27c590ecf52ab4678f79
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 8 21:10:38 2011 -0300
Moved functionality from a couple of write function to ones that return strings.
The methods writeToCppConversion and writeToPythonConversion now use the
services of cpythonToCppConversionFunction and cpythonToPythonConversionFunction.
commit f02e7bd726a5560542e7c078b925f289a9d6a75d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 8 19:15:54 2011 -0300
Method buildAbstractMetaTypeFromString now uses a cache for the types it builds.
commit 05e7ecede5304ee56a805c7b5a10d3df11cf8952
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 17:10:54 2011 -0300
Added tests for a class that its only constructor is the copy one.
This simulates a situation found in QtWebKit's QWebDatabase
and QWebSecurityOrigin classes.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 6bd9d58b31cabedbce5131548d2447341df76e21
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Aug 7 16:04:40 2011 -0300
Improved the generation of type indexes written to the generated module header.
Now classes that are typedefs to template class instantiations are
written twice with the same index: one with the aliased name, and other
with the name composed of template and template arguments.
commit 6f46f59f67c0d90fa184d9baf0c7a3f29d9e9865
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 23:13:56 2011 -0300
Added tests for classes that are typedefs that implement a template class.
This simulates the situation found in Qt's phonon module.
commit 714ddb6c74b4db4853ca2e34bb50f2888e75ec8d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 17:28:00 2011 -0300
The type checking now pays attention to the <no-null-pointer/> tag.
An unit test was also added for it.
commit 8794f303c16f67812093d0311530b4447ff5c94c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 14:29:24 2011 -0300
Added an unit test to check if derived type destructors are freeing memory twice.
commit ceb721ca252e6ed71ae85df00b7b4727aca630f7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 12:02:29 2011 -0300
Test's names now have their module as prefix.
So they can be ran by module.
commit e19d6475f600b27ea878a8d5e6dc5f599820c842
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Aug 6 11:12:09 2011 -0300
The result of rich comparisons are stored in a return variable before converting them to Python.
commit baf2a5bf56620134d751b54a514159221d4e11d4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Aug 5 23:44:23 2011 -0300
Added a test dealing with a reference to an Object Type passed to Python.
The test is for an Object Type that didn't existed in Python and is
passed to it as C++ reference through a virtual method.
commit 50aef1dd4836b5019c60d31c54501ebcd37f72cd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Aug 5 13:55:56 2011 -0300
Improved guessCPythonCheckFunction method to produce an AbstractMetaType for known types.
This is in opposition of simply returning a string with a custom type
check. The details are in the docstring in ShibokenGenerator header.
Also added a new modification test and refactored here and there in the
sample binding type system.
commit 08f29f0d8f456eb1f994b05c21fd04468c95329c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 4 17:31:48 2011 -0300
Included tests for added function signatures very similar to already existing ones.
Specifically this causes the situation when there is in C++ a function
with an argument that is a reference to a Value Type, and the user adds
a very similar function with the same type, but passed as value.
Example:
C++ : function(const TYPE& a, int b)
Added: function(TYPE)
The return type of ShibokenGenerator::getArgumentReplacement() method
was modified, because the argument object is more useful than its index.
commit eda3572089e71e0c5065831438c4999486838547
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 4 12:18:02 2011 -0300
Added tests for custom conversion and buffer protocol.
It it inspired by some of PySide's QByteArray tests.
commit 19713b8e3f7e9ba04653b3b4beff5cc26408af44
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 3 17:15:58 2011 -0300
Don't abort header generator if no classes were found.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 8fe6b9a5390b8e5668df0fd6aee9b2c4c71264bf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 3 17:14:25 2011 -0300
Check if the directory exists before writing C++ module definition file.
commit db0faf27e147b1cc5902f5a42fc4eecccb07539d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 3 17:13:40 2011 -0300
Removed huge if block to ease the code readbility.
commit f2e0002c8ebc7a68fca731bfbde1d32415f5a240
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 3 14:35:35 2011 -0300
Fixed type system variable replacement for arguments removed with conversion rule.
Also added an array argument modification test, and moved
AutoArrayPointer from libpyside to libshiboken.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 699f6db172df37631dec7a884a25df8cc62343b8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 3 10:58:09 2011 -0300
Small visual improvements on writeArgumentNames().
commit f9e9189be4b622b74d0df2787a09f93fe7a5d0ae
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 2 17:01:40 2011 -0300
Disassembled ShibokenGenerator's writeCodeSnips method.
Also added writeConversionRule methods to CppGenerator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 3e8c945bdc731fb7c9eaff0007abc02bfa1e5c37
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 2 13:41:37 2011 -0300
Added compilation test for value type argument in a lshift operator.
commit 6bb2780c978d93b6ebe7b423adda27e4292467f2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 2 13:06:58 2011 -0300
Added test for removed pointer out argument.
commit f3b6eeccd43fc8b81bb7fe48424b6f4c6e4e454d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 2 00:41:36 2011 -0300
Removed unnecessary indentation from generated overload selector switch.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit cfcae8d657cb7d13acf2de753bd0e6db117e27f7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 1 19:03:26 2011 -0300
Improved and fixed the setter and getter writer functions.
Also added an unit test to a protected container property.
commit 22c7b2e24212b41fc941121f8df83eb238f8e0d3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 1 12:57:44 2011 -0300
Moved many variables names used in generated code to macros.
Also fixed ShibokenGenerator::pythonFunctionWrapperUsesListOfArguments()
method to consider call operators. Fixed code snippet variable
replacement for when there's only one Python argument in the function.
And CppGenerator::writeArgumentsInitializer() was sanitized, with never
used code erased.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit bb95046f7cb7a06e52bc5e6f3cb9eff4271ecbf0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 1 00:03:07 2011 -0300
Revamped the virtual method writer.
It's way less messy now, and uses writeTypeCheck() as it should have
been doing from the beginning.
commit 967961a9d3e96854d256206bb813ab3bde4409c3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 18:50:11 2011 -0300
I rewrote generator functions of type checking strings in ShibokenGenerator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit e05e6ef74efbfef002b98b64ad4d1105bcef2ad5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 15:41:23 2011 -0300
The rich comparison function writer now makes use of the C++ self variable writer.
That was the last one.
commit 5afdf1fae25fdb7f8e090c24d6526dccbba18e21
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 21 21:48:21 2011 -0300
Added functions to provide a cleaner enum and flags initialization.
The functions are:
Shiboken::Enum::createGlobalEnum()
Shiboken::Enum::createScopedEnum()
Shiboken::Enum::createGlobalEnumItem()
Shiboken::Enum::createScopedEnumItem()
Also updated the generator to make use of them.
commit 808c7b33fe6aafc81c58ec4850c0e30dcfbd91e9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 04:46:18 2011 -0300
Added the ErrorCode helper class to handle the current error code value.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 3c39aa5f2e05ad34e67f07b2f7262f419f9ce3b6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 04:23:51 2011 -0300
Moved the generation of Python result error checking to a single function.
commit 4e839b8209e31ea48b264622240b3c4939e6cefd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 03:51:14 2011 -0300
Sanitized CppGenerator's writeToPythonFunction() method.
commit 6af928412c947d219f8a04258301e685826934ef
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 03:43:52 2011 -0300
Modified the generation of 'nb_bool' functions to use standard functions.
Instead of writing everything on its own.
commit 29183ffe770ff7738c5eebc5480ca956c4fe086f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 03:17:02 2011 -0300
Improved coding style in the terrible writeStdListWrapperMethods method.
commit 34395eeb8c57f2225c7f20b9e20f9d92f2131ce7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jul 29 01:48:02 2011 -0300
Added a method to retrieve a function's argument type
The method in question is CppGenerator::getArgumentType(), and it
resolves any type modification made in the type system.
Also remove an unused convenience method for writeArgumentConversion,
and unused variable on rich comparison writer function.
commit 0c99d3754d54cf9f9e6f8c7c608534bdcad4a3e3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 21:47:20 2011 -0300
Improved the code of two code generation functions for better readability.
The functions are
CppGenerator::writeRichCompareFunction()
CppGenerator::writeOverloadedFunctionDecisorEngine()
In the case of the last one, the generated code was also improved.
commit 5be3f5a158bfb3eee8c7cdaeb8184ec3f4fd910c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 21:13:09 2011 -0300
AbstractMetaType builder now calls the metatype's own 'decideUsagePattern' method.
commit cf50a5397686f5d9b39c34eec0fa5cd13348c76b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 20:05:41 2011 -0300
Renamed argument of ShibokenGenerator's getTypeIndexVariableName() method.
commit 8f86bd422a59b9f2f3460a657da196725b3356f2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 19:49:28 2011 -0300
Centralized the generation of global and class enums in one method.
commit c992fc0ce7eb6a2f31134328d8aa80aeabaafe97
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 12:00:15 2011 -0300
Created a method to generate method wrapper variable initialization code.
The contents of the new CppGenerator::writeMethodWrapperPreamble()
method were moved from the writers of constructor and method wrappers.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 1eee074d77f6c612a7644aea7b17d7a0128806cc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 14:43:23 2011 -0300
Fixed writeBaseConversion method to handle references to C++ primitives.
Added test for a reference to integer as a function argument.
commit 454efd2e01c06832bedc89a93e139dd6f011a296
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 04:31:35 2011 -0300
All Python to C++ conversions were moved to CppGenerator::writePythonToCppTypeConversion().
commit 767e21c15eb9a400fb43eda35fa3aea01330e8b6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 03:32:16 2011 -0300
More readable code on CppGenerator::writeVirtualMethodNative() method.
commit f50a2b5841d63ddaef3195a29bfe3e07de91157a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 03:10:39 2011 -0300
Improved writeInvalidPyObjectCheck() method and updated generator to make use of it.
commit dbdcbdffa21b754faf6bab309126684427df7ac6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 00:51:45 2011 -0300
Improved readability of CppGenerator::writeCopyFunction() method.
The indentation, and everything else about it, was terrible.
commit 0eb50de5faccf1a87f6f4686c8e214dcdb677aa5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 00:50:00 2011 -0300
Improved CppGenerator::writeCppSelfDefinition() method and its use.
Now anyone wanting to get a cppSelf object must go through this method.
commit 9e55726d0b7abf8daf41319ec34db6dceb834b30
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 00:36:21 2011 -0300
Removed signatures without definition from CppGenerator header.
commit 40b7e0c83b76a208117f5fd4c0c3b850beb3d889
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 28 00:30:00 2011 -0300
Removed unused parameter from writeInvalidCppObjectCheck().
Also removed the default value for a more explicit use of the method.
commit 849c246c1e459ddeb545b5a4520365fbb803bf55
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Jul 16 17:15:09 2011 -0300
Added a function to initialize a new wrapper type and add it to a module or enclosing class.
The class register writer was updated to use the new
ObjectType::introduceWrapperType().
Types are now created and registered via the introduceWrapperType() function.
I also did a little refactoring on CppGenerator::writeClassRegister.
commit 5d61dc4c2d080c1e843d8958169c924c8b31f4de
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Jul 16 17:31:08 2011 -0300
Introduces new API to create and import Python modules.
The Shiboken::Module namespace also provides management of module types,
including the communication of types among dependent modules.
Module::create() will call Shiboken::init(), so this can be removed
from the generated module's source code.
This deprecates the old Shiboken::importModule() function.
The generation of module initialization code was updated to use the new
Shiboken::Module functions.
commit a456b8d969eb81331cf35cfbfab8690072bae692
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 25 16:56:36 2011 -0300
Added test for a typedef to a primitive numerical type.
commit 68c8d2a8f047d0dc8384c701af49a6c6205917ed
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 21 16:49:08 2011 -0300
Moved writeMinimalConstructorCallArguments() functionality to Generator Runner.
Updated tests' type systems to reflect the behaviour of
Generator::minimalConstructor().
commit 3fb03a226e59b15c4c33dc824749ceb8b18b65e8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 21 14:25:44 2011 -0300
Moved the methods isObjectType() and isPointer() from ShibokenGenerator to Generator Runner.
They were needed by other methods in the Generator class.
commit 922a9a1f7d4cb6a1387cfb0aafe8f41e0c71b42a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Jul 24 14:23:46 2011 -0300
Fixes ShibokenGenerator::isCString(type).
commit c3144c3fe91a6d069d849eecd46ead0828175b58
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Jul 24 19:03:18 2011 -0300
Moved an enum tag on 'sample' test binding to a better position.
commit 0342513031e1c33d680c891a6c0bb74fc99e329d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jul 27 19:25:39 2011 -0300
Moved some type system variable replacement to their own methods.
The new methods replace the contents of the following type system
variables:
%CONVERTTOPYTHON
%CONVERTTOCPP
%ISCONVERTIBLE
%CHECKTYPE
The replacements were part of the ShibokenGenerator::writeCodeSnips()
method.
commit d59f29f9d51928ab96dd65953e791d658156b312
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 21 04:45:56 2011 -0300
std::auto_ptr is safer than relying in an if clause at the end of the code block.
commit d670e94717bcd433690eda116afd4d18234e029a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jul 27 19:26:11 2011 -0300
Fix bug 941 - "Signals with QtCore.Qt types as arguments has invalid signatures"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit bb4ad5329db5b716e9ff99585d40cd233e778ab9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jul 27 14:11:18 2011 -0300
Check for PYTHONVERBOSE enviroment var to print debug message on binding
manager exit.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3a560e6b1efac44af56338cbf72f9fa0d32920c5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 22 14:50:40 2011 -0300
Updated apiextractor version dependecy.
commit 7c771c8e67993f59fe05227a37384fd75ed34c37
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 19 17:36:08 2011 -0300
Used SignalManager function to retrieve MetaObject
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
commit ec454186de25a3a032e7cbf965511913f0b23040
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 21 14:28:55 2011 -0300
Fix bug 939 - "Shiboken::importModule must verify if PyImport_ImportModule succeeds"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit a410f0533e918b3478d2d1cd421f2d273e57fb24
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jul 20 11:11:03 2011 -0300
Added a build option to compile and run only the minimal set of tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 419851922f8b12b0d93a6ce1f884f6975c1adfd7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jul 20 10:34:02 2011 -0300
Check if need to use placement new for types that inherits QObject due to QML (qmlRegisterType) function.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 3e899a5e657b0f3a6bc38e788fc89c76c8962f47
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 18 18:04:19 2011 -0300
More convenience functions added. More refactoring. Code more readable.
ShibokenGenerator::isPointer()
ShibokenGenerator::isWrapperType()
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 3016b0de40d93de2ca3eb690c1ae96529643f26a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 18 16:22:21 2011 -0300
Added convenience functions to improve code readability.
Checking if a type is an Object Type is a very common task, followed
by asking if a type is a pointer to a type that has a Python wrapper.
These functions solve the problem:
ShibokenGenerator::isObjectType(type)
ShibokenGenerator::isPointerToWrapperType(type)
I refactored the generator code to make use of those functions.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 742fc4d4b723425a2d8ee1bea12116521d528c96
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 18 13:40:55 2011 -0300
Fixed typo in generated code.
commit e205a94df825fd6becf5ff7514ae9d40ddc7f456
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 18 15:29:21 2011 -0300
Improved documentation on ObjectType's cast related functions.
commit 553cfa3fd5d49fbcf2e143c19eabeb25129389dc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Jul 17 22:39:24 2011 -0300
Improved code readability in CppGenerator::writeVirtualMethodNative.
commit 6f93e0a82d8b0480e0bb5dd1b19b621777bed238
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 18 09:52:14 2011 -0300
Improved minimal binding test passing a None value where an object type pointer is expected.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit b6fa93c405059cdf43ada7b6fc935462871abd09
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Jul 16 11:55:13 2011 -0300
Replaced trailing space by a period in documentation comment.
Also removed other trailing space elsewhere and fixed some typos
in the comments.
commit 96bd943d57b1864d1f5e7359b100c67d01934619
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 14 15:25:04 2011 -0300
Propagate default args modification during the overload data descisor.
Fix bug #919.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit b8611fcb1b7a4a1237c0025e5d57dd364d17ceae
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 14 15:55:56 2011 -0300
Fix bug 929 - "pkg-config files do not know about Python version tags"
commit fe18fa07c473af4f4b3886efa8d6f1fb5fe9d8a5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jul 11 14:16:18 2011 -0300
Write type indexes in an ABI safe way.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 2685383e5094222bc535db465b411abae967a883
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jul 11 14:15:28 2011 -0300
Fix samplebinding warnings suppresions.
commit 4f608fdc057642f2d84276458a6444e9eff79bd2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 11 11:07:14 2011 -0300
Fix enum qMetaType register.
fix bug #886.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6032293a4f357ccccd57ea96bb74b55254faed59
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jul 6 19:41:25 2011 -0300
Make sure register QMetaObject before QObject.
Remove all staticMetaObject form know types.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit db280f75a04ce9aaf884bdbb7b54e269bbf8220d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jul 6 15:50:49 2011 -0300
Move meta object creation afeter type register.
commit 2452be71838a0ba60ec899c6f4ff8b52325adffb
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 5 15:38:53 2011 -0300
Created unit test for bug #886.
This test check if a enum inside of a namespace which is not exported to
python, work proper.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 219ee31ce4cf9c45b9a53cd267df3e8e7b53b0f2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 5 11:59:33 2011 -0300
Now the generated code stores the enum cpp name on the PyThon type.
This is necessary for finding out the enum name during the signal match
function.
Fixed the signal register function for signals with default values.
Fixes bug #903.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 878c6c81a7469335e70856f77142473bb358051d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 1 16:00:09 2011 -0300
Cleared cptr data during the cpp object destruction.
This avoid problems when the same addres was used late in the program.
Fixes bug #904.
commit 88a84ee6ae8cd12b2527576505f16774c9c542c1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 17 18:10:21 2011 -0300
Fix refleak during the parent c++ object destruction.
Fixes bug #893.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit c3eb8bb198b7cbc43236b1edbf7afbf096d8b8f6
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 28 17:14:19 2011 -0300
Fix object wrapper deletion.
Fixes bug #356.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 27c3af50e31bdafec37efe55fbcaccf3b1c49d02
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 22 11:38:19 2011 -0300
Dealloc Python object before calling the C++ destructor.
This will avoid the problem of having Python objects with ref count zero on binding manager
while Python code using these objects can be triggered by the C++ object destruction.
This commit makes DestroyListenner class unused in whole PySide project, probably it will
be marked as deprecated in futher commits.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 923ed37ea91de754e9c87d4d74f38283ebb1d257
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jun 21 18:17:52 2011 -0300
Removed random unreadable comment.
commit ac4534d9cf1ca7b3ab27ff32ebc71ef565fb05ad
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jun 21 15:57:56 2011 -0300
Recognize more types on error messages pretty printing them.
commit 778a48ffa48a1a217981088e41937413fbf4f59b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 22 11:42:48 2011 -0300
Version bump to 1.0.5.
commit 2743f996e598139f19c74ad91faf4df8911aaf2d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 22 10:29:58 2011 -0300
Version bumped to 1.0.4.
commit e80044aaca2f0769d65a18384df711006a519eb7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 20 15:18:22 2011 -0300
Implemented support to qt_metacast function on qobjects.
fixs bug #872.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit d08c86eebf68d049fe80795955fbcf1446e8b0f7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 16 16:57:30 2011 -0300
Fixed python debug likage.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 45a008604122af4e4ff4e7db440d9e65be3093fc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 15 16:08:00 2011 -0300
Added two new type system variables: %ISCONVERTIBLE and %CHECKTYPE.
Currently the variables are replaced as follows:
* %ISCONVERTIBLE[CPPTYPE] -> Shiboken::Converter<CPPTYPE>::isConvertible
* %CHECKTYPE[CPPTYPE] -> Shiboken::Converter<CPPTYPE>::checkType
Future improvements may change that, so having these variables is
a good thing.
The documentation was updated.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit 76c2be48edf50c573d1da94879d02c1b97f8c501
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jun 9 10:14:55 2011 -0300
Fixed substitution of method calls from user custom code for Qt's metaObject() method.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit e71fba71859985a5fe9b81c016451ac090cfc145
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 31 12:26:19 2011 -0300
Fixed injected code processing to avoid infinite recursion in virtual method calls.
Unit tests were also added.
commit 7b731d702c64d172e192aa1876e4a6fade6c38d7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 6 11:42:46 2011 -0300
Created unit test for add function rich-compare function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit c2890587871dd425da146d0c60510119a809b869
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 6 11:41:10 2011 -0300
Fix overload decisor on rich-compare function.
Fixes bug #292.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7b419e9c5996dc3ffc72d2ae2a6d6f73f8954112
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 18:47:11 2011 -0300
Show perm links only when the mouse hover on title.
commit 7a5fc825b5c78fd928ed29889c6dcfca16b7be97
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 18:45:32 2011 -0300
Update javascript files used in sphinx generated documentation.
commit f526cb6f0c87d6730334808b59604bc0878c8c2c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jun 3 19:47:01 2011 -0300
Fix bug 501 - "Shiboken generator doesn't use full qualified name (with :: prefix) on all places."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 0bc3c52678a2b86850c9342d60c975a9cc958cac
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 11:40:25 2011 -0300
Removed warning about possible use of uninitialized variable.
commit e3c2d6c3fae088185ab83e19a65190e28120a3ee
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jun 2 17:31:05 2011 -0300
Test for bug 464 - "Can't create target lang package and namespace with the same name"
commit 9c172e94cb5d2fd263a653a5515f02194cf3279d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat May 28 15:16:10 2011 -0300
Added the basic cases for container conversions.
The cases are made of conversions of lists of:
* C++ primitive type
* C++ class treated as Python primitive type
* Value type as C++ value
* Object type as C++ pointer
* Container of container of C++ primitive type
The container is converted when called from Python or from C++ (via
virtual methods), and passed as arguments to Python and to C++.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit c1253405144232e4c6db791ce43bd6d4f25ea9f6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat May 28 15:09:55 2011 -0300
Added class to be treated as a specific (bool, in this case) primitive type in Python.
Unit tests were also added.
commit 3112b255beedf6cd4ac56ad08e9a90d011620d04
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat May 28 12:24:40 2011 -0300
Expanded the minimal example and tests to better deal with virtual methods.
commit 6dd350021b30739dec375ec90e040d6e2ec63c11
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jun 2 17:31:05 2011 -0300
Test for bug 291 - "Generator ignores inject code for rich comparison operators."
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 811c7cb53af4134fd419bc31ca3bcb04cfc262b0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jun 2 17:09:46 2011 -0300
Fix bug 827 - "Anchor sign for headers to copy links for sections"
commit d8ffe3ff6633f968655f05c4f788bed9ac7316f7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jun 2 15:45:28 2011 -0300
Fix bug 862 - "Problems when printing objects"
commit 1032878531733d2c54dde9cb012e8e4be2695a20
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 2 13:10:37 2011 -0300
Updated necessary unit tests to handle with exceptions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b1461f445a4100cee14f2db8c062e3fb087570f1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 2 13:09:03 2011 -0300
Make use of Shiboken::warning on virtual function.
Shiboke uses Python warning to report any problems with virtural
functions return conversion.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 48c3f893b3024071bafe04412d52f0086b396f2b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 2 13:08:20 2011 -0300
Created Shiboken::warning function.
This is a help function to make able call python warning with formatted strings.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0e6d4cc1d151724f56c6ccf8c431077e2c778b26
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 25 16:23:22 2011 -0300
Added Shiboken buffer interface.
This interface is just a wrapper to the differents API's provided by Python
to deal with memory buffers in various versions of Python, so is recommended
to use this API to deal with Python memory buffers instead of the CPython API.
If you want to have a Python buffer as argument of any function just change
the argument type to "PyBuffer" and the generator will handle it right regarding
to type checking.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 22bed1fb96a37bdf9d032a801f5577f81832fe76
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 1 10:25:04 2011 -0300
optimized keepreference function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit edf01fb44b94254eb22959f1b25f8138aa535713
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 31 15:42:09 2011 -0300
Updated generator to use removeReference function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a2dac99260317da72265cc2a69b97a4353eda791
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 31 15:43:57 2011 -0300
Created the function 'removeReference', used to remove a specific
reference from other object.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ab5690f7a11f280409dc7f8ce17cb528e2829834
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon May 30 15:11:17 2011 -0300
Fix error arg types in error messages.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit c65886debe3d55278fac78e8c14d552eb40ce1d5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 25 17:50:29 2011 -0300
Updated generatorrunner dependency version.
commit 7e1459b2a29045527a4bf3c5a840a2c38933760a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 23 11:42:14 2011 -0300
Generate code using the new pyside class DestroyListener.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 95f7d0a2c1a417e81bf2cab00075e28a8d22660f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 17 16:31:24 2011 -0300
Removed unused variables/functions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9c19e3c9d25e8d1b70e4bb578c381f45af621c91
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 17 16:22:16 2011 -0300
Whitespace removal
commit 7bbf04b2e010781a18635b8f102505d405ad849c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 17 16:21:54 2011 -0300
Use right argument variable name on keep reference when inside constructors.
commit 4b4d0a0429987be5aa8373c73447bf37b5b9bbeb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 17 16:05:14 2011 -0300
Defined Shiboken.ObjectType tp_setattro to PyObject_GenericSetAttr.
This fixes bug 634.
http://bugs.pyside.org/show_bug.cgi?id=634
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 13bbf1c4e8341a44f372f7dde08cbd7a66815cb9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 17 11:15:37 2011 -0300
Added an unit test that puts an attribute on a Shiboken generated class.
commit 973a5389ac0f2a5d899025843b9af9e587eff7d3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon May 16 12:57:58 2011 -0300
Added a new test binding called 'minimal'.
The purpose is to have the smallest possible binding to help when doing
complex changes that require a good deal of debugging and tracking,
and the many operations performed in too many wrapped classes will
clutter any output used for those purposes.
In other words: don't add anything here except with a good reason for
it, prefer to use 'sample' or 'other' binding for that.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 510e7af9a0e9a8b8c0b90ad76453d9ccdf55aedb
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 13 17:47:49 2011 -0300
Fixed keep reference funcion.
The keepReference function does not increase the referece of all
objects if the argument is a list.
Fixes bug #854.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ed5af2558722705d38a33fc9b98cf93ccdfae9dd
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 13 11:47:54 2011 -0300
Implemented keep-reference action 'add'.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 899d04d28ebb104b216b444af9eec411fbb3135b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon May 16 18:03:48 2011 -0300
Just use else if's instead of a sequence of if's.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0ef022ee9824fbacf25bee0534da83bb41276474
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon May 16 17:28:16 2011 -0300
Unit test for bug 851 - "Shiboken recognizes dereference operator overload as times operator overload."
commit 77066fe1d61446fc711d8ca234c915a46e767801
Merge: c2d2ed9 485288f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri May 13 08:56:39 2011 -0300
Merge branch 'casttoreference' into havegcflag-hell
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit c2d2ed94548d0e42c3dcc949b1b4f4990684f735
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 3 16:41:38 2011 -0300
Improved garbage collector handling of Shiboken types.
commit 485288fb1888814f641b2df56860171783d326fb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Apr 8 16:22:38 2011 -0300
Added tests for conversion operator that returns a constant reference type.
This is related to bug #716: http://bugs.pyside.org/show_bug.cgi?id=716
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit f26d9a83d5255d9ff8ce251790227ebe996d21c8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu May 12 18:55:53 2011 -0300
Don't segfault when running with Qt4.5.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 587bac87604aadd4d7aedba2a911bfcac9671fe3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed May 11 18:15:40 2011 -0300
Replaced "isUserType" test for the correct "hasCppWrapper" before method calls.
Also added an unit test for infinite recursion when duck punching a
virtual method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit bdd992a76956f86166256649f8bb3d42ce7439a2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 10 14:46:27 2011 -0300
Don't set the tp_init when there are no public constructors available.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit ce1d707bef6426a1f18f92ab729dc4d89fbe63e4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 10 14:41:03 2011 -0300
Improved the SbkDbg to avoid throwing exceptions when showing an object.
Also added a new Shiboken::Object::isValid signature to help.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 7327989fb85595d1795c1dbd013428b8909b2f0a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue May 3 11:45:58 2011 -0300
Small fix to number protocol code generation.
commit fd02167c862a6fedd47a1f531b051186799c256c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 6 19:03:59 2011 -0300
Only use qRegisterMetaType for Value types.
fixes bug #847.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 96a4cc767fa930d236262904abebc4cdff54eff0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 4 16:51:59 2011 -0300
Fix bug 813 - "Can not override connect method when subclassing QObject"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 4b5380126807dee8bc6a0a06c23f787446e2058c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 4 11:05:14 2011 -0300
Obey type replacements in rich comparison functions.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 71343a4957db5cf0cee9ff925f6bf7154aba9d92
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 2 17:44:21 2011 -0300
Created test for bug #654.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit b191b8829474d410e7b27768073514b6057a3789
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 2 17:43:45 2011 -0300
Fixed enum repr, print functions.
fixes bug #654.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit a17cc449472dd51d0be83a26d70244bb59d4bc88
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Apr 28 15:34:53 2011 -0300
Make use of the available and already allocated space for protocol functiontions.
The PyHeapTypeObject structure that is part of SbkObjectType already
have allocated members for number, sequence, and mapping protocols,
so let's use them.
A tiny reduction in size ensues (I predict the modules will have 99.91%
of their current size).
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 69b5287e21d79fdc688a29f2876da7c70d37cf0f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 28 17:58:56 2011 -0300
Bump version and update dependecy version required.
commit ac8ada95ff40540d5e0f4baf639c0bad00e81784
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Apr 27 15:04:28 2011 -0300
Don't create cyclic graphs when there are QString, PySequence and PyObjects involved into a single overload.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit dce8b706047d2e247833c11a265a588012ddb0cb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Apr 27 15:03:28 2011 -0300
Write graph info on temp dir when some a cyclic graph is found.
commit 04d571f872a8cada531646f15b2d4440b20d0d53
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Apr 15 16:39:33 2011 -0300
Overload decisor was improved to consider PySequences on modified function signatures.
Unit tests were added as usual.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Renato Araujo <renato.filho@openbossa.org>
commit 4936232cec98614069cf72b55497c50b450a71e8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Apr 15 16:49:31 2011 -0300
Return false when a overload wasn't found on __eq__ and true when an overload wasn't found on __ne__.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit e27fed1a8e7c173e0dc08e929671b9f289c3b4f1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Apr 14 19:49:22 2011 -0300
Add tests for adding reverse operators.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 660893caca7ebbe96c85ab33f53fc8d99fbabdc0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Apr 14 11:33:11 2011 -0300
Fix bug regarding to two overloads like: foo(char) and foo(const char*)
The overload decisor was unable to find the difference between them.
This code was wrote by Setanta in an experimental branch, so kudos to him.
commit 1155fe8c710818eac3c0490724b34adef95d9999
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Apr 13 20:55:47 2011 -0300
Implemented generation code for mapping protocol
Fixex bug #743.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 50d1b114b35f34f97aefca1f42c3dbf9327e0d3a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Apr 12 15:55:49 2011 -0300
Fix bug 723 - "Missing QAbstractFileEngine.read and QAbstractFileEngine.readLine"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 68dde475dd98b191a6bd3d6151cb7ab5f6410242
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 11 16:30:35 2011 -0300
Fix bug 823 - "Shiboken doesn't support function call overloads"
commit e6a322e777ab36bbed430a8836e0f656de49963d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 11 15:36:48 2011 -0300
Remove GCC 4.6 warning on basewrapper.cpp and shibokengenerator.cpp
libshiboken/basewrapper.cpp:212:57: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
generator/shibokengenerator.cpp:1118:9: warning: variable ‘numArgs’ set but not used [-Wunused-but-set-variable]
commit 001a416ffbc4808e2ba8a1c76d335eb504339673
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Apr 11 11:16:30 2011 -0300
Avoid register Abstract types on QMetaTypes to avoid problems in QML.
Fix bug #814.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b9305d9ab242d81a807ba5d0007b0e8dd4feb3f4
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 7 18:01:58 2011 -0300
Fixed 'operator--'.
commit 4869f03f9463b678b104f4eca4ad7d03be2ef84a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 7 15:44:36 2011 -0300
Updated dependency version.
commit 303f15a5bcbfc9625d3ac22ba61c5b2a57bd195c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Apr 6 16:01:35 2011 -0300
Implement support to operator++;
Fixes bug #688.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6ea5f0caa16f783d50221f817431d2cadc22f947
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Apr 6 22:50:56 2011 -0300
Added the type system variables %BEGIN_ALLOW_THREADS and %END_ALLOW_THREADS.
Also moved the save and restore thread state lines to a macro in
ShibokenGenerator header file.
The type system variables documentation was updated accordingly.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit f107f41c2b99517133ac4d2d624e8ee61cac2bb2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Apr 6 18:58:18 2011 -0300
Fixed the argument conversion of modified virtual methods.
Wrong conversion code was being outputted to virtual method wrapper code
when all arguments were removed.
Unit tests were added as well.
commit 8c506130849194b0f7838a7920b5f7cc94bfe619
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Apr 6 20:29:55 2011 -0300
Added support for extra includes at module level.
commit 821a177f50db4bb52467e3e5e713ba21434496df
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Apr 1 17:04:17 2011 -0300
Fix bug 801 - "Shiboken doesn't compile with G++ 4.6.0"
commit 15712bf7c75670e2328245de34c4cb1f8d9b3fe6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Apr 1 17:26:19 2011 -0300
Version bump to 1.0.2
commit 2c2aa96d191135f68177df8029e891bcec56a39a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Apr 1 16:06:27 2011 -0300
Expanded the tests that simulate QPainter::drawText even further.
The purpose of this is to provide more and more test cases for the
overload decisor.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 009daead512428205ac730012d4d81ec49fc47e6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 30 16:42:08 2011 -0300
Added unit tests to simulate the QPainter::drawText overloads.
The classes Rect and RectF were added to help with the imitation.
commit 93787c322144f3c11acf261655b89a25176ce528
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 30 16:37:15 2011 -0300
Added two more unit tests for the overload decisor.
commit fecbf726c06d32d0e9c1b180bb79f356ba571540
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 30 16:31:58 2011 -0300
Small refactor on Overload test.
commit 2f541a1684db694e9662f482c0fedd91509a948e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 23 17:43:46 2011 -0300
Added test for bug 489.
http://bugs.pyside.org/show_bug.cgi?id=489
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 4a262bcb91b7b620f434397fe2f7cb1454950397
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Mar 30 16:37:43 2011 -0300
Check for old-style bases before calling tp_new
Instead of creating the type instance and them
checking for old-style base classes, check
for them in the beginning.
The later check was causing the new type object
to "leak" and failing an assert in the
garbage collector.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
commit c5fd9d9dbb33bc4ddbf68315d6b15dc274f076cd
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Mar 29 17:26:57 2011 -0300
Tests for reverse operators
CPython calls nb_and with swapped arguments
for reverse operators.
This tests checks if the reverse operator
raises NotImplementedError instead of TypeError
when there isn't a valid reverse operator.
Raising TypeError would cause the operator to fail.
commit 7c35c7788ab02d2d77cbc022d6cf181e7542d995
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Mar 28 16:13:44 2011 -0300
Reverse operators raise NotImplemented error.
If it's a reverse operator and the OverloadDecisor fails,
raise NotImplementedError instead of TypeError.
commit 55c0296417d146c999d0b2ba067c6e488bc6f416
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Mar 24 17:20:42 2011 -0300
Don't return a overload method if the object is dieing.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3034659e09923a9417e244d5c3c656da30813373
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 23 18:21:45 2011 -0300
Set object returned by getter function child of the property owner.
Doing this will invalidate the object then the property owner was deleted.
commit a12f4499d7c3d762abde50ec46ca7665426e597a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 23 18:20:40 2011 -0300
Check for object validity on property getters and setters before using them.
commit d7fa80decce5b37a4bc77d2bb61768414ead8be7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 23 18:19:54 2011 -0300
Do nothing when trying to make an valid object valid twice.
commit 0882f35b2d010515593ee3ddfe64e94f7f9942e5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Mar 22 10:55:13 2011 -0300
Updated module reload test.
Avoid to load a module twice.
Fixes bug #734.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 17546cd6200fd45d57e8b07b77f2f99ade36776b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Mar 22 10:40:15 2011 -0300
Fixed parentInfo cleanup.
Fixes bug #735.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0a34ce608e76a96c5bf9fbf8b363aaa0256e9396
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Mar 18 17:35:16 2011 -0300
Fix bug 693 - "Heap corruption or double free reported on program exit"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit eb01027ab9266bc0d87fa396e419929567dadea1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Mar 18 15:11:02 2011 -0300
Fix bug in TypeResolver::getType function.
The function was always using a empty string.
commit 4142bd57ece86b1087915b2bb091fcc58219eed1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Mar 18 11:16:50 2011 -0300
Created documentaion due to the limitation with old style class.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b5bfa9837fd084edb5cc79b44760161d7d872c08
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 16 18:26:35 2011 -0300
Register class names without namespaces to fix the mess in Qt signal type names.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 0909185b8f45bd72618dfeb00b20bf4305087d1c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 16 18:19:04 2011 -0300
Use buffer instead of uchar on TypeError messages.
commit 68f5acc285c9c76cfe26c3bcc8cc74f0b91fc97d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Mar 15 15:32:13 2011 -0300
Check for class initialization on function Object.isValid.
Fix bug #696.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0fbf99be54ab15b5a85b544700604eb38638f37a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Mar 14 18:17:37 2011 -0300
Created unittest for bug #704.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ce12dc6531973ee52e82c381217040e6f30a5863
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Mar 14 18:17:03 2011 -0300
Avoid declar shiboken classes derived from old style objects.
Fixes bug #704.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit e0db9cbc9d4f53f7acea0e58393de133e23f3344
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 16 11:14:23 2011 -0300
Version bump to 1.0.1.
commit 663722bb984b9ea03714036f9c1b6f91f4a5931a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 15 16:18:52 2011 -0300
Fix bug 706 - "dataChanged signal raise an incorrect TypeError"
Now we directly call qRegisterType for all types.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6423d561db86debe83247f2581b05d9e7f10a57e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 2 10:01:08 2011 -0300
Handles the situation properly when a custom code has a result value attribution.
If a method has a custom code that attributes a value to the Python
result variable, Shiboken should not generate code with attribution
to the said variable.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit d622c0f363c8d4c9bf91313aa3c8c0dc3e71424d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 2 09:13:27 2011 -0300
Added a check on CppGenerator::writeClassDefinition for when there's no constructor for a class.
commit 0a5cacdb9c25d79df02d7b201ab1f2277caceca3
Author: Marcelo Lira <marcelo@setantas.net>
Date: Sun Feb 6 00:41:50 2011 -0300
The option "avoid protected hack" is now set via command line.
Instead of the old ugly way of compiling the behaviour forever using
"#define".
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit e8a7efe5905ab8a1b333e5634081b4afcff7c334
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 7 18:29:54 2011 -0300
Module reload test now considers .pyo files (in addition to .pyc ones).
commit 75ee7ddf6ff37ed4972da02b44a77a8410e66ecd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 16:36:43 2011 -0300
SbkNumber_Check now makes use of PyNumber_Check.
Plus some provisions to handle old-style classes.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 2a06b872f7e3a400e03327e93570df6087d3ef0d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 14:57:43 2011 -0300
Added test to certify that old-style classes will not be accepted as numbers (unless they are).
commit 03fe699544eaf2480863bef0a666df5633651716
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 15 13:55:00 2011 -0300
Added a test to numpy scalar type being accepted as Python scalar.
commit d829150a965b004767458915569f93ecba915b06
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Feb 16 17:48:45 2011 -0200
Shows "unicode" instead of "PyUnicode" on error messages.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit f64bae8cf884845d045ff09f8bc93fd80beb4da8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 15 19:17:08 2011 -0200
Add support to the remove attribute of reference-count tag.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 97b09244d0361296bae44c3ee63a1d2b2957d07f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 15 16:35:01 2011 -0200
Fix bug 684 - "New-style signals does not accept signals with enums as arguments."
commit 0c16d86214abf7d5dc8495f42a8823382b59d481
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 17:51:40 2011 -0300
Fixed style of code on CppGenerator::writeReturnValueHeuristics method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit cefb9e9b58a2ff6d755d0c7949819e6bd62f83f4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Feb 10 18:34:15 2011 -0200
Fix string used in tp_name on inner types.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 3f76e757d035c0bfc1985ce29aa69c02616d3178
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 17:51:40 2011 -0300
The heuristics for return value parenting should be overridden by user changes.
Whatever the user puts in the type system XML will take precedence over
the generator heuristics.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8319d6e8cb0d448997730b5cb08b48dc7d946250
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 12:47:19 2011 -0300
Overloaded call decision now consider inheritance: inheritor is checked before ancestor.
A couple of ShibokenGenerator methods were made "const" to allow them to
be called from OverloadDecisor.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit a9636d7481facd786a236d5624110de9fd5fdd6c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 10:55:13 2011 -0300
Added test for overload decision situation involving inheritance.
commit f1066cac214bba3f42482c17555be4a584e73ed3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 10 10:54:35 2011 -0300
Marked ObjectType and ObjectModel, from the sample test lib, as explicit.
commit e9fe87697f53deec9e4bba22599b6992f16d6f0d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Feb 8 18:20:14 2011 -0200
Use action="set" instead of action="add" on reference-count tag.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c73c68d7f0cd522ea4b8ecf9e2de4ed040909346
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Feb 9 14:22:12 2011 -0300
Implemented support to iterator function generation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit cc58fbc15509bd8ed746a7ef3cb3da4cd7055894
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Feb 4 19:08:43 2011 -0300
Fixed signal initialization for types with namespace and types defined
by typedef.
Fixes bug #657.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit e78bd2efe4063d522effaaf6a6dc737fe8da8b79
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Feb 2 19:04:16 2011 -0200
Don't write return heuristic when there's a parent tag with the returned object involved.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0c49645f7fee72c92d2f25f18510d75811d7289a
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Feb 2 15:14:04 2011 -0300
Update apiextractor/generatorrunner dependency version.
commit 1c412be5beb35445d2aa985a052b89e74184cb64
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Feb 2 09:43:51 2011 -0300
Replaced use from QList to QSet in children list.
Patch from farsmo <farsmo@sogetthis.com>
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 315ed272511b2d8cd6bfa61979cffbfb1fc64b5a
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Feb 1 16:13:49 2011 -0300
Fixed Cmake files used to find the library after the installation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 103b62aa700fab042e41e612aeff27af9897057d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 2 10:44:44 2011 -0300
Fixed a type on a warning about polymorphic-id-expression.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8d9d66484195501f7f9a57d527b39964b384bfde
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 17 14:52:44 2011 -0200
Fix bug 616 - "error compiling when public and private methods differ by the const-ness"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 3b22ffebad4736fafde0ff5a23bb3508be8d4b6d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 31 18:37:49 2011 -0200
Fix bug 655 - "bad re-implementations of QApplication.notify result in a SystemError"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit e222dba7912df724e3ee6379b12f19e008c770b6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 24 23:32:37 2011 -0300
Test bindings project files modified to use key/value pair text files.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit f112a17de646008ae8d930a97023c8864bca5c37
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 25 08:41:42 2011 -0300
Test bindings now use project files instead of generator command line options.
commit 129fec17214087e809736f53eff5ce21b02fa2ca
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 17 18:32:12 2011 -0300
Shiboken binary now responds to the "--version" argument.
The version command line argument was previously answered by GeneratorRunner.
This commit also generally updates some CMake files.
commit fe044247d153725db1f3060f30f53f7e6c1e4381
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 24 08:40:09 2011 -0300
Added SHIBOKEN_BINARY variable to CMake config file.
It points to the Shiboken generator executable so the users can use it
instead of calling GeneratorRunner plus a parameter pointing to Shiboken
generator module.
Also fixed generator_location variable on shiboken.pc file.
commit 2d3668274953cc4d38ea58259249a263fe85b41b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 12 14:29:57 2011 -0300
Replaced tabs with spaces on cmake file.
commit 799342ea7a00fdd698387e5b3438bd50002c4383
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 12 13:26:53 2011 -0300
Shiboken executable calls GeneratorRunner with the renamed "--generator-set" argument.
commit 80b71b1cdba57c8e59c503494adbd04002d5026a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jan 28 19:11:49 2011 -0200
Fix bug613 - "QSvgRenderer chooses QByteArray overload when given a file path"
QString arguments will always be evaluated before QByteArray arguments.
Reviewer: Luciano Wolf <lucianol.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 4c26fce0a8d14bf9c4982473bc62e4c5d25573c1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jan 28 16:23:55 2011 -0200
Fix regression that caused overload sorting to not respect argument type renames.
commit 067e2a62a378cfea36064cf21891b328fc021aa4
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 28 11:57:46 2011 -0300
Created unit test for enum.__repr__ function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit cf25d3b294c1e6497ce5f7a9644d98c9d460500c
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 28 11:57:21 2011 -0300
Fixed enum __repr__ function.
fixes bug #617.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit fd8e28fa13c7424f0ebba60d90d025cf4ac3b7b9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 28 17:51:05 2011 -0300
Added the "%CPPTYPE" type system variable.
%CPPTYPE will be converted to the original C++ name of a class,
without any "Wrapper" suffix or namespace prefix.
Documentation for the new variable was added as well.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 70774513a8190d4eaf18496e7833ab4c521fbb34
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 28 17:15:33 2011 -0300
Type system %TYPE variable is now available for class wide custom code.
%TYPE documentation was updated.
commit 38e10e17700b5381022315729f531f2b863ee3ae
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 20 16:14:07 2011 -0200
Use SBK_PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_DIRS or PYTHON_INCLUDE_PATH.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit d931b4cf3c4e9fd3bf3e4909f096625da69a78ee
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jan 26 11:45:23 2011 -0200
Fix bug#605 - "Using metaclasses with the PySide classes doesn't work"
commit 47adfdb74f710f3756279c7c55fcacdbfa95a199
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jan 25 14:15:51 2011 -0200
Fix bug#640 - "(elasticnode) Crash in example elasticnodes.py"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 70a863eb2da935505ffa325c1772b13f4a80bded
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 24 15:19:40 2011 -0200
Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj types?) returns True for empty instance; probably should be False"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 9d36585f19bf858db10bee4c8b1933ed81301a98
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 24 10:23:30 2011 -0200
Fix bug#636 - "Unable to navigate back to the main site from the generated documentation"
commit ca45160ba220cd6e4da3a1ecd78844647bc3886c
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 21 15:56:44 2011 -0300
Update module version dependency.
commit 947dd9d273bc6abd9739e998416e84a483600b42
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 21 14:33:42 2011 -0300
Updated apiextractor and generatorrunner version dependency.
commit b18a0f63b93a6ad9f047d10408d98d0fb548919d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 21 10:21:16 2011 -0300
Shiboken enums now have a tp_print representation.
This fixes the bug #611[1], and an unit test was also added.
[1] http://bugs.openbossa.org/show_bug.cgi?id=611
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit ea66e79f338202f473bc1e95e21c126bbb63756a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 19 11:20:29 2011 -0300
Added test for module reloading.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 517800c3cd93c48d897ac868505e22e2e972aa22
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jan 18 16:51:24 2011 -0200
Add Shiboken::Object::isValid(SbkObject* pyObj, bool throwPyError = true) function to libshiboken.
This function is needed to fix bug#552 when a libpyside code needs to check if a SbkObject is valid
without set a Python error when it isn't.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 91818aecdaa52facd7f62931343f0e8aa4b69f55
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 18 18:20:00 2011 -0300
Added more test cases for protected attributes.
The tests are meant to be useful when compiled without the protected
hack or on the win32 platform.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit f23f606c02e8c62635bd0d0f030e5c9550171b9c
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Jan 19 09:38:17 2011 -0300
Fix windows compilation.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3b747443bde5752277aa9791adbfc1d32868689b
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Jan 13 15:04:03 2011 -0300
Used c++ pointer during the c++ class attribute get function.
Now all function get for class attribute return the internal memory of
the c++ attribute.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 78e3c256ff6a154ce8068b3dd7bc551394d73422
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 12 16:24:10 2011 -0300
Updated Shiboken documentation with advice about duck punching and virtual methods.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 0eef7934bc0dc0a3b915c1502bfc0be60d7eb365
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Jan 12 19:30:23 2011 -0300
Optimized setParent function.
Replaced use of find in the children list for check on the current
child if his has a parent and if the parent is the same.
Fixes bug #556
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit a260a414d8c875fbeda2862ce8adf7ddc1a9be3c
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jan 11 17:07:26 2011 -0300
Append python name to libshiboken output file
libshiboken is strongly tied to the python
it was compiled against. This commit adds
the python name to the output file to make
this connection explicit.
The generator plugin, binary and includes are
untouched as they don't depend on python.
Also, Instead of installing the cmake info in a
single file, ShibokenConfig.cmake will load the
correct file (ShibokenConfig-<python name>.cmake)
based on the value of PYTHON_BASENAME when cmake
is called.
The last shiboken installed will be the default
as each install will overwrite ShibokenConfig.cmake.
To select an specific python, call cmake with
-DPYTHON_BASENAME=python2.6, for python2.6 release.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 0e7ecded1f8d944ee138d79b46f10e5f6c6618c7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 11 17:34:28 2011 -0300
Added test to assert the precedence of enum arguments over int implicit conversions.
This test is inspired by bug #511 [1], and it checks the precedence of
an enum argument over a class that can be implicitly built from an
integer.
[1] http://bugs.openbossa.org/show_bug.cgi?id=511
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 640537a691a2cd0830e12810714ec0cc5164242a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 11 17:31:34 2011 -0300
The overload decisor must put enums before types implicitly convertible from integers.
Otherwise the enum value will be an acceptable argument for a class that
expects an integer (signed or unsigned) to be implicitly built, and the
enum argument will never be called.
commit 4799e166ed4ec9d4a6c89769c1bc23e6931a03ba
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Jan 10 09:36:34 2011 -0300
Fix SbkType name when setting exception in virtual
Was generating SbkType<NAME> with '*' in NAME,
leading to segfaults.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 7247b4394cbd8c2b511f77b9b5b0cb368008cacd
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Jan 10 09:22:50 2011 -0300
Add test for invalid type returning from virtuals
Returning an integer where the binding expects a
pointer shouldn't segfault.
commit 6cf68bf8a199543f2a974e4c318225bdc0c138c9
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 7 15:54:12 2011 -0300
Initialize ShibokenObject private data.
This avoid errors during the functions call which uses the private data.
Fixes bug #589
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 57c3abba8b09fdb3f9fc2ddccaf5efce3edace31
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jan 7 17:39:18 2011 -0200
Fix bug#530 - "Importing division from future breaks QPoint division"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 9d16874b68af3b77d97613e579c83ac19590293f
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Jan 5 19:22:21 2011 -0300
Use sleep function to give time to process breath.
Fixes bug #580
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit b2c20708545f7992f337c3be4c8595f7fb848a07
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jan 4 18:48:25 2011 -0200
Release the gil for every C++ function call, ignoring allow-thread attribute on typesystem.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 05f8c6272fec133e64ca0d23a1622d9c086b02b2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 3 15:33:07 2011 -0300
Added test case for Bug #572.
Bug #572: Giving unicode value as 'body' argument to WebView's load
method crashes python.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 214dad590fc7e9ff461f2e1fe5ea407caed98ec3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 3 15:34:35 2011 -0300
A convertible check must be done on named arguments as it is done on regular arguments.
commit 8c66872ff9e4a9d1cd4c605abdcdc63ac8396bf9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 3 11:10:32 2011 -0300
Added a Linux man page for Shiboken.
The man page was copied from the 'ubuntu' directory on the old
'packaging' repository.
commit 882c98f7a9b3a3fc030cee87235cf8b375cd6b54
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 18:26:44 2010 -0200
Add support for operator overload injection.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 2faf996129baf265c4b9ed1ff72a4cfb378d8306
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 16:42:38 2010 -0200
Use QByteArray instead of QString to save 1 pico second :-)
commit 87ae5790fa75114dbf335380ca7ab644b013a50b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 16:34:39 2010 -0200
Add support to fix the bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"
commit 4a25e3a3801cebfb90cf89fd1eb1faf05c4725a1
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Dec 29 15:39:46 2010 -0300
Fix test after changes to SequenceToArgcArgv
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
commit cbd6c033ab05df82613a98df8d90a6e2fcc0b597
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 10:55:43 2010 -0200
Put __file__ on argv only when a empty list is given.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 3cafad161b8688693a91b5fc31137a16dc9626a6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 29 08:55:46 2010 -0200
Don't generate type resolvers using the const keyword.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2f5d90404ace8e5bf00b7976d18624e71ebebe2b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Dec 28 15:24:11 2010 -0200
Fix bug#495 - "Broken rich compare operators if they use an object-type as parameter"
commit 334024a4797350f75d34ba1842ea702e702080cb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Dec 28 17:24:18 2010 -0200
Avoid compiler warning about unhandled constant in switch block.
commit ad5778f8835da4953c3304fc3862a24258c6cac1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Dec 28 15:03:10 2010 -0200
Fix typo
commit 8cc4a0483ff2a6a003043f86938e3bda65b2e306
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Dec 23 15:50:54 2010 -0200
Fix bug#554 - "Inner classes don't work and give us a segfault"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 2062dcafb1f680098294a4d774c2a86522702961
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Dec 23 14:40:50 2010 -0300
Used Qt4.7 code to normalize types for all previous Qt version.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 538127eee19cad2c39e4c404335deac8b82070a3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Dec 23 10:50:34 2010 -0300
Removed '&' from type registration.
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit bda44c2851c04183e1e92dccf9a43b949d0b2b0b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 22 14:58:37 2010 -0300
Added support for promoting enums from removed namespaces to upper scope.
Classes in namespaces marked not to be generated are always moved to
upper scopes, the current modification add this same behaviour to enums.
Tests were also added.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2e4e0d4e91c561986a96a08b0dbee53984811155
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Dec 22 19:46:49 2010 -0300
Fixed signal register function.
Use translated type name as type, and exclude const from containers.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 6b1c034faef6a78f7e0681f55203a0fd9774d12d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 22 19:17:02 2010 -0200
Fix Py_DEBUG detection on Windows.
On Windows sysconfig.get('Py_DEBUG') can return None instead of 0.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 5b57a4085dc68640870373b00f3d7c8dd894a466
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 22 18:50:54 2010 -0200
Minor changed in CMakeLists.txt
commit 39b90917d70c542e27615f915bb73e9ae8c98df8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 22 18:46:26 2010 -0200
Removed WITH_THREAD ifdefs, it causes a lot of warnings on Windows and was always set by our buildsystem.
commit db6142cce6603abc054717bf0626ffb38c0e0804
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 20 19:24:34 2010 -0200
Print debug messages to stderr isntead of stdout.
commit f4b51923793402b43abc713be92119e560fc60ba
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Dec 22 12:39:41 2010 -0300
Use converter during generation only for primitives types which is
impossible to convert using by Py_BuildValue.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit c036aa708b0232406f6f278ad0578b7b333c0f6a
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Dec 22 11:14:54 2010 -0300
Fixed use of python conversion for type with typedefs.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 996b4b18d72528ed963611365ea48452d85014a7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 20 13:50:01 2010 -0200
Fix bug#484 - "Error compiling QtContacts 1.1 (problems with const QList<QVariant>)"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 9b020d07568c986c3d3363180c20a4a5e15560a8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 20 13:49:15 2010 -0200
Disable copy of ThreadStateSaver objects.
commit 94270ee0e58336535378eef7fbb889c127f25c6b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 17 11:05:53 2010 -0300
Removed unnecessary code to check the refcount of Python objects returned on virtual methods.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 62d4437e2d0df7a0706b564519e8fb26303f1e9a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 17 11:00:24 2010 -0300
Fixed code generation for virtual method ownership release of returned value.
The value returned from Python to C++ shouldn't have its reference
counting decremented after Python transferring ownership to C++.
commit a3e731a9ea920ec6e1373e6ad6c74724ce36575f
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Dec 16 15:58:23 2010 -0300
Fix register type function to register the type with two names.
Fix signal register, to use arguments type name based on generated namespace.
Fix bug #498.
commit 36c80e6daab7b8d69458c1a8154f4a17ee1ea303
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 16 14:08:29 2010 -0300
Added tests to check the release of ownership of objects returned from Python.
The ObjectModel test class was introduced to check if the transference
of ownership of objects returned from Python to C++ through a virtual
method is working properly.
Also updated the other test that uses the ObjectView class.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 18fedbce6893ee76c3dce04f0aaf814c93d57a34
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 15 18:29:06 2010 -0300
Generate code to release ownership on Python values returned to C++ on virtual methods.
In other words, the following type system snippet will now be recognized
by the generator:
<modify-argument index="return">
<define-ownership class="native" owner="c++"/>
</modify-argument>
commit 39069c1571e3fe2705b4dcb6f58d3b1e50a42911
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 15 18:28:27 2010 -0300
Fixed typo on generated error message.
commit a1a0138fa385d2f73a991624b77a7a1ab03d5b97
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Dec 15 17:55:51 2010 -0300
Replaced code generated on funtion getattro to function present on
libpyside.
Fix bug #525.
commit 304a9b93fc2cc65be4850f05629617a180463fa7
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Dec 15 17:55:36 2010 -0300
Fixed comments typo.
commit cf6c0ca50f29c6e606b7c27fbceb8d1d6faf3f14
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Dec 14 15:19:37 2010 -0300
Fix object destruction process to avoid pass a invalid object during the
__del__ function.
Fix bug #505
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit a0fa4f1d94f86362e8adef0171c9f4dc966fa402
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Dec 9 19:37:41 2010 -0200
Finally fix bug#500 - "If an instance of QPrintDialog is created a deadlock happens on shutdown."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 97ea178de9327c8620943dd9101e45d18e6d185e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 13 18:36:53 2010 -0200
Fix bug#513 - "Hardcoded bool return type for operator overloads"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit db40f3e234f466e595ed618891aa2f50e403cd03
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Dec 13 15:22:10 2010 -0200
Revert "Fix bug#500 - "If an instance of QPrintDialog is created a deadlock happens on shutdown.""
This reverts commit fb90a3df97b53f3ef4878d8beb719d4aa7b0c6cb.
commit ffd49b03b2677b297508457fdc94e98aaca5261a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Dec 9 19:37:41 2010 -0200
Fix bug#500 - "If an instance of QPrintDialog is created a deadlock happens on shutdown."
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 627624f6b5bf1135cd97052baae52286e8e16024
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 9 15:56:26 2010 -0300
Code generated for Qt's signals wrapping now deal with arguments with default values.
For instance, the "QAbstractButton::clicked(bool checked = false)"
signal, can be connected using the two signatures "clicked()" and
"clicked(bool)". Using
button.clicked.connect(callback_function)
could cause the binding to connect to "clicked(bool)", instead of
"clicked()", leaving the user unaware of it.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8dfeff8c11077f2f504476e282b11c3ca0a8cd83
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 8 16:46:50 2010 -0200
Added another overload for makeTuple, this time with just one argument.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit fbde5bbaf584e87ca55045985039e53268f0c92c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 6 14:30:33 2010 -0300
Test case for proper generation of constructor altered by conversion-rule tag.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit a778f9f14703302132ebe13ed19f510bfa88213f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 6 13:52:44 2010 -0300
Generator now writes the proper variable name on C++ constructor calls.
When a conversion rule is provided for a constructor argument the C++
constructor, for which the conversion rule doesn't apply, is generated
with wrong argument names. This commit solves this.
commit 5c6adf14244f2ba0d7d5f42cc76dbd9959ae624b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 3 16:55:09 2010 -0200
Write a simpler code to deal with dynamic QMetaObjects.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 5c119a7d68a3c6197a6890192b99b0967fa8eed1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Dec 3 16:53:26 2010 -0200
Add subtype init hook.
The hook is invoked every time the user creates a sub-type inherited from a Shiboken based type.
commit f8ad4eba987f53c05c42c2af6ec76bd59e196b75
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 1 21:16:40 2010 -0200
Remove cpp object copier as it was used by anyone and nobody missed him.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 766a0b55bff35c10463c4601f087d550fd0d9837
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 1 18:05:33 2010 -0200
Removed useless stuff from TypeResolver.
commit 3cfac85d50b8f891a8230513a4b5a0f6aea67b3e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 1 14:27:39 2010 -0200
Remove SbkTypeInfo and CppObjectCopier structs, they aren't needed after the fix on qt_metacall.
commit 96488c9cfd16c6ef9800c678c83d271343c2a813
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 1 14:24:37 2010 -0200
Remove objectDeleter function and use the well known Shiboken::callCppDestructor.
commit 8655647b9c23558aa21b155bd4246c6433dbeaf2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Dec 1 14:18:29 2010 -0200
Remove const version of Converters to avoid hidding generator bugs.
commit 489a86931733bd31ffc052d30da7e9ad403f834f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Nov 29 14:43:53 2010 -0200
Updated basewrapper.h docs.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 05d3ef1f70c17605ce27f49a4c185751932bc370
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Nov 29 14:37:39 2010 -0200
Add function Shiboken::ObjectType::getUserData(SbjObjectTyoe*)
commit b4bd60648c654a719432a90979af863482a78abd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Nov 25 19:38:59 2010 -0200
Fix shiboken version in doc generation.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c57ec52139c7aa878341fd0f61133d4472d5fc69
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 25 16:49:04 2010 -0300
Cast PySideSignal object to PyObject before calling Py_DECREF.
This is done because the Py_DECREF macro from Python 2.5 doesn't
cast the argument to "PyObject*" as 2.6 does. This is a problem
for PySideSignal objects, for this struct is private, having only
the forward declaration visible.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2c2e36a9a58480f7ea0b4f2a7fbc24d0b2e28cdc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Nov 25 15:22:13 2010 -0200
Fix compilation errors on Windows.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d5928178f5e5abd4a0f86f056db5999fa37aefc1
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 24 11:45:23 2010 -0300
Bump ApiExtractor dependency to 0.9.0
commit fe97dab5ba84e7b2abe7736cf0dbb3b6227d649a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 24 14:20:44 2010 -0200
Added BindingManager::visitAllPyObjects function, used to visit all PyObjects with a function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 5f28a31c58e44303c5fc7f5ba54ca0620c698b6a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 24 14:19:59 2010 -0200
Speed up hasWrapper function using the find method instead of count.
commit 156ecae3849463738a3a133b02cc085800ef996f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 17:43:51 2010 -0200
Fix last commit, compre was a fragile and stupid solution.
commit 4c3b1422944520431d5b900b1c0de7cede344517
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 17:43:51 2010 -0200
Fix value of variable AVOID_PROTECTED_HACK.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 332dff4ad6a2942ad4415355a6b5f80015e5b9b7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 15:36:38 2010 -0200
Fix compilation without protect hack.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 152653a520eeaf534a0488810a165f0a7df4d434
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Nov 23 15:03:46 2010 -0300
Fixed generation with use of protect hack.
commit 0cd491e63633d33d70e5453c10e60258947340e3
Merge: d17a105 21f0343
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 14:56:27 2010 -0200
Merge branch 'fixapi'
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Conflicts:
generator/cppgenerator.cpp
libshiboken/basewrapper.cpp
libshiboken/basewrapper_p.h
commit 21f0343984ddf5aeb5c163cd87540658f5bf4990
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 13:35:42 2010 -0200
Do not use const and ref when writing converters for object-types, qflags, const ref. value types and enums.
commit bdfa13fb40778a91622e125a0c5e96f51ed666eb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 19:04:30 2010 -0200
SbkBaseType_Type renamed to SbkObjectType_Type.
commit d17a105e2e71afd1f0b20576b73dcd95b5ca1806
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Nov 23 11:42:08 2010 -0300
Fixed generation with AVOID_PROTECTED_HACK.
Fixes bug #476.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit ce111f1483b34374b0188cedfc9ea4eef3e07e3b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 19:01:13 2010 -0200
Renamed some more internal objects and functions.
commit 73360b909285ebfd57a0d24b83c64232b4d05a95
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Nov 23 11:40:19 2010 -0300
Created debug function on samle bindings.
This function 'cacheSize()' can be used to check how many objects still
registered on BindingManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 535c799dbbd9f6eb89560caf409ae6bd2d8122b1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 18:01:23 2010 -0200
Namespace Shiboken::Wrapper renamed to Shiboken::Object.
commit d7e399febc75e708bbd34da48199291604f08659
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 19 18:47:41 2010 -0300
Fixes SHIBOKEN_PYTHON_INCLUDE_DIR variable for cmake versions lesser than 2.8.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2927e38cb46d3aa2cf278238d2a585d96f669d91
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 17:56:10 2010 -0200
namespace Shiboken::BaseType renamed to Shiboken::ObjectType.
commit f315a69eca35fd24b05a07237130ee861254615f
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Nov 19 17:01:22 2010 -0300
Fix merge mistakes:
* Replaces PySide::deleteDynamicQMetaObject by
Shiboken::callCppDestructor<DynamicQMetaObject>
* Shiboken namespace usage.
commit be2c1160275e63c148297b0001e735e3969f0b7e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 19 16:56:22 2010 -0200
Rename SbkBaseType back to SbkObjectType.
commit 00924f871f1ed0511078157b5c37072d15621b3a
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Nov 19 14:30:22 2010 -0300
Created private pointer for Shiboken Meta Type.
Renamed ObjectType to BaseType.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 7e98252ba8e0d2fc72fc569b3ceb82662297ac9d
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Nov 18 10:54:10 2010 -0300
Rewrite parent control functions.
Updated generator to new API.
Fix bug #462
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 31e6de8c9f237b1902be88baedf91ec9766bce87
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Nov 18 09:25:23 2010 -0300
Updated some tests to work with new API.
commit 92c67b326b9ecaa896dc6277f74e97f2fb6c8aee
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Nov 18 17:40:02 2010 -0200
Replaces PySide::deleteDynamicQMetaObject by Shiboken::callCppDestructor<DynamicQMetaObject>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit a79d9e796b82a9277ab4ac8de19ae596b5bfa266
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Nov 11 17:58:40 2010 -0200
Add operator= to AutoDecRef.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ab78a6601e67d8bf2121c09fbd22e61032c38f04
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Nov 11 17:57:46 2010 -0200
Do not generate return type check when the return type was modified to PyObject.
commit de64d27687365c0114853a64b76939a7a611bb28
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 10 18:33:00 2010 -0300
Fix the fix that was previously reverted in d8e2d87f.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 4564787f4785ba6b2ace7fe4afa70b30246adb6a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 20:05:13 2010 -0200
Added Shiboken::Wrapper::hasParentInfo function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit c3e3500c309be004434293895775e5579656d72c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 17:23:47 2010 -0200
Fix the metaObject method written by the generator after the changed in libshiboken.
commit 71b34999be9d1f7db63785a13b3ed00b87f3ddd7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 16:35:23 2010 -0200
Changed signature of cppPointer to receive SbkObject* instead of PyObject*.
commit f532843860e96af7f3ce3088ff3ac8ea944d8097
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 16:35:00 2010 -0200
Added Shiboken::Wrapper::hasOwnership function.
commit f06b9117b6f57419409ca67437166941cda306cd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 15:32:48 2010 -0200
SbkBaseWrapperPrivate renamed to SbkObjectPrivate
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 43c16539246a1ac6abc12b141ab32b5932e8c51e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 15:30:08 2010 -0200
Remove macro Shiboken_TypeCheck
commit 899f9c2ccfc6967867f6d5f1cad925011a2f756b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 14:45:28 2010 -0200
Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.
commit cdeb0172eca90f2050313b589fb068145d882dbb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 14:36:07 2010 -0200
Variable SbkBaseWrapperType_Type renamed to SbkObjectType_Type
commit 6c031f64b1e0369d468274be4d3d0107e45fc722
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 14:30:42 2010 -0200
SbkBaseWrapper_Type variable renamed to SbkObject_Type
commit a83a6aeec455dc50cba788de72d4bed51237142c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 14:24:49 2010 -0200
Rename some internal functions and structs.
commit 8c7e60cc6bb07bd58a555d782bcac984f42866bf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 14:19:44 2010 -0200
SbkBaseWrapperType renamed to SbkObjectType.
commit 4d0bbcf41feb5a1e2a1e7adc52f40ad0f187d6ea
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 13:48:01 2010 -0200
SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and moved outside C++ namespace.
commit 4c0e03c6fefefd75c270b2b47eb0d240301ade0e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 11:42:46 2010 -0200
SbkBaseWrapperType and some other functions used by Python C-API moved outside C++ namespaces.
commit 4de6fd579daeb965871713d1da0625bd684758c3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 18:57:02 2010 -0200
Fix camel case of decRefPyObjectlist
commit 28debb4e820b03c1acdf09715b7570ae30e47dcc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 18:52:40 2010 -0200
Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValid
commit e3148eaf9a7be5633d1ff4339ba94f0a9f085930
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 18:42:02 2010 -0200
setCppPointer and getCppPointer moved to namespace Shiboken::Wrapper
commit 0151116f107393fe342fb491e68d67edefc33ddb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 18:16:38 2010 -0200
Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDict
commit 0ef92c1dccbb5b086686aa99399c310d78427fe8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 17:47:10 2010 -0200
SbkBaseWrapper renamed to SbkObject
commit 19f4be1ac1c467e77686ac2e28367b0e0b05f3bb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 17:38:21 2010 -0200
Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership (both inside Shiboken:Wrapper namespace)
commit d63972b6ce03b9321c4192626451c33694b29339
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 16:47:12 2010 -0200
Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a d-pointer to it.
commit c3bfbea370fcb19075cd5761ae22691696eaafcd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 11:08:59 2010 -0200
Refactor on sequenceToIntArray.
commit b4957bcc1cde9fa1bb491a166cf163872a6708cc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 9 11:07:12 2010 -0200
Removed deprecated function: PySequenceToArgcArgv
commit 6d69fbb13907e80ab87f86bc9407fc4ab0a102d7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Nov 8 17:04:58 2010 -0200
Create enum python types on the fly, avoiding generation of structs and duplication of many C functions.
commit 95d5b63552f804e7fc5b80428cabb34f57443c0b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 5 14:18:54 2010 -0200
pyenum.{h|cpp} moved to sbkenum.{h|cpp}
commit 809d948aa99e52495111ad871cbad3d1ae955395
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Nov 10 15:29:56 2010 -0200
Bump version to 1.0.0
commit 47f0441dfa0dc25b0632c03fe5f915489f4261af
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Nov 5 14:02:45 2010 -0200
Remove unused variables.
commit 6334ce17e640ac93aa4de6d4ef99e16836b1ec43
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Nov 10 12:49:49 2010 -0300
Revert "Fixed overload decisor sorting to put QStrings after pointers to wrapped objects."
This reverts commit 167959faa575856b48c951fd9cc500049004cf60.
Conflicts:
generator/overloaddata.cpp
commit 1f1f84a52a1cf3ee02dabea643d8d9a9bbb807ed
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Nov 9 16:09:01 2010 -0300
Fixed overload functions with QVariant.
Decrease the QVariant priority during the function overload.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 4a7a57ef0f504652a5690e25affe4a0edde9dfa7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 9 15:38:29 2010 -0300
Removed debug statements mistakenly commited.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 7426212cb22dedd45d78a08676ee4ee07340e41e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 9 10:08:48 2010 -0300
Fixed overload decisor sorting to put QStrings after pointers to wrapped objects.
This is a special extension for Qt bindings. Since QStrings accept None
values the same way object and value types accept, to avoid confusion
and calling the wrong signature QString must go after object and value
pointers. This wasn't a problem before, but now QString is a
primitive-type and the decisor has no access to its implicit
conversions, and thus can't sort it properly.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit f847631ef08c1ea6ed80857b78e0d8fa51e4eb2b
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Nov 5 16:35:59 2010 -0300
Implemented support to dynamic slots on generated code.
Fixes bug #451.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 73576ee9b01f88a92c05f48da3189532fbdfb578
Author: renatofilho <renato.filho@openbossa.org>
Date: Thu Nov 4 17:37:48 2010 -0300
Fixed code generation for functions virtual with know type
implementation.
Fixes bug #449.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 00d2d31691fe6c9274acfd82382b3f5e8c47db96
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 29 18:55:51 2010 -0300
Updated code generation to new libpyside files.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
commit df87d53bfafeeb6cb71f3b4496506d319ab0649d
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 29 16:15:12 2010 -0300
Updated to new libpyside Signal/Slot namespace.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
commit 7e51b29827d887e8156e0cd48d864ffe356412cc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 29 17:05:46 2010 -0200
Don't use ref. on primitive types when using Converter<T>::toPython.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 78d5b68b37b206c81932f188e106b7f239b25cab
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 29 16:31:33 2010 -0200
Fix injectcode test to work with the newer version of sequencetoArgcArgv.
commit 2fb33ff364de0d134d3af9eb3d7a0a2fcf9e4877
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 29 14:03:56 2010 -0300
Implemented signal instantiation during the getattr function.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 514544828d7b23cb7c78841a93a8ba30f2a9b830
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 29 14:03:24 2010 -0300
Created utility function cast on AutoDecRef class.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 0e0331dd62afb53005a08f2f5e22a631204110e6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 29 15:25:07 2010 -0200
Fix function PySequenceToArgcArgv to support unicode strings.
Also fix some reference leaks.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit 2cc7283b09b77b61bda1f7bc5fa75069975d50ff
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 29 10:46:33 2010 -0200
Bump version and package requirements.
commit 31bc56081d17e285db45bdf0dbec1e7afa958da2
Author: renatofilho <renato.filho@openbossa.org>
Date: Thu Oct 28 17:29:08 2010 -0300
Fixed typesystem in function where is necessary thread save option.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
commit 40fb8375eb99bd308228e1e3d74f2f24273c25c0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 28 15:03:38 2010 -0200
Uses CPP_SELF_VAR macro and replaces cpp_other by cppOther.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit a35c7951659fb973460a9f96eea5c5ea63fea8fc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 28 15:00:59 2010 -0200
Uses a constant to define the cpp_arg variable, now called cppArg.
commit b8b6a8b0316668a8af08b651537747ede08e0c96
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 27 15:56:58 2010 -0200
Simplifies the generated code removing the use of std::auto_ptr.
commit 34cce54d695330ebfa047dbbb4c1c0ab60e22c74
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 27 19:45:19 2010 -0200
Write copy constructor for Object types when there is one.
commit 8a727dddc028c94807b85b9acd8c88dd276fd12a
Author: renatofilho <renato.filho@openbossa.org>
Date: Thu Oct 28 13:46:41 2010 -0300
Implemented support to dynamic signals created on QML side.
Fixes bug #437.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 80c24e13a41f48440cecdb5cff20f250343515a9
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Oct 27 17:11:03 2010 -0300
Implemented support to conversion without memory allocation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 1c3869ae5c7fb4c1812200671fedcc41e3c62d5e
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Oct 27 17:10:24 2010 -0300
Fixed GilState and ThreadSave code generation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit eb1bab16740473eed6150944e061df96e65321b8
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Oct 26 15:40:09 2010 -0300
Removed unnecessary cast on copy function.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ce8f43df969038f5e24c7923abeac2c9fa6461e0
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Oct 26 15:38:21 2010 -0300
Release gil before call C++ function on virtual method.
Fixes bug #423.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 467240696e7ed0ca03cdecffa2b63112ab9507d8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 26 15:10:55 2010 -0200
Add variable with python include dir to ShibokenConfig.cmake
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 286a58f532d7d8c9a8ff4dfe0b49587b3ed9829c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 26 13:47:55 2010 -0300
Added the AVOID_PROTECTED_HACK option to the Shiboken cmake configuration file.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8b34f0eee6d33c468bc71e08fe29990f835b1695
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 25 18:25:50 2010 -0300
libshiboken now sets debug flags for all modules linking against it.
The information was added to cmake and pkg-config files.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit d487546eb6d06e0016e890e81fbbf8907cf90b49
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 20 16:31:49 2010 -0300
Fixes libshiboken pkg-config file.
commit b13e80c9b7ba4c57f14f509db3b54ed4a3fbfbde
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 25 16:30:40 2010 -0300
Updated Shiboken cmake files to provide build type information.
The build type information, contained in the the SHIBOKEN_BUILD_TYPE
variable, will tell modules linking with libshiboken if
it was built in Release or Debug mode.
The SHIBOKEN_PYTHON_INTERPRETER variable was also added to the cmake
Shiboken files, to make it known which Python interpreter (normal or
debug, in systems where this separation exists).
SHIBOKEN_PYTHON_LIBRARIES variable tells which Python library
libshiboken was linked against.
commit 8eb8daf1a850759c907e2b2b5ed43fd70af5a665
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 22 19:07:01 2010 -0200
Added BindingManager::getAllPyObjects method.
This functions returns all PyObjects under the umbrella of BindingManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 498a649e565711a208f2efe793d4cba2374ea1dd
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 22 18:39:49 2010 -0300
Ignore namespace crash on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
commit 4f70e2056b76a51b839dbddb499c0c4de2ba1f29
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 22 14:44:11 2010 -0300
Fixed Wrapper object parent invalidation process.
Fixes bug #432.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 03f1e7b4982fe8d8335b7b04f66825e49ff66531
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 21 18:13:21 2010 -0200
Fix memory leak when someone tries to register a type already registered.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 3c63ad23a0befc181be2db9655a4aa29f8b78168
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 21 18:12:18 2010 -0200
Removes Converter<char>, because the missuse of it causes memory leak .
commit 73e14b9ccf9bcf6df28a98d0ef03a71eeecedb97
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 21 13:57:34 2010 -0200
Remove pydict ref leak on pyenum.cpp.
commit 5df9dc0a62744507d1cfcf6c77bb9781223eaadd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 20 18:56:28 2010 -0200
Fix reference leak when registering enum types.
commit 0e7ee5e5e6b8db23f793d9aafeab6f8cbdbc77d2
Author: renatofilho <renato.filho@openbossa.org>
Date: Thu Oct 21 13:22:25 2010 -0300
Updated code generation to new libpyside API.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit ae05cc6213b0d003f668884ed0c0a5b00b3a509e
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Oct 20 11:44:09 2010 -0300
Fixed signal register function.
Fixes bug #422.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c35335d83e5d5c4e33c5d0d7f5a0f642d62c5081
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 18 16:37:04 2010 -0300
Updated the overload sorting to handle convertible types inside containers.
The code as it is now will work for containers with wrapped types,
and will also consider some primitive types implicitly convertible
for dependency sorting purposes.
One weakness of the current solution is that it doesn't handle all
possible combinations for containers with multiple types. E.g. for
Container<T1, T2>, with T1 being implicitly convertible from I1, and T2
from I2, dependency resolution will take into account
* Container<T1, T2>
* Container<I1, T2>
* Container<T1, I2>
but not
* Container<I1, I2>
For the time being every binding is working fine this way, when the need
arises we can fix it, for now let us not slow down the generation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit d90f1f7e7e17df8f8a217ecb0441a48407d7c587
Merge: cf22895 96ed911
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 19 17:22:13 2010 -0200
Merge remote branch 'mainline/1.0'
commit cf228955e1d83d1bd6ea0946ceb5f7556c8422d4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 19 16:09:42 2010 -0200
Fix check of return type by python reimplementations of C++ virtual functions.
Use isConvertible function instead of checkType when checking the return value of
virtual functions returned by python reimplementations when the return value had
their type changed by the typesystem.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 96ed9117762b5765c8726aa390bd98ee7dccfe01
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 11 15:00:46 2010 -0300
Shiboken::showWrapperMap debug function now shows the refcount of held wrappers.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 5774eca269bbdd13cddc1ded903618822e0f5357
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 11 14:59:49 2010 -0300
Qt signals are added to Python wrappers via the PySide::addSignalToWrapper function.
commit 9d02ffe611020b47eceaabee4d9aa6eec2e30f24
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Oct 6 18:53:33 2010 -0300
Generate code compatible with new properties function names.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit b85cd4fcab93247455de885bf117f1ac62a4921b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 19 15:32:31 2010 -0200
Write right check type function when guessing the check function for a valid type.
commit 3ca81abb5f99a00004546d86a725e0d8a0f5ae77
Author: renatofilho <renato.filho@openbossa.org>
Date: Mon Oct 18 15:28:11 2010 -0300
Created test for abstract function with not exported type as agument.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 63fddfeb50bbd786826dd18be8851d0567cce041
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 18 10:26:53 2010 -0200
Fix bug#411 - "Incorrect return statement generated in a function that returns a reference"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c1ef5a79d14b598e7b0027be2922b23a78e57c02
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 15 19:01:58 2010 -0300
Fixed namespace lookup during the class generation.
fixes bug #414.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 894d7c725bc103919d38a6a491852e8cfc255d7d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 15 17:17:35 2010 -0300
Added test for overload decisor handling container dependencies.
Explaining with an example. Consider a function called "function" with
two signatures accepting a list of Point and a list of PointF,
respectively. Consider also that Point is implicitly convertible to
PointF.
void function(list<Point>&)
void function(list<PointF>&)
A list of Point should be checked before a list of PointF.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit dc18b27491b45577fe2868382f0f645a4127387b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 15 16:04:49 2010 -0300
Fix bug#272 - "__del__ never called by python"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit b4d648d09c293816a6f15ffdc2bdc7b0ec0792fb
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 15 13:36:08 2010 -0300
Created unit test for unknown class holder.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c8892e123c0f4512e7ecd78b85d499b02b31e1e4
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jul 20 17:57:08 2010 -0300
Inject code for Point.__reduce__
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 24564c588380d5c9d55a1b4a12005996abbf60aa
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jul 20 15:32:58 2010 -0300
Adding pickling test
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit e22643e2abe1452f77b6d1ca2e27d2e44162feed
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jul 20 08:52:22 2010 -0300
Adding deepcopy test.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 4b80e2ef898194ed9d7c2989dd4d9fe82453aeb1
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Jul 19 17:13:51 2010 -0300
Initial copy function generator code
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 128a3194650e30e6e8240d18c1b6b8c6839df9cd
Author: renatofilho <renato.filho@openbossa.org>
Date: Mon Oct 4 19:16:57 2010 -0300
Fixed signal registration when arguments use typedef.
Fixes bug #397.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 39aac44e2ff5dce3c525b211dc7186ddf01754cb
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Jul 19 09:25:30 2010 -0300
Adding value-type copy test
commit e614afda62ea19669667164cea11742396e02169
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Oct 5 10:45:25 2010 -0300
Fix bug#402 - "Exceptions raised in event methods aren't printed to console until termination"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 3155ff611de06734735c14bdf05966f3750527d3
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Oct 8 16:11:28 2010 -0300
Updating documentation to reflect adoption of wikipages.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
commit a09cc0c3c0360ba5eb32079e95e6c00970a0ea34
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 4 19:11:27 2010 -0300
Disable generation of __repr__ function for QObjects.
The Qt implamentation is not usefull to Python developers.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 286a50ccea697737591227452e8054096730e321
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Oct 7 15:30:15 2010 -0300
Remove uneeded flag check.
Fixes #405
This check was preventing operations between two
Flags. Wrong argument type now are handled in the
Converter calls.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Renato Filho <renato.filho@openbossa.org>
commit 14d0445164c48d25923da38973dddf290fe16178
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 4 19:11:16 2010 -0300
Remove trailing whitespaces
commit 0eddf25bcb9833d94f1860d8bb3be859f2971930
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 1 18:28:38 2010 -0300
Avoid possible race condition when destroying wrappers.
commit dadcc2efac417680073cae92c1ca64580af7d327
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 1 18:52:00 2010 -0300
Fix function name use on toPytho fucion.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6d660aee32805af4af23d17381398c3f3503c7cf
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 1 16:49:35 2010 -0300
Unit test to target conversion.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 871a08552d72b49f39761a6b99cce12a0765f3cd
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Oct 1 16:49:00 2010 -0300
Implement generation support to target conversion.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 8cc21eee84d96240510750d627e4bfccff5f40db
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 30 17:33:26 2010 -0300
Fix bug#267 - "Provide human-readable object strings (__repr__)"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 15d595ec399f6e298a4ae7a52f7740ac6d70ccb4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 30 10:54:30 2010 -0300
Shiboken avoids generating code for private enums.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit a001e8538adce84bdd201e897b9309902cdd8458
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 28 19:16:56 2010 -0300
Optimize TypeResolver::getType function to avoid strcpy and misses on typeresolver hash.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit e8c26169f9c67a7cfc7c6e63d0e1a9b247505b72
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 28 18:25:01 2010 -0300
All type inherited from Containers are iterables.
commit 822bd79f87ad237b9e24b53f9048308200f06859
Author: renatofilho <renato.filho@openbossa.org>
Date: Wed Sep 29 11:02:40 2010 -0300
Implement support to object list on ownserhsip functions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 1f1fc9f504285c916785dd9daec557e24b332135
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Sep 24 16:06:48 2010 -0300
Created a new rule to parent ownership.
In the new rule if the child object is a Shiboken wrapper class, the object is not invalidade during the parent destructions, the binding manager will wait for object destructor to invalidade the wrapper.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 85f926e8fef29967393a11832ac26cafecc9b777
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Sep 24 11:25:41 2010 -0300
Created unit test to unsafe parent (parent created from c++)
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a0bd7044da2150e096ab197302b5c77a845c8682
Author: renatofilho <renato.filho@openbossa.org>
Date: Fri Sep 24 11:24:43 2010 -0300
Use a auxiliar pointer to do the things faster.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7d764424fcb99f29b84504d8778112318789c5c9
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 24 10:35:58 2010 -0300
Fix bug#386 - "NUL, SOH, and other characters in generated code"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 0f709370f8ca39cae31dcf4c10dfeb0c99746adf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 23 16:18:19 2010 -0300
Removed not used doc files.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 76cdef7953c3a92d540bba1051908e33052bd01a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 19:13:07 2010 -0300
Updated type system file for test binding to use nested types.
Instead of the awkward:
<enum-type name="Foo::Bar"/>
<value-type name="Foo"/>
<value-type name="Foo::Sbrubles"/>
We now use the proper:
<value-type name="Foo">
<enum-type name="Bar"/>
<value-type name="Sbrubles"/>
</value-type>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 148b3af9485a13ec383647b692fae185bce78da9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 21 17:21:50 2010 -0300
Fixes generator to actually use extra includes declared for global enums.
And also for class/namespace enums.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit e959d2899f38f5b0828035fe7d4769b3603e2974
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Sep 21 15:44:39 2010 -0300
The CMake configuration for PySide and Shiboken use the PYTHON_LIBRARIES
variable to link against Python. This is not the correct way to link against
Python on OS X. Instead of specifying a library or the framework, one simply
uses the flag "-undefined dynamic_lookup". The symbols will be resolved at
runtime when the extension module loads.
Fixes bug #352: Thanks to Robert Kern <robert.kern@gmail.com>
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 24d496c1d05baae8f129d76207709276391faebf
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Sep 21 13:45:46 2010 -0300
Move Python debug check to root Cmake file.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit f2bd66ead497ba2c17f2124ed7e1487251aca6d0
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Sep 21 13:41:55 2010 -0300
Fixed function use to create wrapper based on QObject.
Fixes bug #360.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 081600a9e5ac4da3eabe97169c9865af793f9c80
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Sep 21 11:15:36 2010 -0300
Add missing CMakeLists.txt file
commit 602bbf5a86c1c5c9c84535539b4ef617c120c3af
Author: renatofilho <renato.filho@openbossa.org>
Date: Mon Sep 20 18:58:14 2010 -0300
Use CMAKE_<CONFIG>_POSTFIX on config files, used for cmake and pkgconfig.
Fixes bug #286.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7f5723eac1366e901391fb5771f4a70a45dc6932
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Sep 20 17:26:09 2010 -0300
Shiboken generator code moved to the directory generator.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 76dae669fda417b539315b9f439128f5b29c725e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Sep 17 14:52:05 2010 -0300
Do not show shiboken options twice on --help.
commit 913276bbbfcb7a5011f4d9139f502bd07cfa30b1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 11:22:24 2010 -0300
Anonymous enums now supported.
Due to their nature anonymous enums aren't considered type by the
binding generator, rather the enum's values are used wrapped like
C++ integer constants. Global enum values are added to the Python
module with "PyModule_AddIntConstant(...)", class related anonymous
enum values are merely added to the wrapper class dictionary as Python
integers.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 5d4415241d349aa19cdb56a2361723dcdcd057b4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Sep 20 11:14:26 2010 -0300
Added tests for anonymous global and class bound enums.
commit 74c9bf7e64d12a946c9b96d9674926323622f1f1
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Sep 17 20:13:58 2010 -0300
Fix OverloadData::isSingleArgument
Now returning true *only* when exactly all overloads
accept exactly 1 argument.
Fixes compilation of QAudioInput and QAudioOutput from
QtMultimedia. Both have start() and start(QIODevice*) overloads,
and the previous code was generating 'arg' instead of 'pyargs'.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3ce6cdd1b6868ae8494c0a89bef4db85988758b4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 16 19:12:33 2010 -0300
Fix bug#339 - "RuntimeError when accessing mousepress event object"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.filho@openbossa.org>
commit ca1a485e51c1afae531776ffe61968da68461dcf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 16 16:05:04 2010 -0300
Add missing CMakeLists.txt file.
commit 264926a1b93efad0ec82f331b0f99dc0305bd7d6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 18:24:59 2010 -0300
Remove reference to specific versions of other projects.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit c0b2f5f8de442eb7f31707cfce25e3fa05309cce
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 17:36:58 2010 -0300
Add "doc" target to be able to build the docs out of the source directory.
commit 610719bef88e8ba1088f32133f7844f97a6a9bad
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 16:18:09 2010 -0300
Removed outdated and broke Doxygen configuration file.
commit df3aa3aded4958e308b479a959db5784afab8a83
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:15:25 2010 -0300
Fixed copyright year in the generated docs.
commit 03e0cba23e61087086a855687383431186eaad95
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:14:50 2010 -0300
Fixed minor cosmetic issues in the generated code.
commit 8cbb5b0df0846d7258aa8bad747733e968b5e947
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:14:19 2010 -0300
Fixed broken sphinx syntax.
commit f392fc2f236bb351f8cfc2d4172179dbb90d6033
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:13:56 2010 -0300
Version bump
commit c2042f5a384d9f47afdcc260e1efdd56f283ce5d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 10:52:54 2010 -0300
Fix bug#347 - "Setting properties in constructors gives incorrect results"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 889cbf56244075eda371ad46a8b483916d587716
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Sep 14 18:33:21 2010 -0300
Generate correct python function definitions.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 939185f77f4cb107231094300c03ec2c35f64c38
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Sep 13 16:16:40 2010 -0300
Fix code generation for modified constructors.
Reviewers: Renato Araújo <renato.filho@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit bbb7d417e75043dec53c84ceafec5c07cc282a81
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Tue Jan 31 18:41:49 2012 -0300
Fix BUG #1094 - "shiboken doesn't complain about invalid options"
See http://bugs.pyside.org/show_bug.cgi?id=1094.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Luciano Wolf <luciano.wolf@openbossa.org>
commit 3de57773c368ec2ef63f6f8388c050082341296e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 5 18:48:42 2012 -0200
Bump ApiExtractor dependence.
commit dc67bd50c36b0c875c259ca4e623d036920df1fe
Author: Paulo Alcantara <pcacjr@gmail.com>
Date: Thu Jan 5 16:37:13 2012 -0300
Fix BUG #1092 - "shiboken names itself a 'generator'"
See http://bugs.pyside.org/show_bug.cgi?id=1092.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
commit bfffaa4ef8cba22ac30dd5aa597e8df1d6eda971
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 30 15:23:23 2011 -0300
Version bump to 0.6.17.
commit bf9ccbac81db2004afb52ea330d7bfe75b1c3898
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 30 15:21:10 2011 -0300
Version bump to 0.6.16.
commit 2f83eaa05eeeaf009589b994c8e9a2feb1867260
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Dec 29 15:15:45 2011 -0300
Fixed symbol export on win32 platform.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 201840632f4bb361d3ff87819b844dfd9d93e36f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 27 15:26:42 2011 -0300
Fixes container check in Generator::getSimplifiedContainerTypeName method.
commit 5174c6ad3818247c9586804aae2394a68ef30d47
Author: Jerzy Kozera <jerzy.kozera@gmail.com>
Date: Thu Oct 20 21:25:12 2011 +0200
Update generatorrunnermacros.h
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 567ca6effaecdf97b33d1d13eada23bafe0f7535
Merge: b6f64d3 5b487de
Author: Willer Moreira <willer.davis@gmail.com>
Date: Fri Nov 18 12:38:22 2011 -0800
Merge pull request #17 from willerdavis/master
Doxygen support
commit 5b487de2f53a64e9623ee858ec7b2898c69cb409
Author: Willer Moreira <willer.moreira@indt.org.br>
Date: Fri Nov 18 14:39:29 2011 -0400
Doxygen support
commit b6f64d342c0dd3926eb675c75f040d12840a9043
Author: Yaakov <yselkowitz@users.sourceforge.net>
Date: Thu Oct 27 14:42:40 2011 -0200
Fix bug 1009 - "GeneratorRunner Cygwin patch"
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c09b41d09861d1b2ac801188d92fce84aa3114f5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 27 14:41:19 2011 -0200
Version bump to 0.10.15.
commit 96259b8450c1ef8f6fa512ad2e4c8658cff10ea6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 20 11:36:27 2011 -0200
Version bump to 0.6.14.
commit 837162eb4db6de11b4e33fcbda21d706d055ac58
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 14 19:18:53 2011 -0300
Fixes Generator::isObjectType(AbstractMetaType*) method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 5f3ed94f7a83acf0fc7dfddf414a34121eabe58a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 3 14:37:28 2011 -0300
Fixed minimalConstructor method for classes with template instantiations.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 44138ada64eb6f9175ea7bb8c05e38f9079fbf8b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 3 11:36:52 2011 -0300
Added a couple of convenience methods to Generator: isCString and isVoidPointer.
commit c0d2e563a1aeaf8b32e947248bb5453edd7d2263
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 22 17:58:52 2011 -0300
Collect the instantiated container types from class fields.
commit ebb972fcc8f8a6c322ded4960e1ed05f4e61fbd0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 21 11:28:15 2011 -0300
Version bumped.
commit 62db9ea4bd4ba2815e3f3d0594cc78dcd8839163
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Sep 14 10:08:27 2011 -0300
Fixed function link generated in documentation.
Fixes bug #986.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 53bd31b8564177a9f9871e715903c4cf43e079cf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 23 22:28:34 2011 -0300
Collect the instantiated container types for the current module.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit a1e245f198d8b933572ca0791f02061667a42edf
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 22 17:39:52 2011 -0300
Version Bump.
commit 18a1658d6f5bcdbd118aa2649dcba56e61553c0f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 11 16:05:41 2011 -0300
Added a method to check if a TypeEntry should be generated or not.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit cb5be10109fc64d2e77f064164cac4da0d3d8396
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 24 19:22:54 2011 -0300
Add support for multiples api-version values.
To use in a project file do:
api-version = MyPackage, 1.3.4
api-version = MyOtherPackage, 3.4
On command line the things get bit weird, you need to use:
--api-version=MyPackage,1.3.4|MyOtherPackage,3.4
Remembering to escape the |.
Reviewer: Lauro Neto <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d3c686acb6ac3c0c75e3184e2bf531ae25b6fcbb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 10 15:25:30 2011 -0300
Fix link on rel bar.
commit 6a30e5a2504bbfda064c08176009cd61b53d4abf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 9 19:43:47 2011 -0300
Fixed minimalConstructor(TypeEntry*) to handle classes.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 15c44f115f2b282110be1607eb1d2874fbaded32
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 10 12:59:18 2011 -0300
Removed searchtools.js
commit 6bdd3c6d127c218b7af11a4935b29bb2368c888f
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:32:35 2011 +0200
Update pysidedocs theme to rely more on sphinx's base theme:
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit d7c3ef8e620465a0d5716618e003ba8ef45fcaf2
Author: Didier Raboud <odyx@debian.org>
Date: Mon Aug 8 13:31:19 2011 +0200
Drop superflous .directory file.
commit 1e04343e905c35efd58f85c9ba7105d209522278
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 3 17:11:51 2011 -0300
Find the package name even when no classes were found.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 127ad5d710b3b584666efd6d939bf068b0b9d202
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 2 16:59:33 2011 -0300
Fix bug 831 - "PySide docs would have a "Inherited by" list for each class"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit dde4bf2ee0104bf421044a3f6196bf678a8b237a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 1 18:40:09 2011 -0300
Remove " contents" from module page titles.
commit 5b3bbb1545b8a6d60e71118892dfb7a95bbb57ae
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 1 16:21:45 2011 -0300
Write a fancy index for PySide docs.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit a24119d9cf8ce72c88d037069cb90aa8cc9a82a2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jul 25 16:52:50 2011 -0300
Fixed Generator::translateType() method treatment for "void" types.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 43cb18d6e9367933c1b8c7c17a461ebd45d7d645
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jul 21 15:32:19 2011 -0300
Added a method to find the minimal constructor for types, plus some convenience methods.
The minimal constructor method tries to build the minimal constructor
possible for a given type or class.
Checking if a type is an Object Type is a very common task, as is
asking if an AbstractMetaType is a pointer to another type. So I
added these convenience methods.
commit 652f60b9e0850505696fa43a45ea312a619244e7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 28 16:08:57 2011 -0300
Classify function as Signal/Slot/Virtual/Static in documentation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit fcf5916d468fe037b89daff877ea2abf081cd4a9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 22 14:48:52 2011 -0300
Updated apiextractor dependency.
commit 570921e2c1868aad07322c931a0dbdb423306576
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 22 10:09:54 2011 -0300
Version bumped to 0.6.11.
commit a1fb3ae03f33feb89340f7e7adbdc577cd6a0347
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 18:43:24 2011 -0300
Update javascript files used in sphinx generated documentation.
commit eb64cdfdef69149e0ae7d229a08a4b482731d4de
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 6 18:41:56 2011 -0300
Show perm links only when the mouse hover on title.
commit 75cffde7e51646e6e5561384caacb4a1932005cf
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jun 3 17:44:52 2011 -0300
Fix bug 501 - "Shiboken generator doesn't use full qualified name (with :: prefix) on all places."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit eca2d705206483d04cfa7b24b51459f3d266f457
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue May 31 11:43:34 2011 -0300
Fix bug 827 - "Anchor sign for headers to copy links for sections"
commit b800b2824c9418a27b1bade8e570d87fe7df06a8
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 25 17:44:58 2011 -0300
Bump version to 0.6.10.
commit 84572f3ee8a4407dd44a218a5844a4ba5d5a6efa
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu May 19 10:44:44 2011 -0300
Implemented support to "since" attribute on documentation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit ccbdbb57ddae9785d0ede24deddd8a2882bb25f7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 18 17:29:41 2011 -0300
Fix bug 830 - "QAbstractItemModel is not linked from QTreeView page"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit e371f92d30c72f8074398a1cb9ad3d365ade54bc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed May 18 17:29:28 2011 -0300
Fix coding style.
commit a160d96a2ca2475457211f23ace38b4f23842388
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 28 17:57:42 2011 -0300
Updated dependecy version required.
commit 08971467285f18e5f4375334d6fca1951169b02e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 7 15:43:53 2011 -0300
Updated dependecy version.
commit 0623d22816ea4c38aec72244c985a6e0c3cf0cc3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Apr 6 16:06:30 2011 -0300
Version bumped to 0.6.9
commit 32a1fa45638cde71d29a1f74423cfcbdc56389ad
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Mar 28 10:38:10 2011 -0300
Use QDir::currentPath() to avoid problems with armel-Meego target.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit eeebd2237ebb2053ee6104d9e2f94f2fdb282950
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Mar 31 18:37:27 2011 -0300
Version bump
commit 0114d40f9488170f1ff979e8fca994075dbc4b47
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 29 15:40:11 2011 -0300
Remove workaround used to fix bug 540 ("Duplicate entries in QRegExp docs") as it's now really fixed.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit f238cebb57200ce38796fad8f78801446943ebff
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Mar 4 15:56:41 2011 -0300
Fix bug #532 - "QNetworkSession documentation formatting broken"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit bb6612e2cb07f4ef64a5a3fd032cfc87ed8aaf30
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 2 20:29:00 2011 -0300
Don't show a warning message when an empty code snippet was found.
Reviewer: myself :-)
commit 9116cd9f66041733805d60bdf8e9ab61c2d5b016
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 2 15:09:38 2011 -0300
Ignore module docs on extras directory when creating the module table of contents.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 47a40e42e57dee15eed7fc0ce6a3949ca29a2da2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Mar 2 15:09:21 2011 -0300
Add support for badcode qdoc tag.
commit 5f29e0324065ebb76f39b8e8fb2cecc91db150dc
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 1 18:34:38 2011 -0300
Use extra directory to also find module docs.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 66bd499c3b5abd332ca804a55857705d34eb0a4a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 1 15:43:56 2011 -0300
Fix typo on ref tag in docs.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
commit d401ac2ad96082211c48b584a11c51c0c81a837c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 1 15:41:49 2011 -0300
documentation-code-snippets-dir option now accepts multiple directories.
commit 14ae00ad2aab93770bd7b023fbb247e606019757
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Mar 1 15:54:05 2011 -0300
Version bump to 0.6.7
commit 0631e9642e7c8b615edb9bf31e3fcd95784b1eef
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 23 15:45:51 2011 -0300
Empty lines from custom code must be cropped.
This is to avoid lines composed only of irritating trailing spaces.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8c9f9660f04d1c5e462f6a815329bffa90327618
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 16 07:59:36 2011 -0300
Added the "--drop-type-entries=<entries>" command line option.
The documentation was updates on this and older things.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit c4f21744c7148f7cbb593f8bfe3cdd524abd912b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Feb 10 20:51:07 2011 -0200
Fix bug 638 - "Documentation for phonon doesn't show class inheritance diagrams."
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 2fa3a9485d45cfa27593848fbcee1b21ed1bfa57
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Feb 10 18:57:40 2011 -0200
Add function getClassTargetFullName to get what AbstractMetaClass.fullName would return.
commit c306628bd2b06ec5a9a734e33a8d948be1811649
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 4 19:56:28 2011 -0300
Added a CMake script that sets some environment variables before calling the tests.
This is used as a workaround to a CMake 2.6 limitation that prevents
environment variables to be set for tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit 2456d853d7aa4254ca0ad63b48f667796fc51fe1
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Feb 2 15:13:05 2011 -0300
Bump version to 0.6.6.
commit 96d9cf72a376f42590a24d9516f306bae09faca3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Feb 1 16:22:00 2011 -0300
Fixed Cmake files used to find the library after the installation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 984cd4d8fd361e89ac5b8a514b8088bb53b925f6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 31 10:21:01 2011 -0300
Fixed the project file test to work with win32 paths.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 5f6d08e17f214d7d3a41a1cbdfb2d975e02a33cd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 24 21:17:27 2011 -0300
Modified GeneratorRunner to support a simpler format of project file.
The project file are now just a text file containing key/value pairs.
The documentation was updated accordingly, including the man page.
commit 13480bf7867bed1cfa64613fddb0d6e53aa36b9e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 12 11:17:58 2011 -0300
Added documentation for command line and XML generator project file options.
commit a2318f763a91bc7c47bb751e39036ab95f4b45fc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 10 20:20:11 2011 -0300
Added the "project-file" command line option.
The project file is a XML that provides the same options that could be
provided via command line.
Command line arguments added by further modules will be converted into
xml tags on the project file following this rule:
GENERATOR --new-boolean-option --new-option=SOMETHING
in XML turns into:
<new-boolean-option />
<new-option value="SOMETHING />
commit e674a8ddbc11e51f3f701e8ab7783aefec8cfeec
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 13 10:48:43 2011 -0300
Added a dummy generator as a source of test cases.
Unit tests were added as well.
commit b5e32ea4f620a0f7e3e2ee6bba741b0f08686312
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jan 12 21:35:36 2011 -0300
GeneratorRunner looks for loadable generator modules in many places.
Besides loading generator modules given as full file paths, and placed
in the place where GeneratorRunner was installed, the modules are also
looked for in paths added via QT_PLUGIN_PATH.
commit b3daa9b6f33fe0925d0983b7dc84add876abc36a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 10 20:17:55 2011 -0300
Renamed "generatorSet" command line option to "generator-set".
Now the option name is similar to all the other command line options.
Yet, to assure backward compatibility, the "generatorSet" parameter is
still accepted, although it will not override the "generator-set"
option.
commit 36c7cb03f442deb4d76a94e35cd11d49a3586884
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jan 24 10:23:30 2011 -0200
Fix bug#636 - "Unable to navigate back to the main site from the generated documentation"
commit 33074d875780fe078c37d51be622348d63c80864
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 21 15:52:56 2011 -0300
Bump to version 0.6.5
commit c00ea5762748ff62b1a7656ae12295300c06c313
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Jan 21 14:32:20 2011 -0300
Updated apiextractor version dependency.
commit a3f83952957d0d7cdfce915e1dec9b0ae582193d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jan 11 18:43:40 2011 -0200
Don't ignore inject-documentation when mode="replace".
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 30fcf4f242a1aa37378b86fd4ec89b6905c74aff
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Dec 14 16:33:49 2010 -0300
Add option to install tests
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit cb7a4e781352b071ed783b1a3dd0afb283526440
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 6 19:42:22 2011 -0200
Fix bug#574 - "In docs of QUuid there's documentation for a function called 'operator QString'"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c6ecedee1d37dbf3f7ef1d5b77b597febada8ac6
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jan 6 19:31:39 2011 -0200
Add support for extra documentation in module table of contents.
This is needed to fix the bug bug#560 ("Lack of QtCore.Signal documentation")
commit de235e55f4e587e71a265f17f2e7b087bea22417
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Nov 25 17:43:59 2010 -0300
Bumped version 0.6.4
commit 6256b0ecfacb2c0970f24241d7de94dd6f33902e
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 24 11:30:10 2010 -0300
Bump ApiExtractor version dependency
commit 47b1d999f30183c3acff3cfb5084fd21c2875e6c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Nov 23 12:23:52 2010 -0200
Obey ExcludeConst and ExcludeReference arg in translateType function for QFlags.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a657085b40c2ab1fb45298836a741fe0f0bb0a2c
Author: renatofilho <renato.filho@openbossa.org>
Date: Thu Nov 11 17:45:17 2010 -0300
Use the same function in translate type primitive types and others.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 5d930c0cd91db82654c227969b57206eca5a74a2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Oct 29 10:44:39 2010 -0200
Require ApiExtractor at least 0.8.2.
commit 7785318737ddabf759060277e069557367d5061a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 28 14:00:52 2010 -0200
Obey ExcludeConst and ExcludeReference for primitive types on translateType function.
commit fbd3347beb6f727da67fc8b3792f726e26c0f472
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Oct 28 14:41:34 2010 -0200
Bump version to 0.6.3
commit 94598415e4e5967f1b52df8e6abffb1c9bdc0b02
Author: renatofilho <renato.filho@openbossa.org>
Date: Tue Oct 19 17:25:32 2010 -0300
Fixed translate type function.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo lira <marcelo.lira@openbossa.org>
commit 75321b8149ec5cfb69c4b758976b5a11ff22083b
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Oct 8 15:58:28 2010 -0300
Updating documentation to reflect adoption of wikipages.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
commit e0eb744489cfe4914bef235880f8219984d7d43d
Author: renatofilho <renato.filho@openbossa.org>
Date: Mon Oct 4 19:26:42 2010 -0300
Implemented support to OriginalName flag on typeName function.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 67da904f47c450ce5e5c5cd037680d002035549f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Oct 4 18:56:52 2010 -0300
Use the correct package name at module index.
commit 69566068b5d0e3fa9f21f038dc7622cf1d9b3594
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Sep 27 14:50:52 2010 -0300
Replace QVariant doc entries by None or object.
None when QVariant is used as an argument default value, object
when it's used as return value or just to inform the expected
argument type.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo lira <marcelo.lira@openbossa.org>
commit 23979df5d6e9d4dfcdcaef8f4c358cb2acd721c5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Sep 27 14:44:36 2010 -0300
Support doc generation of various modules in one go and removes QString and QStringList entries from generated docs.
commit 00ef2994b4cb744173f92d57673683a7d2d0b0c3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 23 16:08:43 2010 -0300
Fixes bug#168, bug#310 and bug#330.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 4af2783edecbaaead34cb33c913ba67be4add73c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 23 16:06:11 2010 -0300
Add quotes to GENERATORRUNNER_PLUGINDIR variable.
commit 428526553190a8be5f81bf3592e4ae98137ffbdd
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 23 15:38:31 2010 -0300
Removed file not used related to documentation.
commit 092e6cb2f7e54a90e200f6c80763640319dde25b
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 18:16:39 2010 -0300
Remove outdated information about boost graph from docs.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9c1186eacda68f9573d228291aecd022a9493c10
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 17:24:57 2010 -0300
Add "doc" target to be able to build the docs out of the source directory.
commit 7ecf20e2a7389bf4f11f0c229338606fd001e75d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:11:12 2010 -0300
Removed broken links from docs.
commit 3dc95645c3324d23744d779f7898a3e976b858a3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 15 15:10:55 2010 -0300
Version bump.
commit c46e12c8c16894b4ac942e60bb47851768a2f91d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Sep 10 12:01:37 2010 -0300
Use full file name on GENERATORRUNNER_BINARY.
commit 76a9acb72693e670b141b2eb57f14cad1d1a1cef
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Sep 9 18:20:09 2010 -0300
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit fedb9b3daac568c5c6f23dec0fd97c407f3e8023
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Sep 9 15:49:00 2010 -0300
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 167f72f50ea327d2976c29dc526311dae7addf45
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 9 15:43:06 2010 -0300
Bump the shiboken version due to BIC changes in commits:
1eda671a34eba38e7e74e592e4ae88fa6803bcba
b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9
commit f6a0978ea7be1a482e859883e1437e1478b39b8a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 9 15:41:33 2010 -0300
Bump the required versions for ApiExtractor and GeneratorRunner.
commit 0c3d5644e0d3eb8b7955c92d0cf147f0ae84869d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 9 15:40:00 2010 -0300
Bump the required ApiExtractor version.
commit dfb9d496c469570c355db3daaa3c02952813e5ad
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 8 19:44:54 2010 -0300
Change the license boiler plates of all LGPL files removing the special exception.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit b9b777ec9f1be48d4b1e8f217c5eb7cc60bb773c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Sep 6 14:22:11 2010 -0300
Retore thread state in the first line before the C++ call to avoid any other
Python call.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 5d23ed3a8801b7152e2c3a601e3bb64595d79046
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Sep 3 16:16:26 2010 -0300
Avoid call functions when an error occurs on argument conversion.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 3fed4510716ad6444c77ecd50466f514e1f03848
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Sep 2 20:31:36 2010 -0300
Fix bug#320 - "OR'ing Qt alignments doesn't work; adding them does"
Also fixes another bugs found in our QFlags implementation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 515f5edc0f3f3d8ecbd9b583b55f294d607abdf9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Sep 2 17:07:07 2010 -0300
Make the ownership transfer to CPP in native virtual functions.
Fixes bug #304.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 7d38f877d69fe44dbe7c36fb15cd477acccb4500
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Sep 1 14:40:15 2010 -0300
Fix bug#316 - "QAbstractItemModel.createIndex is broken"
Use SbkNumber_Check instead of PyNumber_Check, because PyNumber_Check returns true
for all user types.
This commit also disable the generation of _Check macros and replaces all entries
with Converter<T>::checkType.
Those changes are on the same commit because SbkNumber_Check conflicts with a macro
generated by "other" binding which binds a type named "Number".
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 31 17:08:32 2010 -0300
Use the correct path separator on Windows.
commit c68f96c1c49afa14bd0907bddeee053264d032c1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 31 16:15:47 2010 -0300
Use diferent path separators for windows and unices.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 821885b67d27844c0ecfe9ef7b753e640e96eb6c
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 31 10:22:32 2010 -0300
Fix linker problems on MSVC.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araujo <renato.araujo@openbossa.org>
commit f942fd1bfa1f0c9ec38775f0c5224dd89002d2aa
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 30 19:10:22 2010 -0300
Impleted auto code for classes derived from list container.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 2ca00ccaa21c99f99da4cd610dee3c1f56d34565
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 27 15:09:15 2010 -0300
Release the python threads inside of injected code.
Fixes bug #321
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 1eda671a34eba38e7e74e592e4ae88fa6803bcba
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 30 11:19:22 2010 -0300
Fix the type resolver algorithm.
The new algorithm do the following:
- Try to use type_info on the object the get the object real name.
- Try to find a type resolver with the name returned by type_info.
- If a type resolver was found, get the python type.
- Else, ask binding manager to resolve the type walking on all possible
subclasses found in the inheritance tree.
The binding manager has a graph representing the class inheritance tree.
Note: This commit break the libshiboken ABI, but not the API.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
commit 3dc673c7bcbad1613b9d3d6ff3dd4a73be41915d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 30 11:11:47 2010 -0300
Add -Wno-strict-aliasing to debug and release builds using GCC.
commit 47ab0d6bb7203c9a33c53d1b6d93f6305413c8e4
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 26 11:47:55 2010 -0300
Generated original_name with "*" for object classes.
Use base type original_name to derived classes.
Fixes bug #311.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 7a1ef1d7ec85a19698060497bdf5b58081fcb6d6
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 24 18:28:02 2010 -0300
Move gilstate implementation to a sparated file.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit ff729cca1a0398d847d5b0363e61be98a0c099c0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 24 17:24:33 2010 -0300
Doc for new inject code rule.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 2926ebb67df6ebe19cdf5b4961386f425a187f21
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 24 16:43:05 2010 -0300
Accepts inject conde on virtual functions before call c++ code.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 4dc680453961dd23e6d0df764824f2d52cdedae0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 24 16:41:06 2010 -0300
Verify if the arg received on invalidateWrapper, is Py_None or NULL.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 687db5a645e4a32f47b7bc0479950c50aaca6632
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 24 16:40:00 2010 -0300
Move ThreadStateSaver implementation from the header to a cpp file.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 25dc57003ae47dd6d66cd44156872ff484868bce
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Aug 24 16:46:37 2010 -0300
Fix bug#308 - "Confusing error for wrong argument types"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit a55f92588474349b8b5623525b359c655e950fec
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 23 11:53:31 2010 -0300
Included vector header on generated files.
commit f85d49d567874dbccfdd09157435c7c92e38bafb
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 23 11:51:09 2010 -0300
Fixed CMake config file for libshiboken.
commit df48c2eadf550938062e8e5af53a5372d97bcdb5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 20 14:33:47 2010 -0300
Removed generation of #warning in cpp files move this message to generator report.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 9572636c419f2948cbf1814b78137f0b2e9bc93c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 20 11:31:57 2010 -0300
Avoid create arguments parser to function without default arguments.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit d3deef0368e7918dd0550bd153eb494cae35dfbe
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Aug 20 11:39:28 2010 -0300
Fixed shiboken library name on windows.
It's now called shiboken.dll instead of libshiboken.dll.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 7424b2743cd1d00740af92965582b9e9c8391960
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 20 11:22:15 2010 -0300
Fixed config file to work on windows.
commit 5dcd01b645743816d6e7976b446d6f12eb7eaa33
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Aug 20 10:58:39 2010 -0300
Fixed install dir on windows.
commit b0ae63688bb1299476188ad9f1c022553a25912a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 18:40:36 2010 -0300
Get ride of PyMODINIT_FUNC, since it doesn't correctly set the visibility rules on Linux.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2937fea56a9899627ddf4c796f7445bbbf94b0c2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 19 18:28:38 2010 -0300
Fixed tests enviroment vars.
commit 57d17c090802a93aeffc3e85730a950edfd6f448
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 16:34:52 2010 -0300
Fix mem leak in shiboken tests.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 6c411b3fb53984ec35b04cad98f30d6b28361216
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 16:38:58 2010 -0300
Cleanup generatorrunner export/import macros.
Reviewer: Luciano Wold <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit f33d2585d59405e47a0b0592b7888caaa87d467f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 19 12:04:28 2010 -0300
use MSVC flag to detect the compiler on hash library.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7701c41779a72d9a6dd8359da33345f4acc93856
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 19 12:02:50 2010 -0300
Use .pyd to python modules on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d0c503628bdc5183f7f4792e10a4e105ff795d81
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 15:23:20 2010 -0300
Remove definition of NOCOLOR constant.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
commit 307e16cc9378a96cb937e44f42bb6a1548c77a99
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 19 15:22:28 2010 -0300
Fix problems with dllimport/dllexport in some shiboken functions/variables.
commit f056f08a8495f89037292b3c273aba254610ee8a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 19:14:30 2010 -0300
Fixed module initialization export.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 285c84f27d60df6bf117731fa71a33717d063013
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 20 14:50:00 2010 -0300
Fixed tests to run on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3478cb5e2d3ea79c265e10a0a5963c967aa48d79
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 18:46:55 2010 -0300
Include python headers befor use Python macros.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 80f6e98976e522fb5c0056fe848a8c144f23fc05
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 18:36:26 2010 -0300
Fixed libsample export to avoid warnings on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b50262bc0a325ad8f79907cee6f70218e776c13d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 18:13:39 2010 -0300
Fix flags used when compiling using MSVC.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b3d8877b8de94f6ddd166ab0c50acfc43a48574c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 18:11:46 2010 -0300
Use CMake DEFINES to export symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 224be40cc9c31c381b62f7c1bfdde0f2c3b1fef7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 18:08:00 2010 -0300
Used the define MSVC in goggle hash to compile with native windows API.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 5f465d1eedff7727d005e2724dbc56960b0f313b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 18 17:09:07 2010 -0300
Use DEFINE_SYMBOL in cmake to create the define to exports symbols.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit 1b89ed5df330e4588838de36a7bbf11e595158e2
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 18 16:02:14 2010 -0300
Don't *always* build generatorrunner as debug.
This fixes the segfault under windows when compiling in release mode.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 876afa44660e1275358cfe05f649bb34c250c460
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 18 16:00:34 2010 -0300
Fix flags used when compiling using MSVC.
commit b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 20 14:00:44 2010 -0300
fixed tests exported symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit da5a88b3b53b4769e77eff1d48cc9a2c7152f6c2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 17 14:40:19 2010 -0300
Fixed bug on named args parser.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Anderson Lizardo <anderson.lizardo@gmail.com>
commit 08027d04146bf528ac33a0686aa1a1a81312b9a3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 16 17:51:41 2010 -0300
Fix bug 294 - "If the function must return a QFlags<T> and you return T, an exception is throw."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 09a2d2aaa6349df614752f10cd8663ad3a83aee5
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Aug 16 16:40:06 2010 -0300
Do not compiles doc generator when ApiExtractor doesn't have support for
doc strings.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit a61017d620189108ab844ce9398f453f534de5f3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 16 18:15:28 2010 -0300
Implement support to signal connection on constructor using named arguments.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit f548708c9643481b023763aa25722a5a25a268e1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 12 18:04:01 2010 -0300
Create unit test to function with ambiguous signature in Python side.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6e6e88c719568af17b0dcbd6584f7f1b6c9acc80
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 11 18:21:34 2010 -0300
Adds support for property setting in QObject derived constructors.
Now QObject properties can be set through named arguments passed to
their constructors. E.g.: to add a new property-value pair to a newly
created QObject just do:
obj = QObject(objectName='bar')
this is equivalent to
obj = QObject()
obj.setProperty('objectName', 'bar')
The constructor way to set properties will only work for already
existing properties, dynamic properties must be set with the
QObject.setProperty method.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 8dcacb90f0d61b47e295daa501fb9c2af97b42f3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Aug 12 11:40:32 2010 -0300
Use isValuetype to verify if the class has copy constructor.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 388c5084c66244c3d5753dd2bedcfc4c0135d4c1
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Aug 12 10:02:01 2010 -0300
Register wrapper class on type resolver.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 3152bd2bd728bac6ef751bb8acd64100c4ca8a83
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 11 17:27:52 2010 -0300
Created unit test to operator().
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ecfb5f1a7508cef02789363446c66bacf02ce3fa
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Aug 11 13:07:47 2010 -0300
Fix debug build when no debug symbols was found for Python libs.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 16e7b284c2c93a18bc181296f7486baf13ab9f1f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Aug 11 14:08:55 2010 -0300
Take care to remove only the first const and ref when translate types.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6485031031d546abbec2b761546e7ed3eb3e1ff1
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 10 14:24:23 2010 -0300
Use 0 as default value to Valuepointer.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 96b70b2d4c22e97dd88924886454e7cfb0172136
Author: Kalev Lember <kalev@smartlink.ee>
Date: Wed Aug 4 14:09:14 2010 +0300
Modified one more test to use assert_(not a == b) instead of assertNotEqual
Similar to 83c272, avoid using assertNotEqual which in Python 2.7 uses
the != operator; that operator however is intentionally left undefined
in Point class.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit 4a73d09fa2480cd6ef84309c0ca7fe295442b472
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 4 16:44:52 2010 -0300
C++ wrapper code is generated for functions whose visibility was modified to private.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 5c2551705ae6ecfb7baa1c71cfbc4bdbf012943d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 4 16:42:57 2010 -0300
Added function to check if a function visibility was changed to private.
commit d7d9c581c81df322c8db820d58ce5cbf7796c8b2
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 3 19:45:57 2010 -0300
Bump to version 0.4.1.
commit 12358699d6ad2e190645936782bf442193de7f72
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Aug 3 19:42:48 2010 -0300
Bump to version 0.6.1.
commit 647ebad0984a661a30047c18c0761b966ca06b6e
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Jul 29 09:57:22 2010 -0300
Invalidate remaining instances when shutting down
Instead of using assert(), invalidate the remaining instances
in ~BindingManager().
This will prevent them of trying to access it again. As the
program is already finishing, the dangling C++ instances
will be freed anyway.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Filho <renato.filho@openbossa.org>
commit 83c2720bcaf235927a04a12d82b7c0a70711316d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 12:05:04 2010 -0300
Modified tests using Point and assertNotEqual to use assert_(not a == b).
This is due to Point intentionally not having a != operator and
assertNotEqual implementation using the __ne__ operator on Python 2.7.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 001fa6fdcc415f5fbe25774e2391290440e6c21b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 11:58:55 2010 -0300
Revert "Created operator != or __ne__ in Point class, to avoid tests errors with Python 2.7."
This reverts commit ce4b5f535f43bd2ff800b709f88c6f9c5be68003.
The unittest.assertNotEqual method has changed in Python 2.7 to use the
"!=" operator. The Point class was intentionally left without a "!="
to test if Shiboken would raise a NotImplementedError exception.
This commit will be reverted and the tests using Point and
assertNotEqual must be changed to avoid the possible usage of "!=".
commit c7dd52ce9950f179415fcc39ca5899311a1737ad
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 11:03:02 2010 -0300
Added custom code to VoidHolder.gimmeMeSomeVoidPointer().
The said method retuns a void pointer never before seen on the Python
side. The code injection puts the void pointer in a BaseWrapper object.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit b7e7ac6f77e1128a16c5556baffd5e9b94df74c4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 10:57:05 2010 -0300
Modified the void* converter to deal with all pointers as coming from Python.
This is the common case, for the situation when C++ returns a never
before seen void pointer it'll be necessary to write custom code to
deal with the result.
commit 02503b1952b4c0558081206e31e92ad43886f9b5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 10:53:44 2010 -0300
Objects of the BaseWrapper type must call a deallocator.
A BaseWrapper object must clean the used resources (e.g. remove the C++
pointer to Python wrapper mapping) when dying.
commit f2532a7fff116cb825f99b0d6c4032fe054dfde5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 3 10:47:58 2010 -0300
Added a case for VoidHolder test that uses a native Python object.
The test stores a native Python object as a void pointer in C++ and
takes it back.
commit ce4b5f535f43bd2ff800b709f88c6f9c5be68003
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 2 17:39:00 2010 -0300
Created operator != or __ne__ in Point class, to avoid tests errors with Python 2.7.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d4976e7a2db93f6b031c219062b68c7310bd35ed
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Aug 2 16:24:44 2010 -0300
Bump version due to ABI changes.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 750c67576ea3356c0dd95d92ca1d667a220f11a8
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Aug 2 14:30:43 2010 -0300
Uses insert to append items to std::list.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9cba9a581d503accb04e517d982d734b7795139f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 29 18:08:42 2010 -0300
Fixed reference leak on shiboken make tuple.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6bb544de68ee3af71e27ccead37b10788f16dd8a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 29 15:43:16 2010 -0300
Dealloc dict object on wrapper destructor.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 419499bbaf4c6e4f55a0083d8ec65749440a38de
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 27 15:58:38 2010 -0300
Create a new copy from object when convert from PyObject to const ref.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 21460348ae4a73877ecbcc610d5ccd66a390d0c1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jul 27 14:24:46 2010 -0300
BindingManager destructor now asserts if the wrapper map is empty.
The assertion is only used in debug mode. The duck punching test
was altered to avoid failing when run with debug. Check the
duck punching test file for a better explanation.
Also added a debug helper method "showWrapperMap" to the binding
manager, it shows the contents of the C pointer to Python wrapper
mapping.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 7bd306347b8d55343e783a340f8bdc723111944f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jul 27 11:05:05 2010 -0300
Fixed build to completely avoid debug symbols when compiling in release mode.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 1b4094837f983d6273a81daffc5bbffedc82cf2c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 27 10:07:18 2010 -0300
Fix char* converter
Fix tests.
Created warnning about return last ref of python object.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 8a16ff951633c3755cf370228709afaf416b0407
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Jul 23 17:35:21 2010 -0300
Fix elasticnodes segfault.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2e827e65689b0bc0437c5bfffc6479151a774b31
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 23 10:59:10 2010 -0300
Fixed memory leak.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2194250dbb9d8863d70b90e167b4d3527ff832ed
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jul 20 15:30:31 2010 -0300
Added a custom cmake file to help finding Python debug provisions.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 10828a918d387d34cafb8709cea18f02d1af7af2
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Jul 21 17:01:58 2010 -0300
Fix error message, avoiding segfaults when dealing with primitive types.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit b47c32c81fca966740f790992f1b00f23bf49ada
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Jul 19 16:30:54 2010 -0300
Fix bug #252.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 40ffc6fb370024ed7e342736d0e5d37f6b9029ac
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 19 15:43:56 2010 -0300
Fixed inject code to works on windows.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ce76d9fa88985aac2460ea6c528183b5a6357ea4
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 19 15:43:30 2010 -0300
Moved python detection to root CMakelist.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit b8d7a7cb99a6123babf738d16743cc96ba8869be
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 19 12:15:03 2010 -0300
Removed lib prefix from generators plugin.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 794d2608f15155ceba9b6a201fccffbc40d68d45
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 19 14:22:51 2010 -0300
Use correct python library in debug mode.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit cd479852ad2c9d0f5cdfbba9f91952a8cd3b8688
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jul 19 14:22:15 2010 -0300
Removed "lib" prefix from shiboken plugin.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit c947f458b3f833135490d8fad8ec6265f6d20c4f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 15 16:30:48 2010 -0300
Fixed protected hack generation to work with new libapiextracotr api.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit c67bee3be1198fcab90d45c96ff3cdb3d4a7bb2d
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Jul 14 15:33:15 2010 -0300
Fix segfault when dealing with converter(void *).
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 29ca2a7c419ce854779d77091eb22c6bae8c4516
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Tue Jul 13 14:12:51 2010 -0300
Enable support for NativePointer type (eg.: void *, QChar *, etc)
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 1b1ff6303514314c199d070b9453d5dc80a21d87
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jul 13 15:01:47 2010 -0300
Use 60 secs to default test timeout.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 6988b9cb5d770389123ced8f55cec617b2217ddb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jul 13 11:17:47 2010 -0300
Fixed wrong overload decisor generated code.
The decisor must check for the number of arguments before calling
Converter::isConvertible method, to avoid passing NULL pointers to it.
Unit tests were added.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 4807359481f136145f404421ab8e99dd5f4cfefd
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 9 15:29:30 2010 -0300
Use list on keep reference map.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit c740aa812e6556747c51f2ac117c7107739aacab
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 9 10:26:50 2010 -0300
Create referenceMap on demand.
Implemented 'variable-name' support on 'reference-count' tag.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 0984ab74d8861038882b2c2aabbe0c7a2f5da797
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 9 10:25:49 2010 -0300
Fixed ref leak on list cpp conversion.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 962613407aa0c793ed5b96dfd2cc494c877d952f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jul 9 10:53:51 2010 -0300
Increase required versions of ApiExtractor and GeneratorRunner.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Bruno Araújo <bruno.araujo@openbossa.org>
commit 3a5631f5c67606fea83037eaf6db5aceca327ecb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:14:19 2010 -0300
Remove old code inherited from boost python generator.
commit ecb3ad016b75c5ae235f17a245817bea41aad3c4
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:13:59 2010 -0300
Adapt to recent changed in ApiExtractor API.
commit e826abb238fcd991f4496cc896a8e0c45cc81a48
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:27:33 2010 -0300
Bump version due to ABI changes.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 9e005dea1040dbfa7d1746fe6fa64ab2c0e07f1a
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 17:26:56 2010 -0300
Removed deprecated methods.
commit 0e2f7543d283f37cd5c47028b663b415572f576f
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 8 16:30:32 2010 -0300
Adapt to recent changes in ApiExtractor API.
commit 914449569177af5c294efab6c2225df6bab6eb64
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jul 8 10:53:41 2010 -0300
Implemented support to properties.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
commit ab9ad25af6065a71a4b968d250dc479f2585c7f3
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jul 6 17:42:55 2010 -0300
Fixes bug#253 - "Segmentation Fault when clicked on ListWidget with TableModel"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit d83a157f2b973c245c772d9ec27403f8f33cf73d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jul 5 18:32:41 2010 -0300
Fix Converter<bool>::toCpp, to correctly convert number to boolean values.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 8a6790433c874ff6882c7c191582b66e092ae6c5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jul 2 14:06:17 2010 -0300
Store class orignal name to future use.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 95b44627e2080c25a6fba858b18a68727c064d16
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jul 2 16:26:57 2010 -0300
Add support for static fields.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7a726a6338e80bdfe9a4a926af29176012859f88
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Thu Jul 1 16:15:47 2010 -0300
Do not write setters for const fields.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit aa333111a036873d2942fa949901d5634c5f44a7
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 30 18:08:24 2010 -0300
Implemented support to namespace.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Hugo Parente Lima <hugo.lima@openbossa.org>
commit e4d8e78f5390b54338a1229f7e8d9c73a1930f1e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 28 08:21:41 2010 -0300
Added test for finding type scope in cases involving inheritance.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 8c973bffccd02365e855af602dc108aa8ba59b72
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jun 29 17:46:29 2010 -0300
Create specializations for createWrapper function when a class inherits QObject.
We need this to call PySide::signalUpdateSource to setup the signals on objects
originated from C++.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 346b26bf5a37117f2fca587d8add5611910e2736
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Tue Jun 29 10:03:03 2010 -0300
Fix bug#256 - "PySide does not support signals with containers."
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 72cf2ba5a39e3f2008fbb5e24ed59ff3cb3955fb
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Fri Jun 25 16:31:53 2010 -0300
Fix overload decisor written on constructors.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit a553d5f1f8037b553767595f6c8b11d564e6179f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 25 17:44:40 2010 -0300
Fixed scope for class fields.
commit 0648daae2a791e2870c79ba1edd6573a41df62a9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 25 15:19:02 2010 -0300
Generate cpp file with "using namespace ..." if class inside of
namespace.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 4ca6e3d79ac57419d0c89286964445a01f8c2278
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 23 17:56:48 2010 -0300
Do not export init_CLASSNAME functions.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 9d11979a31f55f91086373764508faaaf15ad73c
Author: Catalin Iacob <iacobcatalin@gmail.com>
Date: Sun May 16 12:38:15 2010 +0200
Don't use PyAPI_FUNC in cpp files.
Using it leads to MSVC error:
C2491 definition of dllimport function not allowed
This is because dllimport should only be specified when declaring
a function not when defining it.
commit 516bdb49bbfdbd5ff916c1c5aa3997e830818933
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 23 16:55:46 2010 -0300
Fix cmake files used by other projects to detect Shiboken.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2e58a6d67c38ef627c1065fca61c3602a1eb49d0
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Wed Jun 23 16:46:40 2010 -0300
Fix cmake files used by other projects to detect Generator Runner.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit d6fe9d4e6b62ceaab016611b7f68bfadcc0d29a5
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 22 18:40:58 2010 -0300
Implementad generation of objects without namespace if namespace was
marked to gneration="no";
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
commit 2f7c24248b6f8b398b6211f3bf6e09767ea913d8
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 21 11:15:30 2010 -0300
Fix bug: "Debug build fails to run the tests (doesn't work) [_Py_AddToAllObjects: Assertion (...) failed]"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 102a3c3ae6b55f69a00a08c8a3847b114edf2322
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Jun 21 11:11:45 2010 -0300
Add unit test for bug#237.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit c20a1028599734352c7491abf539d607a9ff748d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 18 15:13:40 2010 -0300
Removed missing local include path for hash library.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit d2175970450b01829c510d745c227e8b68e1f3e6
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 18 14:49:37 2010 -0300
Find installed google hash library.
Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 3c8595282a7ba485b464b8114e8f9adb8559eeaf
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jun 18 11:43:39 2010 -0300
Fixes the build-tests by including the library postfixes in the program
calls
Author: Didier Raboud <didier@raboud.com>
Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 2da7dfc7264d366ab3de11f784a631880cbf296f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jun 17 17:48:15 2010 -0300
Updated documentation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 24edb80bfdcb2869861533eefe4016d2e04f65db
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jun 17 15:42:09 2010 -0300
Adds support for named arguments in function calls.
Only C++ arguments with default values will be turned into Python
named arguments.
commit 8681b1cc239def38edbf53d4bf77e3e6f302f344
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jun 17 15:35:48 2010 -0300
Fixes minor error in ternary expression.
commit 7d4d634e03f17c1db90ccc4230d31610d8084d96
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 16 16:32:14 2010 -0300
Adds a method to tell if multiple Python arguments must be used in the code.
The CppGenerator::pythonFunctionWrapperUsesListOfArguments(OverloadData)
method returns true if the Python wrapper for the received OverloadData
should handle with a single or multiple Python arguments.
commit a46578e6edbdc6427439830c94f0e29cf6c6a2f1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 18:05:27 2010 -0300
Added methods to check if overloads contain any argument with default values.
The hasArgumentWithDefaultValue methods from OverloadData returns
true if any argument in the overloads or in the single function
passed has a default value assigned to it.
A non-static version of this method uses the overloads described
by the OverloadData object.
Also added the method getArgumentsWithDefaultValues(func) to return
a list of the function's arguments that have default values.
commit 98350997b78efbdbe35a56a0700ac16541229c22
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 16 15:59:01 2010 -0300
Modified some methods on OverloadData to accept references to function lists.
The methods originally accept copies of AbstractMetaFunctionLists,
now they use references instead.
commit 2d7c878bc764d34f4a7649f8adc69f54ebd6eae9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 17:45:41 2010 -0300
Added method fullPythonFunctionName(func) to ShibokenGenerator.
It accepts an AbstractMetaFunction and returns the full name in
Python, including the module namespace.
E.g.: "sample.SimpleFile.exists"
commit c41a765a198af87f59857f251f695d5e2dbca3c3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 10 18:41:43 2010 -0300
Created unit tests for named arguments.
Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit dca3033db3d4f3562c838b9ee910482d8c96bc70
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 17 13:55:00 2010 -0300
Used CMAKE_DEBUG_POSTFIX in plugin name on generatorrunner.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 9214943397eb156d79c6b762460a28d458366995
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Jun 15 19:27:54 2010 -0300
Create getType function on TypeResolver.
This function allow the programmer discovery if a type is Object or
Value type.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 8671479384870a0c6f819f333adde85e66213756
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Jun 17 14:20:45 2010 -0300
Add libother directory to LD_LIBRARY_PATH, shiboken can be compiled with CMAKE_SKIP_RPATH=true.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 59af9acf0d9d12e34f97b7c6da4b2f4008ecceca
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Jun 16 18:29:33 2010 -0300
Fix bug#237 - "core dump when call wrong constructor inside of a class"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit 79c71a20c1e6d8830672b1c094ee132b99663de1
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Jun 16 15:36:24 2010 -0300
chmod -x on all tests.
We can't run they standalone anyway, because they need some env vars to be exported like PYTHONPATH.
commit b22d72848c3ce6a8433399a5e9e3d182ff08c13d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 15:11:11 2010 -0300
Overload decisor code modified to separate the decision and caller parts.
This makes the generated code more clear and eases future improvements
as named argument support. There is room for performance improvements.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 7f433285d4e78a9525d6b72fcaf679a208d45bf3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 15:03:45 2010 -0300
Added method to OverloadData to return the list of overloads without repetition.
The method OverloadData::overloadsWithoutRepetition() returns the
overload list of the OverloadData object removing "almost" duplicated
functions. For our purposes "foo()" and "foo()const" means the same,
so the constant version is removed.
commit 7e6b26aeeb9d97cbae6ac9fca290b109fdd2e828
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 14:57:58 2010 -0300
Added method to guess scope of function argument default values.
The default values for arguments are simple strings, sometimes during
binding code generation scope information is needed. The method
ShibokenGenerator::guessScopeForDefaultValue tries to guess scope
information for default values.
commit 93262f84164a48800024b61479ff16561ed811fa
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 14:49:26 2010 -0300
Adds a test for function call that triggers an implicit conversion.
commit c2683738a2c42447a03f0a6f369e89447374ab54
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jun 15 14:47:02 2010 -0300
Added test function with an integer argument that have an enum as default value.
commit 34c5a73107e90e874e3f392a7effb4c598882190
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 14 20:02:10 2010 -0300
Shiboken::cppObjectIsInvalid(PyObject*) now returns false when the argument is NULL.
Because NULL objects aren't invalid Python wrappers.
commit 4bab9a89c8a0bd22b1a95e46cf75d9e2dd7f42e1
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Jun 14 15:03:29 2010 -0300
Fix problems on MacOSX due to uninitialized variables and mixing of int, uint and ulong variables.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit a6e5c09a32b7f5eff5dd35664bb4bf8fa55886ed
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Jun 11 18:43:57 2010 -0300
Fix instalation on MSVC.
commit f516832ae986a42e7b01f2bcf01b1f1c76259718
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Jun 11 18:59:38 2010 -0300
MSVC complains about the missing operator< in Str when we use it on a std::list.
commit e750294ed669ec541a6d297ab4f8906e66204794
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Jun 10 19:57:58 2010 -0300
Fixed checkType of int and floating point converters.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
commit d1ec4ab5b10d8d2ef125af08bccf467076791815
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Jun 9 16:43:24 2010 -0300
Automatically register all primitive types on TypeResover.
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit ae2d4d290427a734acc071d5e4b07ff8c4f5f68a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Jun 9 18:11:49 2010 -0300
Flush report messages at the end of program.
commit 4e58a45ea523118bef5e746edb7383c799d65a27
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon Jun 7 18:48:49 2010 -0300
Added Converter<T>::checkType.
This method is needed because you can not call Converter<T>::isConvertible inside
a Converter<Y>::isConvertible implementation, otherwise it'll create a 2-step
implicit conversion.
commit b5e3a03a2f5907fb1cf6673dd0c2c29930f5eb64
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jun 7 16:40:06 2010 -0300
CppGenerator now considers user defined default constructors for primitive types.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 6c1d27c84432b2551434a81fc83295bbc31b9924
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 7 11:05:56 2010 -0300
Updated documentation version.
commit 1ce9b9d85814c39e6e5fdf68b71d93a778417221
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 7 10:02:37 2010 -0300
Bump version to 0.3.3.
commit 6cab3f6c9a61fae52b45f8c08a52576a429ed371
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Jun 7 09:55:22 2010 -0300
Bump to version 0.5.1.
commit 1681b7fd0735d56efe6b3eb86191eda463f3fde9
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Jun 3 12:03:21 2010 -0300
Bump version 0.5.0
commit 8c886a1d9c24d00e52c6dab1e37b96268e588fc3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 2 14:45:08 2010 -0300
ShibokenGenerator::filterFunctions method becomes static.
It doesn't use instance information and can now be called by other
static methods.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit be4399fccc20a9c957722a305cc604526fc9bd61
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon May 31 15:53:17 2010 -0300
Added methods Generator::findAbstractMetaEnum.
The new methods returns an AbstractMetaEnum for a given
TypeEntry, EnumTypeEntry, FlagsTypeEntry or AbstractMetaType.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit c81e079e0ac53c96d87e32e060a9b98f6a563bfc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 2 18:27:42 2010 -0300
Avoid crashing CppGenerator if the module entry couldn't be retrieved.
commit e2738233c5bffb1fd0ad0f44c1a930c366329faa
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 2 13:33:59 2010 -0300
Added support for protected fields when not using the "protected hack".
Tests were also added.
commit 7bc6f1512b1febc026d81917f33b1ea90d23fe24
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Jun 2 07:57:07 2010 -0300
Fixes code generation for classes with private destructors.
This fix is specific for the cases when the "protected hack" is
turned off.
Also added some tests.
commit 47d4a1f545eb7f348e46d39230a73a1b465e57a4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon May 31 15:25:12 2010 -0300
Generator improved to handle protected enums without the protected hack.
commit dfdc92fbe5288064987beb097f50a73a63d2546e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon May 31 10:02:21 2010 -0300
Adds protected enum test cases.
commit a7ff3eba6db91b02b64fd3eb188c78c66b282c0b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri May 28 10:33:41 2010 -0300
Fixes generation of classes with protected virtual destructors.
The problem appears when the binding is generated without the
protected hack.
commit 4aad76e02a6d4d39b018b83e0d21fc976b153930
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 14:00:51 2010 -0300
Use external CXX_FLAGS on compilation flags.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 28dc75fbf711f90ea96c0f0cbef21bc9fe2f0ab0
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 14:01:43 2010 -0300
Use external CXX_FLAGS on compilation flags.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit e6071345414a61032c6dac2928703c3f500ae7fb
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 11:02:48 2010 -0300
Disabled GCC optimization flags by default.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 4bd6afcca5854f6f0d706f226ca8ddf825349b76
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 28 10:59:55 2010 -0300
Disabled GCC optimization flags by default.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit ba2f7e3391bd05d79f861d14bf34ebb0205d78e4
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed May 26 10:46:16 2010 -0300
Fix Shiboken version number to generate documentation.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 440715431fb1abae0a089eaeae76df0686558097
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 26 19:28:08 2010 -0300
Fixed declaration of class SimpleFile.
Move FILE member to internal structor to avoid errors on compilation of
debian PPC.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 48f7e2ae85aeb2d3a5273f05d4f7bcc54e0caac4
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 16:49:16 2010 -0300
Implemented support to api-version.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 666a4deb3be66237800145ba0ad9f894575f044d
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 25 19:12:21 2010 -0300
Fixed use of constructor for code snip.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit cbd2e80d0351fa19ee1ad67f9516fa0e975fc561
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 24 15:08:14 2010 -0300
Fix segfault in function return modification.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 95b14c44b5950b6a389d4d6c29f361016ab3f4db
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri May 21 19:02:01 2010 -0300
Use ":" as path splitter on all platforms, this unique behaviour will simplify the
CMakeLists.txt and avoid configure errors on non-Unix like platforms.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit b8b2278c78a42962c0158cda2c0427c27e3be09b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri May 21 16:32:38 2010 -0300
Cosmetic changes.
- Don't use stream operator on macros.
- Avoid use of INDENT << INDENT.
- Rename some variables on generated code to follow our coding style.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
commit 980a1a15f6cc34af58c121cbdbad2e40c878617a
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu May 20 10:52:46 2010 -0300
Add a call to PySide::initQtMetaType for every type when the pyside extensions mode is on.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7bbe60a475322395eb7522a9b2fbee6682a47818
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 19 18:49:02 2010 -0300
Moved creation of MetaObject before injection code on constructor.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit b71a7511d8b76922b738c0f8102a85d27b673b8e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 18 11:40:04 2010 -0300
API fixes.
* Export enums without macro
* Declare virtual destructor on all classes with virtual functions
* Fix extern "C" declaration scope
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
commit 960774e63afe0a9386383c71c4831fab7c42e790
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon May 17 14:13:26 2010 -0300
Export signals to the generated cpp files.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 226144304f75e749424a9f7ae2dc9a566c3cfc4e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 14 15:16:22 2010 -0300
generate code necessary to register signal and slot.
eviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit fc7800974e6a9830ebb4fc583763b038a63ae231
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed May 12 17:18:02 2010 -0300
Replaced current generated code to DynamicQMetaObject to new way, to
allow collect PyType info.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 2351a7009b83beadb12c75210278684a5b08b362
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 10 11:44:11 2010 -0300
Created userdata on Python type object.
User type userdata to store metaobject information.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit e3f3c1007a435e647eb0ee026559b9a64b44da9e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri May 7 10:09:10 2010 -0300
Register values types as object types too.
Fixes bug #121.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 7271b442d9393add8a3da3e66e5462ad553c87c6
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 18:47:05 2010 -0300
Bump to version 0.3.2
commit 56904856fbbc83b9face41edc0af3049273abe42
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 18:44:24 2010 -0300
Bump to version 0.4.3
commit d269b0d39f370735abe37a2466e2be97dd94af2f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 11:21:53 2010 -0300
Updated git-archive use to keep compatibility with git version 1.6.
commit 409358b63cde1e287b69888c7d27f2ad3482e16a
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 11:08:14 2010 -0300
Fix SONAME, as proposed by Didier Raboud.
commit 6546f3a0ce260167a6202be007976bf6a192a406
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 11:10:48 2010 -0300
Bump version to 0.3.1.
commit 7c219799688ec0704dcd3cb9112b75c7603e6dac
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue May 4 11:03:11 2010 -0300
Updated git-archive use to keep compatibility with git version 1.6.
commit c7c9e25d2a8ca5272baaad651b0e985213f59dcd
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 10:56:08 2010 -0300
Fix libgenerator SONAME.
commit 92c88418c8c737dd55d35fbf1d28729ac01445b0
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue May 4 10:56:31 2010 -0300
Bump version to 0.4.2
commit 7a4e7f84b5822a6aca1d1d773c3a2df326111aac
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 3 18:53:12 2010 -0300
Created file .gitattributes.
commit 5cf1569284d049bdc5254547a6b58b7a685ee2b3
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon May 3 18:48:52 2010 -0300
Create .gitattributes file.
commit 8602ed0140f92884516b5e48ff685d6f90227980
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Mon May 3 16:38:16 2010 -0300
Do not crash when the given table is wrong.
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit ab1cfe757ef719ded786f2d4d1e6a06132e1f228
Merge: 425fd9e 29ad9f3
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon May 3 17:24:55 2010 -0300
Merge branch 'websiteupdate'
commit 29ad9f3baf3540a82c008d66373e7e8534aff5a6
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Thu Apr 29 15:14:05 2010 -0300
Update shiboken documentation.
commit 425fd9ef6e65aa1c951e761d33ef1cbcd3571c22
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 30 10:49:52 2010 -0300
Added tests for user added functions declared inside namespaces.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit 60c2c6adecf05648e2938995f7f5c6969303d0ab
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 30 10:07:17 2010 -0300
Fix bug #212
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit d402db5680452241a5b85f7a4fd7db9bcc9ddbb8
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Apr 29 18:41:50 2010 -0300
Adding test for #212 - Overloads with enums
commit 902c70b6f34c6c712d867047d2e58ac41864c0be
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 11:21:42 2010 -0300
Use translateTypeForWrapperMethod for all types.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit 6553c81c39d5c2c6cbea2b6350052493b388419c
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 11:20:36 2010 -0300
Removes random pasted code?
commit fac083e1a889da4e3c65b3dc5db536da3252eb95
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 11:19:44 2010 -0300
Known what flag to use on PyBuildValue when a container is used.
commit e34d19b113b6460560de61e5ba40068f91b991ef
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 29 09:02:02 2010 -0300
Use qualified C++ names on multiple inheritance helper functions.
commit fa4b91e8de101ffb63dcfee6ae95a36e5755fb77
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 29 11:10:23 2010 -0300
Fixed refcount leak on virtual functions args.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit 55e4336840093a118da89602b43b91f36a115344
Merge: 4939c25 da4915f
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Apr 23 15:33:05 2010 -0300
Merge remote branch 'luck/fixprivctor'
commit 4939c254ad0710783bc8cc1ce51a9228990ad5e2
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 22 17:51:10 2010 -0300
Fix problem when 2 globals functions with the same name were declared in different headers.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit 842677f082fc2f08a36d17541993aa39605f8b8f
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 19:48:24 2010 -0300
Do not delegate inner class initialization to the enclosed classes.
The same applies for namespaces, so all classes are directly initied in
init_MODULE function. This solves some bugs regarding class dependencies
and their initialization order.
commit ffbe891de37f48aa3ae8210e306d7e10adf0df7d
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 19:44:28 2010 -0300
Add namespaces to the array of type indexes.
commit 3b75837ab1250e9cd2edde24c0e36c19ede7baf8
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 19:42:11 2010 -0300
Remove generation of unused code.
commit 3b2ea763f95723e33105accf7a3fd0535cb67f85
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 16:50:00 2010 -0300
Use qualified class name when callign a method like self->ClassName::method().
This fix some problems compiling bindings for classes under C++ namespaces.
commit 5c59d232ecd1c03f920a11cd899e0699fc70c96b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 16:09:52 2010 -0300
Added support for enums inside classes inside namespaces.
commit ee42bc70bf41683d99a6862af22a1f4b3e006311
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 15:36:20 2010 -0300
Write converters for classes inside namespaces.
commit d69b148ea0666e55fa283038287328699eb86bc4
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 15:22:02 2010 -0300
Minor tweaks in global header generation.
Also uses FileOut class to write the file, so the file is only written if needed.
commit 735a1c4fd5a1af96fb26793a707c4151094bae9c
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 14:37:01 2010 -0300
Add test for classes and inner classes inside namespaces.
commit 541a47b1c003cfc9eaec685918ad54a463f202c2
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Fri Apr 16 14:36:13 2010 -0300
Add declaration of global functions on sample typesystem.
commit 63bb4a282c30d7ceecf4f23465db48524a20ebf7
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 14 14:15:55 2010 -0300
Add include headers of global enums.
commit 7384ec7a48990cdbf1a44d52e2d17ac62d429b76
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 15 15:25:42 2010 -0300
Adapt to changes in ApiExtractor
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
commit 068ac86d025006256aa1edfcccf4304bcd280779
Author: Carlos Goncalves <mail@cgoncalves.info>
Date: Wed Mar 24 23:44:39 2010 +0000
Do not build tests if explicitly wanted to. Default is to build.
The majority of users don't need tests built. This will reduce build time
significantly, and packagers will be thanked for it. To not build tests append
-DBUILD_TESTS=False to cmake parameters.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
commit b24af354ea6f05253150179467aa77e7c999611e
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Apr 20 19:56:45 2010 -0300
Fixed argument policy propagate.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
commit f149e00720e33fa625466133ad415671d09c6202
Author: Carlos Goncalves <mail@cgoncalves.info>
Date: Wed Mar 24 23:28:38 2010 +0000
Do not build tests if explicitly wanted to. Default is to build.
The majority of users don't need tests built. This will reduce build time
significantly, and packagers will be thanked for it. To not build tests append
-DBUILD_TESTS=False to cmake parameters.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
commit da4915fd1ddfd1e04a6ef21b0117d83fc7fe2d5d
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Apr 14 19:14:21 2010 -0300
Support to "only private constructor available" case.
commit f0f1aa01139a073430eb2c5feb767dedc45d3b4f
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Tue Apr 13 17:39:41 2010 -0300
Fix memory leak when calling methods with some caracteristics.
To leak memory you need to call a method which the C++ version have one or more
argument passed as reference, so in python you pass a implicity convertible type.
E.g.: the method expects "const QString&" and you pass a Python string which will
be implicitly converted to a QString, the memory used by this implicitly generated
QString leaks.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 22ca04e79698d7cd630134dab0e497ae4efa624e
Author: Thomas Berg <merlin66b@gmail.com>
Date: Sat Apr 10 16:39:04 2010 +0200
Remove export macros from inlined classes.
The GilState and ThreadStateSaver classes are purely inline,
and should not be declared with dllexport/dllimport macros. The
dllimport macro forces MSVC not to inline the classes in client code,
which causes linker errors, since the symbols are not included in the
shiboken dll.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 25c3249b514a3311337aadf8d29d600591a28d0d
Author: Thomas Berg <merlin66b@gmail.com>
Date: Sun Mar 21 03:02:22 2010 +0100
Add missing include for MVSC.
commit f1286fb409867f5844954b53b0e86b8490267263
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Apr 8 14:53:34 2010 -0300
Unit test for multiple derived classes.
commit 4623048983f0c230c47909545cb457018d97951b
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 8 19:19:45 2010 -0300
Remove warnings about "deprecated conversion from string constant to 'char*'".
These warnings are due to the Python C API using a char* as parameter when
it should const char*.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
commit 3b61b201210760c922a293f79f5904ba51cda4e2
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 7 18:01:34 2010 -0300
Remove extra blank spaces added in generated code.
"return Foo() ;" becomes "return Foo();"
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 62c909a374789f16ad97014464f91821f714cea6
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Wed Apr 7 17:31:22 2010 -0300
Better error messages when reimplementing virtual methods.
commit 0650666ccfe1ac83b20a4ffffa1d8b61669c2dd8
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Thu Apr 8 14:26:46 2010 -0300
Add another test case to multi_cpp_test.py
commit f06b4c2dd7b07482c5c465935fccfb56a7f3285b
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Apr 8 17:29:56 2010 -0300
Adding test for mixed Python/C++ mult. inheritance
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit a58bd1e5072e84882b13d10da9e051cb8eede5ed
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Apr 7 18:44:49 2010 -0300
Adding multiple inheritance + virtual method test
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit b312f591f757af4616c87e5c5cc477150cd032ca
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 18:25:42 2010 -0300
Only convert None to a null pointer when there aren't conversions defined for it.
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
commit 71f54720342ad64826fa469c18e22ec7bcde0b4d
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 18:24:43 2010 -0300
Small cosmetic changes to the generated code.
commit 140eab5f0afaaad6f0f1c3ccec507692cf68ce13
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 16:58:36 2010 -0300
Fix crash caused by a None type passed as argument in comparison functions.
commit 2f9545f876f13cf53d795c488d04dd4cdfd654af
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 16:57:35 2010 -0300
Add extra options for ShibokenGenerator::writeBaseConversion.
commit bc4b77ef8cc4f17973d416c44521c65b66bc2bc7
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 16:55:05 2010 -0300
Added unit test for crash with references, None types and comparison functions.
commit 72af00dc0491b5c2f14bf0fd3c4d2c5e3fdf4c71
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 16:54:10 2010 -0300
Do not segfault when a null pointer is passed to Str constructor.
commit 8752f1655bbd65cd5588fa6246c1fe274e2a0f5e
Author: Hugo Parente Lima <hugo.pl@gmail.com>
Date: Mon Apr 5 16:53:29 2010 -0300
Do not write Py_RETURN_FALSE twice.
commit 319e5f2467e8682865f1206ae4ce4b3e2bdff147
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Apr 1 18:10:37 2010 -0300
Added enum meta type, this will ease you to known if a PyObject is a Shiboken enum.
commit 9a5e72d08f908183d7bf8abcb3546cf509f9362d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 31 16:25:20 2010 -0300
Added flag is_user_type to identify types created by the user which inherits binded types
from binded types.
commit c6d32c0339749257ac1b97a48f3c8fdd6f10e50c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 30 14:44:24 2010 -0300
libsample's Point extended with a reverse operator defined in libother.
The libother's Number class now defines a multiply reverse operator
with libsample's Point class. Tests were added to check if the
generated binding correctly calls Number.__rmul__ method with
Point as argument.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 7c7d35f56293f4b7d7ce000bc03bab6f4d9994be
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 30 14:42:44 2010 -0300
Improved the code that calls reverse operators added in other modules.
The previous generated code were generated only for shift operators
(<< and >>), this version works for all binary operators.
commit 72647558891dff9d80aa9013f3bd6a82fe53753e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 30 14:37:23 2010 -0300
Extended extended reverse shift operator test.
Just added the basic case of "Collector << ObjectType".
commit 60b8cc95b2ef28d7e253b813f0db0d31cb8ae845
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 30 11:47:08 2010 -0300
Version bump to 0.3.0 due to many ABI changes.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 1262d40cefc7fdfce799871160473fdaf5bfa553
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 19:32:46 2010 -0300
Do not install all headers, just the necessary ones.
commit e111bc2f3398d6855dc5e4309d5e45d85d6aae63
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 18:38:09 2010 -0300
SbkBaseWrapper_Dealloc_PrivateDtor renamed to deallocWrapperWithPrivateDtor.
commit 1ef34b1c56ab65bdc572cac4728dfa3dec5456ca
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 18:24:34 2010 -0300
SbkBaseWrapper_clearReferences not exported anymore.
So it was moved to basewrapper private header.
commit b634bc0b55e940ed5ad014dcf1245c91f06f52ba
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 18:20:01 2010 -0300
SbkBaseWrapper_keepReference renamed to keepReference.
The huge prefix was removed because we are already under Shiboken namespace.
commit 1da0a532711cfd3165d5c3d2723fa715c4e31175
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 18:13:45 2010 -0300
Class Shiboken::ParentInfo doesn't need to be exported.
It was moved to basewrapper private header.
commit c0c093d485798aec96ea7a7230c0639797cd9830
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:47:02 2010 -0300
Add support for multiple inheritance involving more than one C++ object.
commit 6046687f8f78e1b674e7b4265ce5fb93dce078eb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 18:08:42 2010 -0300
Removed "Shibo" prefix from ShiboParent and ShiboChildrenList.
We are under Shiboken namespace, so there is no need for yet another prefix.
commit 8af03b6247eb8620ebc91bed8006206a70e24d79
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:54:04 2010 -0300
Move all python2.5 compatibility code to a separate header.
commit e5d554bb614ab0c1a9c057d2d191cb62b3355a82
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:34:57 2010 -0300
Use PyTuple_GET_SIZE instead of PyTuple_GetSize.
commit ddd02b6aaf1de46005f7387d5f64f4edde6af7d8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:32:27 2010 -0300
SbkBaseWrapper_New gets a non-const void pointer instead of a const one.
The motivation is simple, we will change this pointer a lot, so it must not be const.
commit d3b8a53760ba7c768aaeb547ea541f0806e6e999
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:22:40 2010 -0300
Use a non-template function for Python object deallocation.
commit b0f8a5c519297bff918c864e76a3bc66e51980c9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:14:34 2010 -0300
Added some simple tests about multiple inheritance from two C++ objects.
commit 83f06bf7d0f5b6f32bbb652973f11b6eb60cd2ba
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 29 17:08:27 2010 -0300
On setParent, when the child is a sequence, do not always call setParent for all elements.
Only do it if the sequence is a native Python sequence.
commit 669a4c45eb61d769bc46c976e2b0c50aed25e80e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Mar 25 20:04:02 2010 -0300
Add std::ostream& operator<<(std::ostream& out, PyObject* obj) to create better and easier debug messages.
commit 42276efa04d94d79b0b98d070550e95f67870ae3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 24 20:30:01 2010 -0300
Fix setParent function when the child is a sequence object.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 306a4e241ad54ccb96e85e4d5bd532eff83a8a1f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 26 15:54:27 2010 -0300
Fixes type casting on generated copy constructors.
If a C++ class "A" with a public copy constructor has a generated C++
wrapper, the Python wrapper constructor should cast the given argument
that comes as "A*" to "AWrapper*" before calling
"AWrapper(const AWrapper&)".
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 817e90dab1c2727bf4e5b96fdf1ba8a39dfd0736
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 24 17:48:35 2010 -0300
Adds test case for libsample's Size class copy constructor.
Also fixes samplebinding type system indentation.
commit 03525843adab2fceda8c1e3aa2d9f1ad72bcda89
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Mar 24 17:44:02 2010 -0300
More descriptive warning message on OverloadData::sortNextOverloads().
Also fixed some typos and imprecisions on comments.
commit bfa9fa8a904b5759e0b1b967e29fc0820f25eaec
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 24 14:10:56 2010 -0300
Add SOVERSION to libshiboken
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
commit 5a139c46996ba2ee5459afc64263ebd7867aa50f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 23 17:30:55 2010 -0300
Shiboken generator and libshiboken now share the same version number.
Version bumped to 0.2.0.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
commit 519344814bcedf55b6e3073b80939fc8ec9370db
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 23 16:55:46 2010 -0300
Changed routine to create source packages.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauto.neto@openbossa.org>
commit 1cd5adbb53161e3fbe7e016ffb580c81b5ec8205
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Mar 23 16:48:43 2010 -0300
Small fixes in documentation
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit e253f00a604ffad4398173bea2916ca4d28ae1c4
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Mar 23 16:48:10 2010 -0300
Adding basic compile information
commit 43bc4ffc096abf7695c1b1051793744a15a86512
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 23 16:03:23 2010 -0300
Remove duplicated definition of libshiboken_VERSION.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
commit 26c960fc8e893a4edc655d8548a5ec56f7262bc4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 23 12:47:33 2010 -0300
Fixes Converter<void*>::toPython method.
The void* converter transforms a C++ NULL pointer in a Python None.
An unit test for this case was added as well.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
commit 81c7eb43c6d6990768348de63dbc9a6da5dbd976
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 23 11:11:28 2010 -0300
Changed routine to build source packages.
Our changelog is just the output of git log, so it's added only on source packages
and don't need to stay in the git repository.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit a38c294732542b8d25ca1a34856c2ffa4fa2b1ac
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 23 10:43:25 2010 -0300
Enum's __invert__ method must use 'self' argument.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit a0a406b06c46f3f8f678e57807037d7a8d34d08f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 23 10:42:48 2010 -0300
The __not__ method is not generated any more since it is not being used.
commit 7f74f2f556677ce0685b92ac02570cbdbadb5f43
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 18:52:23 2010 -0300
Bump version to 0.4.1
commit 8dd68f78c4b3fde0484e1c45f793a5aed81ae7bf
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 18:51:12 2010 -0300
Bump version to 0.4.0
commit fc635bdc0a32888745d4428e6e033da7a9afbc7c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 17:22:37 2010 -0300
Adds tests to type system modifications regarding reference to pointer type.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 60b44f86deb16f925dc5fac4602c638c47cbc614
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 17:07:57 2010 -0300
Fixes virtual method writer to handle modification to return type.
No code is generated for return value conversion on virtual method
callers if code is provided to handle said conversion via code injection
or custom conversion rule.
commit 53927d41dd236d21e58d2c88371880ebbacf1fef
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 17:05:45 2010 -0300
Fixed virtual method callers to consider modifications to return type.
Type modifications done to the value expected to be returned by a Python
override of a virtual method are now handled properly.
commit c5ad7e927b7a27f0c38d547fe4d6d66540bc4f75
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 17:03:21 2010 -0300
Updated ShibokenGenerator::injectedCodeHasReturnValueAttribution.
The method now checks native code injections instead of only target
language code.
commit 2d01f9d633e74718669bc40e9789ed513dfc8b59
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 22 17:00:31 2010 -0300
Converter<T*>::toCpp specialization now converts None to NULL pointer first.
With the recent changes to Converter's behaviour, in particular to
isConvertible method, Converter<T*>::toCpp must deal with Py_None
values first.
commit c8ee3423948143cf1123586e6a95ebaa5578dc14
Merge: a50c2a8 fb5d06e
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Mar 22 16:23:58 2010 -0300
Merge branch 'operator'
commit ab48c49c3ac0c545e90126d3d1be2d310ba3bdf6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 14:55:14 2010 -0300
Fix pkgconfig libdir variable with lib64/ or lib32/ directories.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
commit a50c2a87185d0caeada88a658547c58f87a9d0bb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 15:00:03 2010 -0300
Fix pkgconfig libdir variable with lib64/ or lib32/ directories.
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 4ffdd19f47f5f159cae856695d9528b23ce62eae
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 11:36:23 2010 -0300
Fix CppGenerator::writeMinimalConstructorCallArguments when the class has non-primitive
types with default values.
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit fb5d06e1fed8942ffc934f2ae77c9464e0f8ad40
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Mar 18 15:27:57 2010 -0300
Make sure reverse shift operators are called
Solves #119
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 50e58a81949c32c3154f5bd65fc68f2b3f8d7d26
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Mar 18 17:39:20 2010 -0300
Adding greedy method to Collector
This method will somehow conflict with the external
operator in libother OtherObjectType
commit d4e41a5795d74d8ad55069374c34d2dc0a4c33f6
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Mar 18 17:20:21 2010 -0300
Adding OtherObjectType to libother
Used in external reverse operators defined in other modules.
commit 60e06714df272ceac68e7e4c46116cd11e6f8eaa
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Mar 16 19:54:51 2010 -0300
Fix SbkBaseWrapper_Check cast
commit d96d5df9b8d3f5caaa66a7f75f2f8fe1a1395159
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 14:42:32 2010 -0300
Fix error message for containers, replacing QList by list, QHash by dict, etc.
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit c1bc5071b0f513ad1e8622f76f9c3db4229480fe
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 22 14:54:46 2010 -0300
Change the application name on help message, besides the copyright year.
commit 3cff3536c819b0c79aea9b5b72301622eea62c76
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 19 15:24:52 2010 -0300
Pass QHash by reference for dumpDot method.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
commit b8de1873b727e57ce627a3826e2fc7c3874a847d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 19 12:04:00 2010 -0300
Adds a test for a method with modifications and custom conversion rules.
The test function does nothing in fact, it is there just to
cause a situation that could cause a compilation problem if
the generator is not working as it should. In other words
if it compiles, then it is ok. :)
The added method was a dummy clone of a similar QPixmap.loadFromData
method signature that prevented QtGui from compiling properly.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
commit 0dad65f437926bb6520e022e533c08381056f890
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 19 11:44:46 2010 -0300
Better handling of replaced types and custom conversions in the overload decisor.
commit 18939a16a6ec9963887e00fd63918b7deb740fde
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Mar 19 11:41:42 2010 -0300
Adds ShibokenGenerator::buildAbstractMetaTypeFromString.
This method tries to build an AbstractMetaType from a string, it is
used by guessCPythonCheckFunction to better handle type replacements
identifying types already known by the type database for the currently
generated, instead of treating said replacements as mere blobs.
commit 72786ec7a77908530080f1e44a12080128b8c367
Author: Matti Airas <matti.p.airas@nokia.com>
Date: Thu Mar 18 16:29:42 2010 -0300
Minimal grammar fixes
Reviewer: Hugo Parente <hugo.limra@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit dd70b0c75366379f89e0bb46c15638d5f54904ab
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 19 14:55:33 2010 -0300
Added a unit test to check the object-type hashability.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
commit 42fd70af65f843853df851657f175351c072ff76
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 19 14:48:54 2010 -0300
Allow hash-function tag to be definied in object-types (Fix bug #186).
commit deca7c24a273857d6bc3f735fdea863265a2bc1f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Mar 18 17:41:08 2010 -0300
sortOverload function should use not use primitive types aliases.
Also in this commit: enums now takes precedence over unsigned int and unsigned long.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
commit b1eee94589cc0337ea8a26fee0c523582a0419e3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 17 16:34:07 2010 -0300
Write enum checks before int, long and bool checks.
Enums are implicitly converted to these types in C++, if we dont do that
the enum version of some functions can never be called, because the int one
will be if the int check was written before the enum check.
commit 75ce5d993f212581ba2fb1e623fed2c585f1c216
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 17 14:12:00 2010 -0300
Speed up conversions of lists from python to c++ if the list class
is binded by Shiboken (like QStringList).
commit 1c1002df611d9f0283379a94e943c0563a9f8804
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 17 14:11:02 2010 -0300
Added ObjectTypeReferenceConverter, so object-types can be used as references.
commit ca2febda4080bb7ea2bd94aa9c8bf3ce18dccac0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 17 14:09:23 2010 -0300
Sequence conversion are made ONLY for python sequences.
Not for binded types implementing sequence protocol, otherwise this will
cause a mess like QBitArray being accepted by someone expecting a
QStringList.
commit b6e8e35cdcf9946ad6672df340b55fa8843b72b9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 17 14:08:42 2010 -0300
Added Shiboken::isShibokenType function to check is a object have a type
generated by Shiboken generator.
commit eb27a7968d34b6fd7f46324bab313ee5956f8c74
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 16 14:15:44 2010 -0300
Just try to reduce a bit the noise in source code caused by the use of templates.
commit 12a36f7c83326c22b46cbc4d6ce7c76c545826a7
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 16 13:50:45 2010 -0300
Add a default implementation for SbkType, so not binded types will return a null pointer.
Pro: Will be possible to write template functions to handle sequence conversions.
Cons: We will not have an unresolved symbol when an error occur on generator.
commit 94e1c785c8d6f3dca195f1005fe0c3ee0f02ead5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 16 13:43:27 2010 -0300
Move the checks to verify if an object is invalid to Shiboken::cppObjectIsInvalid function.
commit 59c0dc6bd2a86207d5f500d767bea98c8c16d3e9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 15 15:42:33 2010 -0300
Renamed templates used for conversions of containers.
commit dc8dcf70f06304105d9a4e6467d98a266dbfe78f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 5 15:43:14 2010 -0300
Changed the semantic of Converter<T>::isConvertible method.
The new semantic is:
Returns true when the type can be converted to T OR the type is T.
The old semantic was:
Returns true when the type can be converted to T and false if the
type is T, however int and float converters did not follow this
rule, because they used PyNumber_Check on their isConvertible implementation.
commit f52951862649d104abf664da5d456b0e0bb987fd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Mar 15 14:34:40 2010 -0300
Added test for conversion of lists with invalid contents.
commit 579e99ea8c58f3a7d11d5e7549cb3383a68500a5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 5 15:38:41 2010 -0300
Do not incref and decref the python dict reference on python to c++ conversions.
commit 1a259891dfe104c204da3ae06bc3e3924e98de26
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Mar 5 15:37:11 2010 -0300
Fix reference leak in StdPair converter.
commit 7dc3fd531da613df2ffee3ae152c316021bb0e2a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 15:10:06 2010 -0300
Remove boost::graph dependency from Shiboken generator.
commit 10872ead263959d103eea17507f6ccd16757e8b6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 15:09:43 2010 -0300
Object-types are not copyable at all.
commit 199baeb498888cc12b1751f689b9bad79f03705f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Mar 18 19:23:32 2010 -0300
Fixed error checking about already existing conversion rules.
The error checking that avoids duplicated conversion rules
definitions applies only to general type conversions, not to
cases specified to a function argument.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 21bcdc289ba9ece35780369a5e86a68498a6ddae
Author: Matti Airas <matti.p.airas@nokia.com>
Date: Wed Mar 17 17:09:15 2010 -0300
added support for pure virtual methods returning void ptrs
the return statements now have correct values for pure virtual methods
returning void pointers. also added a dummy test for this (can't really
test it properly until the semantics of casting the python return value
into a void pointer is properly defined -- if ever).
commit f9b62c6a5b3f7232bb00a5ab39fd8037fc9c7d81
Author: Matti Airas <matti.p.airas@nokia.com>
Date: Wed Mar 17 17:01:27 2010 -0300
bugfix: always write the return statement
the return statement within the error block was only written if there
was something to return. now an empty statement is written if no return
value is expected.
commit 5d89be16960be4aec9ba8c8709e3902794521ce5
Author: Matti Airas <matti.p.airas@nokia.com>
Date: Wed Mar 17 16:20:03 2010 -0300
fixed a typo in the test class name
commit f4db0c74e0f267c102fff6eb47ecc3eae628a637
Merge: dbeca96 edc9cbf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Mar 4 16:34:45 2010 -0300
Merge branch 'master' into extensibleconversions
Conflicts:
cppgenerator.cpp
libshiboken/basewrapper.cpp
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 571a17cfcc76ad5f27fa1627b9ffd90aeb56e554
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 11:26:43 2010 -0300
Fix conversionoperator test code.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
commit edc9cbfcfde439ccfe7100f53efc5d1e4ec34480
Author: Didier Raboud <didier@odyx.homelinux.org>
Date: Thu Mar 4 16:25:14 2010 +0100
Link shiboken_generator against apiextractor
shiboken_generator uses several apiextractor symbols and classes, sot
it must link against it.
Reviewed-by: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
commit 36376eb1c97cad139b40197cefd6650e8afc49b2
Merge: a6c665d 8287b5b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 17:47:12 2010 -0300
Merge remote branch 'hugopl/typediscovery2'
Conflicts:
libshiboken/conversions.h
commit 8287b5b65ac0bd697f45bdebe833ad36263dfc75
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 2 16:30:48 2010 -0300
Init tb_base of SbkBaseWrapperType_Type on struct declaration instead of
on initShiboken function.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
commit 1b6264028ad7edbcfddfe163d4c2156d7e626717
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 11:25:53 2010 -0300
Disable debug output about typesystem on conversionoperatortest.
commit 84b8b4a5b7581c4076bfbf1a19a324cb0561baae
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Mar 3 11:15:53 2010 -0300
Remove Boost::graph dependence from ApiExtractor by using our own code
for graph topological sort.
commit dbeca960863dadbe8d496195bc60202619314214
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 17:22:47 2010 -0300
Adds tests for a class without implicit conversions being extended in another module.
One value type class, called NoImplicitConversion, without implicit
conversions of any kind is declared in the first library, libsample.
In the other library, libother, ExtendsNoImplicitConversion defines
a conversion operator to turn itself into a NoImplicitConversion class.
The unit tests tries to pass an ExtendsNoImplicitConversion object
where a NoImplicitConversion is expected.
commit 5a76209fc8e75b3201dbaded61d626bfb4712e43
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 2 15:21:21 2010 -0300
Remove the "(destructor)" cast to avoid wrong code to be silently compiled.
commit 6876a8978adc8f6ca08a6c4bd876d2d44babfdac
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 2 15:09:17 2010 -0300
Turn Number::m_value private to not cause problem when compiling with "avoid protected hack" on.
commit 3a4263a603b8caa4f93dcd534971bf7ffaf65e9f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Mar 2 14:34:01 2010 -0300
Use polymorphic-id-expression to discover the correct type of a C++ object.
commit ac7573693042bc8f9d4d94958d89d5b15add39f2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 26 14:57:06 2010 -0300
Add test for bug on the current type discovery algorithm.
commit cff48628063b8cf145c01a0f84c19fabd75682db
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 17:10:32 2010 -0300
Adds support for extensible converters for value type classes.
Value type classes without implicit conversions use the default
implementation provided by ValueTypeConverter. This commit updates
ValueTypeConverter to check for extended conversions, since even a
class without implicit conversions in one module could get some
conversion operators in another.
CppGenerator now writes 'isConvertible' calls to all object and
value types checks leaving the door open to extended conversions.
commit ddc5bef058932584f5da644b606fad74707a63c7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 11:34:11 2010 -0300
Generator now writes code to support extended conversions.
Removed "new_ctor_operator" test from black list.
commit aeb0fe66f39b46ddb2e963067c91b426f9a013d0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 11:31:36 2010 -0300
Adds extended conversions writer functions.
Adds the functions responsible for writing code for functions that
supports extensible conversions.
commit ea999da07ab6d244ffb982d7a3c86da1a8976f44
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 11:27:26 2010 -0300
Adds convenience methods to return the name of extended conversion functions.
ShibokenGenerator got the methods:
* QString extendedIsConvertibleFunctionName(TypeEntry*)
Returns the name of an extended "isConvertible" function.
* QString extendedToCppFunctionName(TypeEntry*)
Returns the name of an extended "toCpp" function.
commit caa2fdfe7fa7c9450bb06dc1e6c017a04e6fa403
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 11:23:29 2010 -0300
Adds ShibokenGenerator::getExtendedConverters() method.
It returns all types from a previous module that could be generated
by a conversion operator defined in the current module, as well as
all the possible arguments for the conversion.
commit 42154013b5ecd075288c7ccc9fe341875ad3431b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 1 17:28:27 2010 -0300
Wrapper meta type can now point to converter extensions.
The SbkBaseWrapperType structure now stores pointers to functions
that extend the type Converter methods 'isConvertible' and 'toCpp'.
This is used when a module is extended by another module that defines
a conversion operator for a class in the first module.
commit a6c665dd07b5841e033f1558b2fcf391d5fba403
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Mar 2 13:45:57 2010 -0300
Refactored and documented base Converters.
To improve legibility and understanding ConverterBase<T> was renamed
to ValueTypeConverter<T>, and ConverterBase<T*> specialization is
now an independent base converter ObjectTypeConverter<T>.
Converter_CppEnum was renamed to EnumConverter.
The HeaderGenerator and custom converters for the test bindings were
updated accordingly.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 3403bb5af2ad9bea8c119840884e537bd46ac41b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 1 17:47:16 2010 -0300
Removed unnecessary code from HeaderGenerator::writeTypeConverterImpl.
commit 62dfdd85bbcac527be99183cfc8e8f7b92902f11
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 21:43:31 2010 -0300
Don't add external conversion operators that were removed on type system file.
With tests, of course.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 34c599246c7e25194bce4157e166b9bead2a1795
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 1 14:03:56 2010 -0300
Adds unit test for implicit conversion defined by a conversion operator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit db7ce37a0de3e52f2940d8823e4308e89ffbb052
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Mar 1 14:01:27 2010 -0300
Generator noew handles implicit conversions that are conversion operators.
Previously all implicit conversions were constructors, now they could be
conversion operators, with no explicit arguments except for the owner
class where they where defined.
commit 6dbd55084104eea9a3e950456a4bf0d966ee9ac9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 21:26:13 2010 -0300
Adds the AbstractMetaBuilder::setupExternalConversions(metaClass) method.
The code to add the external conversion operators for a class found
in another class was moved to its own function, setupExternalConversions,
that is called after all classes were traversed.
Not all classes are ready when fixReturnTypeOfConversionOperator(metaFunc),
the method where the moved code dwelt, is called.
commit 6f8cde0951da369d0b2960d8634ab9cf2a4b08d3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 20:46:30 2010 -0300
External conversion operators are now part of a class' implicit conversions.
AbstractMetaClass::implicitConversions() returns externally declared
conversion operators in addition to its own implicit constructors.
The implicit conversion tests where extended with the new case.
commit 3f6b0576c90960d4474623987ccac2877a34869c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 20:21:11 2010 -0300
Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func).
The new method fixes the return type of conversion operators:
they should return the target of the conversion as type and not
the type of its owner class.
fixReturnTypeOfConversionOperator is used in traverseFunctions.
An unit test was added for this case.
Note that this behaviour could be fixed in the parser. I dare you!
commit eaec9c4a8ace3a91fccb12492d445fc939cb8bf5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 20:18:05 2010 -0300
AbstractMetaClasses now store a collection of external conversions.
Conversion operators that result in an AbstractMetaClass are added
to a collection belonging to said meta class.
commit 083d500b97e2ad5ac85402f7a6df068ca2ecbd73
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 26 15:00:19 2010 -0300
Shiboken generator now supports references to pointers as arguments.
Two methods with references to object type and value type pointers
were added to BlackBox test class just to check the compilation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 67de28cf5c65cc5137d18502caa2f0ddcd69c2af
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 25 20:22:00 2010 -0300
Rename SbkCreateWrapper to createWrapper, to follow our fuction naming conventions.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit e0c08ae6c367335a1152107e1b1e23e59e1bc3a5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 25 19:57:18 2010 -0300
Do not get the pointer of SbkType<T> function, so the compiler doesn't need
to implement this function (inlining it when needed).
This safe amazings 8KiB from QtGui :-)
commit e8483c6c8f28a8fda67443cdc4480ff4252c288d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 25 19:11:32 2010 -0300
Fix bug #142 by eliminating the CppCopier::copy function and adding it to a field in SbkBaseWrapper_Type.
commit 29364cfe33c86f9a0cd884e99e0f63d44785abae
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 25 19:08:30 2010 -0300
Added test for use of ObjectCopier of a type declared in other module.
This should create undefinied symbols on other module if it fails.
commit f1427d101d4d0d73070f250d598d7fdc64ff2b52
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 25 18:25:01 2010 -0300
Rename init_shiboken to InitShiboken, to follow our naming convention.
commit 74eb21fa674315cbfba994a451cbc58d7ffaab66
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 25 17:56:22 2010 -0300
Fix Config.cmake library path
Reviewed: Hugo Lima <hugo.lima@openbossa.org>
commit 4453b8a31a9e08b24d5f5679c990d66cbf123077
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 25 17:52:49 2010 -0300
Fix Config.cmake library path
Set to absolute path with cmake variables
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 3a184c23994189a24cb7f65dd413d32ea373929c
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 25 17:58:42 2010 -0300
Fix Config.cmake library path
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 87e9b581d64e2d34b2cc63ecc80b946be38ad190
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 24 19:30:05 2010 -0300
Fix bug#142.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> and Luciano Wolf <luciano.wolf@openbossa.org>
commit ea10af7b04f581034a32bf1f051ad0d024cfcc9c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 24 17:52:46 2010 -0300
Adds a 'new' function to the SbkBaseWrapperType meta type.
When a Python programmer extends a wrapped C++ class the newly created
type must inherit its parent class' special information (e.g. multiple
inheritance casting). The 'new' function for the wrapper meta type
copies the parent information for the extended type.
As it is now the meta type new works properly only with a Python class
inheriting from a single wrapped C++ type.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit a9a1bfa16220446594f2caa600c10f588f995981
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 24 16:10:38 2010 -0300
Remove FindGeneratorRunner.cmake file in favor of GeneratorRunnerConfig and Version .cmake files.
This is the right way to go, according to:
- http://www.cmake.org/pipermail/cmake/2009-April/028504.html
- http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit f7a2b6099245ee47cd7f87b2ca7c0a8e513797d0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 24 15:54:38 2010 -0300
Fix bug in CMakeLists.txt triggered when some paths contains white spaces.
commit 2f0a8f07a9412441d34098c26cf4360d6246e0b5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 3 14:39:38 2010 -0200
Avoid get the wrong class when using Generator::implicitConversions(const TypeEntry*) when there are
two classes with the same name, but in different scopes.
commit 490d84059bcef9b832e39a608acbbe1401347212
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 24 15:38:57 2010 -0300
Remove FindApiExtractor.cmake file in favor of ApiExtractorConfig and Version .cmake files.
This is the right way to go, according to:
- http://www.cmake.org/pipermail/cmake/2009-April/028504.html
- http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit db98871a87cf4c74f4e54b1b7185edf9ad0c0db4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 24 17:02:22 2010 -0300
Remove FindShiboken.cmake file in favor of ShibokenConfig and Version .cmake files.
This is the right way to go, according to:
- http://www.cmake.org/pipermail/cmake/2009-April/028504.html
- http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 96301fc2ee0659b2fd04db259c7440291c3361cd
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Feb 24 16:33:31 2010 -0300
Fixed QMetaObject.className return value.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 622c131f1b50f8206c189a3836fd0142163196eb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 24 15:16:34 2010 -0300
The C++ pointer for a Python wrapper is now acquired using a Converter.
The macros for casting a wrapper C++ void pointer to a specific
C++ pointer are no longer generated, converters are used instead.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 828ed8e7fc3fa0a3184ddd884e8622a0e5bde080
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 24 14:00:49 2010 -0300
The special cast function can now cast a pointer to all ancestor classes.
It also stopped using specific "cptr" cast macros, for these are to be
abandoned since they're considered harmful to multiple inheritance
casting.
commit d84917a9b4c302c0eea4ee011f23ab8ed5bb1022
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 24 13:59:07 2010 -0300
Adds method ShibokenGenerator::getAllAncestors(metaClass)
The new method returns a flat list of all the given class' ancestors.
commit c3ace01b0c18b340e2453771ab529bce694d621b
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Feb 23 19:02:13 2010 -0300
Fixed support for innerclass.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 32397a568e20d5b6860520cd45ff0833f27a8642
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Feb 23 17:38:45 2010 -0300
Remove inplace operators of flags
Enums and flags are now treated as immutable types, so
using a inplace operator will create a new flag object
and attribute it to the name which the operator is called.
flags = Qt.Window
flags |= Qt.Dialog # This will create a new object and attribute
# to flags
This was done in order to prevent changing the original objects as
the the inplace operator in line2 would modify the object pointed by
Qt.Window.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 506a97bad2ab5cf9b09f735a59f9dcea68bbd276
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Feb 23 12:45:14 2010 -0300
Adding default value for enum/flag constructor
commit 742eba6e0898f08c5ca04c1eb8292fc3d7b60a43
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Feb 23 12:38:27 2010 -0300
Fixing Enum '~' invert operator
Was being registered as __neg__ instead of __invert__
commit 58665a95e5f798f76d4ee01f2790f416d494da3c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 23 16:57:48 2010 -0300
Write hash function for types with hash function specified in typesystem.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f26689a4061e88b2f4c6bb591c076934065490d5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 23 16:56:54 2010 -0300
Add writeToCppConversion overload with AbstractMetaClass instead of AbstractMetaType.
This is needed by hash function writer.
commit 5fd502941af27f52c8c92e27ab43abafe85351ed
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 23 16:55:35 2010 -0300
Add hash function for Str and proper unit test.
commit 8b21935e055b2761cea73d2c5f9e2b23409ac3c2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 23 16:54:40 2010 -0300
Pass QStrings by const references instead of by value.
commit 1195a4e8cf7319f9bd4da248ff48e2cd0fa193bc
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Feb 22 11:38:55 2010 -0300
Add support for "signed short" type (needed in QtCore.QTextStream)
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit fe8c88c03d24219c991ff6011b96ef51515ffe4d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 23 14:41:06 2010 -0300
- Fix method writeTypeCheck, so it finally correct decides when to use PyNumber_Check or a more specific type check function.
- Promote bool type as a specialization of int, as we do with float.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 26d74212fcdb0167c71a24872434b3787f2d322d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 23 11:36:07 2010 -0300
The C++-like enum values are now registered inside the related enums.
Originally the values of an enum were registered in the scope that
enclosed the enum declaration, just like C++ does, now in addition
to this the values are registered inside the enum type.
To exemplify, the following C++ enum:
Scope {
enum Foo {
Value
};
};
can be accessed in Python as this:
Scope.Value
as well as this:
Scope.Foo.Value
The enum unit tests were expanded to check for this new behaviour.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 14a56fd8500a8746bcc78c2b1cb0683e7de8010a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 22 17:34:07 2010 -0300
Remove warning in injected code related to comparison between signed and unsigned integer expressions.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 2650f48bf987b3fb7bd80cbfaef9f9a993d32999
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 22 17:33:07 2010 -0300
Remove warnings related to comparison between signed and unsigned integer expressions.
commit bb887c264a35f550ce9551e84192f73886d2b191
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Mon Feb 22 10:46:55 2010 -0400
Fix memory corruption due to missing parenthesis in ternary operator
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit a71641d51bca4ca7ae4435f7674b7b33dab39457
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 18:18:34 2010 -0300
Adds the convenience method 'isPairContainer' to ShibokenGenerator.
It checks if an AbstractMetaType represents a C++ pair container.
Also updated code to make use of the new method.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 5ce831e73fc4b8bee7a5b62d7485eee11f498a92
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 17:49:26 2010 -0300
Adds the convenience method 'isCString' to ShibokenGenerator.
It checks if an AbstractMetaType represents a C string.
Also updated code to make use of the new method.
commit 02e5d72cceae2b03ce25068567e3c4c903a4df3d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 17:34:41 2010 -0300
The C string converter now transforms a Python None in a C null pointer.
The conversion of '[const] char*' to C++ now accepts an None object
and gives back a NULL pointer.
commit 92a957859814d40d86e7e1287ec1b9c2b717a923
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 17:31:24 2010 -0300
Adds test for C++ 'const char*' argument receiving a Python None as a null pointer.
The test function 'countCharacters(const char*)' now returns -1 when
receiving a null pointer.
commit 75507160e33339291d391cbdd0893fc0c9d4d3f5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 17:01:55 2010 -0300
Message for signature errors treats C++ null pointer as Python None.
C++ '0' (or 'NULL') default value is translated as Python 'None'
in error message for wrong method calls.
commit 4d89c3d81477a730b7d7ce6c9b5c062ee8cd1ec7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Feb 20 14:37:51 2010 -0300
All enums are now extensible to match the C++ casting behaviour.
Now the user can build new values of a particular enum type passing
an integer to its constructor. Thus, the following C++ code:
MyEnum val = (MyEnum) 1;
is the equivalent of this Python code:
val = MyEnum(1)
The enum unit tests were also updated.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 08acf3d1c3f5fd364ebd29ae00f48b6f6ad2f97d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 19 16:55:07 2010 -0200
Fix bug on overload resolution when the generator needs to decide if
it can expect the argument to be any number type or an explicty type,
e.g. float.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit a49868b79fe2c02106b7d89a502d3a86a7027398
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 19 16:54:31 2010 -0200
Added more tests for bugs found in overload resolution.
commit 7a389f29dbb34a8f557bd3375b151486aa6fdd51
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 19 16:53:15 2010 -0200
Added previousOverloadData attribute to OverloadData, so we cna walk on overload data tree.
commit be1f91e9f6849312a68b17a7677aa9133fbd45c3
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Feb 19 17:02:58 2010 -0300
Fixing array deallocation in example
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 5f80d538253837cf474fe10601374be40a2b8b98
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 18 19:17:25 2010 -0300
Adding test for sequenceToIntArray
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 4b0fa3fd45ed42cf881a25897ed66b5c0cf3a3fa
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 18 17:53:53 2010 -0300
Adding sequenceToIntArray helper function
commit f425ded9520c965202b62b1c2d172608f803497b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:28:45 2010 -0200
Some optimizations and code cleanup on conversion code for std containers.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit d0442ea7fdd623238674334889b6b096fa07b9d0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:28:14 2010 -0200
other binding does not link against sample binding.
commit 51af8146a5c3b456fec32e1f62b17c178af390cd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:26:29 2010 -0200
Converter<T> doesn't inherits ConverterBase, to avoid uneeded template instanciations.
commit b656da109ac75d18854c37b7d1d732addb1e9612
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:20:18 2010 -0200
User definied converters are written outside Shiboken namespace.
commit c0fe3e41eec887bfdde8494d860f7d359e8219de
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:18:33 2010 -0200
Add some comments on the generated global header.
commit 589c2f447187e5071094648d5fe4046784ca28fd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 17:17:27 2010 -0200
Write all converters on global header to avoid the module from exporting any symbols.
commit 985d583110b9175d8b98fcdeaa2e0d83f3cc566f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 18 17:40:38 2010 -0300
Adds test for cast operator for a class in a different module.
The new test adds a Number class to test library libother which defines
an cast operator to Str, from libsample. The unit test tries to build
an Str object passing an Number parameter.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit d55111e3521728eee0b85eac5c3054a3901e8044
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 18 16:56:03 2010 -0300
libother now uses its own library export macros instead of libsample ones.
commit 9a79bfd18af4abe30351c2091bb8ae5d3bc23b59
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 18 16:38:06 2010 -0300
Fixes method call error messages for constructors.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 01d4e01928987984c2d6b04f13794ce6776f7f67
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 18 13:59:22 2010 -0200
Write a verbose error messages when the function arguments don't match.
This will increase the binding size, so there's an option to disable
verbose error messages. "--disable-verbose-error-messages"
Reviewed by Renato Araújo <renato.filho@openbossa.org> and Marcelo Lira <marcelo.lira@openbossa.org>
commit 9dac886d87f546bd9d2ed3162192c0af5f733b74
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 17 16:51:22 2010 -0300
The generator takes "default ownership" modifications into account.
The default ownership does nothing. This is useful to avoid automatic
heuristically based generation of code defining parenting.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 21151a2f4dc03ef6d62efcfb4a0f1f9d3dcb5183
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 12 18:18:50 2010 -0200
Do not export Sbk*Type variables.
To access Sbk*Type variables from other modules, you need to use the array provided via CObjects.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit fa5740279daa22be3c424c8fab4468447b3cbcaf
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 11 11:47:27 2010 -0200
Do not declare and export *_New functions on global header.
commit d23df801cb5e7edf57a1d8613a187619d5eb989e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 02:01:54 2010 -0300
Deallocator for classes with private destructor now calls reference clearing function.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 62c590edfdbf1f4006c86b2e6f2c70cd64583553
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:52:34 2010 -0300
Fixes the type checking for class' fields of primitive numeric types.
commit 107bec51c179b74bdba888e5de4adb3b953018ca
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:47:30 2010 -0300
Removed tests related to reference keeping from black list.
commit 63be3ef99ec2e8a6e9ff00856d836f6bcb015794
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:46:14 2010 -0300
Updates the code written to support reference keeping.
The classes that kept references to other objects now make
use of the new SbkBaseWrapper_keepReference helper function
from libshiboken.
commit fb5c0970b0ada2fb5029757ecda17b11eee1ead1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:42:03 2010 -0300
The method needsReferenceCountControl checks also in the class' ancestry.
ShibokenGenerator::needsReferenceCountControl checks the object
and all its ancestry for the need to support reference counting
control of other objects pointed by the present class.
commit 2c07ee6229c012ee3624fcdf0fbb281bfef964d7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:28:01 2010 -0300
Adds support for managing objects referred by a Python wrapper.
A mapping to referred objects has been added to the SbkBaseWrapper
structure to keep track of objects used by a given Python
wrapper. This differs from ownership or parenting, since
the referee is not responsible for destroying the
referred object. It is more akin to a model/view relationship
when many views refers to one model but don't own it, and
the model must be kept alive as long it is referred.
Two methods were added to assist the reference keeping:
* SbkBaseWrapper_keepReference
Causes a referred object reference counter to be
increased and any previous used object refcount is
decreased.
SbkBaseWrapper_clearReferences
Decrements the reference counter of all referred
objects. It is called when the Python wrapper referee
is destroyed.
commit 40f7ab459308a71d5fdabd82de758f7fac01c63b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 12 01:20:03 2010 -0300
Removed some member initializations from SbkBaseWrapper_New.
The same initializations are made in SbkBaseWrapper_TpNew
which is called by SbkBaseWrapper_New.
commit 010b4230f1b643d20a42a41764d048660a2e1db1
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Feb 9 20:19:22 2010 -0300
Register enums within type resolver
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 6e0f28129b5b7f0ca9f632345ba890e49ba6b215
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Feb 9 20:19:14 2010 -0300
Adding typeresolver.h to shiboken.h
commit 2378dd2f4b79299c78e6dfaba567830c1cc5fd4a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Thu Feb 11 12:58:21 2010 -0300
Fixed error handling on Python object constructor.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 973de3370cc5c97531faf5cf57f5cb58d951bda0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 11 12:37:20 2010 -0300
Fixes problem with CppGenerator::writeTypeCheck due to a bad rebasing.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 03c865ebe0222f09099344dc3d08d1c54349080c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 10 15:41:38 2010 -0300
The tests for C++ class' fields and reference count will fail.
Tests that check if a referred object reference count was decreased
after its keeper object death. Since support for post-mortem reference
cleaning wasn't implemented yet the tests are marked as a known fail.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 29aa5049a8790dd2c758c3b76a08182dc8021c28
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 9 16:10:42 2010 -0300
Adds 'reference-count' tag to ObjectView::setModel from test bindings.
commit 5316ff58e5c527360d22cd43328990da10ce4ec7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 9 15:36:30 2010 -0300
Adds support to arguments marked as keep reference in the type system.
Every method marked to increment the reference count of any argument
must decrement the reference count of previously held objects. A
dictionary is used to associate the method overload and Python wrapper
instance with the previously set object.
commit e823354fc4e1b5518d47d986bd25b1533637e64f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 9 14:38:53 2010 -0300
Adds 2 convenience methods to ShibokenGenerator to check for refcount mods.
The new expressively named methods hasMethodsWithReferenceCountModifications
and needsReferenceCountControl returns boolean values to help generation
of code for reference counting support.
commit 8eb50faa234bc5d26ac721ca8fe5f263cf55230d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 15:08:47 2010 -0300
Adds CppGenerator::argumentNameFromIndex method.
The method returns a textual representation of the argument index
for the given method.
commit 18e0f058e4d293ba9c75f73529e946c46eb89873
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Feb 5 11:42:19 2010 -0300
Adds tests for reference counting in model/view style relationships.
commit 54b41b60e7c1b5bf2597cf1cc3ca4da428f2437e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Feb 4 20:05:10 2010 -0300
Fixes reference counting for public class' variables member setters.
When setting a class' public variable that is a pointer to a C++
object the Python wrapper for that class should have its reference
count increased, and the old referred pointer decreased.
commit acdd27d2497bbc769025e3efe683f67378bd907e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 3 21:00:52 2010 -0300
Adds tests for classes with public member variables.
Three kinds of types are represented: primitive, value and object types.
The unit tests also check for correct reference counting.
commit ec2b9250a03e0aa5778938ff7fc2441350cefc65
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 3 20:15:51 2010 -0300
Shiboken now generates code for public class variable members.
Whenever a class has AbstractMetaField objects, which represent
class member's of the likes of variables, the generator produces
get/set functions for the Python class wrapper.
commit 67c9c92f80b83f60b1a5572f82ad5230c5e7201c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 3 20:24:42 2010 -0300
Adds some name generator methods to ShibokenGenerator.
Added the following self evident methods to ShibokenGenerator:
* QString cpythonGettersSettersDefinitionName(const AbstractMetaClass*);
* QString cpythonGetterFunctionName(const AbstractMetaField*);
* QString cpythonSetterFunctionName(const AbstractMetaField*);
commit d3bec23d192e3570cbf0a73fd27dfda2077402d7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Feb 3 20:22:24 2010 -0300
Adds a new overload to CppGenerator::writeTypeCheck.
The new writeTypeCheck method receives an AbstractMetaType instead
of an OverloadData. The core functionality was moved to the new
method that is called by the old one after it had its own stuff done.
commit f9e7cacfd4654dad676875b39b463ae1f6f72258
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Feb 8 15:07:20 2010 -0300
Implement support to conversion rule.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 586cd6b6cf67e9c186d2c42d076cbf99f1836ba4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 9 12:06:54 2010 -0300
Adds tests for argument removal and type modification for virtual methods.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit e363a1d1d2aa2a05139719adc02756766bc92cc1
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 9 14:49:28 2010 -0200
Fix add-function tag when adding a global function.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f59e7ee17f8be5d29be464e56c0cf901b8e3f023
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 9 14:37:57 2010 -0200
Remove debug output from unit test.
commit ebf9aed32e291bb832fa59fa8dd6f17fe004e4e2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 13:25:59 2010 -0300
Reactivated 'reference-count' tag.
The type system tag '<reference-count action="Add|Remove|..."/>' used
on argument modification was uncommented, documentation was written and
a unit test was created for it.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit df7a5518466ce74ca3023b61ce1be21592f97252
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 20:39:46 2010 -0300
Fixes generation of binding reimplementation of modified virtual methods.
Argument removal and type modification no longer affects the generation
of virtual method signatures in the binding code.
commit 3b98369c971d23b8a45cfbf1b3a60f6ccee1f7ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 20:27:33 2010 -0300
Adds test for argument removal plus argument type modification.
commit 46eeae2c1bf48b221a6b97f7b9369e0d7e0f8a06
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 20:25:53 2010 -0300
Fixes the checking for argument type replacement on overload decisor.
commit 92f3f9f69e231fd78537f6d1ed123b8c78a0cdc2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Feb 8 20:22:58 2010 -0300
Modified signature of OverloadData::addOverloadData.
Changed the second argument from AbstractMetaType to AbstractMetaArgument,
this helps to get the correct type replacement information for arguments.
commit cfd1c97717e8bdf05a0fa9aada851c7bcd4385b2
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Feb 5 18:02:51 2010 -0300
Fixing sort overload
Now sorting OverloadData recursively
Reviewer: Renato Filho <renato.filho@openbossa.org>
commit 7d4f470fd6babc417222133bec8e8b9b13737ce2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 8 15:58:37 2010 -0200
Fix overload decisor bug trigged when two overloads have the same numerical argument in the same position.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 7e5fdc89ce33d301ef63c471b527442b760b6fc1
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 4 20:02:10 2010 -0200
Do not try to call constructors created on typesystem by add-function tag.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 8d037108eb0216e178855bb2ba22a09154454ea9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 8 09:36:00 2010 -0200
Fix AbstractMetaFunction::implicitConversions.
- Public ctors added by the user with 1 value-type parameter are always added to the implicity
conversion list.
- If the ctor visibility of an function was modified from public to private, the function isn't
added to the result.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 20998c0dc9532630ba549af9a8321cd736c79368
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 8 14:30:13 2010 -0200
Assumes utf-8 encoding for conversion rules stored in external files.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit a0c267b10ad01064e9282ea38577cbd71d0944af
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 8 07:55:37 2010 -0200
Code injection from external files are always read using UTF-8.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 658f6cbbb19ec9c2a2f8a0a0d703d8107ce9d722
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Feb 5 16:28:01 2010 -0300
Shiboken::setParent also accepts list of children.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit c9e3bb47ee0eb929c6b4c43f9e3cd432ed449fc9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Feb 5 11:34:36 2010 -0200
Check if the cptr pointer is valid on constructor, if not, an error happenned.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 8236fa3c1dda5674d4449726d018026b2682a569
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Thu Feb 4 11:46:22 2010 -0400
Implement ShibokenGenerator::isCopyable based on BoostPythonGenerator
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit a761b0b0e439811fb2ce8b9a64b249f50cad02a5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 4 18:26:09 2010 -0200
Fixed OverloadData::invalidArgumentLengths(), so it take care of removed arguments.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 22f1f61fec7cff3721c895b3d3071943405c57fa
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 4 15:20:46 2010 -0300
Fix Weakreference support
- Flag for types with private destructor
- Cleaning weakrefs in normal destructor
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 46ea7e162321028a786dfc02cc8325cb20f2d957
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Feb 4 16:59:22 2010 -0200
When used inside a static function, %CPPSELF will be replaced by the
class type, and %CPPSELF. by "<Class Type>::"
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9e080452addad7853b41f416a0fb66d3d74a292a
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Feb 4 14:07:33 2010 -0300
Fixing tuple construction and adding more makeTuple
For 4 and 5-item tuples
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit 8f843229b8ff51af57e7bcc5c78a9821becac079
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Feb 2 19:24:52 2010 -0300
Ignore None return when virtural function can return NULL.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 2f0d1d28afaeb39130c1619e7a51907a5b182f69
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Feb 3 14:07:27 2010 -0300
Adding support for weakreference
Reviewer: Renato Filho <renato.filho@openbossa.org>
commit 31234b1869a66d161fd6b916823cae66d03e22f7
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 3 17:54:32 2010 -0200
Do not count user added constructor when searching for implicity conversions.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit e557d7f4990e17c92174ca434e90ef03c059825e
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Wed Feb 3 09:42:41 2010 -0400
Add workaround for hardware bug that causes failures on two "size" tests.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 0fd47ac015e1eb01d06150ee453e52aac904f1e7
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Wed Feb 3 09:57:41 2010 -0400
Add missing PythonInterp check
tests/CMakeLists.txt uses PYTHON_EXECUTABLE without calling
find_package(PythonInterp), making this variable empty and thus not calling the
correct interpreter (especially inside Scratchbox).
commit b7da6f1362e7acffcd64ca7c09cd5c522395ae05
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Wed Feb 3 09:53:45 2010 -0400
Fix build with Python 2.5 when using Py_INCREF()
On Python 2.5, Py_INCREF() does not cast the passed pointer to PyObject* (like
in Python 2.6 and newer versions). To make sure the generated code works on
Python 2.5, use reinterpret_cast<PyObject*>().
commit 95d80742bc2916c88c0b7eac7a7b40c064ba1afe
Author: Renato Filho <renato.filho@openbossa.org>
Date: Wed Feb 3 16:18:46 2010 -0300
Fixed possible error in reparent process;
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 17ff35fce3df1b4e52758aaf017cc0261f48deca
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 3 16:21:38 2010 -0200
Fix indentation problems on code injections.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> and Renato Araújo <renato.filho@openbossa.org>
commit dfa2689d3868fe37f7142367fbcea426f3772dbd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Feb 3 16:11:34 2010 -0200
Fix issue triggerd when an code injection on constructor tries to use
the object being constructed before it was fully constructed.
For this use case, use inject-code with position=end.
commit 7b6b5aebc499c79c59f7fd7f3124037991ab555c
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Feb 2 19:24:52 2010 -0300
Created a check for virtual functions return.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit 05bfd60c0ca9798b7a2df97104eec2c18d48b268
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Feb 1 21:41:28 2010 -0300
char converter return string instead of int
Only if not specified signed/unsigned
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 813bc2a8a7b65d273ca3e4f4009041f2923d25de
Author: Renato Filho <renato.filho@openbossa.org>
Date: Tue Feb 2 16:45:15 2010 -0300
Fixed declaration of inline function on header without implementation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 11840009c679ef0e1114894d3c286e595b83d54d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 17:15:07 2010 -0200
- Write return value policy on reimplementations of virtual functions.
- Decref references returned by the python implemantation.
- Print error, if it happen on python code of an virtual function called from C++.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f6c452eb4e262f3870846316000dfa8e02983a32
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 17:11:37 2010 -0200
Do not add an extra indentation on code injections.
Write an comment on start and ending of code injections.
commit aade17f52185d7c1b0e412aaf678cb9c7ea8a28d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 15:19:47 2010 -0200
Fix writeMinimalConstructorCallArguments to avoid ambiguities and support custom primitive types.
commit 1b3edf359d122cc36378df6ec905e07a77bd8580
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 16:54:04 2010 -0200
Added tests for ownership modification.
commit c93e69463a58a88a76432cc11728f59f053dcd76
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 15:08:54 2010 -0200
Remove warning about ugly conditions on if clause.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit ebcb5006507381455feb59fb109c437f99169cb8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Feb 2 14:41:52 2010 -0300
Fixes ShibokenGenerator::injectedCodeCallsCppFunction.
The function now recognises uses like "... new %TYPE(..." on code
injections as calls to the C++ function.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 8fb11ea5ff063f23785ac4ce7e1f3187ae0aa774
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Feb 2 11:43:52 2010 -0200
Implement return value heuristic.
If the method returns a pointer and there are no policies for the return type, the returned value is
considered child of the current object (self).
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 7bed51517c9bcb9e5f152751b1a3c43d71682f55
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Feb 1 20:31:31 2010 -0300
Fixed added constructor generation.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit 1e70badf548becec2a45b0b451e8a5cb322c0dc0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 1 18:33:48 2010 -0200
Use Shiboken::AutoDecRef to handle python references.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 8edbbe2723eedc2c013dc1e23a18a4db3713da25
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 1 18:32:38 2010 -0200
Fix crash when a virtual function with enum in they arguments is called from C++ and have an
implementation in Python.
commit b792bd74dd76a3e58e3ce69714d7432c8aa007a6
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Feb 1 14:40:54 2010 -0300
Fixed operator comparation for objects with differents types.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit e476e135cc1732e0a8879f015aa0e35319cfebf8
Author: Renato Filho <renato.filho@openbossa.org>
Date: Mon Feb 1 14:40:24 2010 -0300
Fixed overload function generation for fuctions with removed arguments.
commit b281b75fb73895b0f1d73da3403d8b5faf2da759
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 29 17:48:54 2010 -0200
Small refactor on filterFunction function.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 4a14c6632f6a4245a20bd46cb94f9d807188276d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Feb 1 14:19:15 2010 -0200
Allow a class to multiple inherit from various object-types.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit aaea0b1ca9d5416f0b66ea85be765471124b0e4f
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jan 29 16:30:11 2010 -0300
Create test for constructors with implicitly conversion and default args.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 5d456d500f3e142902523df2157bbef1b82bfe1a
Author: Renato Filho <renato.filho@openbossa.org>
Date: Fri Jan 29 16:23:51 2010 -0300
Fixed implicitly conversion retrieve values, for accept constructors with default arguments.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 5655af724889ce5d6be3baecdcee8740310447fb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 29 11:30:29 2010 -0200
Add check of conversions errors on constructors.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 6798b116c9a651a7ce7b73d13b5481a509dd3158
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 28 22:33:09 2010 -0200
Write type conversions for pure virtual methods.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 6a3cf558071a156a9bed24af89a4cfb056ce106b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 28 22:15:41 2010 -0200
Do not throw a Python exception when the user calls a pure virtual method of an object
wihtout C++ Wrapper (Shell) class.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit af98f2bd0db84f5698e9fd5896262b61e17d03bc
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 28 21:35:33 2010 -0200
Add test for an impossible type discovery when the type has virtual functions.
commit 6daffa0a3452ee36ca8c39cf90fb0cefcbb5c205
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 28 15:53:40 2010 -0300
Adds support for void pointer conversions.
A new converter specialization was added to deal with 'void*'
conversions. In the case of C++ generating a unknown void pointer
a BaseWrapper is used to hold the said pointer.
There is a new test for this situation.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 22eb430cecf6ddc10eed04dd67c81485aba84ab6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 28 17:19:33 2010 -0200
Changed API for PySequence_to_argc_argv.
It was renamed to PySequenceToArgcArgv and a new argument was added, besides some documentation.
If the sequence is empty and defaultAppName (the new argument) was provided, argc will be 1 and
argv will have a copy of defaultAppName because some libraries, like Qt, need at least one element
in argv (the application name), otherwise it'll crash somewhere inside Qt.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 02cdcb7e0e49b22cd10a5146d5a85cec9bfca7bd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 27 10:41:44 2010 -0200
Do count non exported classes when filling the tp_bases field.
commit 35cb2ccfbae93645f357dc83e13a4882eff80d23
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 21:54:15 2010 -0200
Export converters when needed.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 2d462f1397e87ee929b795ba896ca3d5344c2583
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 21:19:50 2010 -0200
Use qualified C++ names to generate "init" functions.
commit df3b7134e1ff05fde57e8e3f74835131e34110d4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 19:22:30 2010 -0200
Use qualified C++ names on variables inside richComparison functions.
commit b62fe3b11c547f493196e97bceb1601fb1ad73d6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 18:54:51 2010 -0200
Do not use C++ qualified name to generate the number protocol struct.
commit cd2dceceefdb01781962be84768f0e0828dd956e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 18:35:08 2010 -0200
Write cptr macro for inner classes.
commit 59bf883ba7a3678ad11e9eed7ddc93636b4c3424
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 18:34:32 2010 -0200
writeMinimalConstructorCallArguments knowns about enums.
commit e5654bd14cc0d034192104bb4325ba639d4f043c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 17:39:18 2010 -0200
writeMinimalConstructorCallArguments knowns about QFlags.
commit b003e79b0671e4ec0253986c3cf11f4efce24e45
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 17:38:44 2010 -0200
Fix the detection of number and rich comparison protocol.
commit 17d63d67f7156bae868e0239c3a588d07bc87534
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 25 17:48:45 2010 -0200
Add protected hack to global header.
commit f691800c52b9047cf02f6787a546e5a112f7c962
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 25 17:05:56 2010 -0200
Write CopyCppObject function for inner classes.
commit bedeefb654bf3a884cbf8c3855c212e37efb299a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 25 16:24:26 2010 -0200
Do not print #error when an pure virtual function is removed by typesystem.
Write a default implementation and print a warning instead.
commit 96ec538edebf7f754fbb6cbff7f126a71673a0e1
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 17:48:07 2010 -0200
Write the enum name based on enum module, not the current module being generated.
commit 9d4b69933df49c778e4b96a23894f26d4f741283
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 22:04:46 2010 -0200
Fix AbstractMetaClass::has* methods, so they only check your own methods.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 8ae4a89abd334610293a4785856acbf59ffd25af
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 26 22:04:05 2010 -0200
Add helper method AbstractMetaClassList::findClass(const TypeEntry* typeEntry).
commit 08d106b8d67ca22045d3a59b4a05ac0e35d09bd9
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jan 26 13:57:54 2010 -0300
Fixing includes
Reviewed by Hugo Parent <hugo.lima@openbossa.org>
commit 593804998aaa1d463b06bb5db6ef467aed23c272
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Jan 26 11:41:20 2010 -0300
Fixing includes and include dirs
Avoiding .. includes
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 56ef82ec2648e0f55232e8b004be60d4ea785db5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 25 14:30:24 2010 -0200
Shiboken generator doesn't need to link against QtXml and libapiextractor as informed by "ldd -u"
and confirmed by "ldd -r".
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 0c0c256c244ce171151a0dac2e444912bb1f9692
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Jan 25 12:02:38 2010 -0300
Setting CMAKE_BUILD_TYPE before usage
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit a01d5c8d9e056a06a3aa4a16bc608b125da105ac
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 22 16:54:44 2010 -0200
Do not remove the "const" from "const char*" types when converting
python arguments to C++.
This fixes bug #133
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 502ae1c940487e65577f735fecfeecd2092d8c1c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 22 16:48:12 2010 -0200
Add overflow check to unsigned int, because we need it on 64bit platforms.
commit c6bbc80f277b1c490fadef26ab64a613d45276aa
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 22 02:04:23 2010 -0300
Fix implicitconv_numerical tests
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit c6898072bfb72d76d5e15e8fd59b5e86752006e3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 22 01:00:32 2010 -0300
Fix bug on overflow check routines under 32 bits platforms.
commit 8f3b64c6570d07a9d807ce245291d6565cf3f4ae
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 21 20:41:51 2010 -0200
Test TestModifyDocumentation does not need X11 server connection to run.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 62bd3820c222cfb6af57c2ff4b23b8b819743bbf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 21 13:33:26 2010 -0300
Adds support for Duck Punching (aka Monkey Patching).
The simplest definition of duck punching for our purposes is
the ability to change the definition of a method in an instance of
a class.
To allow this behaviour the SbkBaseWrapper structure had to be
extended with a 'ob_dict' which is a PyObject pointer to the instance
dictionary. It is originally set to NULL until the user tries to access
it. This dictionary could be accessed through the '__dict__' instance
property. For now it is read-only.
The generator was updated to handle the instance dictionary, and an
extensive duck punching test was also added.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit cd12b72f152f970a86cac12f62a0f9d1edd3f6d8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 20 15:50:10 2010 -0200
Add special conversion rules to the char type.
A type is convertible to char if it is a number or a 1-sized char.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit ab2840dfef7bcab2dca312092748326e3f7ce6cf
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 20 13:54:36 2010 -0200
When a constructor able to trigger implicity conversions is removed
it should not appear in the implicity conversion list.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9ac13a27e49439ffcef2291da01ee4c8b6b930d0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 20 15:46:01 2010 -0200
When verifying for the aliased type of a primitive type, go to the last aliased type instead of just the first one.
commit d269265cebf40e2da5fb9ee4904d3ec815f06e80
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 20 15:43:08 2010 -0200
Added another constructor to Str class, just to test the new char behaviour.
The new behaviour consists in accepting numbers or 1-sized strings when a
char is expected.
commit f7f4da79cf71242a494ca407ccd26d64b1735cc5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 20 14:18:07 2010 -0200
Small refactoring to sortOverloads function, so it's a bit easier to read (IMO).
commit a3b3f49ee20164d8cbe9d8ae70d67b7aa834ed92
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Jan 19 13:49:24 2010 -0200
Converter<PyInt> now follows the Converter interface.
- Converter<PyInt>::isConvertible should return bool instead of int and
- Converter<PyInt>::toPython must receive "const PyInt&" instead of just "PyInt".
commit 7c53af9664740467c65724577c9210593e308a85
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 19 13:58:41 2010 -0300
Generator now supports overloads with both static and non-static methods.
When a class contains one or more overloads with static and non-static
signatures Python must accept both usages, but for this to work some
steps must be taken:
* The overload method is defined with its own PyMethodDef structure,
instead of being parte of an array of definitions.
* The overload method is marked as static in the PyMethodDef.
* This method definition is inserted in the PyMethodDef array for the
class.
* A tp_getattro function is generated and registered for the Python
wrapper. It is used to intercept instance calls to methods with
static versions to add the 'self' to the PyMethod.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit cca03574c6a683e9644210d3038775843792f9d7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 19 13:37:25 2010 -0300
Adds helper methods to ShibokenGenerator.
These are the methods added to ShibokenGenerator:
* classNeedsGetattroFunction(metaClass)
Returns true if a tp_getattro function should be generated for the
given class. At the moment the only criteria is that the class
has an overload with both static and non-static versions of a method.
* getMethodsWithBothStaticAndNonStaticMethods(metaClass)
Returns a list of methods of the given class where each one is part
of a different overload with both static and non-static method.
* cpythonMethodDefinitionName(metaFunc)
Returns the name of a method definition (a single method, i.e.
a PyMethodDef struct) for a given method.
* cpythonGetattroFunctionName(metaClass)
Returns the name of a 'tp_getattro' method for a given class.
commit e540d86f173b151997313ba23e7fe382bd2623c4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Jan 19 13:55:35 2010 -0300
Adds helpers to OverloadData to check for static and non-static methods.
OverloadDecisor received some new methods: hasStaticFunction,
hasInstanceFunction and hasStaticAndInstanceFunctions.
They are useful to check if an overload contains both static and
non-static signatures.
commit 2e7bab62943ada0320ce0cd7c8a6d6be6e64a6f3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 18 21:28:58 2010 -0200
Adds test case for overload with static and a non-static versions of a method.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 258702853d4cc7ce09d0862cecb2fa08d986da7e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 18 17:58:44 2010 -0200
Bucket::m_locked is accessed by multiple threads and must be volatile,
otherwise the code won't work with some compiler optimizations turned on.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit ae513bfa93f194acb7ed7e358ae65812e2f4c214
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 18 15:25:13 2010 -0300
Common variable names are stored as #defines instead of C++ static methods.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit f8e64fa28917dfd7446f8710ec2a1a33ef06cebc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 18 11:00:39 2010 -0300
Expanded thread locking tests with two more cases.
Added a virtual method marked to allow threads and tests for C++
calling it and also a Python reimplemented version.
commit cd23ce8002ea34c5baabf060b3065b9cbb7618a3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 18 10:51:03 2010 -0300
Generator now makes use of the GilState and ThreadStateSaver classes.
Generated code now makes use of the new convenience classes instead
of directly using the Python provided PyGILState_STATE and PyThreadState.
commit 4cc55bd5ced408b987f41a0c0cd55fa99a869ba3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 18 10:46:38 2010 -0300
Adds convenience ThreadStateSaver class to libshiboken.
ThreadStateSaver class just wraps the Python Thread save and restore
operations. Its destructor also ensures the restoration of saved
thread state if the method ends abruptly, e.g. when the wrapped
C++ library throws an exception.
commit 79774d9827ba3883ac1862aee86c890634fa21a9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 15 21:13:48 2010 -0300
Adds convenience GilState class to libshiboken.
GilState class puts some sugar over the Python GIL usage and also
adds the safety of a final GIL release when the GilState destructor
is called when get out of scope.
commit d9c5531a3cf0967e2595cef18c63892c0d64d551
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 15 18:26:57 2010 -0300
Adds CppGenerator::writeCppSelfDefinition method.
The code to write the definition of cppSelf was in two places and
contained an #ifdef clause, now it is a writer method.
Also added the ShibokenGenerator::cppSelfVariableName() method
to be used instead of directly writing the "cppSelf" string.
Updated custom code on test binding to remove warning.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit de5187268ab7dd96fc5fa98c583086fc5afe5b48
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 15 17:08:10 2010 -0300
Updated type system variable replacement for '%0' (aka C++ return value).
Now the variable is replaced by a C++ return variable instead of
getting the value directly from the PyObject.
commit 72ca828dde351cc3b715eec5447fe4ea5c46ec01
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Jan 15 15:39:41 2010 -0300
Adding new tests related to threads/GIL locking
- Event loop - calling virtual methods from C++
- Event loop with thread - calling virtuals from C++ along with
accessing the binding from another python
thread
- Thread locking - blocker C++ method that is unlocked from another
python thread
For these tests, a new ObjectType subclass was added, Bucket, which
is just a container for the producer/consumer tests and has the
lock/unlock method.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 007d8cf6955f0f99a41bad8c69c9da7789d6bbe8
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Jan 14 14:35:51 2010 -0300
Fixing shebang on runtest.sh
commit 417b5ddc9eeaaa1ab42d8d321dc3176b1965a4d8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 15 12:19:18 2010 -0300
Wrapped virtual methods now locking the GIL in the right places.
A code injection on the tests was updated.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit 4587abd19af6be7148dbe7891f909652e40a9aa2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Jan 15 12:12:21 2010 -0300
Added ShibokenGenerator::shouldDereferenceAbstractMetaTypePointer method.
It checks if a meta type should be dereferenced by the Python method
wrapper passing it to C++.
ShibokenGenerator::shouldDereferenceArgumentPointer now calls the new
method.
commit d2c94d6d62458419d54a698e67c8b123808ff09d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 14 18:42:16 2010 -0300
Adds support for "allow-thread" type system tag on Python method wrappers.
commit eb7c0a57011784e517da94eebb9fb2adf7efd316
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 14 18:37:09 2010 -0300
Adds ShibokenGenerator::threadStateVariableName() method.
commit 24a81fbd44393b109828940f2cebc4644f1f7ba8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 14 17:19:43 2010 -0300
Adds OverloadData::hasAllowThread() method.
The method checks if any of the functions in OverloadData have
allow-thread flag set to true.
commit 57431112269fe3a17e9e68dd08ee8dc65620bca7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 14 18:39:02 2010 -0300
libshiboken initialises Python threads if available.
commit 992e7170d4254257e4341d82c82aeec981396e2e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Jan 14 14:45:31 2010 -0300
Values returned from C++ are now stored in a C++ variable.
The previous behaviour was to pass the result, if any, straight to
the to-Python-converter method. Separating the C++ from the Python
part allows us to release the thread lock when calling C++ and taking
it back before calling the converter filled with Python calls.
Also renamed "retvalVariableName()" to the more meaninful name
"pythonReturnVariableName()" and added "cppReturnVariableName()".
Also updated the type system variable replacement to recognize "%0" as
"cppReturnVariableName()".
commit d7a8026ba537a8db0fe217f5b52bcfaadaaa0265
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 19:30:10 2010 -0200
Add -Wno-strict-aliasing to GCC compiler flags.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 3e562e090d65067ba93c451fa104db100101d77c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 19:28:08 2010 -0200
ProtectedVirtualDestructor must be object-type instead of value-type, because we can't
pass a object with nonpublic destructor by value.
commit dd1446c3913ec9e4f0f78317ed6e154dbf5390fd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 19:27:56 2010 -0200
Remove warning about using a uninitialized variable
commit e80dd001e5129261e512220ff2b1b8d23b0fd64b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 18:25:31 2010 -0200
Add option -DAVOID_PROTECTED_HACK to turn off the protected hack.
commit 3115f49e63fb760a3af1b1b7b57029e6c0c7a6d5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 18:24:46 2010 -0200
Correctly set diferent CXX_FLAGS for release and debug builds.
commit ce806c195494dc0c3c727d508378a434b5a676c6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 19:14:20 2010 -0200
Fix AbstractMetaClass->isPolymorphic method, it was returning false for QEvent and other
classes having just a virtual destructor.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 0a99e765efc8f86a00d0e2e1fb4e30df331fa3c3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 15 11:28:05 2010 -0200
Fix custom converters from libsample.
commit 2ad0dcc5860d9e791e6036a525b0114b7106031b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 22:34:47 2010 -0200
Added SbkDbg stream class, used to print debug messages.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit ff5d72bd2d994050823382d1f884c62e41824eb3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 21:58:33 2010 -0200
Added template specialization SbkType<signed char>(), needed by someone.
commit 310154f1e794177b6ae1bb2b4d06be548ba55c7e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 21:01:47 2010 -0200
Inc. the reference of the return value when returning self on inplace operator overloads.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 8657f7eff10c27bf450bb742e377144d2a08019f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 16:02:31 2010 -0200
Changed prefix of local generated C functions to avoid name clash with bindinded method names.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 370a3b6cf2a57bf63c1d4041a0de5085485b37fe
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 15:58:04 2010 -0200
Added a convenience overload for cpythonBaseName, with AbstractMetaClass as parameter.
commit 67f0c4988020833210537757fbd51ecb84825ce8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 15:18:19 2010 -0200
Implemented type discovery feature.
The problem:
- There are two class, A and B, B inherits from A.
- You are inside a virtual method reimplemented in python with just one parameter of type A*.
- But the object referenced by a variable of type A* is an instance of B and it was created by C++,
not Python!
- Shiboken needs to create a PyObject of type B, not A! This does not makes sense for C++, but does
for Python, because python variables does not store type information, just values.
To achieve this we use RTTI to get the real type name of a variable, then we create the PyObject using
the TypeResolver infrastructure initially developed to help with signal slot problems. In other words,
the TypeResolver class has been moved from libpyside to libshiboken.
commit c40f61ff076928f07591070763069cc75918768e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 14:40:36 2010 -0200
Removed type discovery tests from blacklist and added "other" binding directory to the PYTHONPATH.
commit 4ec281e299faadeb20dac4a7cf55f16c9124ebeb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 14 14:27:45 2010 -0200
Removed warninig: missing braces around initializer for 'PyTypeObject' from basewrapper.cpp
commit c06ceb1aab9b8199a75f9b9572a0556c8b9a6a97
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Jan 13 13:57:09 2010 -0200
Fix transfer ownership on return values.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 1bfff6f2f2549dd3a4e068e5bd767f72d8c7bd8b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 11 17:48:17 2010 -0200
Fix object initialization.
The C++ object instanciation was made in tp_init function instead of tp_new function. Now tp_new just
create a useless python object which will be filled in the tp_init function.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9e7c52bbef25fb118452aacae4f8e05ca5c9cf9a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 11 14:03:45 2010 -0200
Added tests for the bug related to tp_new vs tp_init problem.
commit ef6fff7e7cacd4bee51afe64d4301e228ab2eade
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Jan 11 13:55:56 2010 -0200
Use the package name instead of the module name to generate the "global" header file name.
commit c3c654e7b7322cc5b1a2e0148143311caa9d26a4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 8 16:53:02 2010 -0200
Correctly search for typesystem in all available typesystem paths.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit cdb91dc7438da10abe071eb852dc0db00ad90695
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Jan 7 15:45:48 2010 -0200
Added Shiboken::makeTuple inline method to help with constructions of Python tuples
from C++ objects.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit eb980e2beb0a3a9c1fca4bc217a61a67a2996710
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Jan 8 17:27:10 2010 -0200
ShibokenGenerator::getBaseClasses don't return null pointers.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
commit 8dded56b403fd979f0b567666017dc12f7c1a9b6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Dec 28 16:38:22 2009 -0200
Added function can be tagged as static methods.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 56f308aa8aa2b188a9d18dd54a084ea76cfed90e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Jan 4 11:20:36 2010 -0300
Improved template variables to deal with custom types.
When template variable representing a C++ argument (%#) is represents
a custom type it is replaced by the Python argument (%PYARG_#), since
custom types are not converted to C++.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit adc8e9f427160d20fe85d1f222a26d696c3b4479
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 30 14:54:20 2009 -0200
Try to decref py_result if an error happenned.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f92949abe5640493b7e89e94ea00f1dedfbd2657
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 29 17:05:48 2009 -0200
Add -> operator to AutoDecRef class.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit d99271db59b6776bbba042dcf67b99942d0abf1b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 29 15:51:44 2009 -0200
Always use global method indexes in qt_metacalls instead of local indexes.
commit f6a9728c7fdba439c2fba826afbc38b45c94e047
Author: renato <renato.filho@openbossa.org>
Date: Mon Dec 28 16:55:14 2009 -0300
Implemented support for classname on MetaObject.
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
commit 7f5c1759587b1225a7b7310800d4efafc6b64160
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 29 16:56:58 2009 -0300
Puts derived and otherderived tests on the black list.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit ef1d065f23b6e9c206cb44b5fd2c36708bb238ca
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 11:24:48 2009 -0300
Adds "libother" as a new test library.
New test library and corresponding binding were added to check for
intermodule problems. The CMake linkage type for the modules had to
be changed from MODULE to SHARED.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit e67ea3ffab7c161785636b78c41f3b624ec0f5ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 29 13:15:45 2009 -0300
Generated module headers now include headers of required modules.
Example: "other" module depends on "sample" module, so the generated
module header for "other" (i.e. "other_python.h") will include
"sample_python.h".
Of course the required module include path must be set by the build
system.
commit 9f79c3de8192c4ce5f0ae86687d3ece2196323ba
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 29 10:09:58 2009 -0300
Adds test for modified function using type system template.
The new test adds a "toInt(bool* ok = 0, int base = 10)" method to
Str class. The modification uses a type system template function
that uses the variable "%2" to reference the "base" argument; in
the case when the thing is called without parameters "%2" should be
replaced by "10" instead of a converted C++ variable name.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 731a68999274ab58fb35f3d3238f713fbf91c878
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 28 16:51:08 2009 -0300
Modifies ShibokenGenerator::writeCodeSnips semantics.
A NULL pointer in the "lastArg" parameter of writeCodeSnips means that
the function being processed will be called without arguments. The
behavior prior to this change was that a NULL lastArg indicates that
all arguments are to be used.
commit 11679b1008b9443ee817e382731ea9049eb2fe64
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Dec 28 16:31:42 2009 -0200
Disable verbose output on tests.
commit e489074ccb5bf5b98564d9752907a5657506f4e4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Dec 28 10:55:54 2009 -0200
Wrapper classes of QObjects store a pointer to their own meta object, a dynamic one.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 2fc991d0239cfa0111c5fa9629e183add4076bbf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 28 10:46:37 2009 -0300
Adds test case for type discovery.
C++ returns a new instance of Derived as its ancestor Abstract pointer
and the bindings must produce a Python wrapper of Derived type.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit ff6ac013b7be3b4900a0abfe57e1467fcf908635
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 22 19:48:28 2009 -0300
Replaces SbkCopyCppObject template function with the CppObjectCopier template struct
In addition to the mere use of SbkCopyCppObject to copy C++ objects,
it is needed to know if a C++ type has a C++ wrapped produced by the
generator. To solve this SbkCopyCppObject was transformed in the template
struct CppObjectCopier with the methods copy and the constant member
isCppWrapper.
The Converter[Base]<>::createWrapper methods were replaced by template
function SbkCreateWrapper.
Also some refactoring was made on the Converters code to improve legibility.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit b06e2adc558688f0788f998ab51e6afb08895150
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 22 19:15:36 2009 -0300
Changed SbkBaseWrapper_New signature to use "bool" instead of "unsigned int" in some parameters.
commit 4f6d31013a2c01faf66d8581c4d21465ccc66f7c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 21 17:34:31 2009 -0300
Improves TypeResolver code generation for the PySide extension.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 315c1fa52fcb7976b58bd07aa88b306fa1c4d7e7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 21 17:33:36 2009 -0300
Removes unnecessary comments from Complex converter test header.
commit 30b8dbe1327ecf34143f33c2005bc1064f671b08
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 21 17:28:34 2009 -0300
Improvements and refactor on libshiboken's converters.
Short methods in Converter and ConverterBase variations received the
"inline" keyword.
A convenience "toPython" signature receiving "void*" as parameter was
also added to the converter classes.
commit 1f0fdbdfa55b027d22fbf492108e6cbce2fffaac
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 21 17:19:08 2009 -0300
Refactored SbkType specializations and replaced "long long" by "PY_LONG_LONG".
commit f54ddefd58b0ee7499c84c26beaab9452cd453cb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Dec 21 16:08:12 2009 -0200
Disabled AutoDecRef obj. copy. and added some useful cast operators.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 366c05def936d6577cde73ba18583ded95056129
Author: renato <renato.filho@openbossa.org>
Date: Mon Dec 21 14:39:31 2009 -0300
Bump to version 0.3.4.
commit 2495e9f51b7e4795d685d9d5ce9fca5fb31acacc
Author: renato <renato.filho@openbossa.org>
Date: Mon Dec 21 12:16:36 2009 -0300
Bump version to 0.3.4
commit 27f6ed14ad776cdc5a9587211709ffcc19b92d8f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 18 11:43:00 2009 -0300
New unit test for added function with varargs parameter.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 6a2d25727e23273127a52a303361941f0d22b271
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 18 11:42:03 2009 -0300
Adds support for added functions that receives varargs arguments.
commit d31ac61663db41013333d16aa61a16ba71ecf5fd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 18 11:33:57 2009 -0300
Adds OverloadData::hasVarargs() which says if there is a varargs argument among the overloads.
commit 808a89b409672d1a3c2082b848983ba58e0b462a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 18 11:31:05 2009 -0300
Adds AutoDecRef class that holds a PyObject pointer and decrefs it when get out of scope.
commit b5c2a8fb4b598684bde4cfb156d345649a9b11f8
Author: renato <renato.filho@openbossa.org>
Date: Thu Dec 17 19:42:16 2009 -0300
Updated Changelog.
commit 08fc38b73134cb2491f754c529b30a7babce7400
Author: renato <renato.filho@openbossa.org>
Date: Thu Dec 17 19:35:20 2009 -0300
Updated ChangeLog.
commit 337f95e404fb25f0035a36aa046fbe51e9af8d18
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Dec 17 14:14:18 2009 -0200
Register object-types with * at end into TypeResolver.
commit 0a740ad90f467ccdf00cb674eb80310ddb115b50
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 16 18:30:17 2009 -0300
Adds support for varargs in AbstractMetaArgument, AbstractMetaType and VarargsTypeEntry.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 9ab2b614214ac925f17818ceda176a543d674fd9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 16 17:42:50 2009 -0200
Add metaObject() method to every class derived from QObject when
the flag enable-pyside-extensions is on.
commit fe681d0b1105c5e4ce61130700a2707b86320d94
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 16 15:26:27 2009 -0200
Write SbkType<T> function implementation for inner classes.
commit 41ecfb5863ff4242f49d20071d3ea872caffc9df
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 16 15:14:16 2009 -0200
Added template specializations for SbkType<T> when T is a primitive type.
commit 0133a99f71e88c9e0642f05a7d55ef798275260a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 15 12:21:34 2009 -0200
Added the option --enable-pyside-extensions to enable PySide extensions.
You need to enable these extensions if you are generating a binding for a Qt-based library
and need to pass some types through the signal slots mechanism.
If you turn this flag on, you also need to link the generated bindings with the
libpyside, besides add libpyside include path to your project.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f41cf0af8ed705d342ea448acac89659eea64bfd
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Dec 9 19:34:12 2009 -0300
Tests for numerical implicit conversions and fixes
Added a test for simple implicit numerical conversions involving
doubles, signed and unsigned ints and longs.
Some fixes to the converters were also made, mostly related to
adding manual checks for boundaries with doubles for negative values
Also put the overflow check in a single template
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
commit 61570eb7e4ce1ed0f926425d87d26dc3fdb81729
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 16 15:07:40 2009 -0300
New test adding a function to the module.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit bd98924d1a335fb34e3119a58bae3c0d42493c26
Author: Bruno dos Santos de Araujo <bruno.araujo@openbossa.org>
Date: Wed Dec 16 08:50:48 2009 -0400
Add constraint to avoid index out-of-range errors
Reviewer: Lauro Neto <lauro.neto@openbossa.org>
commit f2fd366c90dd64a37f48e5ea554b8aebf00b6de5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 19:55:10 2009 -0300
Adds normalizedSignature static method to TypeDatabase.
All the uses of QMetaObject::normalizedSignature were replaced to use
TypeDatabase::normalizedSignature; the former always changes the
unsigned primitives to the shorter versions (e.g. "unsigned int"
becomes "uint") that aren't necessarily used by the parsed library.
The new normalizer changes back "uNUMBER" to "unsigned NUMBER" if the
former is not present in the TypeDatabase.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit cb253eb807d15586a12f5de86fd716286ed3b15d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 15:28:25 2009 -0300
Modifications in ancestors are not returned if the current class reimplements the function.
commit 5900a05a2079a60a71500ffa1de56e58fbd9c1e0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 15:01:04 2009 -0300
Modified AbstractMetaFunction::hasSignatureModifications to check for function renaming.
commit aeeb950b50a108a2475c0ee630d74420ccb3a0b3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 14 17:54:57 2009 -0300
Adds support for module level 'add-function' tag.
The TypeDatabase now stores global added functions as well as
function modifications.
The AbstractMetaFunction::modifications method was improved to
check for global modifications.
The test suite was updated with the changes.
commit 6bdce6ad951e10b3830b8a6a763961038e1f7828
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 14:36:41 2009 -0300
Improved Generator::replaceTemplateVariables method to avoid segfaults.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit ec7d467093d1b58d038f0b1739aca0247431266a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 15:45:58 2009 -0300
Updates virtual method tests.
commit 3255dc5168867b9cff41d716b2bfb0641da2bd6b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 15:42:03 2009 -0300
Removes unused method ShibokenGenerator::hasInjectedCodeOrSignatureModification.
commit 83df2914d6c98e40b9aeb1154149427276f45417
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 15 14:42:53 2009 -0300
Updates generator to use improvements in API Extractor regarding function modifications.
commit cdcb5567c77b3f703541839101cad564605b7f61
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 14 10:24:41 2009 -0300
All wrapped classes now inherit from the SbkBaseWrapper of the metatype SbkBaseWrapperType.
The wrapped classes are described with a SbkBaseWrapperType structure which
extends the PyTypeObject with information about multiple inheritance and
parenting ownership. This works well for the classes produced by the generator
but inheriting classes written in Python continues using the PyTypeObject to
describe themselves. To fix this the SbkBaseWrapperType is now a metatype for
all the wrapped classes and anyone inheriting from them.
In addition all the wrapped classes now inherit from SbkBaseWrapper, since
Python's PyType_Ready method need that multiple inheriting classes have a
common base class with the same size of the classes involved in the multiple
inheritance, which disqualifies Python's base "object" class.
The metatype and the base wrapper type are initialized by calling the new
Shiboken::init_shiboken() function. This is done by all the imported binding
modules, but it is really run only in the first call.
Another noteworthy change is the replacement of PyTypeObject as a basis for
SbkBaseWrapperType by the PyHeapTypeObject, since the latter is the proper
choice for types created on the heap, e.g. user defined classes extending
the generated wrapper classes.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 0f31a28bcb0d802f461fd2012dd2a239decb81b0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Dec 11 14:40:21 2009 -0300
Renamed ShiboTypeObject to SbkBaseWrapperType to clearify its relationship with SbkBaseWrapper.
commit 88dc53b65f0fa7d6dc918198d7800501861ea3ac
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 9 16:11:58 2009 -0300
Converter<T>::copyCppObject method was replaced by a template function.
Added the template function
T* SbkCopyCppObject(const T& cppobj);
whose task is simply to copy a C++ object. If the binding has a C++ class
wrapper for it, the function is specialized to use the copy constructor
of the C++ wrapper class. This replaces the Converter<T>::copyCppObject
method.
Also moved implementation of Converter<T>::toPython from the generator to
ConverterBase<T> in the conversions header, for it makes use of the
SbkCopyCppObject.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit 00a880f4d61a6a32f3e1dcaa4a692a6e430c123a
Author: renato <renato.filho@openbossa.org>
Date: Tue Dec 8 15:58:11 2009 -0300
Fixed support for modify args in add-function tag.
Created tests.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 23ade48975d7755c38219c86a141f0a910c3e00e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 15:54:21 2009 -0300
Added convenience method to get the file name for a module's global header.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 459b585c20262c17f7efe0702aa0251bf678cbc6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 15:34:54 2009 -0300
Module header now uses the visibility macro on the Python type structure declaration.
commit 1803c35baacb454b49c1b7326c531f0c8115b6c7
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Dec 4 13:30:08 2009 -0300
Implement support to slice operator.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit b27f6f347dc19db7706b69c0e7c22e74dea2853b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 12:59:40 2009 -0300
Fixed inconsistency on type system variables and added a new one.
The %# group of type system variables are meant to be replaced by
C++ arguments and %PYARG_# by Python arguments. For some reason %0
is replaced by the Python return variable and %PYARG_0 is considered
invalid by the replacement system. Now %PYARG_0 is replaced by
the Python return variable and %0 by the C++ version.
The %CONVERTTOCPP type system variable was added.
Fixed ShibokenGenerator::injectedCodeHasReturnValueAttribution to
consider a return value attribution when the user does "%PYARG_0 = ..."
instead of "%0 = ...".
The changes were documented and all the test bindings inject codes
were updated to use the modified variables properly.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit dd1680a72c7709439f0ea5b91d1ac6f7957c1179
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 12:14:10 2009 -0300
Improved rich comparison writer to use cpythonBaseName method.
commit f38e34a3a987f15e947d45efb0ef7ffeb7f3275e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 8 11:59:57 2009 -0300
Renamed a lot of Shiboken things with "Py" prefix to use "Sbk" prefix.
To avoid confusion of Python stuff with Shiboken generated stuff.
For example: a C++ class called "String" would have the PyString_Type
wrapper generated for it, mixing with the proper Python PyString_Type;
now the generate code will have things like SbkString_Type, SbkString_New,
SbkString_someMethod, and so on.
PyBaseWrapper and its variants were renamed to SbkBaseWrapper.
PyType<T>() is now SbkType<T>()
PyEnumObject was renamed to SbkEnumObject.
commit dc1ca0f9a9aa216973a6ab1f458f0f965033530d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 7 18:59:20 2009 -0300
Adds StrList test to check classes that inherit from containers.
StrList class inherits from std::list<Str> and expand it with a
couple of methods. The added tests perform many different comparisons
using other StrList objects, Python sequences of Str objects,
and Python sequences of Python strings.
commit cd830d9435ab10c7961bc4d73644c9532495ce80
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 7 17:58:29 2009 -0300
Moved container converters from test library to libshiboken's converter header.
The implementation of converters for pair, list and map containers was
moved from libsample test binding to libshiboken/conversions.h. The
implementation must be used with types similar to the C++ STL containers
of the same name.
commit 16ff7b614c9caf8837f72e7143984b252b71f63e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 7 16:58:56 2009 -0300
Added Shiboken_TypeCheck macro that makes use of PyType<T>().
The Shiboken_TypeCheck calls Python's PyObject_TypeCheck using the
type pointer stored in PyType<T> for the type being checked.
Conversion<T*>::toCpp(pyobj) converter tries first to convert pyobj
to the Python wrapper for type T and only second to any of the
convertible types. If pyobj is neither of those, 0 is returned as
the C++ object. This works fine for Py_None and invalid values are
not expected to be passed because the generated code checked the
types first.
commit c1c196a2338d3529c2ec71cc6e375ef64e926689
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Dec 7 15:13:36 2009 -0200
Do not generate the method Converter<T>::createWrapper, it'll be
auto generated by the compiler using the function PyType<T> to get
PyTypeObject of a type T.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 0e532bfaf3d4eb710aa5999764942337b9342304
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Dec 7 13:23:59 2009 -0300
Adds Overflow check to integer types conversions.
Unit tests were added also.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit fbf30507a2317bf88472ab5c67dd2abd1636bc18
Author: Chris Hills <chaz@chaz6.com>
Date: Sat Dec 5 22:04:33 2009 +0100
Correct install location for FindShiboken.cmake
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 516658a73a1c4e121277cca95497614df0dcd3ae
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Dec 5 02:47:03 2009 -0300
Added unit test for Python class inheriting from a C++ class with multiple inheritance.
commit 5b051968b2c73939bbca2e92296b6f546d911446
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Dec 5 02:44:57 2009 -0300
Constructor initializes multiple inheritance information for Python derived classes.
The Python wrapper constructor for classes that have multiple inheritance
now copies the needed information (mi_offsets, mi_init and mi_specialcast)
from the nearest wrapped class parent in the inheritance hierarchy.
commit 7da644719810ab43d304101f21e0e514109ab86b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Dec 4 16:34:49 2009 -0200
Multiple inheritance works as desired for 99.9% of all known use cases!
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit c625d0acea417a7fa4beb9fa888fd2e67fd4e50c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Dec 4 16:14:25 2009 -0200
Remove multiple_derived from the test blacklist.
commit 88d1620754d316d14bfb7f47db1ea39bf12b0cee
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Nov 30 19:13:52 2009 -0300
Initial ownership documentation
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit fb8e301e45907c43b65a2b7a17dd7f6363746e3a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 2 19:14:14 2009 -0300
Extended implicit conversion test with a case that uses a reference to an ObjectType.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit bfde7a8074a86f547402bcf6deae3e407a8db3bb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 2 19:03:51 2009 -0300
Fixed argument conversion writer and type translator to handle references to object-types.
commit 2dbe941b2b0e163e49cffe6626b1f47a06b8a7c8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 2 15:38:22 2009 -0300
Expanded protected method tests with cases of reimplemented grand parent and grand grand parent methods.
commit 866f657323d75f2331101d56048bb94e1532b10e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 2 15:19:38 2009 -0300
Expanded virtual methods tests with a case of reimplementation of a grand parent method.
commit 458432be438fb750ae351460536cb7cb3e14263d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Dec 2 11:53:18 2009 -0300
Modified the BindingManager::getOverride method to use Python __mro__.
Using the CLASS->tp_mro, which contains the list of method resolution for
a Python class, to find an override for a wrapped C++ virtual method is
more correct than relying in the ShiboTypeObject's baseWrapperType value.
Also baseWrapperType was removed from ShiboTypeObject structure.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 943a413287b522475532583147a78c6517613006
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 2 14:52:32 2009 -0200
Remove Qt specific and useless code from header generator.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 2348f619a3a75036527bc311c57987dc4eb9c345
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 2 14:51:46 2009 -0200
Dont write "::" in include guards.
commit d0e43624f8fbe76c0d942c627ccccf0d4ac7960f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 2 14:30:46 2009 -0200
Add test black list.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit a84378bff4a45aaba839855d6f9151898adbee52
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Dec 2 11:32:03 2009 -0200
Add support for distributed compilation using icecc.
commit 3c433205280de89d4d7709dfb29426492fdbdbe6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 21:26:20 2009 -0300
Removed all undue usage of lambda with assertRaises on unit tests.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit 6d16532a7d504cd1fcd7553957e7e53beac7fc37
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 20:15:25 2009 -0200
TypeEntries created for unknown types found in user added functions
are marked as CustomType isntead of TargetLangType.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9fdba4372215c5fe243eacf8ca10ce51904b5d69
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 20:29:35 2009 -0200
Add parenteses when dereferencing a variable replaced in a template.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 4d2edcd46c8b4cfaddb03edf2dfb5fbc7068e720
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 20:29:10 2009 -0200
Try to guess the check function for custom types.
commit ebb3ddc32fbab6793263652e9a92738678bbc310
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 20:21:54 2009 -0200
Do not try to write the C++ version of an argument when the argument type is a
custom type.
commit d7c654862dfcf12241484cb575b389f6cc541e69
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 19:02:20 2009 -0200
Fix %PYARG variable substitution on constructors.
commit 0f8b230fd2dbc1c618ce8fcc84efa5d741ce1a0f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 18:33:45 2009 -0300
Improved tests for the QLayout-like ObjectTypeLayout.
In the new test case an ObjectType uses a layout that contains another
layout, both created in C++, and then get deleted. Custom code was used
to achieve the correct parentship handling
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 95ee90a0c334b587860d4e54b7bf8c079379d7c6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 18:30:03 2009 -0300
Fixed type system variable replacement to allow %CONVERTTOPYTHON outside functions.
commit 41e15ab24936095dc8ef2eac6c2bb53c4e4ffe6f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 15:27:35 2009 -0300
Fixed inverted parentship semantics.
The parentship was expressed inverted in the type system and was
working because the generator implementation was also screwed.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 6ea32275b157bcf3a97725172a06122b4ff98d0a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 11:36:45 2009 -0300
Updated ObjectType and ObjectTypeLayout to resemble the Qt's QLayout class.
Also added more test cases that use ObjectTypeLayout.
commit 64cda5a441fd912469c4ad2c7afcc39f0da6819c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 10:19:03 2009 -0300
Type check writer now adds isConvertible check to object-types and value-type pointers.
commit f532dd366b70e39000e1431b9dc3ba805f29af57
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 10:15:42 2009 -0300
Converter's basic isConvertible and toCpp methods consider None as C++ NULL pointer.
commit 106a1aceccb2ebac8b13e0b102ce4f015d9fee3d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 10:14:24 2009 -0300
Shiboken::cppObjectIsInvalid now accepts None values as valid.
commit be59882e51be2b19d44eb0c925a759dbc813470e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Dec 1 10:12:11 2009 -0300
Added a new signature of cpythonIsConvertibleFunction to ShibokenGenerator.
Added cpythonIsConvertibleFunction(const AbstractMetaType*) to
ShibokenGenerator to generate "isConvertible" checks that adds
the pointer sign '*' to value pointers and object types.
commit 040a38dd87f34e1dc9c8c144943a59f3a434f477
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 30 17:47:54 2009 -0300
Added tests for object reparenting.
commit 3cd048ce7e6be098b5428bff3e59f0fe1aa14293
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Tue Dec 1 11:22:14 2009 -0300
Fix some ownership tests.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 1b1c6f7dadaeb5872a3d3a170782cb8cf52f4940
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Dec 1 10:57:56 2009 -0200
Dereference pointers when the argument is passed by value when replacing template variables like %n.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 2867ee6f75990d2540baabc55fdfc0c8f527b12d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 30 19:03:03 2009 -0200
Fix issues with parent tag.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit ea768f172b2114c0a07e07e5ae7903f675bc665d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 30 18:00:24 2009 -0200
Added documentation to shiboken command line options.
commit ed4721dd84cb3f637dabb6803c7692c11437f80a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 30 17:37:40 2009 -0200
Removed useless sphinx template file
commit 659ce4c3b9854b3670a7a2c6f685f73eafac53d4
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Nov 30 18:30:39 2009 -0300
Implement 'child return' examples and support.
commit fe71552f4f254d84f2563ee24f108f5dd2c559c6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 30 17:20:34 2009 -0200
Added tests for something like QLayout.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit fdd64b248fb7bf6c6da3d3785e1ce2ec8d26bdbb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 30 14:54:15 2009 -0200
Support parent rules for return values.
commit 8b65c7afec2efb89c0e69154b1dc621b9dee963a
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Nov 26 22:59:57 2009 -0300
Initial version of ownership documentation
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 0986fe76a6caedcd77d0334efe2c09e38ff2a087
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 27 19:50:48 2009 -0200
Add the generator flag "enable-parent-ctor-heuristic".
When enabled, this heuristic will check every constructor for an argument named "parent",
if the argument is a pointer, then it'll be the parent of this object.
commit 78bf7bca1fe92052ae7b64827ae81bbe25bd8c3d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 29 01:26:56 2009 -0300
Added method to take care of the details of ownership transfer to C++.
Simple ownership transference, i.e. without parenting, is now performed
by the new BindingManager::transferOwnershipToCpp method. It remove the
parent of the transfered object and proceeds transfer or invalidation
if needed. The generated code for simple ownership transfer from Python
to C++ now reflects this change.
Fixed the method BlackBox::keepObjectType that steals an ObjectType
ownership to C++ to remove it from its parent also. The BlackBox
class does not take care of the stolen object as a proper parent
would, but its destructor deletes the object, so the "unparenting"
is needed to avoid freeing the same memory twice.
Created an unit test that adds children to a parent ObjectType and then
steal the children to C++ with BlackBox.keepObjectType.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 697f24dfa96b15a46e9e5afa79e102e9a5100d73
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 29 00:40:38 2009 -0300
Fixed some typos in tests' comments.
commit 0e2de944d5ddfce144a824280e08febbc8a1271a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 29 00:19:47 2009 -0300
Wrapper invalidation method recursively updates children objects status.
BindingManager::invalidateWrapper checks if the object to be invalidated
carries any children objects and recursively invalidates them.
Shiboken::destroyParentInfo function was refactored to call the new
recursive wrapper invalidator and then call a helper function that
only destroy the parent information.
The invalidate parent test was updated.
commit 22fb6d89c445174e77afe698d247c72d05e1576a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 27 20:27:43 2009 -0300
Some fixing and refactoring for the ObjectType test class.
commit 2346d25032410cc708088926251acb954c3cfce4
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Nov 27 20:04:27 2009 -0300
Adding index attr to parent example
commit 1dffc65e80f7ed87d51322de10492c7aec7106ca
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Nov 27 18:29:07 2009 -0300
Fix objects/points methods to return a list + fix example using them.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 5d2e5cd85ec6950f5bb848fe08e66cd8520cf29d
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Nov 27 17:17:08 2009 -0300
Use map instead of list inside BlackBox class.
Now keepObjectType/keepPoint and retrieveObjectType/retrievePoint
uses a ticket to get the object from a map. It's a way better than
lists.
commit 62de488a772ad9369887fcb4482df149b7c49b94
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 27 17:52:06 2009 -0300
Fix identation of generated code for C++ wrapper destructor.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit f0b311979e924fe17d0212613692fa95649c5b8d
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Nov 27 16:56:09 2009 -0300
Add test for delete child in python
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit cb864734e69ef75f131ce7b46e7fa463f8ab1876
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 25 19:12:02 2009 -0300
Adding test for deleting parent
commit 0931a0322e19541a86b73fad81da43c10c75d15c
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Nov 26 18:27:43 2009 -0300
Add invalidate parent test
Using BlackBox to invalidate the parent
commit 4521af39d3ba97bb206f3bf321f77d0c84f5f303
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Nov 26 15:49:49 2009 -0300
Add test for deleting child in cpp
commit 104eb1dd5d662e75f39badbcb689d8137cf2f5b9
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Nov 26 15:46:02 2009 -0300
Add removeChild and killChild to ObjectType test
commit eb5cadcdddf834d5df0b36d19d9411e4cf931cce
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 27 16:22:46 2009 -0200
Implemented primitives to solve the parent/children problem.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 3c2e7df28e219a1628f7ed0f1e63b831d07fc69c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 27 16:21:25 2009 -0200
Add parent tags for ObjectType class.
commit 396c6b7ea7f774c60a44b36617bf7a767c208d59
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 27 16:06:46 2009 -0200
Small fixes for parent/child unit tests
commit cd074d305fddf1a3aced9513909adcf9ce632975
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 25 19:12:02 2009 -0300
Adding test for deleting parent
commit 9dbb330536497b07e803dda7c6368d7e875b2c3b
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Nov 27 15:11:09 2009 -0300
Test ownership transfer from Python to C++
There are 3 tests to be implemented in order to check the correctness.
- 1. Correct the assert function inside kindergarten example to raise an exception [done];
- 2. Use "create" method to return a C++ created instance and use it to test ownership [done];
- 3. Use e.g.: "Point" class as a value-type to test "invalidate non-polymorphic".
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 909b8b91f808db71ce3658e88ed19808a5744c10
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Fri Nov 27 11:38:46 2009 -0300
Improving ownership transference tests.
commit 82d9090fa5d60fbe29caea2f0097e9ed6d649de3
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Thu Nov 26 19:39:51 2009 -0300
Renaming -> KinderGarten to BlackBox
commit acad8ceeef196c725eeabe7cf2a042a91eecbee3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 19:01:24 2009 -0300
Added convenience method BindingManager::invalidateWrapper(const void*).
This new invalidateWrapper finds the Python wrapper for a C++ pointer
and then invalidates it.
Virtual destructors for C++ wrappers call the invalidateWrapper on
the "this" pointer.
commit f694fbbff8999bde36fcd161c3b3f369c7f3e6a1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 17:33:26 2009 -0300
Added tests for the validity of Python wrappers used as method arguments.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 609f863f04e9f29e562f7b091bd4f1cb603b23dd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 17:16:49 2009 -0300
Updated method call writer to use the new PyBaseWrapper.containsCppWrapper.
CppGenerator::writeMethodCall now generates code that uses containsCppWrapper
when moving ownership from Python to C++. It deals with these cases:
1. The wrapped object has no virtual destructor: just calls invalidate
2. The wrapped object has a virtual destructor: checks if it was created
by Python (containsCppWrapper is true), if so just transfer the ownership
to C++, otherwise invalidate the Python wrapper immediately.
It also writes an #error clause if the ownership transfer described in the
type system was meant to be performed in a non-wrapped type (e.g.: a PyInt
can not have its ownership transfered to C++, since it is converted).
commit f6fa5d8ace42ded446cbbf95a50cffc068aecc62
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 17:16:12 2009 -0300
Added the "containsCppWrapper" flag to the PyBaseWrapper.
The containsCppWrapper flag says if the C++ pointer held by the
Python wrapper has a binding generated C++ wrapper and was created
by Python. This means that the C++ object has a virtual destructor
that will invalidate the Python wrapper if it is destroyed when its
ownership is with C++.
PyBaseWrapper_New function was expanded with the "containsCppWrapper"
parameter, and CppGenerator::writeConstructorWrapper was updated to
use it.
The PyBaseWrapper structure was documented with comments.
commit a3574b9365f0ba24f2d53d3b615ac926457ebb06
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 17:01:12 2009 -0300
Wrapped C++ object validity checks now consider implicit conversions.
When CppGenerator::writeInvalidCppObjectCheck if called for a function
parameter and said parameter has implicit conversions that use other
wrapped C++ classes the validity check is written for them too.
commit c98a8d83110459e486f623919deafd604f1424e4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 16:57:44 2009 -0300
BindingManager::invalidateWrapper also removes ownership of the object from Python.
commit dc9bff2ee00700f7adb1dd11b2eac9f2b040fa68
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 16:54:11 2009 -0300
Fixed OverloadData::numberOfRemovedArguments(func, int finalArgPos).
The parameter "finalArgPos" refers to a position in the modified
function, when it is provided the removed argument counter must
consider the removed arguments before the final position.
commit d31812c2b3ecb93d1326c00a11fbb4e4bca6f6ed
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 16:51:36 2009 -0300
Added convenience method OverloadData::isSingleArgument(overloads).
commit 736854dc7e64cb2bdcb8d765aace6ee51d8c1150
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 11:01:18 2009 -0300
Python arguments are now checked for Python wrapper validity.
If the expected argument type has implicit conversions the type of
the Python object is also checked.
The invalidate-after-use test was moved from the ObjectType test
to its own test file.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 517d1c914879bcf243442aac4b393e8ee3c26ff9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 26 09:21:14 2009 -0300
Renamed Shiboken's function cppObjectIsValid to cppObjectIsInvalid.
CppGenerator::writeInvalidCppObjectCheck receives the name of the PyObject
to be checked and do not set the exception message anymore, since it is
done by Shiboken::cppObjectIsInvalid.
commit ffbb8bb1df621ab3f31f859e62d21e06f9ed8a80
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 25 18:46:33 2009 -0300
Added the invalidateWrapper method to BindingManager.
It sets the wrapper as invalid and removes the relation of C++ objects
to the Python wrapper from the mappings.
Moved BindingManager::releaseWrapper(void*) to BindingManagerPrivate,
since it should only be used by releaseWrapper(PyObject*).
Modified includes on conversions.h to use quotes instead of < and >.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 9f228238498dea95db7eb8c2f0b21186ea98d206
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 25 17:04:22 2009 -0300
Fixed visibility for multiple derived test classes.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit ecc97184c0025d701ce7789e61ee55b84c29b942
Merge: b973238 32ec53b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 25 16:52:48 2009 -0300
Merged with multipleinheritance branch
commit b973238682789a8f6dc68ec824df8c8e14be0ce9
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Nov 24 15:01:32 2009 -0300
Add overload dependency on PyObject
PyObject_Check should be the last one in the overload type check
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 8dcbf2b6ea6c79d0a984a0d87fb598c6d1fc62d8
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Nov 21 18:00:17 2009 -0300
Improve overload sorting
Now adding a new dependency: If the overload type is a
container or template and the contained type is also in the
overload list, the contained type is checked first.
Added due to QList<String> and QString.
WARNING: Not sure yet if this is the best fix :)
commit 133172661836d496856a190358c0d60ed64dd486
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Nov 9 22:09:00 2009 -0300
Adding test case for sorting overload data
commit a7ad5fdfc6cef168d538605ee0dec0e14f55f7d1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 19:28:00 2009 -0300
Added an PyObject* specialization to the Conversion template to
avoid problems when converting PyObjects to C++.
Tests where also added for this.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit b8db6d3d44eb4e7bdb1e680acb51b91dba64bbc6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 19:01:47 2009 -0300
Updated the code injection writer to replace "%TYPE" and "%0" by the
proper values when they are used in a constructor code injection.
commit 8346dba84250919d435d0115b0f776f4d01ea4fe
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 19:00:16 2009 -0300
Updated Shiboken to use AbstractMetaFunction::isUserAdded() instead
of the removed AbstractMetaFunction::UserAddedFunction enum item.
commit fd4185bd29c74113b645eb165d8c4e3fda580c99
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 18:57:47 2009 -0300
Fixed custom code writing of "native" class for constructors.
commit 0a1c9c647646ab1b905a967437cdbda7036e6a49
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 18:10:43 2009 -0300
Updated libsample classes that are missing the LIBSAMPLE_API macro.
commit 2c32ffea81cd5acc6502cd9864d5dc4d5f63c64f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 13:19:53 2009 -0300
Added tests for classes with virtual and non-virtual protected methods,
for virtual protected destructors, and for non-virtual protected methods
modified with signature removal, add-function and code injection.
Also improved the tests for non-protected virtual destructors.
commit 81282d09cd9b03bade993957a9fc2791eda3393e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 13:15:16 2009 -0300
Added an option to generate code without using the "#define protected public"
hack, that doesn't work on the MS Windows platform. When generating the
bindings it adds public dispatchers for protected methods on C++ classes
that have them. When avoiding the hack classes that have protected methods
get C++ wrappers instead of just the ones with virtual methods.
On top of this, support for virtual (and protected) destructors have improved.
commit e00d987174d56826d9a5fb9ba9983409ad71c375
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 10:47:08 2009 -0300
Added unit test for virtual destructor.
commit ffa52e72c2b8cc5d7a6086d4a5a270eac91de8b9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 23 14:51:56 2009 -0300
Added ShibokenGenerator::shouldGenerateCppWrapper(metaClass) method.
commit e243cc91579f8df5e51518a5cfae75cc995d39ec
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 21:34:40 2009 -0200
Fix location of tr1's hash functions and namespace on msvc.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 5c8637fd719e9dfd0415173128d0d8ea916b7d9b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 15:00:11 2009 -0300
Modified the AbstractMetaFunction class to have a separated flag to
indicate that it was added by the user or not, instead of using the
AbstractMetaFunction::UserAddedFunction enum value. The old way
prevented the function to be an UserAddedFunction and a
ConstructorFunction at the same time, since this information was
stored as an enum of the AbstractMetaFunction::FunctionType type.
A test case was also added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit b2519fa1f17be24956772f5a5101a914cbbdb77d
Merge: 9a434d3 302029e
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:46:18 2009 -0300
Merge commit 'mainline/master'
commit 9a434d34ee73e69db79fa1bba0c9443404653546
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:45:58 2009 -0300
Bump to version 0.3.3.
commit 00104551d30e1c5825d8993f28b81dfa06da038b
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:39:57 2009 -0300
Updated Changelog.
commit 139e84644ea0088e16678e8b8c17b9e5b4fd6269
Merge: 9e03faa c1353d4
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:34:41 2009 -0300
Merge commit 'mainline/master'
commit 9e03faa25a62176fef9a0bddaa29a95eea32715d
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:25:06 2009 -0300
Bump version to 0.3.3
commit 221d87777aaa0bb1c09df509ae354f59a297872e
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 24 11:22:30 2009 -0300
updated changelog.
commit 302029e093c88fb46cea8d6131726b82731110f9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 16:51:01 2009 -0200
Change the getGenerators signature, because on some platforms a function exported as a C function
can't return a C++ type by value.
All generators plugins *MUST* be recompiled.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit c1353d49402e79fd5a2d0006655004315be07752
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 14:28:48 2009 -0200
Install FindApiExtractor.cmake in the correct directory when using
cmake 2.8.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 6d8dea54288cf7864c602b826b5be90b4a0b95f6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 24 10:19:10 2009 -0300
Added methods to set and check for protected and virtual destructor
on AbstractMetaClass objects. Also added tests for this.
commit 982db27e691d4df0276b7e9fbfa471f53c8647a3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 21:18:29 2009 -0200
Added visibility rules to libsample.
commit fc9458dc83858ad76a5d589c3cd787ef5a1d5d16
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 19:35:11 2009 -0200
Remove -lutil from target_link_libraries. This library *must* be provided by cmake.
If any distro doesn't provide this by default, this is a distro bug, not a
shiboken one.
The other problem is that an unix/linux/gcc specific flag can't be placed here, because
it doesn't makes sense on windows.
commit 91428f941656255f7c39f40639c0528ac7f02902
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 19:33:30 2009 -0200
- Add msvc compiler flags.
- Add boost include directories to include path.
- Work when the generatorrunnerplugin_dir variable have white spaces.
commit 4373e985191194ada48a81bc0db592c0312b4c3d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 19:26:28 2009 -0200
Use "unsigned int" instead of "uint".
commit 7289fd3ff34ee42bb6b43203cb0f813f38ee927d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 19:19:50 2009 -0200
Fix dllimport/dllexport macros.
commit 94c954319c72fb70ad82255aba0b7314666585d9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 19:17:54 2009 -0200
Uses __FUNCTION__ instead of __PRETTY_FUNCTION__, which is a GCC extension.
commit c9fb996124de535c1b7e446aa983a0165b60131c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 23 19:02:45 2009 -0300
Removed the use of fileno from the SimpleFile test, since it is Linux specific.
commit 04b6a05df40f88e1a62e522fb65264b932a904d5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 16:49:33 2009 -0200
Disable GENRUNNER_DEPRECATED macro when using msvc.
commit 49610841579e8a7ef614477a0e73c78502c2afc9
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Mon Nov 23 14:30:55 2009 -0300
Fix topological sort for args with default expression 0 and value type.
Reviewed by Lauro Moura <lauro.moura@openbossa.org>
commit 01c26669868b61f641b2bbf4d36779a354ab651d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 14:57:01 2009 -0200
FindGeneratorRunner.cmake now respect the find_package REQUIRED attribute.
commit 0c1ef1849561b56a9f06f0225887b65b0e07beec
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 23 14:39:36 2009 -0200
Install FindGenRunner.cmake and libgenrunner in the correct directory.
commit aab893abc80a1c7db0581220abdccd935e7720f8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 23 11:17:57 2009 -0300
removed boostpythongenerator legacy comment
commit 4861eb3deb00c9d6a153de5c36de29c9ccd85529
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 22 13:41:06 2009 -0300
Removed unused method ShibokenGenerator::signatureForDefaultVirtualMethod.
Used only by boostpythongenerator and remained untouched after the
Shiboken fork.
commit 8f76c2ace7d74c6382b398126f1dcd8cda617d29
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 22 13:33:54 2009 -0300
Added a great deal of tests to virtual method modification cases.
commit c48f9163b42c20c91c33183a1835e0b356f104dc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 22 13:18:43 2009 -0300
Added the method injectedCodeCallsPythonOverride(func) to
ShibokenGenerator, it returns true if a code injection
on a virtual method override (a "native" inject-code) does
a call to the Python override.
Added the %PYTHON_METHOD_OVERRIDE type system variable,
it is replaced by the name of the pointer to a Python
method that represents an override to a C++ virtual method.
A code injection in the "native/end" position for a method
modification is now put before the dereferencing of the
variables used in the Python call (the method object and
the Python argument tuple).
If a call to the Python override method is detected on
code injections of the "native" class from method
modifications, the generator doesn't write the same
call again.
All documentation was updated with the changes.
commit e85fcb77b2f1c9db7fbb3008d073609bf710190a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 21 23:10:46 2009 -0300
Added the type system %PYTHON_ARGUMENTS variable. It is used in
"native" code injections to get the Python tuple of objects converted
from C++ arguments received from a virtual method call. The tuple is
the one to be passed to a Python override of the wrapped C++ virtual
method.
Other type system variables were improved to have a smarter replacement
depending if they are part of a code injection of the "native" or "target"
classes.
* %PYARG_#
In the context of a native code injection it represents one item in the
Python argument tuple, acquired with PyTuple_GET_ITEM. If the binding
developer attributes some value to the variable the code snippet writer
tries to be smart and sets the tuple item with PyTuple_SET_ITEM.
See the updated documentation for more details.
* %CPPSELF
Replaced by "this" in native code injections.
The documentation was updated with the new information.
commit 8560b8437fdc84f16221cabb37397f092f52e087
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 21 21:29:12 2009 -0300
The code injections in the native/beginning position come after the
C++ arguments conversion to a Python argument tuple. The documentation
was updated with this information. The virtual method writer was also
fixed to not convert removed arguments.
commit 2b8bc79e05b3e6800f6c31e4d66991c288029710
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 21 20:50:20 2009 -0300
Added method ShibokenGenerator::injectedCodeUsesPySelf to check
if the user injected code uses the "%PYSELF" type system variable.
This is useful to provide the Python wrapper pointer to native
method code injections.
Also updated the documentation comment for injectedCodeUsesCppSelf.
commit b1f210acf3e564a0757b44c1838773b72908cd4c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 15:43:15 2009 -0300
Added a great deal of test cases for argument removal and modification.
commit 68dab51ea3e835b6739385a9e415e0093f397392
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 15:14:19 2009 -0300
Renamed OverloadData::hasDefaultValue to OverloadData::getFunctionWithDefaultValue
and modified it to return a pointer to the actual AbstractMetaFunction with the
default value (or NULL if it doesn't has the value), instead of just returning a
boolean. The overload decisor writer makes use of this new behavior to get the
correct function for a method call with default values.
commit 4908dc29a59be124ad01eadbfbbab2cdb66ed2f3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 19:00:30 2009 -0200
- Fixes flags used with msvc.
- Set the library output path to the tests directory, so the unit tests can
find the apiextractory library on windows.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit f94e3ab6047ee725c11a6154ff10892811e9226c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Sat Nov 21 15:53:22 2009 -0200
Add proper compiler flags for msvc.
commit 7abd582fb9b75a1b5b11f8ea2b954bde5ec9e4ff
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Sat Nov 21 15:51:10 2009 -0200
Fix macros about dllexport/dllimport.
commit 9ee8473f3ad9b19318110762e2a203996330d060
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 17:30:20 2009 -0200
Fixes various bugs on FindApiExtractor.cmake found when trying to compile
generatorrunner on other platforms.
commit e83754ac82ccc8cf8083f9c442a57b6939eefe82
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 17:29:44 2009 -0200
Export AbstractMetaField class.
commit c476a59f4f8709723bceaa1973251ee0c3032ecc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 14:25:59 2009 -0300
Added test case for method overloads with different return types.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 63745320ed1c2f61f472d7f438317cef0808fe35
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 14:09:18 2009 -0300
Added the writeNoneReturn method to CppGenerator to attribute Py_None
to the Python method wrapper return variable, after a call to a C++
function that returns void, but only when any of its other overloads
has a return type different from void.
Also documented the CppGenerator::writeOverloadedMethodDecisor method.
commit d4325c727704f294019a759d20a4fda57bb4d5dc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 13:28:26 2009 -0300
Added methods to OverloadData:
* OverloadData* headOverloadData() const;
Return the root OverloadData object for the current OverloadData.
* QStringList returnTypes() const;
Returns a list of the possible return types for the current OverloadData.
* bool hasNonVoidReturnType() const;
Returns true if any of the overloads for the current OverloadData has a
return type different from void.
commit 0a7e1e307a3686c7e12d422913f08c8790293f61
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 20 14:36:54 2009 -0300
Added the method ShibokenGenerator::injectedCodeHasReturnValueAttribution
that checks if a function returning 'void' needs to have the Python method
wrapper return value set to Py_None. This happens when any of the other
overloads for the function return type is different from 'void'.
commit f2d02ce9d463edaff78ff1d0f3f3c6c9ba9e9159
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 15:25:18 2009 -0200
Do not export global variables used only in typesystem.cpp.
commit e19c8f718dea4b644332188505a4cf38997302de
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 15:01:32 2009 -0200
Fix install command, so it works on windows.
When compiling with msvc, use msvc specific flags, not the gcc ones.
commit a7fdd58a4312b60d2bc2aeaf49216b74c4237e65
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 20 14:56:35 2009 -0200
Export a minimal set of classes in ReportHandler interface, to speep up
compilation and avoid link errors on windows.
commit 5f1029fae1172331fe8e110ba0302b338f6712f6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 19 20:04:32 2009 -0200
Remove white spaces at end of each line when formating injected code.
commit 8a42258c1e991db1aa04bcaf79b11793b1ca0ca5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 16:29:12 2009 -0300
Updated the type system description of the sample binding to use the
proper type system variables instead of calling Shiboken directly.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 91a8a3e5be3e7ee6bcfc4ce288e54e1ae6aa2f9b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 16:16:38 2009 -0300
Some refactoring and cleaning on CppGenerator::writeMethodWrapper.
CppGenerator::writeMethodCall now passes to the injected code writer
the last argument to be used in a call, if it is not the last one,
so the code writer can make smarter decisions when replacing type
system variables in user written code.
commit 923d660de00f5d7397fa4ab047f8db4407f1930c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 15:57:31 2009 -0300
Modified ShibokenGenerator::writeCodeSnips to receive also an
AbstractMetaArgument indicating the last C++ argument available
(i.e. converted from Python arguments to C++) to be used in the
type system variable replacement. If a variable in the user's
custom code is not ready, it is replaced by the argument default
value.
Also updated the documentation.
commit 8f8de4e763269b57c57eb4d5047139177d7fd1a8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 19 10:18:49 2009 -0200
Do not exit with a assertion failure when the typesystem was not found.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit af0c620e6c74680db24e1bf1a400c48410cae418
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 19 15:02:34 2009 -0200
Fix the formatCode function (again).
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 2946030013ebe8f80a5596a41b5f183c1b2efa58
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 19 14:40:10 2009 -0200
Fix the formatCode function.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 41d487c7dab6dca179cbb90b113e8fe06cd420ce
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 12:51:55 2009 -0300
Added the type system variable "%ARG#_TYPE" which returns the C++ type
for the argument indicated by the numeric index '#'; wrong indexes will
issue a generator warning.
The documentation was updated as well.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 630885e316f17988e9a88cb1cbf8b26c0082f72c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 19 10:14:33 2009 -0200
When the user adds a function with an argument unknown for the typesystem,
the generator writes type checks as TYPENAME_Check, so this macro allows
users to add PyObject arguments to their added functions.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 50c612a7d34a0776cd68686eead6035ddf80b0ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 10:57:48 2009 -0300
Major refactor on the methods writeOverloadedMethodDecisor and
writeMethodCall from CppGenerator. The code is shorter and more
clear.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit b60132d7da4dbf0c2d06b84b1cfc9586cca3eef6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 10:55:04 2009 -0300
Fixed type system variable replacement for %# and %ARGUMENT_NAMES
to handle correctly removed arguments and also consider variable
values with default values.
The documentation was updated with the new information.
commit 7909835691c3589364169c3c8b8e06263490cb07
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 19 10:13:25 2009 -0300
Fixed OverloadData::isFinalOccurrence method to consider removed arguments.
commit 403d2ff8d2c073d673a983b87c9813705ca39496
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 15:08:01 2009 -0200
Use google dense hash table instead of std::map in BindingManager.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 36b122bc1699f37f0354ce62e8de8e7ab866703b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 11:24:51 2009 -0200
Delete all generators at exit.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 890cf26e0a67f2fa2b2312c1a09a6ed9e9cb4294
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 10:49:47 2009 -0200
Do not attempt to write/read a file when the file name is a empty string.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 32ec53b32affed4707712f33cd6a370ecc62ad7f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 14:26:53 2009 -0300
Added new cases to multiple inheritance tests.
commit 3f3e7a567129990e05ca9d5a2e641438b888f713
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 10:40:14 2009 -0300
Modified the multiple inheritance initializer function to consider
cases where the pointer is casted to void* and then casted to a
parent pointer, and after that to a grandparent pointer.
The multiple inheritance initializer is now using a STL set object
to avoid registering the same offset multiple times.
commit 1dacb1f53874fe0e78fae1a613f1d3167c97efc7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 10:38:51 2009 -0300
Added the method ShibokenGenerator::hasMultipleInheritanceInAncestry(metaClass)
which returns a boolean indicating if there are cases of multiple inheritance
in any of its ancestors.
commit 07dcd7d4cb8d5576f028a227164f3652afc48e51
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 09:39:00 2009 -0300
Updated the %PYTHONTYPEOBJECT type system variable to use the new
ShiboTypeObject structure.
commit 4141dc2c0aeca64c37f1d119948e265b9fbf16f3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 00:26:31 2009 -0300
Binding manager releaseWrapper(PyObject*) method fixed to release
the multiple inheritance pointers registered for a class with this
trait.
commit 0d5ddc094018a4b2a7e1caf4d57f39bf38ac8930
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 00:23:47 2009 -0300
In multiple inheritance cases the binding manager only assigns a
wrapper to a base pointer plus offset if the latter is greater than
0 to avoid duplicated associations with the base pointer.
commit 88f1e3aa4f3677687355813f4ff326d273a17e48
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 00:19:04 2009 -0300
Added the getAncestorMultipleInheritance method to CppGenerator,
it returns a QStringList with the names of all classes that are
multiple parents for the current class or any of its ancestors.
The purpose is to get a list of all possible casts that could
change the memory address of the base pointer of a class.
commit 2807ddf87ab5d85698011a4260c833c7fc577fe2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 15 23:34:40 2009 -0300
modified the unused method ShibokenGenerator::getBaseClasses to
return an AbstractMetaClassList (AbstractMetaClass does not
provide such a method)
commit d20e2dd6a0212b2d8a89cbdc9dc99faabb61bd0c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 15 23:40:18 2009 -0300
Classes that have multiple inheritance in some point of its ancestry
now receive the multiple inheritance information, the initialization
function will be that of the first ancestor that have multiple
inheritance.
Example:
class MDerived : public Base1, public Base2
clas SonOfMDerived : public MDerived
MDerived defines the function PyMDerived_mi_init to register the
multiple inheritance information, and SonOfMDerived just uses the
ancestor function.
commit 1081714f5275261420a74ac333a117fd2bbca0c4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 15 01:20:07 2009 -0300
Shiboken retrieves a Python wrapper object from its corresponding
C++ object using the memory address of the former to retrieve the
latter. When multiple inheritance is involved, a C++ object passed
to C++ could be caught back downcasted to one of its parents with
a different memory address, following the memory layout for
multiple inheritance used by the compiler. This poses a problem
to keep the Python identity of a C++ object.
The solution was to extend the traditional PyTypeObject with a
number array with all the possible displacements to be added to
an object pointer to produce the memory addresses for the valid
pointers that could appear from all the possible type casts
involving the object parents. All the possible pointers are
registered (and unregistered) by the binding wrapper manager.
To store the multiple inheritance information the ShiboTypeObject
structure was created, expanding the original PyTypeObject with
two fields:
mi_offsets
an integer array containing the possible displacements from the
object base pointer. The array has the value -1 at its end.
mi_init
the function that will initialize the mi_offsets array it is
called at the first instaciation of a multiple inheriting object.
commit 80282277d0845a65739c33675aa9a91b10faa4b1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 12 09:48:17 2009 -0300
improved multiple inheritance tests with a myriad of new cases
commit 75988e117f22d6bd228dc3fa54887bfcf3773b00
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 18 09:20:36 2009 -0300
Fixed ownership modification writer: the argument index for the self
object is -1 not 0.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit bcc342a9ae9bf5126a28fe462f98c4f7e51a5d1f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 18 09:18:19 2009 -0300
Moved the validity check for wrapped C++ objects to a CppGenerator
method, since it is used in more than one place. Also clearified the
error message.
commit f2b81bc077d6bdec8d846db0f7a7e28e6472894d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 10:17:54 2009 -0200
Creates the output directory if it doesn't exists.
commit a1ba9ad5e6b8c9c9a9e48929faa6c7a337ed8573
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 21:46:03 2009 -0300
Conversion for function/method arguments with modified types will
not be generated anymore. The user must provide its own conversions
for those cases.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 5696943e8b699d425cba5cbabd5837fd5b616c7e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 21:28:51 2009 -0300
Commented unused static function 'dumpFunction'.
commit da6117eb38e4e9a505a2b5c445551bf7ea4b89e1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 21:23:33 2009 -0300
Fixed C string toPython converter to return Py_None when a NULL pointer
is received.
Fixed and improved the test for functions returning NULL pointer values.
commit d2b4c0304ef15deca43c4802c1255ece46f5af53
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 20:35:20 2009 -0300
Added features to manage basic ownership transference between C++
and Python. Updated the KinderGarten example with two methods that
steal and retrieve Python ownership, and added the proper unit tests.
commit 8b9677b29a884b2b05e66ad6bb29aad4d82333ee
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 20:34:05 2009 -0300
Fixed Converter<>::toPython(cppobj) method to return Py_None when cppobj is NULL.
commit 6d7747c7a6ed69a689c8e6672a77ca06c76f39b4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 19:38:24 2009 -0300
When calling a function whose next argument has a default value
the overload decisor tries to find the exact function for the call
instead of passing the reference function.
commit 515d3e34046415007027a1749a7a3be2a8b7a534
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 16:20:43 2009 -0300
Added support for the type system "invalidate-after-use" argument modification.
The Python wrapper object produced for an argument received from C++
on a virtual method call is marked as invalid after the call to the Python
override. If the Python script keeps the wrapper and try to use it afterwards
a RuntimeError exception is raised.
Test cases were added using the ObjectType::event method and the new Event class.
commit 5a579efa850071ef06345a982611eb19995f8187
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 16:18:41 2009 -0300
Value-type Python wrappers now check if they hold invalid C++ object pointers.
commit fb129ef13b3df1a7db31a8d339c910f644ec50ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 16:09:54 2009 -0300
Wrappers with invalid C++ object pointers should raise RuntimeError
instead of NotImplementedError.
commit eb99fbe68dcd618818858a409238b36404af94f2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 09:39:20 2009 -0200
Fix windows macros for dll export/import.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 0132c7fba7d6774f0fa02a728ad869674f59b297
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 18 09:38:41 2009 -0200
Removed unused parser file.
commit e4c1f6a91ad8f12a196948ca52231f6353b0f233
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 17:02:23 2009 -0200
Remove two compilation warnings from qtdoc generator.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit c022f8f4331d0ec741bb8ddaa43661d51cd085a9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 16:54:12 2009 -0200
Adapt to changes in Generator interface.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
commit 6abb94dd7727e476e3df61b183cbf34597a99739
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 16:02:33 2009 -0300
Fixed virtual method writer and Py_BuildValue format string generator
to take pointers to value types into account.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit e860f1efded4e9dc177686372ed06d3a97ba3f11
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 16:16:23 2009 -0200
- Prepare libgenerator.so for a near future when we will need to worry about BIC changes,
Now it uses a d-pointer and do not export private methods/structures.
- Mark some methods as deprecated, as they doesn't belong to Generator, being a huge
cohesion failure IMO.
- Fixed constness of some methods.
Deprecated methods:
AbstractMetaFunctionList filterFunctions(const AbstractMetaClass *cppClass);
AbstractMetaFunctionList queryFunctions(const AbstractMetaClass *cpp_class, bool all_function = false);
AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass *cpp_class);
AbstractMetaFunctionList sortConstructor(AbstractMetaFunctionList list);
Moved method:
verifyDirectoryFor is now a ordinary global function like formatCode, because it's a helper function
not related with code generation.
All these methods would be somewhere/somehow in APIExtractor, because they are basically helper methods to
supply some APIExtractor missing functionalities.
Note: Shiboken and BoostPython generator needs some minor fixes to adapt to changed caused by this patch.
commit 345ede7ab3abaca5ec362ebb2cf09a5aabb4cb9a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 14:08:49 2009 -0200
Remove duplicated documentation.
commit bb21dd53db3fcdb2bb22b5ead64aa846fd430cd3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 14:06:22 2009 -0200
Fixes bug91
Create only one symlink, libgenrunner.so, pointing to libgenrunner.so.x.y.z
commit f081e5ff270a23a2ae2dafede0520416f681ff4b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 17 11:44:00 2009 -0200
Add symbol visibility rules to generator runner.
commit 1e91b684b7174c224ddd40363e5bea74c7a64f66
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 17 09:27:38 2009 -0300
Added the %PYTHONTYPEOBJECT type system variable, which is replaced
by the proper Python type object depending on the context: method
or class modification. Also added an AbstractMetaClass argument
to ShibokenGenerator::writeCodeSnips to pass the needed context
information.
Reviewd by Luciano Wolf <luciano.wolf@openbossa.org>
commit 8297598336b3248fd1d8be778f62b641121b98a0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 17:12:45 2009 -0300
Shiboken documentation updated with type system variables information
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 127367b3ede6e3a59604cc93a3f2133d35b958ef
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 16 17:06:22 2009 -0200
Add variables CONVERTTOPYTHO[###] and PYARG_# to code snips.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 38083ce45cdd4e67b7e59070605c957973ecc250
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 16 11:31:21 2009 -0200
OverloadData does not ignore arguments which modify types.
commit 51608b9e0364932400247f0d5af6605474e0b779
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 16 17:41:07 2009 -0200
Fix apiextractor unit tests.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit c28ad1fcc42821db283b893ea74d54b4d9b85591
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Nov 16 15:35:02 2009 -0200
Add public visibility for more classes.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit db2c18afb616db734ddc2f80194d0151c22da17a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 12 17:58:49 2009 -0200
Remove CustomTypeEntry class
commit 8eb3dadd5266f3fe2ed33abfcc1c2e8f17762a22
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 12 17:57:40 2009 -0200
Remove JObjectWrapperTypeEntry class
commit 126289e702c9d6c2f3c8a99de66cecdd4fd53a88
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 12 17:55:55 2009 -0200
Remove QThreadTypeEntry class
commit ef54513a48df32b3f5d9b19e077d0ac4fefeae63
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 16 15:24:19 2009 -0300
The type system parser now reuses TypeSystemTypeEntry for the any module
file being parsed. The existing module retrieval is based on the
module name given as attribute of the "typesystem" tag. This allows
helps when a single module is described on multiple type system files.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit d2b0d52b53d31ca4b026a1982bb322fcb58a73cd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 13 15:20:54 2009 -0200
Added tests for various inject-code use cases.
commit 6db0e13380d4818a3ab14975e5c30d50c2e4d0e2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 14 19:53:18 2009 -0300
removed unused CppGenerator::writeNonVirtualModifiedFunctionNative
method; it was used only by the boostpythongenerator from where
Shiboken code forked
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit f55aaaf1de07f0039d9ca051d935a80fb668f6eb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 14 19:10:48 2009 -0300
improved the generator detection of user's custom code calling the
wrapped C++ methods (including constructors) to avoid making
duplicate calls;
also fixed the writing of native/end code injection on wrapper
class level
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 9475272fd02378b3f94d8eff6617d23f1bb8de89
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 14 13:14:39 2009 -0300
added support for code injection in the module level
commit 4b1d0e2c4213066bca5f1363403875772abd6219
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sat Nov 14 13:06:52 2009 -0300
fixed the appending of code injection to the module;
previously only code injected from a file was being
stored correctly in the module object, code written
inside the 'inject-code' tag was always lost
commit f659460ba56014b5e7d20a0f3d50b53619132add
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 13 19:04:38 2009 -0300
updated code injection semantics documentation with guidelines on
how to call the wrapped C++ method/function
commit cfae5701b16e057c992f0fadc7faf20dd3e09388
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 13 18:32:27 2009 -0300
fixed how the generator deals with code injection for classes and methods;
also fixed the tests type system accordingly
commit 95a97f17d87bcc20a3b4cfc6a5a98fbbc24fe432
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 13 18:20:32 2009 -0300
added two convenience methods to ShibokenGenerator that receive
AbstractMetaFunction; one tells if the function uses the %CPPSELF
type system variable on its code snippets (if any), and the other
says if there is a call to the wrapped C++ function in the code snippets
commit 8f779f4dbdd3b62891ffd61e8a441f7108ea4cc7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 13 12:35:44 2009 -0300
added complete documentation on how the Shiboken generator interprets
and uses the type system's code-injection tag
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit a98088877fc638ce9f068aaaa5fa4c7f883a1a87
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 12 17:38:09 2009 -0200
APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,
but QtScriptGenerator itself isn't a library, this explains why libapiextractor
does not care about things that every library SHOULD care, symbol visibility and
binary compatibility.
This commit adds symbol visibility rules to libapiextractor as the first step to make
libapiextractor aware of binary compatibility.
This is also needed if we want to be able to compile and use libapiextractor
under Windows.
Note: Not all symbols were made public, just the symbols needed by shiboken,
boostpython and doc generators, because IMHO libapiextractor needs some love
and a API review. More symbols could be added later if needed.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit 4dd08dd079e7e56c7dcc0f8d3d89d1c8d78073d5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 13 10:55:34 2009 -0300
added initial work for more complete code injection tests
commit d21f66a68b8d9c9ec189541a160e6e955ab41af2
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 12 15:48:32 2009 -0300
removed unused method HeaderGenerator::writeVirtualDispatcher;
it was here since the fork from the boostpythongenerator
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit b58553f67867dc3e09243a137de560f83758f4a4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 11 17:22:56 2009 -0200
Add visibility policies to libshiboken and for bindings generated by shiboken generator.
As shiboken generator needs minor changes to support inter-module dependencies, these changes
about symbol visibility does not support inter-module dependencies, however support it is
simple, because we just need to make some symbols visible to other DSO's.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 627d4cc994ba1c122995b367e2fc63a02d02d04a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 11 14:13:01 2009 -0200
Removed useless file container.cpp/h
commit 0307edda4b3448cba88f221cbb60402cbb1adaeb
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Nov 10 20:48:30 2009 -0300
Do not write cppSelf inside constructors
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 94e356425a022e787d86007061977bc4aa01e413
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Nov 10 11:07:44 2009 -0300
Sorting overloads topologically
Instead of using the current weight-based overload
sorting, sort them topologically based on implicit
conversions.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 81abd420131ed0897f8b21b6c21d6cffb6c68181
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Nov 4 19:31:55 2009 -0300
Adding signed int/long/char to primitiveType dict
Reviewed by Hugo Lima (hugo.lima@openbossa.org)
commit 0f880ec413d0ecebd9beb1053ff04e7877183cca
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Oct 31 13:31:01 2009 -0300
Adding external operator to Collector (stream)
commit 14b0bdd84be9a23419fea6b6e70370d4a1cb6501
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 9 19:08:52 2009 -0300
moved HeaderGenerator::writeConverterImpl to CppGenerator, i.e.
the converter implementations now are written in the proper wrapper
class .cpp files instead of in the global module header
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 3abff670957e68c6e6bc2da2aa51acc1b5d4508f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Nov 6 16:38:39 2009 -0200
Added support for reverse operators.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 3e61c5a9b7b54dc31c5c76b0fce8f46c655344ca
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 5 19:01:39 2009 -0200
Added a reverse operator to the test class Str.
commit 93834a55aa0261c3fe5894b1fc596aa8726a407a
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Nov 9 13:25:01 2009 -0300
Adding test case for add-function with const char*
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9deca0a40aa9cd31510e0ba833fe207ac7e3dbab
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Mon Nov 9 15:43:19 2009 -0300
Documentation for container-type tag into typesystem.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 85be0d4d548bef2b249026d80dfb59274253bb17
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Nov 5 20:20:58 2009 -0200
- All reverse operators are now properly tagged as "reverse operator".
- Reverse operators aren't tagged as static methods anymore.
- Reverse operators now have just one parameter, the one that matters.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 6067084bbfb6d479bcb886c73dba402c71257765
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Nov 3 21:00:43 2009 -0300
Remove the stream argument when modifying <</>>
The global operator function was being added to a class' method list
but without modifying the argument list by removing the owner class.
It was removed a long time ago when working on boostpythongenerator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit b6db1498536ce909dad79e85c00f0cec9a4e0340
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Oct 31 14:50:56 2009 -0300
Use isStream instead of hardcoding QDataStream
Also added documentation
commit b70c2847a571ae6bad4bd99535bf6f587c7b7371
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Oct 31 14:18:49 2009 -0300
Adding support to attribute stream in TypeEntry
commit e8c6f4e1a1bbfebdf836e48256ff81a06daf9322
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Oct 31 13:45:05 2009 -0300
Add m_stream attribute to AbstractMetaClass
commit d8dc3d4e8ea3597497ee42b7cd02975213b858ba
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 9 15:06:44 2009 -0300
The AbstractMetaBuilder::traverseFunction method for added functions
now decide the usage pattern for the AbstractMetaTypes of the arguments.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit a2722b07a3ff4cd2b4974118c937b57fde045902
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 9 12:32:53 2009 -0300
added a Python wrapper deallocator for classes with private destructor
commit eb88812ff2a7fa6470758b544d577550b2c2d165
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Nov 9 12:05:27 2009 -0300
the Python wrapper deallocator wasn't removing the Python object
entry from the wrapper to C++ object relation table
commit 3a73744ddd334c8fa420b8c1c801b58660965940
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Thu Nov 5 17:59:37 2009 -0300
Propagate generate flag for child typesystems.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit d333fae90f77299d00b6b41db84487727a0581b6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 6 14:08:00 2009 -0300
Fixed overload decisor to write correct code for the case when a
method signature is found at some point but arguments with default
values lay ahead
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit c7375598ee44d242aacba3cab4e5448f2fcbb760
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 6 13:05:03 2009 -0300
moved the pair container check written by the overload decisor to
the proper place in writeTypeCheck method
commit 3a300338545442396f95d930afa11a7635df0bd6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 6 10:37:03 2009 -0300
added the method OverloadData::findNextArgWithDefault() which returns
the nearest occurrence of an argument with a default value. this
could be used when the overload has only one signature and some
of the arguments ahead could have default values leading to more
than one way of calling the method.
commit f69bf045ad195efe9725c2c6a483a1473cd9ce43
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 6 13:34:56 2009 -0300
added a new test called Time with a set of constructor and method
signatures to test the overload decisor on more situations;
also a clarifying comment was added to the Point class
commit 858e19f8ace26fd1b38d516dc5023530d8e53544
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Nov 6 12:26:45 2009 -0300
refactored the core method of the overload decisor to cut down redundant
code, also added extensive comments to increase understanding of the
decisor workings
commit e3ccffb6b50c3508f0c92280dd314b8393c4ff03
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 5 10:55:09 2009 -0300
updated Python representation of C++ enums and flags (only QFlags at the
moment): the enum/flags numeric operators are shorter and only flags allow
new instances to be created and the libshiboken
Reviewd by Luciano Wolf <luciano.wolf@openbossa.org>
commit 934fa3cb1a2672120bd82bb65764dc6a355ead35
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 5 10:48:05 2009 -0300
added boolean parameter checkExact to ShibokenGenerator::cpythonCheckFunction
forcing it to use the _CheckExact macro instead of the more permissive _Check;
one use of this is to check if a parameter is of exact type enum if a C++
method that receives an enum
commit 4be9565ed1fa49dfacc1bbcd930a3d63b61a4486
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 5 10:37:53 2009 -0300
ShibokenGenerator::cpythonBaseName updated to deal with flag types
commit d04f6315269d857db1eaea45a37746e72d2c7d25
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Nov 5 10:34:09 2009 -0300
removed extensible enum tests since they do not make sense
commit 7a65a185ba4aa9557a1077034b95acdec1e126c6
Merge: b9cbe65 8060141
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 4 17:48:48 2009 -0200
Merge remote branch 'setanta/master'
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 80601411e86eb8a3f63407dadb2f20725f731ca0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 4 17:27:05 2009 -0300
updated toPython conversions to deal with C++ methods that return
references to object-type (which are supposed to be moved around as
pointers)
commit b9cbe65f98fb784cfa681e8a5c8641e94353802b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Nov 4 17:18:26 2009 -0200
Do not generate code for operator[] (sequence protocol must be used) or operator->,
the last one does not makes sense into python world.
commit 83c91cc8e7a90946466d0f4b94b7d9c7a93cb5ae
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 4 16:39:32 2009 -0300
improved the multiple inheritance test with two new methods that cast
their instance of MDerived to MBase1 and MBase2; also did some refactors
and commented the unit test
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit d396d1233effb0eb4c2fbe777237dbeef6b68d53
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 4 16:04:36 2009 -0300
CppGenerator::writeRichCompareFunction now adds an implicit conversion
for the 'other' argument if it doesn't fall on the other comparisons cases
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 35eec1b536db375ca271e8216f857bf9ba333f82
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 4 16:02:47 2009 -0300
added the CppGenerator::writeArgumentConversion method to be used
on Python method wrappers that should convert from Python arguments
to C++ arguments; if implicit conversions are needed code to
deallocate any created object is also written.
commit fcf09b6b5f20c43899126db2cf97d26058298caf
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Nov 4 15:46:24 2009 -0300
modified ShibokenGenerator::cpythonIsConvertibleFunction argument
to TypeEntry* and added a convenience method that receives an
AbstractMetaType* and calls the new version of the method
commit 030df87352ace61c7bad697ece1aa691215c20ea
Author: renato araujo oliveira <renato@renato-note.(none)>
Date: Tue Nov 3 17:10:08 2009 -0300
Skip generation of unecessary wrapper classes.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 90df25280525d86d110f40906153197258b7bd1a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 3 20:13:50 2009 -0200
New theme for shiboken documentation.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit dea207ee699d9d4e9abbe034b7b035df1161613b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 3 20:10:09 2009 -0200
Removed useless/outdated/wrong documentation from shiboken.
commit 2d8b5d3467e34757bf462211e7bbd8e4e1453ac3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 3 20:09:32 2009 -0200
Added documentation for sequence protocol support in shiboken.
commit ec2e6f46ced20a82d886725f146e54e96fedd2ce
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Nov 3 17:29:04 2009 -0200
Add initial support for python sequence protocol.
commit e01eba39663c2f7d0f1137ab30ed18891394afb5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 17:20:31 2009 -0300
updated Point tests with cases for returning Point pointer,
const pointer and const reference
commit 2b54063938045567453daaa17c33b323e68b890f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 17:17:48 2009 -0300
fixed ShibokenGenerator::translateTypeForWrapperMethod to append the
pointer character to value-type pointer strings, this fixes a problem
on the generation of toPython conversions
commit da0ce894660836b1b311e529125a339645a869d4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Oct 30 19:20:22 2009 -0200
Add "()" to the function signature of functions without parenteses.
Without this the function without parenteses will be like an alien to
all others APIExtractor functions.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 048498d28bf7a0451bfc490b9f1799d3d3751b40
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 05:21:04 2009 -0300
* added the ObjectType example which adds some cases similar to
those on Qt's QObject (object name, parent and children list),
although no ownership test was added yet.
* added method Abstract::getObjectId(Abstract*) as a case of
an argument that should be converted to an abstract type.
* added ListUser::multiplyPointList(std::list<Point*>&, double),
which tests the conversion from a Python list of Point wrappers
to a C++ list whose items will be altered.
commit 22ae136011c64b3da8f272e6f55574413064efae
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 05:07:48 2009 -0300
improved and organized the workings of conversion templates: added
ConverterBase from which the generic Converter<T> and the specific
Converters inherit; two methods were added:
* createWrapper: returns a new PyObject wrapper with the Python type
information produced by the HeaderGenerator; this method is called
by toPython when a not yet wrapped C++ object needs to be converted.
* copyCppObject: copies a instance of a C++ class, usually created by
a implicit conversion that needs to be passed to a C++ methods;
could be more than one method with variants of the converted type
(value, reference, pointer) that makes no difference to the Python
wrapped class.
The C++ arguments converted from Python arguments by the Python method
wrapper are dealt with as pointers if they are object or value types.
Abstract classes and object-types, whose copy constructor and operator=
should be private, are declared as Converter<T*> instead of Converter<T>
and inherit from ConverterBase<T*>, this avoids impossible tries to copy
such objects.
commit 7fb3a8f70f37ad31e44849430a64ea9b60d68ffe
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 04:30:28 2009 -0300
added the method ShibokenGenerator::shouldDereferenceArgumentPointer,
which checks if an argument type should be dereferenced by the Python
method wrapper before calling the C++ method
commit 40fda5093b8f50cb8071ce2ee23a60bb681c181f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 04:26:00 2009 -0300
minor changes to Point class from the test library: using more
references as arguments, and added setX and setY methods
commit 0dc6d7208900278cf612567faf71dd4327266041
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 04:22:25 2009 -0300
splited multiple derived cast test into two: one testing a converision
to the first base class, and the other to the second base class
commit 3df3f556471cbaa1d3929e7929a4e5c201ffca45
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Nov 3 04:20:07 2009 -0300
libsample's Point.__str__ now shows float point values;
test case updated accordingly
commit bfa59654a4393f15a82599e4dc7452673ed2fae4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 1 16:07:57 2009 -0300
created a simpler version of ShibokenGenerator::writeBaseConversion
that receives a TypeEntry* and uses only the basic type, ignoring
const, pointer or reference information;
ShibokenGenerator::cpythonIsConvertibleFunction now calls this
new version of writeBaseConversion
commit 6038ce2cca67a7c61a5454d715fd1b1baacf0c15
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 1 15:41:41 2009 -0300
changed ShibokenGenerator::writeBaseConversion return type from
QString to void since no one is using it anymore
commit 6dc8636c9f86fb83d970e736525e8b8252866bf6
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 1 15:20:49 2009 -0300
added "PyObject* createWrapper(const T* cppobj)" to the Converter structure
from libshiboken, other changes followed this improvement:
* added a Converter<T*> specialization that inherits from Converter<T>; its
toPython(const T* cppobj) method returns a existing Python wrapper and
increments its refcount, or else it creates a new wrapper using the
createWrapper method. Now createWrapper is the only method generated for
Object Type conversions.
* added a Converter<T&> specialization that inherits from Converter<T*> and
just calls its parent's methods adapting them to C++ references.
* added a base template class for C++ enums and flags conversions called
Converter_CppEnum, it inherits from the base Conversion class. Now the
HeaderGenerator need only to generate the Converter<ENUM>::createWrapper method.
* all generated conversions now uses only the type name and no qualifiers (i.e.
Object Type converters are declared Converter<TYPE> instead of Converter<TYPE*>
commit 76a79055e1d6c44e85f78f94c400725f1fbfbc3b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 1 12:02:13 2009 -0300
changed PyBaseWrapper_New to receive a const pointer to the C++ wrapped object
instead of a non-const; the const pointer is casted to a non-const inside the function
commit 7f36d495236751cb90b6676f6381dcb8acc5abe8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Sun Nov 1 10:45:31 2009 -0300
removed unused str.h included from reference.h on test library
commit b8c82fa143a1e3f4593896a337a15ad5fe9e8326
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 19:31:06 2009 -0300
moved method ShibokenGenerator::implicitConversions to base
Generator class on (GeneratorRunner)
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 4545d7fc24b016d6456da40298a2cf4581e38ec1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 19:49:29 2009 -0300
added Generator::implicitConversions(type) method that returns the constructors
for implicit conversions for the given type, which should be a value-type
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 1f592674b233a2c07d3ffa2cd035c3b9644b8789
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 19:15:32 2009 -0300
removed method ShibokenGenerator::sortContructor, already implemented
on Generator (from GeneratorRunner); also corrected the type in the
method name (also corrected on the base Generator class)
commit 2419238d2c1fe4b80e5b5e5767f70bc275aa08a0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 19:06:38 2009 -0300
fixed typo in Generator::sortConstructor method name
commit e0a5b65fd9213f77eabf95fcd25b591e3d7966c0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Oct 30 18:29:19 2009 -0200
Added convenience method AbstractMetaFunction::injectedCodeSnips.
It returns all code snips in a function.
commit fd82ee68418264b9b88f1c32411b8c6bbcc03c76
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Oct 30 17:01:22 2009 -0200
Added convenience method AbstractMetaClass::findFunction.
This function returns the first AbstractMetaFunction found with a given name or
a null pointer if no functions were found.
commit 5c1508aa2ee95691abfdbdbac518b3270b283ee4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Oct 27 18:31:57 2009 -0200
We cant assume that all operators have the commutative property.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 9c6170b5a6ec1e84bc777f6f0aa09250b594d87d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 17:36:33 2009 -0300
modified overload method decisor to create an instance of a value-type
when a method that expects a reference for the value-type receives
another type convertible to said value-type; the instance created is
given to a std::auto_ptr object to be deleted at the end of the scope
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
commit f851bcd28974db9a3614145a4ced9f04e321d836
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 17:29:07 2009 -0300
changed the way value-type C++ references are converted: instead of
creating a new wrapper for the new value-type passed by reference it
reuses an existing wrapper as is expected for a referenced value
commit 684aa0235c757a614963deaa4337202b1bc6c997
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 17:11:00 2009 -0300
added new test cases to check if a value-type object passed as reference to
regular, virtual and reimplemented virtual methods are being altered in place
commit 5c190b426be32749bb802c15ef2c980b057af658
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 16:49:55 2009 -0300
added convenience methods to call ShibokenGenerator::cpythonWrapperCPtr;
the base method now uses TypeEntry* instead of AbstractMetaClass*
and checks if the TypeEntry represents a Value Type or an Object Type,
if not it returns an empty QString
commit c5bae38411471448cd226fc91a116034e2757ab3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 13:49:14 2009 -0300
added the Str class to libsample and test cases that check the __str__
implementation and a method that receives a C++ class reference
through a Python type implictly convertible to said C++ class
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
commit 74b9a717eb0a4e375b91f8cb3a4cf6eebb08486a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 09:50:52 2009 -0300
modified ShibokenGenerator::writeBaseConversion to write only the function
name if the argumentName parameter is not supplied
commit 7c721ee9cd052d93ebe13855488d84838d1ad357
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 09:44:01 2009 -0300
fixed bug on BindingManager.getOverload that was returning a non-null
value in the cases where the Python instance did not overridden the
queried virtual method
commit cb4b14c179887735ffa925ea01de333c3ed41677
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Oct 29 11:51:53 2009 -0300
improved OverloadData class to sort the alternative arguments putting
the primitive types first and moving down the wrapper objects with more
implicit converversions; this ordering scheme is needed to avoid
unnecessary (and sometimes wrong) conversions
commit 10b5327e02c3ce3f7339226c6289ce0daf230d95
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 28 18:14:13 2009 -0300
fixed the collector_test.py
commit 2c70b9c40a49dd18bc390783464ef20ed088486d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 28 17:47:49 2009 -0300
modified Converter<T>::isConvertible(PyObject*) to check only if the given
Python object is convertible to the C++ type T, and not if it is of the same
type as T (this is done by the standard PyTYPENAME_Check macros)
commit b01f0b159a5edf42de817fada68e9852a65e8bc9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 28 12:58:10 2009 -0300
the Python check macros are generated once again since it is a
convention for every type to have the said macros; also, there are
some situations where one needs to now if a type is of this or
that kind, and not if it is convertible to other types;
the two ShibokenGenerator::cpythonCheckFunction reverted to the
previous behavior and the new stuff was moved to the methods
ShibokenGenerator::cpythonIsConvertibleFunction, and the places
from where they are called were changed accordingly
commit f369860e8f9d080cf248d257aa3b2febe4093324
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 30 14:23:33 2009 -0300
Revert "changed the way value-type references are converted: instead of"
This reverts commit 9835de882d806a809b96cdce98597156915fbb48.
commit 5ccbce7a917a2a602ad1fa32d8682afe32dd68bc
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Oct 29 20:02:53 2009 -0200
Fix a crash when the function signature provided by add-function tag does not
have parenteses.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 64f7ae3334171168ff803f339d55a179a6e06001
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Oct 29 18:26:23 2009 -0200
Updated documentation of conversion-rule for argument-modification.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
commit 9835de882d806a809b96cdce98597156915fbb48
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 28 01:02:40 2009 -0300
changed the way value-type references are converted: instead of
creating a new wrapper for the new value-type passed by value it
reuses an existing wrapper as is expected for a referenced value;
also fixed the collector_test.py
commit 68539d84d1e8c86a2ebd8681a6bea3f032381187
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 27 17:56:06 2009 -0300
added test cases for C++ operator<< method (Python's __lshift__);
also fixed some grammar on overload_test.py
commit f93d6e90bee106a137968e6b267fa574dcdbb862
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Tue Oct 27 14:49:15 2009 -0300
Fix SOVERSION/VERSION
SOVERSION -> MAJOR_VERSION
VERSION -> full VERSION
commit 215779a303932c36012f38dda6996f9782d6b2be
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Oct 27 14:14:25 2009 -0200
Use the converter inside the rich comparison function, because if the
type is convertible to X, does not mean that the type is X.
commit 8782c39052ead7300ed621a3c91905c674c37927
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 27 15:28:54 2009 -0300
added more test cases to check overload decisor behavior
commit 0cd881dbf54fb964ba5d46ab842a98b6145387ab
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 27 13:39:04 2009 -0300
arguments whose types pointers to value-types are now converted as they
were common value-types, the pointer is extracted only at the time of the
method call; this behavior is desired when an overloaded method has both
cases to decide upon, and it is natural to convert for the common case
commit e09048c630c6c0f992178e36d5479f6da73e7970
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 27 12:50:29 2009 -0300
reverted changes on the associations of C++ primitive types to Python
primitive types for they are used to decide equivalencies on the
ShibokenGenerator::isPyInt method
commit 46619953316a8bc7b5cfc5ac5536187658069273
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 26 19:43:43 2009 -0200
Added Converter<T>::isConvertible to replace the T_Check functions.
This allow the user to full custommize the type conversion.
Note: This change added a known regression on test_derived
commit e7e527ad998fa9c2dbb7d8bf93d105e7b916e755
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 26 11:04:44 2009 -0200
Dont generate conversion rules for types with user definied conversion rules.
commit 4329d974ec98b74b74358718cf17055a00672e2b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 20:24:24 2009 -0300
conversion-rule tag now works inside value-type and object-type tags.
To access the conversion rule, use the new method TypeEntry->conversionRule
NOTE: this commit is a modification of code produced by Hugo Parente.
commit 49fdd12554181cccd9ff53e544e2cbfb1a666882
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 20:21:03 2009 -0300
fixed Generator::Option flag usage error
commit 731908837e2c853e95add93748a777366c4b58e4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Oct 23 18:47:24 2009 -0200
Fix shiboken, so it can use the new conversion rule API from APIExtractor.
commit 4cfd8a4c182ede5fb499163e836a3619dbf92a4a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 26 14:58:15 2009 -0200
Add the missing qflags macro to Options qflag.
commit 5ef2ad8a5a64d0115099be75162ec311479af233
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 17:04:32 2009 -0300
applied patch from Didier Raboud, to fix mixed hyphens and minuses on manpage.
commit f148676af83cf3b71d55aab34feaea85f9f574dc
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 14:32:45 2009 -0300
renamed generator architecture diagram file to a proper name
commit 56ac6360323737d2d07921b96e29c1f5a5ba6d70
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 14:30:56 2009 -0300
updated generator architecture diagram for Generator Runner
commit 3a15584474c9865e23334e30b7cac640dc166a12
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 11:04:22 2009 -0300
readded tests for qtdoc generator that were left behind when forking
from boostpythongenerator
commit ae3abca2b15794bdde313eed3f7f9391cd68f72d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 26 09:31:08 2009 -0300
forked boostpythongenerator project to separate the generatorrunner
so that it could be used independently; the qtdoc generator module
remained part of generatorrunner
commit 30d47b496fac7fc98a2b249746057a2fb9636e2b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 17:49:58 2009 -0300
changed the way that added special methods ("__str__", "__repr__") are
dealt with to allow future expansions ("__call__", "__getattr__", etc)
commit 76892dffe7e79d45f9300ac496baec5063aa72fe
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 16:12:38 2009 -0300
added test for definition of __str__ method on type system
commit dc6dbdc19c797628040a3ffe02c2189823620a84
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 15:31:26 2009 -0300
removed debug line from SimpleFile test class
commit 83dc49eb3f94421e9e17bb444db735693df3755b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 15:08:55 2009 -0300
fixes error that causes return value to be used on method wrappers
that had the return type removed on the type system
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit 1cd1d0c57ea6b608063fc91f1e3d7e9731324ace
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 14:58:40 2009 -0300
renamed template variable %SELF to %PYSELF and %CPPOBJ to %CPPSELF
to improve code readability; also fixed usage of template variables
on type system for the test bindings
commit a7880bedd92bfed75908c055eae641610f6f6ca2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Oct 23 15:41:56 2009 -0200
Added documentation for tag conversion-rule.
commit d43b3d4c08ed35eaf5c4a32043c83382bd00fbd0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Oct 22 16:18:52 2009 -0200
Use template variables for inject code
commit 269a256eb29ef340e6a2f0c1e2b75a74743b040e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Oct 22 14:28:28 2009 -0200
Added better support for functions with inject code.
commit da2a2569c56fca4a41b2a81048cde1fd4705d5ec
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 12:37:18 2009 -0300
added the convenience method implicitConversions(const AbstractMetaType*)
to ShibokenGenerator to retrieve a list of implicit constructors for the
given type
commit 869d3372b55f542d32f6f6220566507e7d8a2cb8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 13:27:33 2009 -0300
Revert "modified the generator do deal with all value type conversions in"
This reverts commit 4213b0176ae9af91221dbe38e1dead10638ff054.
commit 70ba8b2ea9fcad7a6f88938c1675b45dec320a31
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 23 13:27:23 2009 -0300
Revert "The implicit conversions of value types generate a new instance"
This reverts commit 0953187f7b13b8ca410c8db8fa856154cc6729a8.
commit 8e21edd40416a0d6dd87afb6405f4f0443caca83
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Oct 22 11:45:45 2009 -0200
Added functions aren't marked as virtual anymore.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
commit 8fd38fe9fcb176441e34cad2a3094301c33080f5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Oct 21 17:01:57 2009 -0200
Fixed the openbossa logo on the pysidedocs theme.
commit d1af6dc97bbf18577c7a3c4e7a505d1596473cd9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Oct 21 15:12:34 2009 -0200
Added pysidedocs theme to the generatorrunner documentation.
commit c63f069dba7159ec722e97eae886de182466e2fc
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Oct 21 16:59:12 2009 -0200
Fixed the openbossa logo on the pysidedocs theme.
commit 2c860a30499ac1517706f247662598406dbcbd8e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 21 16:18:42 2009 -0300
Added documentation for the new class "AddedFunction"
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 071233773dd5a4f3ccacebf77f2102780a9dc624
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Oct 20 17:38:32 2009 -0200
Added support for add-function tag into typesystem.
commit 73f6ac4faafed5c8c275ff01a22a53bfbc7fc515
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Oct 20 10:08:26 2009 -0200
Implemented a signature parser for the AddedFunction class.
commit ac27d38d44bef714b08d8b675ae105ac41047bfa
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 19 17:10:15 2009 -0300
improved AddedFunction struct with more informations;
extended ComplexTypeEntry with a list of AddedFunctions
commit fa5c2fa99cd0dae464f3cfa6686e2a31f2684687
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Oct 19 11:35:45 2009 -0300
added AddFunction struct to type system collection of objects;
the purpose is to allow the creation of new function/method signatures
commit f2bb27557caa1a97f73b690650bcad746418a7c7
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 19 11:18:53 2009 -0200
Added an entry for AddFunction tag in the StackElement enum
commit 72c050930eeb69c5d436ec6ad7ffc6a1a20211ed
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 19 11:13:01 2009 -0200
Removed code that always add _d as debug postfix, debug postfix is usefull for some packagers
but awful for other distros or simple raw builds, because debug libs will be generated with a
difenrent name and all other projects are expecting the library name without the debug postfix,
resulting in a linker error, because the library was not found.
For all packagers that still want to set a debug postfix, just use the cmake flag:
-DCMAKE_DEBUG_POSTFIX:STRING="my_debug_postfix"
commit 4b881a93bba85821e4cc5afb4e247fe141677389
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Oct 19 11:01:28 2009 -0200
Avoid warning about an unused variable when not compiling as debug.
commit 17a82a3123c8f0d21aa4e32e295f729d862e65f4
Author: renato araujo <renato@renato-mac.osmtc.indt.org.br>
Date: Wed Oct 21 10:47:15 2009 -0300
Implemented support to conversion-rule tag.
Reviwed by: Marcelo Lira <marcelo.lira@openbossa.org>
commit a6281e0fe34a887b9f4b2981e84d0b46145a98d9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Oct 21 14:14:12 2009 -0200
Fixed minor CSS issues on pysidedocs sphinx theme
commit e7c69df51572f5d464a47f0b8f4b4f870b9b1675
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Oct 21 14:12:28 2009 -0200
Removed latex sphinx config options.
commit 988e86e134ba72d037d9967384085f09c03de43d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Oct 21 11:56:41 2009 -0300
added two new variables for the type system template system:
* %SELF, replaced by the variable name for the Python instance
of a class method
* %CPPOBJ, replaced by the pointer to the C++ object for the
Python instance associated with the method where it appears
the 'cpythonWrapperCPtr(const AbstractMetaClass*, QString)' method
was moved from CppGenerator to ShibokenGenerator to be available
for the type system variable replacement method;
the test bindings for the libsample's SimpleFile class was updated
to use the new type system variables
commit 50a75628a9d5ca8dc516c466d97ca0d0cd4004ca
Author: renato araujo <renato@renato-mac.osmtc.indt.org.br>
Date: Tue Oct 20 15:48:11 2009 -0300
Created execption handle for virtual functions.
commit a1ea10151397cefd86aa0f6c4822932d2cc6a601
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Oct 20 15:34:18 2009 -0300
added the SimpleFile class to the sample library to check how a
method returning a boolean value that indicates success/failure
on a IO operation could be modified to express the any occurring
problems as Python exceptions (in this case IOError);
the generator was changed to return a 'None' value for Python
callers on methods that had it's return value removed
commit 111061c3fceb872d4efcafb65014bfd91cfd0051
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Sat Oct 17 15:28:36 2009 -0300
Added a new sphinx theme for APIExtractor documentation.
This theme should be used on all sphinx-based pyside documentation.
commit 51168e70b530c6920411680d5e6dde7aeaba164c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Sat Oct 17 13:41:44 2009 -0300
- Typesystem documentation broken in smaller parts, so it's more redable now (IMO).
- Added cross referencing for nodes cited along the documentation.
- Added documentation for the new and not implemented yet, add-function tag.
commit 705b3f37e76b59d020d24b76600a8b21d319326d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Sat Oct 17 13:40:51 2009 -0300
Added doc/_build to the git ignore list
commit 87175f67dead62f770747f7dce4621d5ebc72d57
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 14:04:03 2009 -0300
Add method AbstractMetaFunction::isCastOperator.
commit 282b8964740d8f0c4c4b9b10f21622da44c1dbd9
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Oct 5 10:45:14 2009 -0300
Bump to 0.3.2
commit 0953187f7b13b8ca410c8db8fa856154cc6729a8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Oct 2 17:27:10 2009 -0300
The implicit conversions of value types generate a new instance
of the type, and this instance must be freed after use.
commit af59f0ced4df8ec0ab709f7df5fdd674c9d21f6a
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Oct 2 16:00:39 2009 -0300
Update changelog for 0.3.1
commit e2a2130624b143b35dd3beba8d4ff5527cf47b0d
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Oct 2 15:47:43 2009 -0300
Bump version to 0.3.2
commit 512da8101cff0f3844704025a21f90dbd3db6274
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Oct 2 15:54:50 2009 -0300
Update changelog before bump
commit 0d720fd9faa9eeef9756952d4e9df4ef8f93029a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 10:59:28 2009 -0300
reinterpert_cast replaced by a C-style cast, to avoid compiler errors on some plataforms.
Cast an object pointer to a function pointer is an undefinied behaviour in some exotic
platforms, so some compiler raise a flag against it. However if we use a C-style cast the compiler
ignores it.
This problem is related to the QLibrary API returning a void* instead of a generic
function pointer.
commit 4213b0176ae9af91221dbe38e1dead10638ff054
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 29 10:18:39 2009 -0300
modified the generator do deal with all value type conversions in
the same manner as it does with object types, in other words
using pointers instead of copies when converting the Python
wrappers to C++
commit 1129ff5d3b65dfa6b8221a1df5383781bd6862d2
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 29 11:10:10 2009 -0300
Removed useless const_casts.
commit a2f6894206343579473fbca6b2ba017df683cbd4
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 29 09:21:29 2009 -0300
Support for reverse operators without declaring __rOP__ methods.
commit fc3f5a94de1d8c2b378f41e6584899221c7c5037
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 17:53:35 2009 -0300
Rich comparison is back!
commit 38a565b7bb3d81cd2796e1c30b30b38a8b3ff476
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 15:31:54 2009 -0300
Register wrapper function __neg__ into number protocol structure.
commit 7c10bba553c5245ab5848bc3f9f0208c0f5c5440
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 15:10:20 2009 -0300
Do not fill the number protocol struct with __rmul__ where it should be __mul__.
Note: This patch ignore reverse operators in all ways, they will be handled in later patches.
commit 7166b671a77433305af8c4a1a6164c87698620b3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 15:00:28 2009 -0300
Removed redundant code.
commit b4cd981624c346416229ce523fff42fd63ee1dbd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Sep 28 11:46:04 2009 -0300
Do not create method wrappers for assigment operators and cast operators.
Note: You need apiextractor with support for AbstractMefaFunction::isCastOperator.
commit 42562fa1c3794ba9657cdfd29cbee33000316d52
Author: Bruno dos Santos de Araujo <bruno.araujo@openbossa.org>
Date: Fri Sep 25 09:51:29 2009 -0400
Add manpages for generatorrunner, docgenerator and boostpythongenerator. (Fixes: #29)
commit 3c2fd876adfe2a0271054779dcf288ea39762a66
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 24 17:19:50 2009 -0300
Handler::current renamed to Handler::m_current
With kdevelop4 it's so easy :-D
commit 653dc64720ae78c633c2282519b9b21fb6491b3b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 24 16:59:56 2009 -0300
Fix bug#38.
commit 9a34c9489429c17a36d248da91be10ca0f927d26
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Sep 23 17:14:23 2009 -0300
Unit test to catch the bug#38.
commit 5604a7b2f41fda5d78271032429805604b6f08c3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Sep 23 16:43:32 2009 -0300
Created CMake flag LIB_DEBUG_POSTFIX for modify library name when using CMAKE_BUILD_TYPE=Debug.
commit b36facf8895b7f4b524d85088683010d34549249
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Sep 22 18:46:53 2009 -0300
Fixed error when running generator whithout set correct global header.
Rev: Hugo Lima <hugo.lima@openbossa.org>
commit 6b9a6c30cb4899d7536dfae7e74413f7d6cf897b
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Tue Sep 22 17:36:00 2009 -0300
Fix QTextCodec and QTextCodec::ConverterState generation:
- Fix function names containing "::" (such as QTextCodec);
- Fix wrong method naming while generating CPython code;
- Fix inner classes code generation.
commit 50bfbf524e84fee2b3e7cb7a6e74eab73cc99ab1
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Sep 15 18:57:16 2009 -0300
Fixed generation of fields for non wrapped class.
Fixed copy constructor generation.
commit 0581436081ef69ae62c51d4bb53c03cb9e6adefb
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Fri Sep 18 17:59:25 2009 -0300
Removing unneeded hard-coded -lgenrunner
commit 8b1169b3d41890ef7da08b7f6f28ed9ba791fac8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 18 15:54:29 2009 -0300
Shiboken now fixes the conversions and calls passing Object Types by value
commit 16aec6877fb3cd4b76cf76988c853529b9b31c42
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 18 15:20:19 2009 -0300
Fixed bugs related to the strings returned by defaultValue and originalDefaultValue.
- If there are no typesystem modifications, originalDefaultValue will be equals to
defautlvalue, so originalDefaultValue will not be the same string found by the
C++ parser, it will be usefull only to check if there are some default values
modifications.
commit aaf120dfbbcce364f694f985fb2348a9429b2bee
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 18 15:04:42 2009 -0300
Reset the type database before runing each test.
commit 38283f8ae3a479dbc213ff16c8b727094028bb9a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 18 15:02:04 2009 -0300
- Turn ctors of TypeDatabase private (It's a singleton!)
- Makes possible to reset the TypeDatabase, this is usefull in unit tests
when you need to make all unit tests independent of each other.
commit be5fb84cf7a20d7fe446ef8fdb3b03914fca8526
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 18 15:00:54 2009 -0300
Add tests for defaultValue and originalDefaultValue methods.
commit 2a26c34da5984bcfc31ec853c79d0b3081edb8d5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 18 14:35:33 2009 -0300
added support for multiple inheritance on Python wrapper
commit c38fdeea1a18e4e3f348a12019563a14f33cd39c
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Sep 18 13:24:18 2009 -0300
expanded the unit tests for multiple inheritance
commit 31bf15c779fc5c66c0ed37b557d288dd7911dfa3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 18 11:17:08 2009 -0300
Revert "Fix a bug related to function default values."
This fix bring to much regressions.
This reverts commit 752c22056f4ba61961a01819992f9af71a3b0416.
commit 636ca3946e1ec89900a5a509c31b4aafee84af70
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 17 22:10:17 2009 -0300
ShibokenGenerator::translateTypeForWrapperMethod stoped mixing
references with references to containers
commit 846d5a5482720c37d55be910ec8d696de561a640
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 17 14:15:21 2009 -0300
- CppGenerator::writeOverloadedMethodDecisor takes care of pure virtual functions.
- Return 0 when an error occur, not PyNone.
commit d54092a097fbd6b5dfb7d54b60eec4d1682d233d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 16 21:23:19 2009 -0300
argument conversion now deals with pointers to Value Types
commit 3535a84296afc00eb6913fd1e55decea41b3f35f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 16 20:55:01 2009 -0300
modified ShibokenGenerator::getFormatUnitString signature to receive
a pointer to AbstractMetaFunction instead of a AbstractMetaArgumentList
commit c0ed7e6f62a2e983f85bf5ef68184f9eec5ca3eb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 16 19:37:58 2009 -0300
generated converters uses 'const' for all Object-Type parameters
commit e004df0d457f008d9f23c6b9708c5a37cc446f32
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Sep 16 17:45:19 2009 -0300
Do not register a tp_new function for classes without a public constructor.
commit 30272e14e2ea9f173bc31636998d1c7d9f5e18b3
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Sep 16 17:24:51 2009 -0300
Changed signature of PySequence_to_argc_argv.
commit e4287151135ee3d5d9c05b9f7f421b253fece677
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 16 13:15:04 2009 -0300
added suport to flag-like enums (aka QFlags)
commit 2ed8b4dcc030ce0274ea056dd541f48d57629ee8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 11:21:05 2009 -0300
Added more tests for APIExtractor.
commit 752c22056f4ba61961a01819992f9af71a3b0416
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 10 11:17:11 2009 -0300
Fix a bug related to function default values.
ApiExtractor tries to modify the defaultValue every time, so then return value of
originalDefaultValue() if diferent from the return value of defaultValue() when
they dont need to be.
Unit test included.
commit 7f55b8c2f579753ffaff6ef4d75e0dbc7fd9da34
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 15 13:47:06 2009 -0300
Removed useless ValueHolder template.
commit 1d811177537207ff0df63985ca4e071c8908a630
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 15 11:50:12 2009 -0300
Removed rich comparison support until it stops generating bad C++ code.
commit 1484802d654fb18ea5da9c10c1a4f3a72ba34e9e
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Sat Sep 12 20:52:45 2009 -0300
Implemented support to return policy for Qt::HANDLE.
commit 3d18dd2011db8901032dee7136df014b502d0aa7
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 19:43:28 2009 -0300
Fixed missing include in docgenerator.
Fixes Bug #5
commit 835cc5773b8fea68c3121f2f86e69ef1c3d4aa2d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 17:12:11 2009 -0300
Fix more compiler errors on generated code.
commit a79deb363718cda61416ac2796350b40a93fb8df
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 15:46:18 2009 -0300
- Fix CppGenerator::writeMinimalConstructorCallArguments to support containers.
- Detect QObject and QFlags as non trivial types and use the Converter before
call Py_BuildValue with them.
commit 6e4832a0c0fb772d1ccbb51b5b351d007df0c3fb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 15:44:52 2009 -0300
Use const void* instead of void*. This solve the problem when we are inside
a const virtual function and the "this" pointer is const.
commit cb869be5e63353c6cfe781b954e852f4f120f437
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 15:20:41 2009 -0300
Return a default value when cant find a python implementation for C++ pure virtual functions.
commit 2bf0c409590c15b72a960d693fad4ac48ce4b8a6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 11:54:08 2009 -0300
Add the option to set the directory where all log files will be created.
commit 49e15b561187670f6c4314e10929903393d444b1
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 11 11:46:45 2009 -0300
Write logs in the outputdirectory instead of the current working directory.
commit a01bd47054001bb05cf11431237268b753165f32
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 19:20:30 2009 -0300
Use specific Qt include headers for OS compatibility.
Fixes Bug #49.
Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org>
commit 30a5c9f3038ede7d52cfe2bcda586ed97525c86b
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 19:18:27 2009 -0300
Avoid use of pkg_config for search for libraries.
Fixes Bug #39.
Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org>
commit b137437505cf662a899a22ffda9c5b36e68181c3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 11:01:03 2009 -0300
Use Py_RETURN_NONE for functions with null return.
fixes bug #45.
commit 4466eddf64fbfa5d62c20a6782f99b01369fb47d
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Sep 9 15:33:08 2009 -0300
Create multiple heritance tests.
commit fa88814edd7885b0ec4f13ada015e005f5ce6e26
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 10:38:06 2009 -0300
Created ChangeLog file.
commit 5927c47bb5109aa49bba5ef6655b26684c62dd04
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 4 17:43:47 2009 -0300
Added more tests for AbstractMetaClass and AbstractMetaEnum
commit 17dd519767f2a877457f723f166a90119e2ca310
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Sep 10 10:40:02 2009 -0300
Created ChangeLog file.
commit f6192d44c56f76749f8140a81fd0f10bde74ee9a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 10 10:24:07 2009 -0300
Fix file name of class wrappers for inner classes.
commit 705549f07ee4366ef20f4918e376edd510cb3495
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Sep 9 15:01:00 2009 -0300
Do not create implicity conversions for ctors removed by typesystem.
commit 1e4c0e20901bab30da774569abb7f8b40101d4c8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Sep 9 10:51:38 2009 -0300
Add includes of global functions
commit a5ac7504e9ac14028e20bb0e579c075c339fa3e1
Author: Luciano Wolf <luciano.wolf@openbossa.org>
Date: Wed Sep 9 18:43:58 2009 -0300
Implement oddBool unit test.
commit 660237e4e259d5bdd7e299a3a828c39be0068621
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Sep 9 15:16:41 2009 -0300
Check for constructors in isVirtual function.
Fixes Bug #46.
Reviewed by Hugo Parente
commit cc9963336feb7cc3bed8aa71b627395eea725397
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 19:03:56 2009 -0300
Fixed typo in generatorrunner.
commit e5f356b6f65cd58b682fdbc3247740945bd0b268
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 19:01:33 2009 -0300
Fix typo: GENERATORRUNNER_PUGIN_DIR => GENERATORRUNNER_PLUGIN_DIR
commit 23281d9afef0b1f0972458dbc84f48fd186e435e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 18:58:45 2009 -0300
Fix typo
commit 450882b3d37cb7c919e51aa64424b8431c049791
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 16:36:12 2009 -0300
Correctly handle operator[]
commit 04fe2c7da09670f65fe091cb17b403b5b0dee155
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 16:10:57 2009 -0300
- Implementation of some functions moved to .cpp
- Added a warning when no python operators can be found to a C++ operator.
- Added mapping from C++ operator[] to Python __getitem__
commit 44033dbc8c7790f8d62c7fc841b9f6e7e610d15a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 15:06:41 2009 -0300
Install libshiboken_generator in the right location.
commit cd78e72332f2e21e4e04c20ad33b46260dd32742
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 14:19:34 2009 -0300
Fix LGPL license plates to libsample unit tests, so the tests can be executed again.
commit b5c80ba98c0100e4aafb5ec767e165949cb5898a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 14:18:45 2009 -0300
Fix libsamplebinding generator, due to recent changes in boostpythongenerator.
commit bc7bbec2a472ba71edcaed3bb90c078b2b67c569
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 14:07:47 2009 -0300
Fix missing parenteses in FindGeneratorRunner.cmake
commit 3247a6f50cd0b50fb046de3845a52e4860f2fbfb
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 8 11:44:43 2009 -0300
Do not link with boost::graph library.
Fix bug#37
commit 62bd01fd2bccb01fdb2eb9eeaf07db4ed1ae5838
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 4 14:31:40 2009 -0300
Fixed bug#26.
Reviewed by Renato Araújo
commit 879ca025fc24bb79c5744557fc4a14e186e9f61c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Sep 4 14:11:07 2009 -0300
When the user passes an absolute path as the plugin name,
generator runner will load the desired file instead of doing
a mess with the absolute path and the GENERATORRUNNER_PLUGIN_DIR
variable.
This is usefull to test generators plugins without installing them.
Reviewed by Renato Araújo
commit 74ad15b93b2c3816850acb702c669be8ce0fc4ab
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 3 19:29:54 2009 -0300
- Merged boostpythongeneratorversion.h.in and generator_plugin_dir.h.in
into generatorrunnerconfig.h
- Added some variables to FindGeneratorRunner.cmake
* GENERATORRUNNER_PLUGIN_DIR The dir where the generator plugins
should be installed.
* GENERATORRUNNER_VERSION The generatorrunner current version.
commit 518028765c892b7a6a840cca92376ccc8b77b04c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Sep 3 18:48:57 2009 -0300
Fixed assert failure when using qtdocgenerator.
Added a default implementation for Generator::subDirectoryForClass.
This breaks the binary compatibility but NOT the source compatibility.
commit 8ddf82dda3e57fe6d72ed5dab9ebb650cef0765a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Sep 3 11:30:40 2009 -0300
added LGPL license plates to libsample unit tests
commit b811be1ce4aa832ed7aa8542da535000924effa3
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Thu Sep 3 10:38:55 2009 -0300
Installs generator plugins in its own directory.
commit 25b08270fed65b2ef6e93fc2687c12c900e26309
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Sep 2 18:55:17 2009 -0300
Bump version to 0.3.1 (correct version)
The previous commit bumped to a wrong version.
This also adds support to micro version numbers.
commit ac4305ea901d7bfb806dadfcdf4ea047d6c6035c
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Sep 2 18:27:25 2009 -0300
Bump version to 0.3.1
The previous commit bumped to a wrong version.
This commit also adds micro version.
commit 495f51aedd35a886b2ac04a6c54a78368cc28227
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Sep 2 14:36:41 2009 -0300
Bump version to 0.4 (development version)
commit ac1ca6f62d563c34460bc098714fc9d228235713
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Sep 2 14:31:48 2009 -0300
Bump version to 0.4 (current development version)
commit 3bb03f3858c7da7e6aa5a841339a5d81d10a2d1b
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 2 03:36:53 2009 -0300
added a hack to CppGenerator to go back to generating wrappers
for global functions; this hack is only need until API Extractor
supports global functions declarations on the type system
commit e7de1cc2813948a85b755b29fdc9e363a6f6e196
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 2 03:40:13 2009 -0300
changed converter for C strings to support both 'char*' and 'const char*'
commit c613818b5977f4385f680e9bb1a7e90ff5230164
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 2 02:41:40 2009 -0300
renamed 'lastArg' argument to 'maxArgs' (and 'numArgs' in other places),
the new names must fit better the intended meanings
commit 0e137b5969f73a980827058e724bcdd00a2e0802
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 2 02:21:23 2009 -0300
renamed PolymorphicData class to OverloadData, this should represent correctly
the class' function; other relative renamings were also performed
commit 146a43e6ab75e97c92ebef8cf7c218e8eb3a5c4a
Author: Bruno dos Santos de Araujo <bruno.araujo@openbossa.org>
Date: Wed Sep 2 01:39:23 2009 -0300
fixed some typos on license plates
commit 9e00e39dca65935df280b35ccffce84287e1f4c4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Sep 2 01:19:58 2009 -0300
- CppGenerator and HeaderGenerator modified to take classes with
private destructors into account
- Removed ShibokenGenerator::canCreateWrapperFor(...) method
- Minor improvements to ShibokenGenerator documentation
- Expanded PrivateDtor case and added related unit test
commit fd761144e6ae4c24b3f77fae7047eaa26dbb8764
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 23:10:53 2009 -0300
Added missing LGPL copyright header to libsample/oddbool.h
commit c5f22026676c907eb91442754a7d4cfe0486f045
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 22:34:00 2009 -0300
Changed generator to convert the method call results on wrapped methods
at each possible call, instead of receiving the return value in the C++
type and converting it later. Having the result value as a PyObject
pointer avoids the problem of declaring the return value variable with
a class that do not have a simple constructor.
Example: "Foo resultValue;" is a problem when the only constructor for
"Foo" is "Foo(int)".
The above described problem is made worse with the addition of OddBool
and OddBoolUser cases to the sample library. OddBool is registered as a
primitive (and convertible) type, registered this way it is only
available as a TypeEntry and a suitable constructor cannot possibly
be found. This is different from Value and Object types for they
become AbstractMetaClass objects and all constructor signatures
can be queried.
commit 06ebb031b31d1c37eb7f2888d38356a2f083cd81
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 22:27:45 2009 -0300
method ShibokenGenerator::writeToPythonConversion now checks for
validity of 'type' and 'argumentName' arguments
commit 67a473bc145feb44c07da5e8383adc1e06899352
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 22:25:08 2009 -0300
generated headers now include headers defined on type system file for primitive types
commit bf77e3dcecb165e45dd93046512aeb454b318e3a
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Aug 31 16:39:46 2009 -0300
Bump version to 0.3.
commit ad1ad43beddae554fbb456acc9c6485964df06d2
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Aug 31 18:17:09 2009 -0300
Bump to 0.3
commit 5db89848578a416d2904317bc6cc361c3409af2c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 1 19:03:07 2009 -0300
Added a python test to classes without default ctor
commit e2ac43587bf4549ca01f5f6092f7c164bf3395ef
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 17:37:44 2009 -0300
moved setInclude, addExtraIncludes and related methods from ComplexTypeEntry
to TypeEntry, this way they will be also available on PrimitiveTypeEntry;
the type system format now accepts the 'include' tag
commit 4d15d6c9527e078921d32ddcdbdec782e1d787f8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 1 14:40:36 2009 -0300
Added LGPL license file for libshiboken and libsample
commit 7efedd00ebdb71891c00f87c70103ac75e5ce705
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Sep 1 14:39:48 2009 -0300
Added LGPL copyright header to all libsample files.
commit 684cb83c834b04eed7b8a84842b7f75e7a45f9ee
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 31 21:50:40 2009 -0300
Added an example of a class with a private destructor.
commit 7b4bb821d11cb43eb7ad748cd4f4344841f516bb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 11:40:20 2009 -0300
added virtual method cases to NonDefaultCtor example
commit cdff56993e173ca59bb7a10f9cf58a192fedfb28
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Sep 1 11:34:30 2009 -0300
added the method CppGenerator::writeMinimalConstructorCallArguments
to solve the problem of declaring uninitialized variables for
classes that do not have a zero argument constructor.
Example: the class with only this constructor
NonDefaultCtor(int)
couldn't be instantiated this way
NonDefaultCtor cpp_result;
The added method searches for the minimal signature that uses only
primitive types and helps to write this line instead
NonDefaultCtor cpp_result(0);
Right now the method doesn't deal with the case of a class with
no constructor receiving only parameters, but a recursion could
solve the issue.
commit 1eef8c3c7c905675ddeb09e7ada3e98e8b6fa4b5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 31 19:39:09 2009 -0300
Added a corner case to broke Shiboken tests >:-)
Shiboken generates wrong C++ code when exists a function/method that returns
a type without a default constructor.
commit e853413dc073d187ccc0a5d5c252332b4f5e37c1
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 31 15:28:38 2009 -0300
Causes a link error when no converter is supplied to a given type.
commit ae6e4783e738f1a597f9700f9ba4bc0d5de02278
Author: Chris Hills <chaz@chaz6.com>
Date: Mon Aug 31 19:27:58 2009 +0200
Check for GeneratorRunner with cmake
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 267d9adb4f6e19b3c314a501f84d8fae22c0983c
Author: Chris Hills <chaz@chaz6.com>
Date: Mon Aug 31 19:19:01 2009 +0200
Add pkg-config and cmake support
Reviewed by Hugo Parente
commit 3c7f8a7013ef03df29045915eb6ea02a79812227
Merge: 182450c 44f4311
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 31 15:08:21 2009 -0300
Merge commit 'baraujo/master'
commit 44f4311f9bd6ce8ec108eb03e2a78a93c1ac2c2c
Author: Bruno dos Santos de Araujo <bruno.araujo@openbossa.org>
Date: Mon Aug 31 11:35:50 2009 -0400
Allow build on either python2.5 or python2.6 seamlessly
commit 182450c804c6396c853ddbbdb23c4b76ce067aae
Author: Hugo Parente Lima <hugo.lima@openbossa.org>
Date: Sun Aug 30 16:14:06 2009 -0300
PolymorphicData.dumpGraph() is now a public method (to help us with unit testing)
commit 2fd8bcf0654a2055905c559c24ad33bb49284f3a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Aug 28 19:24:46 2009 -0300
fixed constructor calling code written by CppGenerator::writeMethodCall
to check if exactly 1 argument was requested through the lastArg
parameter;
also fixed grammar on a comment
commit fff3d7cbcfcfc8fe84cddc6632dce5a6f3a114fe
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 18:52:46 2009 -0300
Fix bug when binding copy ctors
commit 7dbaf4952df75cd974a724f2a0123add19a3c652
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 17:21:33 2009 -0300
Correctly handle uints and ushorts, because APIExtractor does not knowns the
that uint is equals to unsigned int.
commit 19f86eb8b0f0733401ebcbfd280f8aee34642ba5
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 17:18:44 2009 -0300
Added a common use case to break shiboken legs.
commit d371f80bf6447bb4f6c209dabb5e5def02665e20
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 15:37:41 2009 -0300
Removed inline implementations from inside Converters to avoid the
creation of specialized templates just a few lines after
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit d5fc115c508fa1bdb295d2cb7f4a2cb3385c4e82
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 14:55:52 2009 -0300
Removed all warnings
commit 4d97a7317791a274e95e09e5a073f475362fbc37
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 14:44:10 2009 -0300
Turned on compiler warnings by default
commit 0daf40446416f26fa4de8ae7734b1677a0b7f6d0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 14:39:04 2009 -0300
Binding of global functions DISABLED due to an APIExtractor bug
commit a438dafa40a072a343e1237a4f8cec9d7a3af309
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 28 14:24:31 2009 -0300
Remove useless option
commit 0e1a43cb39c1e5865c506bc7c69777c0d5ac6303
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 21:25:33 2009 -0300
Fix install location for libshiboken pkgconfig file and remove redundant cmake code
commit 6aebdfc467fb3a6436f418875d974542519666b0
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 19:29:27 2009 -0300
added convenience binary applications to call the generatorrunner
with --generatorSet parameter for shiboken
commit 06b1408262174c6bbfc4113f2c68fa692f19def3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Fri Aug 28 13:15:11 2009 -0300
Fixed default return policy for functions which return references.
commit 074d760dd786afba58550834eb77cc14ba5bd00b
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 21:25:33 2009 -0300
Fix install location for libshiboken pkgconfig file and remove redundant cmake code
commit dd51a87080189abdcb4f692b3c474928e26a3f64
Merge: 7170eba b78a618
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 21:22:18 2009 -0300
Merge commit 'mainline/master'
commit 9375ce7bd1f622de9a0eef9e6ea111f37581a01b
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Aug 27 20:46:51 2009 -0300
Fixed export enums without namespace.
commit b78a618e4f54dbdbf06c972b8035bcfd4b717d29
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 19:07:22 2009 -0300
Fix lib install dir
commit 54ddc33ffbc2a303154ead10045c681bfe815af7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 19:29:27 2009 -0300
added convenience binary applications to call the generatorrunner
with --generatorSet parameter for shiboken
commit 7170eba0ae3b8c1017b08161e827894f6afa6693
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 19:07:22 2009 -0300
Fix lib install dir
commit 21ec8e15575cb3f58db759d123b2e471f9bd2e22
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 27 18:37:30 2009 -0300
Shiboken ported to the new generator/apiextractor architeture.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 6958a91921f3b2edb12679cf451289083d84ce7d
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Thu Aug 27 16:46:56 2009 -0300
Implemneted QAbstrctField as Python properties.
This implementation avoid Karmic python and boost conflict for readonly fields.
Reviewed by Lauro Neto <lauro.neto@openbossa.org>
commit 5242336237e970c2f47f31f6e941073317775279
Author: Chris Hills <chaz@chaz6.com>
Date: Thu Aug 27 13:01:16 2009 +0200
Re-order include path for using non-system Qt libraries
commit 39dd735c9486a5808e26a4f07e19522cc904ddd9
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 02:48:03 2009 -0300
updated sample library with VirtualMethods class which contains
a case of a virtual method that is reimplemented in Python and
checked in the unit test
Reference class and unit tests with cases
of virtual methods that receive C++ references
commit 560cd5ba22479d4b5067c171838a46a4e559e886
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 02:45:21 2009 -0300
fixed type conversions for C++ arguments passed to virtual method wrappers
commit 5ba896641df413f496e634ff5953c4d516157173
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 01:01:06 2009 -0300
updated sample library Reference class and unit tests with cases
of virtual methods that receive C++ references
commit 93d0d9b5e3178efb8e78fb1ec2c7a2b4ede02972
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 27 00:58:25 2009 -0300
fixed conversion of arguments on wrapper virtual methods;
also extended conversion templates to automatically recognize
references and constant references
commit 37760c1185bcc7887341bfab6e231def221356d1
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 26 22:51:19 2009 -0300
moved specific CPython wrapper code from ShibokenGenerator::translateType
to ShibokenGenerator::translateTypeForWrapperMethod
commit 77de99c240585294980d87509247c3e612943414
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 26 15:12:38 2009 -0300
writes the virtual qualifier for a method on wrapper header file
commit 5a193b528142b15d2af726d0f2ab49f9aca258c3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Aug 25 19:58:33 2009 -0300
Skip native types using only inNativePointer.
with this new isNativePointer, the generator can avoid create useless return policies.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 66b4e57c4c48cfe730dce2671eca25f3434d13a6
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Aug 25 19:56:05 2009 -0300
Create a new method to AbstractType: isValuePointer.
Separeted value pointers from native pointer for help generators.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
commit 4fca6cf851dbec9c0ea7c930e7d519bdf3d8964e
Merge: ab4a6ce c52a246
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Aug 26 14:54:35 2009 -0300
Merge commit 'hugo/fixdocgenerator'
commit ab4a6ce8f5249240275c5d7bc3e136bdf33d2c19
Merge: 2a81b24 7ab82ee
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Aug 26 14:54:30 2009 -0300
Merge commit 'hugo/smallfixes'
commit 2a81b249a8098f04aaee89842b90bf53318d61a3
Merge: df19d99 1fa2842
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Aug 26 14:54:23 2009 -0300
Merge commit 'setanta/generatorapp'
commit df19d994ac6b7085b75b7551a849248d9dfdfa3f
Merge: f190baf 4749942
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Aug 26 14:54:20 2009 -0300
Merge commit 'setanta/metaclassname'
commit 3c06795f3cf8fcee47208f8b0759cd270eaedbb6
Merge: dfbe29e e078392
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Wed Aug 26 14:48:03 2009 -0300
Merge commit 'setanta/unspecifiedtypesystemfile'
commit c52a246e45150c1f2be6fd0d472223bbaf92ffca
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Wed Aug 26 13:52:00 2009 -0300
Add missing macro to export qtdocgenerator plugin.
Reviewed by Luciano Wolf
commit f190bafc8a82b73c08d25c07ff08a8eb00eca2d7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 26 03:06:17 2009 -0300
the generator runner exits with an error code if the call to
ApiExtractor.run() returns false
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit 7ab82eea807ed63ef4bf88668f12568e340b6b5c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Aug 25 23:40:20 2009 -0300
Use QFlags instead of an int as parameter type in some methods.
Reviewed by Setanta
commit 5255857f84d629241806d883bb23981b49fd4bc8
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Aug 25 22:00:16 2009 -0300
Install the generator header file into include/generatorrunner
Reviewed by Setanta
commit 1fa2842c8125938cad19c13354716ee6521276b4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 26 13:00:52 2009 -0300
added convenience binary applications to call the generatorrunner
with --generatorSet parameters for boostpython and docgenerator
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit e078392026588073aabe4f75d68c5b174211898a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 26 02:53:31 2009 -0300
emits an error message when no type system file is passed to
ApiExtractor::run
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit a0f8bdd9be25ff10ecb1e5565188c4fef8941ddd
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 22:26:14 2009 -0300
added shiboken dependency on sample bindings
commit 47499427e506893068e1d2a0262fdb0ea9e57fc3
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 21:17:22 2009 -0300
moved the code for prepending the Sphinx tag '~' to QtXmlToSphinx::resolveContextForMethod
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit dfbe29e0a5843c7b6e2132915e24b2602ba52934
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Aug 22 17:24:46 2009 -0300
Use name instead of fullname for classes in namespaces
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
commit fd52957d375eb990a0fabbfab35d36480ee057ae
Merge: 8f94140 f8fba84
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 19:43:06 2009 -0300
Merge commit 'mainline/master' into metaclassname
Conflicts:
boostpythongenerator.cpp
commit 8d3416c04c46295820f0707e60cb275160ef111d
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Sat Aug 22 17:22:37 2009 -0300
Fix loading of xml files for classes in namespaces
commit a051438064f55e63d1ac00f15da1a7ba2b9f88a4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Thu Aug 20 19:56:09 2009 -0300
AbstractMetaClass::name() and AbstractMetaType::name() now return only
the name of the class/type without namespace/scope information
commit 8f941405798b67204945d7ec94ef8e63e1535877
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 17:10:07 2009 -0300
DocGenerator now resolves context for method references: it searchs
for the class that have implemented the method and link to its
definition instead of producing a broken link to the current
inheriting class documentation
commit 09a312b7788a81e0af59fc090666aea37b71fff7
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Aug 25 17:02:39 2009 -0300
Changed acess to preprocessor file, to be reused in the same process.
commit f8fba84d7b0230b1f48109c339197c407757bea1
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Aug 25 16:49:54 2009 -0300
Fixed typo in tests CMakesLists.
commit 5c23e745fe48bfa1e3d8707788845e46a1de95c9
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 19:41:12 2009 -0300
Fix the libgenrunner name in target_link_libraries
commit 3aa252140e2fcb60350afdc76f11cbfa52dc0479
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 19:40:22 2009 -0300
Fix the libgenrunner version number
commit fcd92287290dfeaf4d29360eb8c9017c59ec053c
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 13:41:03 2009 -0300
Backport "disable named args" bugfix from mainline
commit ec31fe05ff3f9972e9f7f9de9d3ac9e291403202
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 13:40:20 2009 -0300
Plugins always ends with _generator in their names
commit 68425b4bac65e293277123c393e8d5a47a62fcc7
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 13:39:31 2009 -0300
translateType method has been moved to Generator class
commit 2270cb2b4e57b8e3d82dd1cf692eea75a4342c45
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 18:36:37 2009 -0300
Removed QtDocGenerator dependence from BoostPythonGenerator, so a lot
of function were moved from BoostPythonGenerator to the Generator class.
In other words, QtDocGenerator finally compiles and their unit test pass :-)
commit 55dd77e04a8cef0e14648d6d8fb18cdc18695931
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 18:13:34 2009 -0300
- QtDocGenerator is now a GeneratorRunner plugin.
- A lot of methods moved from boostpythongenerator to the generator class.
commit 9682566c558674609a77540978e36db3dd174303
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 18:11:26 2009 -0300
libgenerator is called libgenrunner and boostpythongenerator is called generatorrunner from now and beyond.
commit 46595f8e48b3d3e53e02b0ccb39e593b3cd3c829
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 18:09:37 2009 -0300
Moved docgenerator to generators/qtdoc and renamed it to qtdocgenerator
commit 55ec8a2a4d1c9453e9ba5b27bf8542fa4d586939
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 15:38:43 2009 -0300
Removed redundant PATHSPLITTER macro, using the already definied PATH_SPLITTER one instead.
commit 86c00c1d694cfc69b58ac2fbd0d7744c7f95e39a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 14:21:39 2009 -0300
Added boostpython as a generator plugin.
commit 425c1eba27766b4382ace8f10daeaa548c9eb0d6
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 21:24:45 2009 -0300
The current generators will be just plugins and all generator stuff in APIExtractor were moved
to this project.
So we need to re-think if boostpythongenerator still a good name for the project, because
boostpythongenerator will be the name of the plugin to generate bindings for boost::python.
Also the generators were just moved to a subdirectory (generators) and the boostpython generators
to a sub-subdirectory (generators/boostpython), transform them in plugins will be a second milestone.
commit 7f14990c36bec778efbb51c4ed400d10cc1d51c4
Merge: 7e815bf f6eb727
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Aug 25 14:24:26 2009 -0300
Merged mainline with no_generator branch.
commit 7e815bfcc41d25b2d8c7c34d1bb6bd566e4b2816
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Aug 25 14:14:24 2009 -0300
- Rewind the file pointer before runing the parser.
- Fixed some code style issues.
commit 252ff87489c02fe1b26d650ad855d111042c6490
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Tue Aug 25 11:00:49 2009 -0300
Removed use of return_const_prt.
This not work, because some c++ object does not have a copy constructor.
commit f3973ab15e3a71044d4cbcc2a982a09d739c6c72
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 04:11:29 2009 -0300
Generator uses PySequence functions instead of PyTuple or PyList ones
commit 838b56730d27a6fd5e229c103f1d9957c58c5b0d
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 04:06:59 2009 -0300
changed pair_conversion.h to use PySequence functions instead of
PyTuple ones, also fixed pair_test.py
commit 9d58de1bfc7e93606fb5582dd05eea185e9fe851
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 03:52:25 2009 -0300
commented debug messages from test library
commit 2132a3eb82830d0719d19eaadb32e39222948bca
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 02:56:00 2009 -0300
added mapping example to test lib as well as unit tests
commit 64243890de689d10d04fdcdeedfe16c1ee612fb8
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 02:42:44 2009 -0300
removed debug messages from BindingManager::getOverride
commit e254974d01df2e02f2f2a755aecb7b0053246ef7
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 25 00:12:01 2009 -0300
fixed list conversions on test bindings to use PySequence functions
instead of erroneous PyTuple functions
commit c2fdf775230ea9b0d9a6b1af209cd0a99e2a848e
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 24 22:47:04 2009 -0300
added unit tests for stl::pair and stl::list conversions on libsample
commit 8beba81378eb52d72864ca5adc1ba5f8e8a816cb
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 24 19:05:18 2009 -0300
fixed links to classes inside namespaces
commit e31d726e5e71c628a30deca6f33dc8a8c133a8c2
Merge: 2905268 10c1599
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Mon Aug 24 18:21:27 2009 -0300
Merge commit 'hugo/master'
commit 29052684cf78ad4bbe0614c5bde0411208336c03
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Mon Aug 24 18:00:38 2009 -0300
Use of return_const_ptr_object for functions with const pointer return.
commit 59777bbd55a87043e6d8783d619036701e3b5387
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 24 16:23:24 2009 -0300
fixed problem on documentation: method lists for classes get the
scope duplicated when the owner class is inside a namespace
commit f6eb7272e613b2878f7abee6280f3d375e9379c0
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 13:52:33 2009 -0300
Fixed apiextractor version, so it now creates the symlinks for libapiextractor.so.0 and libapiextractor.so.0.x
Reviewed by Lauro Moura
commit 30738cc5ec15ab667bf7973a157c400250178331
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 14:37:28 2009 -0300
Backport: Fixed apiextractor version, so it now creates the symlinks for libapiextractor.so.0 and libapiextractor.so.0.x
commit 10c15993f817ae2e60afdb4220e841e5104a0e0d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 24 11:32:53 2009 -0300
Proper initialize m_disableNamedArgs variable.
commit dc419f4a5767a0a64e4e9a2446668370528c1343
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date: Mon Aug 24 10:18:45 2009 -0300
Replaced use of boost::python::wrapper to PySide::wrapper.
commit d3d7fd878d497e410f9d0aeb71a95facb67f5bfd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 20:56:20 2009 -0300
Added a lot of helper methods to APIExtractor interface
Reviewed by Setanta
commit 465af9a0b82c98cf21a103a092f998df21986c44
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 16:21:07 2009 -0300
Do not continue when an error occur in reading the typesystem file
commit ba699548a0f398d2ba808ad88c61cd8b9a7c888a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Fri Aug 21 15:23:10 2009 -0300
- Fix compilation when using restritive security flags -Wformat
- Werror=format-security in gcc
Thanks Helio Castro.
fixes bug#8
commit 48dd9b112e9ea7bc6c95703cdfd5e8fd269b80b4
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Fri Aug 21 15:10:59 2009 -0300
writes correct full qualified C++ names for classes and other components
and also fixes the generated source code file names to follow changes
on API Extractor
commit 72a8d046e16268669e18940c3ebf22ecae6ef581
Author: Carlos Gonçalves <mail@cgoncalves.info>
Date: Fri Aug 21 18:53:00 2009 +0100
Allow defining the 'lib' dir (eg. 'lib64').
This is required by some distributions such as openSUSE, where 64-bit
libraries are installed in lib64 directories and 32-bit libraries in the lib
directories.
commit c645e083901079dd073eca84a0b822d37daf0293
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 20:54:01 2009 -0300
Added typedefs to QList<const PrimitiveTypeEntry*> and
QList<const ContainerTypeEntry*>.
commit f54ce8b89fb599dbf0c5bad7adcb58a867e7594f
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 18:59:23 2009 -0300
- Correctly initialize and delete the AbstractMetaBuilder
- Fix typo in setSuppressWarning method
- Added setSilent method
commit ffef36fe259606a91be17b52efa1d98fbfda7a7e
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 13:52:40 2009 -0300
Add missing include directives in the C++ parser code.
commit dfa423ac3109e0e40cba5f43471b34b98ed3189d
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Thu Aug 20 13:48:45 2009 -0300
Removed all generator stuff from APIExtractor, this stuff should be moved to the generator,
and the apiextractor library should be just what their name means, an API extractor.
This break the APIExtractor source compatibility with no mercy!
commit 7d069eda6d0df0ca6976612af2077a85b3ab3fea
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 19 12:35:34 2009 -0300
removed debian directory -- it is on debian branch now
commit df49f543417ba7b3e26406e1152fde4be8a15379
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Wed Aug 19 12:34:53 2009 -0300
Adding 'make dist' with git-archive
commit 4fca5b868e8b3d982dfa2ceb95806b2a5b2bb639
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Aug 19 10:43:18 2009 -0300
Adding 'make dist' with git-archive
commit 8f9ed5bd51827d96bda708121008b24bb3d55801
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Wed Aug 19 10:34:04 2009 -0300
Adding target 'dist' using git-archive.
commit 0a3ae6f6ace1da4720ccf9e70a56e279087f0018
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Tue Aug 18 14:23:23 2009 -0300
Remove libbindgen from project, it doesnt exists yet.
commit d92958a28e7a6a6374aea05f3a5d2abfb4c7d78f
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 18 12:17:39 2009 -0300
updated BoostPythonGenerator version to 0.2
commit c16d038b5b42ce8ca9d8a74eed66ec1045e04048
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 18 12:16:40 2009 -0300
updated API Extractor version to 0.2
commit d9adc640d3d8705b5a4aeb431813936c59e11483
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 18 11:05:14 2009 -0300
removed wrong include statement from DocGenerator
commit 3e09c099aa3e87482d17b0b95e7e20a1a6b6641a
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Tue Aug 18 10:25:49 2009 -0300
fixed API Extractor version on documentation
commit 9a4681eb73caa553aac349457374ff513bd111b5
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 17 19:40:36 2009 -0300
fixed typo on if statement
commit e0c29962e6f334452f0c9db2caaf6ed18065de85
Author: Marcelo Lira <marcelo.lira@openbossa.org>
Date: Mon Aug 17 19:31:37 2009 -0300
The End Is the Beginning Is the End
commit 5ec8db293177563c5f25e8f3997df93965ad699b
Author: Lauro Neto <lauro.neto@openbossa.org>
Date: Mon Aug 17 17:57:54 2009 -0300
Revert "Added files for debian package creation"
This reverts commit f90374a93cc7232ae304f1c121bedd383209b2b7.
commit f90374a93cc7232ae304f1c121bedd383209b2b7
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 17 17:37:05 2009 -0300
Added files for debian package creation
commit cbac30b07bae6c72be5eefd5e47fe83650a16acd
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 17 17:36:11 2009 -0300
The genesis...
commit 9732e0c744e45a67094fc6ce08bdadb1f9a08d4a
Author: Hugo Lima <hugo.lima@openbossa.org>
Date: Mon Aug 17 17:32:08 2009 -0300
The genesis...
|